Upcoming changes for users of Dart packages

Feb 19 2025

To ensure that Cloudsmith continues to provide a consistent and secure experience for users of Dart packages, from February 28th 2025 Cloudsmith will only support Dart SDK version 2.15 or greater. After this date, support for older versions of the Dart SDK will be dropped.

This change is being introduced as the dart pub token command, which provides support for token based authentication, is only available in Dart SDK from version 2.15 onwards. This provides a more secure and standardised way to authenticate requests to private package repositories. Earlier versions of the SDK rely on PUB_HOSTED_URL which requires embedding credentials in environment variables or URLs, leading to security and usability concerns.

See Dart Repository for more information.

Keep up to date with our monthly product bulletin

By submitting this form, you agree to our privacy policy