Releases: typelevel/sbt-typelevel
v0.4.4
This is the fifth release in the 0.4.x series of sbt-typelevel. It is binary- and source-compatible with previous releases in this series.
Notable changes
- The value of
ThisBuild / scalaVersion
is now consistently used as the default Scala (e.g. for generating the docs/site). It defaults to the last value ofThisBuild / crossScalaVersions
. #118 - A new env variable/secret
SONATYPE_CREDENTIAL_HOST
. Set this secret tos01.oss.sonatype.org
for a repo or an entire GitHub org to switch publishing without changing a single build. Note: you will have to request that Sonatype moves you to their new infrastructure before this will work. #128 - Better error-handling and docs for the base version. #125, #136, #157
User-facing PRs
- Automatically populate
apiURL
with javadoc.io by @armanbilge in #115 - Read default scala version from
ThisBuild
by @armanbilge in #118 - Integrate with
skip
by @armanbilge in #117 - Add
tlPrePrBotHook
by @armanbilge in #111 - Reorganize docs by @armanbilge in #122
- Update sbt to 1.6.2 by @armanbilge in #130
- Add FAQ about base version by @armanbilge in #125
- Don't generate artifact upload steps if not publishing by @armanbilge in #134
- Fix Apache 2.0 license url by @armanbilge in #143
- Ignore garbage when decoding PGP secret by @armanbilge in #149
- Use
scalaJSLinkerResult
for linking step by @armanbilge in #151 - Allow to set the sonatype credential host via env/secrets by @armanbilge in #128
- Link to sbt-rewarn in the docs by @armanbilge in #153
- Update sbt-sonatype to 3.9.11 by @scala-steward in #155
- Error (helpfully) if base version is not
x.y
by @armanbilge in #157 - Fail if tag is older than base version by @osleonard in #136
- Set javadoc.io url only when appropriate by @armanbilge in #160
- site plugin improvements by @armanbilge in #124
- Add
tlSkipIrrelevantScalas
setting by @armanbilge in #159
New Contributors
- @osleonard made their first contribution in #136
Full Changelog: v0.4.3...v0.4.4
v0.4.3
This is the fourth release in the 0.4.x series of sbt-typelevel. It is binary- and source-compatible with previous releases in this series.
This release fixes a regression in upload artifact ids that causes publishing to fail.
What's Changed
- Fix trailing dash in upload artifact ids by @armanbilge in #106
Full Changelog: v0.4.2...v0.4.3
v0.4.2
Update: there is a regression in this release that breaks publishing for some projects, please skip straight to v0.4.3.
This is the third release in the 0.4.x series of sbt-typelevel. It is binary- and source-compatible with previous releases in this series.
This release fixes issues relating to the artifact upload/download steps, which have been flaky in CI for several projects.
- artifacts are now guaranteed to have unique ids (#98)
- artifacts are no longer uploaded for PRs or any non-publishing push (#91)
If you continue to experience flakiness in these steps, please let us know.
What's Changed
- Add docs on how to cut a release by @armanbilge in #87
- Only upload artifacts if publishing by @armanbilge in #91
- Check headers/fmt, mima, docs on primary Java only by @armanbilge in #96
- Make site plugin more robust by @armanbilge in #97
- Support custom matrices for artifact upload/download by @armanbilge in #98
- Fix list of artifacts to download by @armanbilge in #104
Full Changelog: v0.4.1...v0.4.2
v0.4.1
This is the second release in the 0.4.x series of sbt-typelevel. It is binary- and source-compatible with v0.4.0.
This release contains a change in the sbt-typelevel plugin affecting header generation via sbt-header. Previously, headers were automatically generated on compilation. However, this configuration can sometimes cause problems by modifying files in CI and dirtying the git tree, such that your project is versioned and published as a datetimestamped snapshot.
Now, to generate/update headers you must manually invoke the headerCreateAll
command or use the prePR
command alias, which will also run scalafmtAll
and clean compile your code.
The old behavior may be restored by enabling the AutomateHeaderPlugin
in your project.
What's Changed
- Document
prePR
by @armanbilge in #82 - Don't generate headers automatically on compile by @armanbilge in #86
Full Changelog: v0.4.0...v0.4.1
v0.4.0
This is the first stable release of the revived sbt-typelevel plugin, for publishing semantically-versioned, binary-compatible artifacts to Maven/Sonatype from GitHub Actions.
Documentation is available at https://typelevel.org/sbt-typelevel/.
sbt-typelevel is self-hosting and has already been adopted by several projects. Follow along in #83 and help out!
Thanks to @rossabaker for spearheading the effort in #9 and to @ChristopherDavenport, @vasilmkd, and @djspiewak for developing the original code and ideas that are aggregated here.
Full Changelog: v0.3.2...v0.4.0
v0.4.0-M5
What's Changed
- Make
previousReleases
strictly previous by @armanbilge in #77
Full Changelog: v0.4.0-M4...v0.4.0-M5
v0.4.0-M4
What's Changed
- Bring in sbt-gh-actions by @armanbilge in #62
- Upstream "Make target directories" step by @armanbilge in #63
- Introduce
sbtStepPreamble
to GHA plugin by @armanbilge in #64 - Split CI into multiple steps by @armanbilge in #65
Full Changelog: v0.4.0-M3...v0.4.0-M4
v0.4.0-M3
What's Changed
- Automatically trigger ci-release plugins by @armanbilge in #59
v0.4.0-M2
What's Changed
- Set tlVersionIntroduced default at build-level by @armanbilge in #58
Full Changelog: v0.4.0-M1...v0.4.0-M2
v0.4.0-M1
What's Changed
- Delete .travis.yml by @rossabaker in #10
- Hello, sbt-typelevel by @armanbilge in #12
- Use a
Map
fortlVersionIntroduced
by @armanbilge in #25 - Update sbt to 1.6.1 by @scala-steward in #28
- Update sbt-scalafmt to 2.4.6 by @scala-steward in #29
- Update scalafmt-core to 3.3.1 by @scala-steward in #38
- Pin to Scala 2.12.x by @armanbilge in #30
- Re-organize super plugins by @armanbilge in #32
- Extract out a GitHub plugin by @armanbilge in #31
- Pin Scala.js to 1.7.x by @armanbilge in #40
- Improve CI release config by @armanbilge in #41
- Introduce
tlCrossRootProject
by @armanbilge in #43 - Take 2: fix CI release/snapshot race condition by @armanbilge in #45
- Add missing settings by @armanbilge in #48
- Fix publish step by @armanbilge in #50
- Fix tag-based versioning by @armanbilge in #52
- Fix snapshot derivation logic by @armanbilge in #53
- Namespace the release commands by @armanbilge in #55
New Contributors
- @rossabaker made their first contribution in #10
- @armanbilge made their first contribution in #12
- @scala-steward made their first contribution in #28
Full Changelog: v0.3.2...v0.4.0-M1