Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump scala.version from 2.12.18 to 2.13.14 in /jvm-packages #10243

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2024

Bumps scala.version from 2.12.18 to 2.13.14.
Updates org.scala-lang:scala-compiler from 2.12.18 to 2.13.14

Release notes

Sourced from org.scala-lang:scala-compiler's releases.

Scala 2.13.13

The Scala team at Lightbend is pleased to announce Scala 2.13.13.

The following changes are highlights of this release:

Language

Compatibility

Align with Scala 3

  • Allow either -Xsource:3 (for preparing to switch to 3) or -Xsource:3-cross (for crossbuilding on 2 and 3); some existing users of -Xsource:3 should switch to -Xsource:3-cross to avoid unwanted behavior changes (#10573 by @​som-snytt)
    • A new section in the Scala 3 Migration Guide documents -Xsource:3 and -Xsource:3-cross: documentation
  • For migration to 3, accommodate case companion as function (#10648 by @​som-snytt)
  • Scala 3 migration warning for implicits found in package prefix (#10621 by @​lrytz)

Other improvements

  • -Yrelease supplements -release, allows access to additional JVM packages (#10543 by @​som-snytt)
  • -Xlint now enables -Xlint:named-booleans to lint unnamed boolean literal args (#10612 by @​som-snytt)
  • Respect java.lang.Deprecated annotation even in Scala sources (#10517 by @​kapunga)
  • Optimize tail recursion on effectively final methods even when final keyword is absent (#10629 by @​som-snytt)
  • Add -Xlint:pattern-shadow to lint pattern varids which are backquotable (#8806 by @​som-snytt)
  • In mixed compilation, allow Java sources to reference MODULE$ (#10644 by @​som-snytt)
  • Scaladoc: re-align -doc-source-url behavior with 2.12 (#10581 by @​lrytz)

Known issues

  • When upgrading to 2.13.13, existing users of -Xsource:3 should explicitly consider switching to -Xsource:3-cross. Some behaviors of -Xsource:3 have changed, e.g. in result type inference for inherited methods; see new doc page for details
  • Some library authors who were already using -Xsource:3 are getting MiMa failures when upgrading to 2.13.13 and switching from -Xsource:3 to -Xsource:3-cross. If you’re in this situation, you may need to wait for 2.13.14; see scala/bug#12961
  • Users of sbt must upgrade to sbt 1.9.9 to use the console task to access the 2.13.13 REPL (sbt/sbt#7502); error message is NoSuchMethodError: org.jline.utils.AttributedString.fromAnsi
  • Regression: Scaladoc generation may fail if you are using the TASTy reader to access Scala 3 dependencies (scala/bug#12955); error message is "Unsupported Scala 3 generic tuple type"; we'll fix it in 2.13.14
  • Regression: on JDK 11 (but not 8 or 17 or 21), the REPL prints a harmless "illegal reflective access" warning at startup (scala/bug#12957); we'll fix it in 2.13.14
  • The inclusion of -Xlint:named-booleans in -Xlint (#10612) has already proved at least somewhat controversial, and will likely be adjusted for 2.13.14; you can leave feedback on this at #10704

More changes

For the complete 2.13.13 change lists, see all merged PRs and all closed bugs.

Compatibility

As usual for our minor releases, Scala 2.13.13 is binary-compatible with the whole Scala 2.13 series.

Upgrading from 2.12? Enable -Xmigration while upgrading to request migration advice from the compiler.

... (truncated)

Commits
  • a527019 Merge pull request #10758 from som-snytt/fix/repl-color-redux
  • a064a89 Minimize diff for isTerminal probe
  • 6b68db9 Merge pull request #10739 from som-snytt/issue/9609-doc-doc-options
  • 83332ad Merge pull request #10755 from lrytz/10704-followup
  • fcf69c4 Merge pull request #10753 from som-snytt/test/fixup
  • 698369d Align WConf category for WFlagUnnamedBooleanLiteral
  • eea7029 Move terminal test to properties
  • b68ac48 Merge pull request #10751 from som-snytt/sd/867-jdk22-tests
  • 2c78ad2 Console color only if JDK 22 says isConsole
  • 770e6a0 Merge pull request #10749 from SethTisue/skip-jdeps-on-jdk-22
  • Additional commits viewable in compare view

Updates org.scala-lang:scala-library from 2.12.18 to 2.13.14

Release notes

Sourced from org.scala-lang:scala-library's releases.

Scala 2.13.13

The Scala team at Lightbend is pleased to announce Scala 2.13.13.

The following changes are highlights of this release:

Language

Compatibility

Align with Scala 3

  • Allow either -Xsource:3 (for preparing to switch to 3) or -Xsource:3-cross (for crossbuilding on 2 and 3); some existing users of -Xsource:3 should switch to -Xsource:3-cross to avoid unwanted behavior changes (#10573 by @​som-snytt)
    • A new section in the Scala 3 Migration Guide documents -Xsource:3 and -Xsource:3-cross: documentation
  • For migration to 3, accommodate case companion as function (#10648 by @​som-snytt)
  • Scala 3 migration warning for implicits found in package prefix (#10621 by @​lrytz)

Other improvements

  • -Yrelease supplements -release, allows access to additional JVM packages (#10543 by @​som-snytt)
  • -Xlint now enables -Xlint:named-booleans to lint unnamed boolean literal args (#10612 by @​som-snytt)
  • Respect java.lang.Deprecated annotation even in Scala sources (#10517 by @​kapunga)
  • Optimize tail recursion on effectively final methods even when final keyword is absent (#10629 by @​som-snytt)
  • Add -Xlint:pattern-shadow to lint pattern varids which are backquotable (#8806 by @​som-snytt)
  • In mixed compilation, allow Java sources to reference MODULE$ (#10644 by @​som-snytt)
  • Scaladoc: re-align -doc-source-url behavior with 2.12 (#10581 by @​lrytz)

Known issues

  • When upgrading to 2.13.13, existing users of -Xsource:3 should explicitly consider switching to -Xsource:3-cross. Some behaviors of -Xsource:3 have changed, e.g. in result type inference for inherited methods; see new doc page for details
  • Some library authors who were already using -Xsource:3 are getting MiMa failures when upgrading to 2.13.13 and switching from -Xsource:3 to -Xsource:3-cross. If you’re in this situation, you may need to wait for 2.13.14; see scala/bug#12961
  • Users of sbt must upgrade to sbt 1.9.9 to use the console task to access the 2.13.13 REPL (sbt/sbt#7502); error message is NoSuchMethodError: org.jline.utils.AttributedString.fromAnsi
  • Regression: Scaladoc generation may fail if you are using the TASTy reader to access Scala 3 dependencies (scala/bug#12955); error message is "Unsupported Scala 3 generic tuple type"; we'll fix it in 2.13.14
  • Regression: on JDK 11 (but not 8 or 17 or 21), the REPL prints a harmless "illegal reflective access" warning at startup (scala/bug#12957); we'll fix it in 2.13.14
  • The inclusion of -Xlint:named-booleans in -Xlint (#10612) has already proved at least somewhat controversial, and will likely be adjusted for 2.13.14; you can leave feedback on this at #10704

More changes

For the complete 2.13.13 change lists, see all merged PRs and all closed bugs.

Compatibility

As usual for our minor releases, Scala 2.13.13 is binary-compatible with the whole Scala 2.13 series.

Upgrading from 2.12? Enable -Xmigration while upgrading to request migration advice from the compiler.

... (truncated)

Commits
  • a527019 Merge pull request #10758 from som-snytt/fix/repl-color-redux
  • a064a89 Minimize diff for isTerminal probe
  • 6b68db9 Merge pull request #10739 from som-snytt/issue/9609-doc-doc-options
  • 83332ad Merge pull request #10755 from lrytz/10704-followup
  • fcf69c4 Merge pull request #10753 from som-snytt/test/fixup
  • 698369d Align WConf category for WFlagUnnamedBooleanLiteral
  • eea7029 Move terminal test to properties
  • b68ac48 Merge pull request #10751 from som-snytt/sd/867-jdk22-tests
  • 2c78ad2 Console color only if JDK 22 says isConsole
  • 770e6a0 Merge pull request #10749 from SethTisue/skip-jdeps-on-jdk-22
  • Additional commits viewable in compare view

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 <dependency name> 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 1, 2024
Bumps `scala.version` from 2.12.18 to 2.13.14.

Updates `org.scala-lang:scala-compiler` from 2.12.18 to 2.13.14
- [Release notes](https://github.com/scala/scala/releases)
- [Commits](scala/scala@v2.12.18...v2.13.14)

Updates `org.scala-lang:scala-library` from 2.12.18 to 2.13.14
- [Release notes](https://github.com/scala/scala/releases)
- [Commits](scala/scala@v2.12.18...v2.13.14)

---
updated-dependencies:
- dependency-name: org.scala-lang:scala-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.scala-lang:scala-library
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/maven/jvm-packages/scala.version-2.13.14 branch from b727827 to 700b7da Compare May 23, 2024 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant