Releases: typelevel/sbt-typelevel
v0.4.10
This is the eleventh release in the 0.4.x series of sbt-typelevel. It is binary- and source-compatible with previous releases in this series.
As of this release, you can manually toggle various checks in CI:
ThisBuild / tlCiHeaderCheck := true // plaster my name on every file
ThisBuild / tlCiScalafmtCheck := false // keep your hands off my ascii art
ThisBuild / tlCiScalafixCheck := true // lints *chef kiss*
If you are interested in linting, please check out the new typelevel-scalafix project spear-headed by @DavidGregory084!
Features
- Add API mappings for Java by @rossabaker in #272
- Make default CI steps togglable by @armanbilge in #275
- Use sonatype as fallback for API URL by @DavidGregory084 & @armanbilge in #284
- Add Scalafix integration by @DavidGregory084 & @armanbilge in #283
Fixes
- Don't use tags for versioning if git tree is dirty by @armanbilge in #264
- Skip doc task if irrelevant by @armanbilge in #281
- Determine previous releases in site plugin by current version by @armanbilge in #282
- Tagged version is greatest-valued tag by @armanbilge in #285
Docs
- Add typelevel.g8 section to docs by @valencik in #258
- Link to list of adopters by @armanbilge in #269
Updates
- Update sbt-sonatype to 3.9.13 by @scala-steward in #280
Full Changelog: v0.4.9...v0.4.10
v0.4.9
This is the tenth 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 v0.4.8 where compiler flags were being set repeatedly. Thanks to @danicheg for reporting the issue in #253. Apologies for the inconvenience.
What's Changed
- Revert #250 which moved scalac/javac options to scope-specific settings by @armanbilge in #255
Full Changelog: v0.4.8...v0.4.9
v0.4.8
This is the ninth release in the 0.4.x series of sbt-typelevel. It is binary- and source-compatible with previous releases in this series.
This release updates sbt-mima-plugin to 1.1.0 which automatically filters package private changes on Scala 3 (lightbend-labs/mima#683). Hopefully, it should now be possible to remove many of the Scala 3 specific MiMa filters from your project.
User-facing PRs
- Add docs for sbt-(typelevel)-github-actions by @armanbilge in #238
- Demonstrate how to add unidoc project filter in docs by @armanbilge in #240
- Use SJS linker batch mode in CI by @armanbilge in #244
- Move
tlFatalWarnings
andtlJdkRelease
into per-config scope by @armanbilge in #250 - Smarter SCM info detection by @armanbilge in #251
- Useful source-related settings by @armanbilge in #252
Plugin Updates
- Update sbt-mima-plugin to 1.1.0 by @scala-steward in #246
Full Changelog: v0.4.7...v0.4.8
v0.5.0-M1
What's Changed
- Keep publish secrets scoped to specific steps by @armanbilge in #92
- Bump base version to 0.5 by @armanbilge in #94
- Merge 0.4 -> main by @armanbilge in #99
- Update mdoc, sbt-mdoc to 2.3.0 by @scala-steward in #112
- Update scalafmt-core to 3.4.0 by @scala-steward in #114
- Merge 0.4 to main by @armanbilge in #126
- Don't set version scheme in settings plugin by @armanbilge in #127
- Update to actions/checkout@v3 by @armanbilge in #193
- Merge series/0.4 -> main by @armanbilge in #208
- Port sbt project naming macro for tlCrossRootProject by @DavidGregory084 in #207
- Set default
tlJdkRelease := Some(8)
by @armanbilge in #218 - Update sbt-header to 5.6.5 by @armanbilge in #223
- Revert "Update mdoc, sbt-mdoc to 2.3.0" by @armanbilge in #224
- Merge 0.4 -> main by @armanbilge in #232
- Update sbt-mdoc to 2.3.2 by @valencik in #230
- Update sbt-git to 2.0.0 by @armanbilge in #233
New Contributors
- @DavidGregory084 made their first contribution in #207
- @valencik made their first contribution in #230
Full Changelog: v0.4.7...v0.5.0-M1
v0.4.7
This is the eighth release in the 0.4.x series of sbt-typelevel. It is binary- and source-compatible with previous releases in this series. This release includes several bug fixes for the site and unidoc plugins.
User-facing PRs
- Add page for sbt-typelevel-site plugin by @armanbilge in #195
- Add
index.html
to API url by @armanbilge in #196 - Better versioning in site plugin by @armanbilge in #198
- Add documentation on how to obtain secrets for publishing by @armanbilge in #206
- Remove CSS hack by @armanbilge in #209
- Add note about adding unidocs to root aggregate by @armanbilge in #213
- Forward doc task to unidoc task by @armanbilge in #216
- Enable syntax highlighting for Scala 3 automatically by @armanbilge in #219
- Use
unidocs
as project name inunidoc
example by @armanbilge in #227
Plugin Updates
- Update sbt-scalajs-crossproject to 1.2.0 by @scala-steward in #221
- Update laika-sbt to 0.18.2 by @scala-steward in #229
Full Changelog: v0.4.6...v0.4.7
v0.4.6
This is the seventh release in the 0.4.x series of sbt-typelevel. It is binary- and source-compatible with previous releases in this series. We had several new contributors to this release, thank you all! :)
Notable Changes
- JDKs for CI are now provided by the Typelevel jdk-index, which stays up-to-date with the latest releases
- New
TypelevelUnidocPlugin
for publishing API "unidocs" to javadoc.io - Improved website theme and new
tlSitePreview
task for live-reload editing - New sbt-typelevel-mergify plugin to generate a
.mergify.yml
config for auto-merging @scala-steward PRs. Early days, so please try and share feedback! - Refreshed documentation at https://typelevel.org/sbt-typelevel/
User-facing PRs
- Optimize sorting in the
GitHelper.previousReleases
by @danicheg in #172 - Micro-optimizations of using collections by @danicheg in #173
- Use
laikaSite / target
to get site directory by @armanbilge in #178 - Demonstrate a "minimum viable project" in the quick start by @armanbilge in #181
- Revamp README, intro by @armanbilge in #182
- Add info blurb about sbt-typelevel vs sbt-typelevel-ci-release by @armanbilge in #184
- Add mdoc --watch suggestion in another terminal by @Quafadas in #188
- Automatically set
organizationHomepage
for Typelevel by @armanbilge in #191 - Add support for the JVM release option for scalac and javac by @vasilmkd in #170
- Add
tlMimaPreviousVersions
setting by @armanbilge in #176 - Use typelevel jdk index for managing Java by @armanbilge in #168
- Add
tlSitePreview
by @armanbilge in #189 - Create a Typelevel helium theme by @armanbilge in #180
- Respect project-level
tlVersionIntroduced
by @armanbilge in #192 - Add plugin for generating
.mergify.yml
config by @armanbilge in #190 - Add the
tlSitePublishTags
setting by @danicheg in #183 - Create
TypelevelUnidocPlugin
by @armanbilge in #119
New Contributors
- @danicheg made their first contribution in #172
- @Quafadas made their first contribution in #188
- @vasilmkd made their first contribution in #170
Full Changelog: v0.4.5...v0.4.6
v0.4.5
This is the sixth 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 issue #140 that affected projects with "holes" in their cross Scala matrices, due to new feature intended to "skip" over these holes. This feature is now disabled by default; you can explicitly opt-in via the tlSkipIrrelevantScalas := true
setting.
What's Changed
- More responsible skipping by @armanbilge in #163
Full Changelog: v0.4.4...v0.4.5
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