The Scala team at Lightbend is pleased to announce Scala 2.13.12.
The following changes are highlights of this release:
Feature: Quickfixes
For some errors and warnings, the compiler now suggests an edit that could fix the issue. Tooling such as IDEs can then offer the edits, or the compiler itself will make the change if run again with -quickfix.
Implement quickfixes, aka actionable diagnostics (via CodeAction) (#10406 by @eed3si9n)
Add -quickfix compiler option to apply quickfixes to source files (#10482 by @lrytz)
Add quickfixes to some warnings and errors (#10484 by @lrytz)
Align with Scala 3
Emit migration warnings under -Xsource:3 as fatal warnings, not errors (#10439 by @som-snytt, #10511)
-Xmigration will demote the errors to warnings
-Wconf:cat=scala3-migration:s will silence these errors/warnings altogether
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
coverage: 94.007%. remained the same when pulling 3d5b14b8aa8e3e05e8eeba54828bed33ec7337d8 on dependabot/gradle/org.scala-lang-scala-library-2.13.12 into d47c399087c135a9ee5da1a8bafa444b60806876 on main.
Bumps org.scala-lang:scala-library from 2.13.11 to 2.13.12.
Release notes
Sourced from org.scala-lang:scala-library's releases.
... (truncated)
Commits
80514f7
Merge pull request #10524 from lrytz/t1285896d74ac
Fix spurious "nullary overrides nilary" warningf7e30a6
Merge pull request #10510 from lrytz/beanNilaryOverrideFix9bf2653
Merge pull request #10511 from lrytz/source3warn35160d4
Merge pull request #10520 from lrytz/pr10512b079015
Merge pull request #10521 from lrytz/filteringQuickfix751a631
improve nilary/nullary override message6cbff91
Merge pull request #10513 from lrytz/t12850361a97c
strip [quickfixable] for message comparison in FilteringReporterf5b4357
Turn more Xsource:3 errors into fatal warningsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show