Pull public Elixir and Erlang dependencies from hex.pm through your Cloudsmith repository rather than directly from the internet. Hex upstreams no longer need a support request to enable.
A Cloudsmith upstream can be configured as proxy only, proxy and cache, or cache only. With caching enabled, Cloudsmith keeps a copy of each package it serves, so builds keep working when hex.pm is unreachable. Cached packages are stored as regular packages in the repository, tagged with the upstream’s name, and go through the same vulnerability scanning, policies, and access controls as packages you upload.
Setting up an upstream
A Hex upstream points at a Hex registry: https://repo.hex.pm/ for the public one. You can create a Hex upstream via the Cloudsmith web app, API, CLI, or Terraform provider.
Cloudsmith indexes the upstream ahead of time, so upstream packages can’t be installed until the first index finishes. For details, see Indexing in the Cloudsmith documentation.
Using it from Mix
Mix is Elixir’s build tool. Cloudsmith merges the upstream’s packages into your repository’s own Hex registry and signs every registry response with the repository’s RSA key. Add the repository to Mix once:
With an upstream active, Cloudsmith also points each package’s own dependencies at the same repository, so the whole dependency tree resolves through Cloudsmith rather than hex.pm.
Connected repositories now support four more formats, bringing the total to 17: AI skills, Cargo (Rust), Composer, Conan, conda, Docker, Generic, Go, Helm, Hugging Face, Maven, Nix, npm, NuGet, Python, RPM Package Manager (RPM), and Swift…
API key rules let workspace owners and managers enforce expiration and rotation requirements on API keys, reducing the risk from long-lived or stale credentials. You can now set independent API key rules for user accounts and service accounts, instead of a single rule applying to both — for example, rotating user keys every 30 days and service account keys every 60…
Conda channels now support CEP-16 sharded repodata, so supporting clients can resolve dependencies without downloading a channel’s entire metadata file…
The Cloudsmith CLI now manages AI skills from the terminal. It also sets up Maven, Gradle, and sbt to get credentials from the CLI, so your build files no longer need a stored API key, warns when you use a deprecated option name, and remembers your workspace after a SAML login…
Chainguard published 12 new Athena vulnerabilities in widely used Java (Maven) libraries that don’t have CVE or GHSA IDs yet. Cloudsmith has a ready-made Rego policy that flags the affected versions in Maven packages and in Docker images that bundle them…