Skip to content

Commit 2e4579a

Browse files
Release v0.4.2
1 parent fc7b9cb commit 2e4579a

File tree

3 files changed

+25
-18
lines changed

3 files changed

+25
-18
lines changed

CHANGELOG.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Early Semantic Versioning](https://docs.scala-lang.org/overviews/core/binary-compatibility-for-library-authors.html#recommended-versioning-scheme) in addition to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.4.2]
8+
9+
### Fixed
10+
11+
* [#102](https://github.com/typelevel/sbt-tpolecat/issues/102) - a bug which resulted in scalac options contributed by other plugins being overwritten, most notably the Scala.js plugin. Huge thanks to [@sjrd](https://github.com/sjrd) for their work on [#126](https://github.com/typelevel/sbt-tpolecat/pull/126) which resolves this issue.
12+
713
## [0.4.1]
814

915
### Added
@@ -41,7 +47,7 @@ A Scalafix migration will be provided upon the release of `0.5.0` to migrate any
4147

4248
### Fixed
4349

44-
* [#74](https://github.com/typelevel/sbt-tpolecat/issues/74) - a bug in filtering of multiple-argument options. This filtering was broken in the attempt to fix [#60](https://github.com/DavidGregory084/sbt-tpolecat/issues/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`.
50+
* [#74](https://github.com/typelevel/sbt-tpolecat/issues/74) - a bug in filtering of multiple-argument options. This filtering was broken in the attempt to fix [#60](https://github.com/typelevel/sbt-tpolecat/issues/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`.
4551
* [#78](https://github.com/typelevel/sbt-tpolecat/issues/78) - a bug where options were not filtered out of `Test / scalacOptions` as expected. This had the same underlying cause as [#74](https://github.com/typelevel/sbt-tpolecat/issues/74).
4652
* [#77](https://github.com/typelevel/sbt-tpolecat/issues/77) - the JDK version was not being set as expected by the setup-scala action. Resolved by switching to setup-java instead.
4753

@@ -63,7 +69,7 @@ Please do not use this release - GitHub accepted a tag push but not its correspo
6369

6470
### Changed
6571

66-
* `tpolecatConsoleOptionsFilter` was replaced by `tpolecatExcludeOptions`. The use of a function to filter out console options did not interact well with the new method of setting `scalacOptions` in sbt-tpolecat [0.2.3](https://github.com/DavidGregory084/sbt-tpolecat/releases/tag/v0.2.3). Please append to `tpolecatExcludeOptions` in the `console` task you wish to configure instead, e.g.
72+
* `tpolecatConsoleOptionsFilter` was replaced by `tpolecatExcludeOptions`. The use of a function to filter out console options did not interact well with the new method of setting `scalacOptions` in sbt-tpolecat [0.2.3](https://github.com/typelevel/sbt-tpolecat/releases/tag/v0.2.3). Please append to `tpolecatExcludeOptions` in the `console` task you wish to configure instead, e.g.
6773

6874
```scala
6975
IntegrationTest / console / tpolecatExcludeOptions ++= ScalacOptions.defaultConsoleExclude
@@ -78,7 +84,7 @@ Please do not use this release - GitHub accepted a tag push but not its correspo
7884

7985
### Fixed
8086

81-
* [#60](https://github.com/DavidGregory084/sbt-tpolecat/issues/60) - a bug in setting `scalacOptions` where it was set using `:=` rather than appended to via `++=`. This prevented scope delegation via `ThisBuild / scalacOptions` from working for some users.
87+
* [#60](https://github.com/typelevel/sbt-tpolecat/issues/60) - a bug in setting `scalacOptions` where it was set using `:=` rather than appended to via `++=`. This prevented scope delegation via `ThisBuild / scalacOptions` from working for some users.
8288

8389
## [0.2.2] - 2022-03-30
8490

@@ -120,13 +126,14 @@ Please do not use this release - GitHub accepted a tag push but not its correspo
120126

121127
* The `validFor` function that was previously exported via this plugin's `autoImport`.
122128

123-
[Unreleased]: https://github.com/DavidGregory084/sbt-tpolecat/compare/v0.4.1...HEAD
124-
[0.4.1]: https://github.com/DavidGregory084/sbt-tpolecat/compare/v0.4.0...v0.4.1
125-
[0.4.0]: https://github.com/DavidGregory084/sbt-tpolecat/compare/v0.3.3...v0.4.0
126-
[0.3.3]: https://github.com/DavidGregory084/sbt-tpolecat/compare/v0.3.1...v0.3.3
127-
[0.3.1]: https://github.com/DavidGregory084/sbt-tpolecat/compare/v0.3.0...v0.3.1
128-
[0.3.0]: https://github.com/DavidGregory084/sbt-tpolecat/compare/v0.2.3...v0.3.0
129-
[0.2.3]: https://github.com/DavidGregory084/sbt-tpolecat/compare/v0.2.2...v0.2.3
130-
[0.2.2]: https://github.com/DavidGregory084/sbt-tpolecat/compare/v0.2.1...v0.2.2
131-
[0.2.1]: https://github.com/DavidGregory084/sbt-tpolecat/compare/v0.2.0...v0.2.1
132-
[0.2.0]: https://github.com/DavidGregory084/sbt-tpolecat/compare/v0.1.22...v0.2.0
129+
[Unreleased]: https://github.com/typelevel/sbt-tpolecat/compare/v0.4.2...HEAD
130+
[0.4.2]: https://github.com/typelevel/sbt-tpolecat/compare/v0.4.1...v0.4.2
131+
[0.4.1]: https://github.com/typelevel/sbt-tpolecat/compare/v0.4.0...v0.4.1
132+
[0.4.0]: https://github.com/typelevel/sbt-tpolecat/compare/v0.3.3...v0.4.0
133+
[0.3.3]: https://github.com/typelevel/sbt-tpolecat/compare/v0.3.1...v0.3.3
134+
[0.3.1]: https://github.com/typelevel/sbt-tpolecat/compare/v0.3.0...v0.3.1
135+
[0.3.0]: https://github.com/typelevel/sbt-tpolecat/compare/v0.2.3...v0.3.0
136+
[0.2.3]: https://github.com/typelevel/sbt-tpolecat/compare/v0.2.2...v0.2.3
137+
[0.2.2]: https://github.com/typelevel/sbt-tpolecat/compare/v0.2.1...v0.2.2
138+
[0.2.1]: https://github.com/typelevel/sbt-tpolecat/compare/v0.2.0...v0.2.1
139+
[0.2.0]: https://github.com/typelevel/sbt-tpolecat/compare/v0.1.22...v0.2.0

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## sbt-tpolecat
22

3-
[![Build Status](https://github.com/DavidGregory084/sbt-tpolecat/workflows/CI/badge.svg)](https://github.com/DavidGregory084/sbt-tpolecat/actions?query=workflow%3ACI)
4-
[![License](https://img.shields.io/github/license/DavidGregory084/sbt-tpolecat.svg)](https://opensource.org/licenses/Apache-2.0)
3+
[![Build Status](https://github.com/typelevel/sbt-tpolecat/workflows/CI/badge.svg)](https://github.com/typelevel/sbt-tpolecat/actions?query=workflow%3ACI)
4+
[![License](https://img.shields.io/github/license/typelevel/sbt-tpolecat.svg)](https://opensource.org/licenses/Apache-2.0)
55
[![Latest Version](https://index.scala-lang.org/typelevel/sbt-tpolecat/sbt-tpolecat/latest.svg)](https://index.scala-lang.org/typelevel/sbt-tpolecat/sbt-tpolecat)
66

77
### scalac options for the enlightened
@@ -15,7 +15,7 @@ As of version 0.1.11, it also supports setting options for Scala 3.x.
1515
Add the following to your project's `project/plugins.sbt`:
1616

1717
```scala
18-
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.1")
18+
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.2")
1919
```
2020

2121
Once you are using this plugin we recommend that you don't manipulate the `scalacOptions` key directly.

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ThisBuild / startYear := Some(2022)
77
ThisBuild / licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))
88
ThisBuild / scmInfo := Some(
99
ScmInfo(
10-
url("https://github.com/DavidGregory084/sbt-tpolecat"),
11-
"scm:git:git@github.com:DavidGregory084/sbt-tpolecat.git"
10+
url("https://github.com/typelevel/sbt-tpolecat"),
11+
"scm:git:git@github.com:typelevel/sbt-tpolecat.git"
1212
)
1313
)
1414
ThisBuild / developers := List(

0 commit comments

Comments
 (0)