tarao / record4s

Extensible records for Scala
https://tarao.orezdnu.org/record4s/
Apache License 2.0
64 stars 4 forks source link

Update dependency scala to v2.13.13 #77

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 9 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
scala (source) 2.13.12 -> 2.13.13 age adoption passing confidence

Release Notes

scala/scala (scala) ### [`v2.13.13`](https://togithub.com/scala/scala/releases/tag/v2.13.13): Scala 2.13.13 [Compare Source](https://togithub.com/scala/scala/compare/v2.13.12...v2.13.13) The Scala team at Lightbend is pleased to announce Scala 2.13.13. The following changes are highlights of this release: ##### Language - Support binary integer literals using `0b`, as in Java ([#​10656](https://togithub.com/scala/scala/pull/10656) by [@​som-snytt](https://togithub.com/som-snytt)) ##### Compatibility - TASTy reader: support Scala 3.4 ([#​10670](https://togithub.com/scala/scala/pull/10670) by [@​bishabosha](https://togithub.com/bishabosha)) - Support certain Java libraries compiled on JDK 21 ([#​10675](https://togithub.com/scala/scala/pull/10675) by [@​SethTisue](https://togithub.com/SethTisue)) - For JDK 22 support, upgrade to ASM 9.6 ([#​10576](https://togithub.com/scala/scala/pull/10576) by [@​Philippus](https://togithub.com/Philippus)) ##### 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](https://togithub.com/scala/scala/pull/10573) by [@​som-snytt](https://togithub.com/som-snytt)) - A new section in the Scala 3 Migration Guide documents `-Xsource:3` and `-Xsource:3-cross`: [documentation](https://docs.scala-lang.org/scala3/guides/migration/tooling-scala2-xsource3.html) - For migration to 3, accommodate case companion as function ([#​10648](https://togithub.com/scala/scala/pull/10648) by [@​som-snytt](https://togithub.com/som-snytt)) - Scala 3 migration warning for implicits found in package prefix ([#​10621](https://togithub.com/scala/scala/pull/10621) by [@​lrytz](https://togithub.com/lrytz)) ##### Other improvements - `-Yrelease` supplements `-release`, allows access to additional JVM packages ([#​10543](https://togithub.com/scala/scala/pull/10543) by [@​som-snytt](https://togithub.com/som-snytt)) - `-Xlint` now enables `-Xlint:named-booleans` to lint unnamed boolean literal args ([#​10612](https://togithub.com/scala/scala/pull/10612) by [@​som-snytt](https://togithub.com/som-snytt)) - Respect `java.lang.Deprecated` annotation even in Scala sources ([#​10517](https://togithub.com/scala/scala/pull/10517) by [@​kapunga](https://togithub.com/kapunga)) - Optimize tail recursion on effectively final methods even when `final` keyword is absent ([#​10629](https://togithub.com/scala/scala/pull/10629) by [@​som-snytt](https://togithub.com/som-snytt)) - Add `-Xlint:pattern-shadow` to lint pattern varids which are backquotable ([#​8806](https://togithub.com/scala/scala/pull/8806) by [@​som-snytt](https://togithub.com/som-snytt)) - In mixed compilation, allow Java sources to reference `MODULE$` ([#​10644](https://togithub.com/scala/scala/pull/10644) by [@​som-snytt](https://togithub.com/som-snytt)) - Scaladoc: re-align `-doc-source-url` behavior with 2.12 ([#​10581](https://togithub.com/scala/scala/pull/10581) by [@​lrytz](https://togithub.com/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](https://docs.scala-lang.org/scala3/guides/migration/tooling-scala2-xsource3.html) 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](https://togithub.com/scala/bug/issues/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](https://togithub.com/sbt/sbt/issues/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](https://togithub.com/scala/bug/issues/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](https://togithub.com/scala/bug/issues/12957)); we'll fix it in 2.13.14 - The inclusion of `-Xlint:named-booleans` in `-Xlint` ([#​10612](https://togithub.com/scala/scala/pull/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](https://togithub.com/scala/scala/pull/10704) ##### More changes For the complete 2.13.13 change lists, see [all merged PRs](https://togithub.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.13) and [all closed bugs](https://togithub.com/scala/bug/issues?utf8=%E2%9C%93\&q=is%3Aclosed+milestone%3A2.13.13). #### Compatibility As usual for our minor releases, Scala 2.13.13 is [binary-compatible](https://docs.scala-lang.org/overviews/core/binary-compatibility-of-scala-releases.html) with the whole Scala 2.13 series. Upgrading from 2.12? Enable `-Xmigration` while upgrading to request migration advice from the compiler. #### Contributors A big thank you to everyone who's helped improve Scala by reporting bugs, improving our documentation, spreading kindness in discussions around Scala, and submitting and reviewing pull requests! You are all magnificent. We especially acknowledge and thank A. P. Marki, also known as Som Snytt, who is responsible for many of the improvements in this release. This release was brought to you by 23 contributors, according to `git shortlog -sn --no-merges @​ ^v2.13.12 ^2.12.x`. Thank you A. P. Marki, Lukas Rytz, Jamie Thompson, Seth Tisue, Scala Steward, friendseeker, Paul J Thordarson, Philippus Baalman, Shardul Chiplunkar, Stefan Zeiger, Dale Wijnand, Dmitry Komanov, Eugene Yokota, Georgi Krastev, GerretS, Jason Zaugg, Martijn, Mohammad Yousuf Minhaj Zia, Roberto Tyley, Ryan Scheidter, Trey Cahill, c, Dependabot. Thanks to [Lightbend](https://www.lightbend.com/scala) for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala. #### Scala 2.13 notes The [release notes for Scala 2.13.0](https://togithub.com/scala/scala/releases/v2.13.0) have important information applicable to the whole 2.13 series. #### Obtaining Scala Scala releases are available through a variety of channels, including (but not limited to): - Bump the `using scala` setting in your Scala CLI project - Bump the `scalaVersion` setting in your sbt or Mill project - Download a distribution from [scala-lang.org](https://scala-lang.org/download/2.13.13.html) - Obtain JARs via [Maven Central](https://search.maven.org/search?q=g:org.scala-lang%20AND%20v:2.13.13)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.82%. Comparing base (ef49fa2) to head (796ba18).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #77 +/- ## ======================================= Coverage 90.82% 90.82% ======================================= Files 14 14 Lines 523 523 Branches 12 12 ======================================= Hits 475 475 Misses 48 48 ``` | [Flag](https://app.codecov.io/gh/tarao/record4s/pull/77/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=INA+Lintaro) | Coverage Δ | | |---|---|---| | [3](https://app.codecov.io/gh/tarao/record4s/pull/77/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=INA+Lintaro) | `90.82% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=INA+Lintaro#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.