Releases: typelevel/sbt-tpolecat
v0.5.2
What's Changed
- Support Scala 3.5.0 in #227
Update
- Update scalafmt-core to 3.8.1 by @typelevel-steward in #209
- Update scalacheck to 1.17.1 by @typelevel-steward in #211
- Update scalafmt-core to 3.8.2 by @typelevel-steward in #220
- Update scalac-options to 0.1.5 by @typelevel-steward in #219
- Update scalatest to 3.2.19 by @typelevel-steward in #221
- Update scalafmt-core to 3.8.3 by @typelevel-steward in #225
- Update scalac-options to 0.1.7 by @typelevel-steward in #227
- Update sbt-typelevel to 0.7.2 by @typelevel-steward in #224
Full Changelog: v0.5.1...v0.5.2
v0.5.1
What's Changed
- Update scalafmt-core to 3.7.11 by @typelevel-steward in #164
- Improve the 0.5.x migration by handling some more wildcard import possibilities by @DavidGregory084 in #165
- Improve the 0.5.x migration some more by handling
TpolecatPlugin.autoImport.ScalacOptionsby @DavidGregory084 in #166 - Update README to include import and Set examples by @davesmith00000 in #181
- Update scalafmt-core to 3.7.17 by @typelevel-steward in #193
- Update sbt to 1.9.8 by @typelevel-steward in #195
- Update scalac-options to 0.1.4 by @typelevel-steward in #177
- Update scalafmt-core to 3.8.0 by @typelevel-steward in #201
- Update sbt-scalafix, scalafix-core, ... to 0.11.1 by @typelevel-steward in #173
- Update sbt to 1.9.9 by @typelevel-steward in #203
- Test Scala 3.3.1 opts by @bcarter97 in #202
- Fix typo in README.md by @froth in #207
New Contributors
- @davesmith00000 made their first contribution in #181
- @bcarter97 made their first contribution in #202
- @froth made their first contribution in #207
Full Changelog: v0.5.0...v0.5.1
0.5.0
Changed
-
The plugin artifact is now published under the
org.typelevelgroup ID. An artifact migration has been added to Scala Steward, so Scala Steward users should not have to update the artifact group ID manually. -
The project now makes use of the scalac-options library, so symbols relating to scalac options and their availability on differing Scala versions have been moved to the package
org.typelevel.scalacoptions. -
All other symbols provided by this plugin have been moved to the
org.typelevel.sbt.tpolecatpackage. -
The
ScalacOptionsobject is no longer part of this plugin'sautoImportsymbols. You will need to explicitlyimport org.typelevel.scalacoptions.ScalacOptions. -
A Scalafix migration is available, and can be applied using the
github:scheme, e.g.
$ scalafix github:typelevel/sbt-tpolecat/v0_5?sha=4837a5bad7426c97be9bb3a5b792fd779f5c921a- However, please note that there are severe limitations on running Scalafix migrations that require semantic information on sbt build files. Scalafix semantic migrations are able to update
*.scalafiles but not*.sbtfiles.
0.4.4
0.4.3
0.4.2
0.4.1
Added
- #84 - An
advancedOptionoverload with support for multiple argument options was added. - #88 - A Scalafix migration rule to migrate package names for the upcoming 0.5.0 release was added.
Changed
- #85 -
-Xcheckinitwas removed from the default option set. After discussion on issues #10 and #83 it has become apparent that although-Xcheckinitoffers a lot of value for some users, it creates some very tricky problems for users that are writing async code. The initialization checking code this option produces introduces@volatilevariables that can disguise memory visibility issues. - #88 - The project was restructured into a multi-module sbt build.
0.4.0
NOTE: This release series will be the final one released under the group ID io.github.davidgregory084, and the final one using the package io.github.davidgregory084.
As of the 0.5.x series, this project will be released under the group ID org.typelevel and using the package org.typelevel.sbt.
If you are using Scala Steward to upgrade your libraries, an artifact migration has been provided to update the sbt-tpolecat group ID.
A Scalafix migration will be provided upon the release of 0.5.0 to migrate any usages of the previous package in your projects.
Changed
- #75 The
ScalacOptionstrait was made package-private. This is to ensure that new methods can be added to this trait without risking binary compatibility breakages. - #75 The
ScalacOptionconstructor was changed from(tokens: List[String], ...)to(option: String, args: List[String], ...). This is to ensure that multi-argument options can be filtered out regardless of which arguments were provided to the option.
0.3.3
Added
- Support for the SIP-22
-Xasyncoption was added to theScalacOptionsDSL. - Support for the
-Ybackend-parallelismoption was added to theScalacOptionsDSL. This option can be used to enable scalac to emit class files in parallel. - Support for the
-releaseoption was added to theScalacOptionsDSL. This option can be used to compile for a specific version of the Java platform.
Fixed
- #74 - a bug in filtering of multiple-argument options. This filtering was broken in the attempt to fix #60. Unfortunately this means that if users append to
ThisBuild / scalacOptions, those appended options will no longer be inherited by other configurations, e.g.Test / scalacOptions. - #78 - a bug where options were not filtered out of
Test / scalacOptionsas expected. This had the same underlying cause as #74. - #77 - the JDK version was not being set as expected by the setup-scala action. Resolved by switching to setup-java instead.
0.3.2 - [YANKED]
Please do not use this release - GitHub accepted a tag push but not its corresponding commit data, so the release proceeded against a commit that is not on the main branch.