Good news! Following user feedback, we’ve rolled out a new repository setting to empower control of how Cloudsmith identifies and selects the ‘latest’ tag for pre-release artifact versions. You’ll find this under the ‘Miscellaneous’ section in your repository ‘Main Settings’.
With this setting turned on, pre-release artifacts uploaded with a newer semantic version than others currently in a repository will be marked as ‘latest.’ This includes ‘release’ versions. This is the default behavior and how Cloudsmith has always treated pre-release package uploads. This setting is helpful if you exclusively have pre-release versions within a repository.
With this setting turned off, Cloudsmith will tag only artifacts uploaded with a ‘release’ version as latest. This is best used when pre-release and release versions of artifacts coexist in the same repository. The pre-release version will still exist in the repository and can be downloaded and installed explicitly.
The ‘latest’ tag is used by many native package managers when determining the latest version of an artifact to install. This new setting gives complete control of when to allow pre-release versions to appear in projects and deployments directed to your repository.