See the release note page for the latest release notes.
- Upgraded airframe-http to 22.11.0
- Add more Sonatype API error handling
- Upgrade to sbt 1.7.3
- Use sbt-dynver for versioning
- Upgraded airframe-http to 22.5.0 to fix JDK17-specific error #293
- Reverted the fix for #276 due to the regression
- DO NOT USE THIS VERSION. A regression, which failed to find a proper sonatype credential, is reported. Use 3.9.11 instead
- A fix for #276: Always use
ThisBuild / sonatypeCredentialHost
setting #285
- Use unique names for resolvers to support s01.oss.sonatype.org #279
- Increase the max retry to 100, timeoutMillis to 3 hours for big projects
- [internal] Upgrade to airframe 22.1.0
- Improve the cache management to support s01.oss.sonatype.org
- Internal: Upgrade to airframe 21.8.1 (no scala-parser-combinator dependency)
- Remove scala-parser-combinator 2.x dependency. This is a workaround for sbt-pgp, which still depends on scala-parser-combinators 1.x.
- Scope sonatypeCredentialHost to the build instead of projects. (#242)
- internal: Upgrade to airframe 21.8.0
- 2021-03-12
- Fixes a bug in releasing snapshot artifacts to the new s01.oss.sonatype.org repository.
- 2021-03-10
- Support a new sonatype host with
sonatypeCredentialHost := "s01.oss.sonatype.org"
setting - internal: Upgrade to airframe 21.3.0
- 2020-11-02
- Fixes an issue when different versions of sub modules exist #197
- 2020-07-03
- Use URLConnection based HTTP client to remove the dependency to Finagle and Jackson
- internal: Upgrade to airframe-http 20.6.2
- 2020-06-19
- Fixes an issue when using
sbt "sonatypeReleaseAll (sonatypeProfileName)
standalone without build.sbt file. - Using GitHub Actions for CI
- 2020-03-27
- Use a longer total timeout (upto 10 min.) for individual HTTP requests to address an issue like #149
- 2020-03-27
- Adjust the wait interval for close/promote stages
- Fixed a bug so as not to retry the create staging repository request
- 2020-03-26
- This version has an issue in creating staging repositories. Use 3.9.1
- Add sonatypeTimeoutMillis to wait longer time until close/promote stage completes. The default is 60 minutes.
- Changed the backend HTTP client to airframe-http-finagle
- Use JSON REST API of Sonatype instead of handling XML
- Add retry for each HTTP request and bundle upload
- Use ANSI colors for logging messages
- Improved error messages
- 2019-11-20
- Fix for the credential resolver to support sbt-gpg #124
- 2019-09-27
- Show log message periodically to avoid Travis CI 10 minutes timeout #108
- 2019-09-11
- Upgrade http-client version to address NoClassDefFound error.
- 2019-09-06
- Support dynamic versions generated by sbt-dynver.
- 2019-09-06
- A minor fix for multi-module projects to use a single staging folder #94
- 2019-09-05
- Added sonatypeBundleRelease as a short cut for
sonatypePrepare; sonatypeUploadBundle; sonatypeRelease
- 2019-09-05
- Re-built for sbt 1.2.8
- September 5, 2019
- Support
sonatypeBundleUpload
, which makes uploading hundreds of artifacts much faster than directly uploading them to Sonatype. #89
- September 4, 2019
- Support building idempotent release flow using
sonatypePrepare
- Support parallel artifact upload flows. See https://github.com/xerial/sbt-sonatype/#uploading-artifacts-in-parallel for the details.
- Parallelize the processing of sonatypeReleaseAll and sonatypeDropAll
- Drop
sontaypeList
. Use sonatypeStagingRepositoryProfiles instead - From this version, sbt-sonatype no longer overwrites
publishTo
settings automatically aftersonatypeOpen
command. Make sure settingpublishTo := sonatypePublishTo.value
.
- Added
sonatypeDropAll
- Fixes issue #79
- Fixes a bug in propagating publishTo setting to sub projects #76
- Drop sbt 0.13.x support
- Allow setting the credentials with the environment variables
SONATYPE_USERNAME
andSONATYPE_PASSWORD
- Fixes typo #61 in GitHubHosting and GitLabHosting capitilization
- If you are not using these keys, no need to upgrade to this version.
- Fixes #55 with
sonatypePublishTo
setting:
publishTo := sonatypePublishTo
- Add shortcut
sonatypeProjectHosting
for quickly settinghomepage
,scmInfo
anddevelopers
- Support sbt-0.13, 1.0.0-M5, 1.0.0-M6, and 1.0.0-RC3
- Add sbt-1.0.0-M5 (for Scala 2.12), sbt-0.13.x support
- IMPORTANT sbt-sonatype no longer modifies
publishTo
settings. You need to manually set the Sonatype repository name as below:
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)
- Add sonatypeOpen command for supporting more complex workflows (see the usage example in workflow.md)
- The first major release (stable)
sonatypeReleaseAll (sonatypeProfileName)
command can be used standalone without preparing sbt project files.
- sonatypeRelease etc. are now sbt Commands.
- No need exists to include
sonatypeSettings
. This will be automcatically loaded
- Simplified the configuration for multi-module build
- Migration guide for 0.3.x, 0.2.x users: Just include
Sonatype.sonatypeSettings
in(project root)/sonatype.sbt
file.
- Retry request on 500 error from sonatype REST API
- Improved log message
- sbt-sonatype is now an auto plugin
- Migration guide from 0.2.x
profileName
->sonatypeProfileName
- No need to include sonatypeSettings