Improvements to Dart Package Support (Including Upstreams in Beta)

Mar 9 2022

We have always been big fans of Dart and what the Google Dart team has been trying to achieve. In fact, Cloudsmith was the first package management product to announce support for Dart packages in private repositories.

With that in mind, we are happy to announce improvements to our Dart package support.

Consulting with the Google Dart team on the Dart SDK 2.15 release, we've added support for native publishing and support for the token add command to auth for pulling packages. These changes open the door to more accessible use of private repositories for Dart packages.

As a result of these improvements, you can use the dart pub token command with your Cloudsmith API Key to configure the Dart client to publish packages directly to your private repositories on Cloudsmith. And you can also use it with a Cloudsmith Entitlement Token if you’d like to provide secure, read-only access to pull packages/dependencies from a private Cloudsmith repository.

Additionally, we now support upstream proxying for Dart. By proxying upstream dependencies, Cloudsmith enables your organization and your build systems to deal with a single point of contact (us) rather than having to build and manage multiple integrations. Dart upstreams is currently a Beta feature, and we'd love for you to try it out and give us your feedback. We intend to add support for caching in the future, which will give you even more control over these dependencies and improved performance. Check out our Upstream Documentation for more information.

We want to ensure best-in-class support for Dart packages on the Cloudsmith platform, and these improvements go towards that end. As always, we welcome your feedback on these changes and anything package management related!

Learn more on our blog

Keep up to date with our monthly product bulletin

By submitting this form, you agree to our privacy policy