Skip to content

chore(deps): update dependency scala to v3.6.4#127

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/scala-3.6.x
Open

chore(deps): update dependency scala to v3.6.4#127
renovate[bot] wants to merge 1 commit intomainfrom
renovate/scala-3.6.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 16, 2025

This PR contains the following updates:

Package Change Age Confidence
scala (source) 3.6.23.6.4 age confidence

Release Notes

scala/scala3 (scala)

v3.6.4

Compare Source

Highlights of the release

  • Support for JDK 24 #​22250
  • REPL :silent command to toggle automatic printing of outputs #​22248
  • REPL --repl-init-script: setting to run a code on startup #​22206
  • Deprecated setting -Xno-decode-stacktraces is now an alias to -Xno-enrich-error-messages #​22208
  • Annotation arguments are no longer lifted #​22035
  • Experimental Capture Checking: Implement tracked members #​21761

Breaking changes

  • Align @implicitNotFound and @implicitAmbigous with the language specification #​22371

    This change may impact users who previously used these annotations using variables or string interpolation.

    Previously, a bug in the Scala 3 compiler allowed non-literal strings to be passed as arguments to the @implicitNotFound and @implicitAmbiguous annotations.
    This could have affected how failed implicit search results were reported by the compiler.

    Starting from Scala 3.6.4, the arguments for these annotations must be string literals.
    If a message is too long, it can be concatenated using the + operator, allowing for constant folding.

Other changes and fixes

Annotations

  • Make sure symbols in annotation trees are fresh before pickling #​22002
  • Consider all arguments in Annotations.refersToParamOf #​22001
  • Do not lift annotation arguments (bis) #​22046

Desugaring

Documentation

  • Update example code linked to obsolete content in macros-spec.md #​22256

Experimental: Capture Checking

Experimental: Global Initialization

  • Fix crash when initializing val in ByName closure #​22354

Experimental: Named Tuples

  • Handle TypeProxy of Named Tuples in unapply #​22325
  • Fail more eagerly when trying to adapt named unapply patterns #​22315
  • Widen singleton types when computing fields from .Fields #​22149
  • Fix .toTuple insertion #​22028

Extension Methods

  • Tweak ExtensionNullifiedByMember #​22268
  • Nowarn extension matching nonpublic member #​21825

Implicits

  • Rollback constraints in compareAppliedTypeParamRef #​22339
  • Try implicit searching after finding dynamic select #​22318

Linting

  • Allow discarding "Discarded non-Unit" warnings with : Unit #​21927

Match Types

Metaprogramming

  • Rethrow SuspendExceptions caught in CodeGen phase #​22009

Metaprogramming: Compile-time

  • Extend compiletime.testing.typechecks with certain transform phases #​21185

Nullability

  • Fix #​21619: Refactor NotNullInfo to record every reference which is retracted once. #​21624

Presentation Compiler

  • Use new infer expected type for singleton complations #​21421
  • Fix match error in keyword completions #​22138

Reflection

  • Do not return java outline dummy constructor in primaryConstructor #​22104

Reporting

  • Normalise the types for Type Mismatch Error (E007) #​22337
  • Improve given search preference warning #​22189
  • Better error messages when an enum derives from AnyVal #​22236
  • Correctly print litteral types in the refined printer #​22351

Rewrites

Scaladoc

  • Scaladoc: Add support for named tuples #​22263

Settings

  • Limit exposure to ConcurrentModificationException when sys props are replaced or mutated #​22180

Specification

  • Align the spec to allow the marker #​22323
  • Integrate the specification for match types. #​22164

Transform

Typer

  • Fixes for isLegalPrefix change #​22241
  • Resolve name when named imp is behind wild imps #​21888

Contributors

Thank you to all the contributors who made this release possible 🎉

According to git shortlog -sn --no-merges 3.6.3..3.6.4 these are:

    46  Martin Odersky
    33  noti0na1
    24  Wojciech Mazur
    14  Dale Wijnand
    13  Matt Bovel
    11  Hamza Remmal
     7  Jan Chyb
     6  aherlihy
     5  Kacper Korban
     5  Seth Tisue
     5  Som Snytt
     4  Oliver Bračevac
     4  Yichen Xu
     3  Sébastien Doeraene
     3  dependabot[bot]
     3  kasiaMarek
     2  João Ferreira
     1  David Hua
     1  Eugene Flesselle
     1  Eugene Yokota
     1  Florian3k
     1  Jędrzej Rochala
     1  Kenji Yoshida
     1  Mathias
     1  Natsu Kagami
     1  Oleg Zenzin
     1  Piotr Chabelski
     1  Rui Chen
     1  philippus
     1  rochala
     1  xiaoshihou

v3.6.3

Compare Source

Highlights of the release

  • Scala 2 forwardport: -Yprofile-trace #​19897

Other changes and fixes

Annotations

  • Fix Java parsing of annotations on qualified types #​21867
  • Consider all arguments in Annotations.refersToParamOf #​22001

Backend

  • Flag class file collision as error #​19332

Compiler Phases

  • Fix #​21939: Update names and descriptions for cc and setup phases #​21942
  • Limit exposure to ConcurrentModificationException when sys props are replaced or mutated #​22275

Experimental: Explicit Nulls

  • Improve warning for wildcard matching only null under the explicit nulls flag (#​21577) #​21623
  • Fix warning message for matching on redundant nulls #​21850

Experimental: Capture Checking

Experimentals

  • Replace symbol traversal with tree traversal when finding top level experimentals #​21827

Extension Methods

  • Nowarn extension matching nonpublic member #​21825

Implicits

  • Apply implicit conversion from derived Conversion instance defined as implicit rather than given #​21785

Imports

  • Allow imports nested in packagings to shadow #​21539

Inline

  • Avoid using the current denotation in NamedType.disambiguate #​21414
  • Drop phase.isTyper use in isLegalPrefix/asf #​21954
  • Fix for macro annotation that resolves macro-based implicit crashing the compiler #​20353
  • Allow macro annotations to recover from suspension #​21969

Linting

  • Disallow open modifier on objects #​21922
  • Allow discarding "Discarded non-Unit" warnings with : Unit #​21927

Opaque Types

  • Fix pkg obj prefix of opaque tp ext meth #​21527

Parser

  • Fix: don't consider into as a soft-modifier #​21924

Pattern Matching

  • Drop inaccessible subclasses from refineUsingParent #​21799
  • (Re-)Drop inaccessible subclasses from refineUsingParent #​21930
  • Fix use of class terms in match analysis #​21848
  • Don't project nested wildcard patterns to nullable #​21934
  • Fix provablyDisjoint handling enum constants with mixins #​21876
  • Do not consider uninhabited constructors when performing exhaustive match checking #​21750

Presentation Compiler

  • Update mtags to 1.4.1 and backport remaining changes #​21859
  • Backport changes for the presentation compiler from Metals #​21756

Pickling

  • Avoid orphan param from default arg #​21824
  • Make sure definition tree has the defined symbol #​21851

REPL

  • Allow top-level opaque type definitions in REPL #​21753
  • JLine: follow recommendation to use JNI, not JNA; also JLine 3.27.1 (was 3.27.0) #​22271

Scaladoc

  • Fix scaladoc TastyInspector regressions #​21716
  • Bring back the fix for scaladoc TastyInspector regressions #​21929
  • Fix scaladoc graph highlight background color in dark mode #​21814

Standard Library

  • Combine cases of Tuple.Zip disjoint from (h1 *: t1, h2 *: t2) #​21287

Quotes

  • Fix #​20471: owners of top-level symbols in cached quoted code being incorrect #​21945

Reporting

  • Do not warn about expected missing positions in quotes.reflect.Symbol #​21677
  • Add missing error messages to asserts in QuotesImpl #​21852
  • Don't point to the compiler backlog when a compiler plugin phase crashes #​21887
  • Better error message for polytypes wrapping capturing types #​21843
  • Pretty-print lambdas #​21846
  • Nowarn extension matching nonpublic member #​22276
  • Refactor: Improve Given search preference warning #​22273

Runner

Releases

  • Fix layout of released SDK archives, restore intermiediete top-level directory #​22272

Scala.js

  • Shade scalajs.ir under dotty.tools #​21765

SemanticDB

  • Extract semanticDB for lifted definitions #​21856

Transform

  • Fix enclosingClass from returning refinement classes #​21411
  • Attempt to beta reduce only if parameters and arguments have same shape #​21970
  • Drop copied parent refinements before generating bytecode #​21733

Tooling

  • Ensure to escape characters before constructing JSON profile trace #​21872

Tuples

  • Fix tupleTypeFromSeq for XXL tuples #​21782

Typer

  • Do not crash when typing a closure with unknown type, since it can occur for erroneous input #​21178
  • Revert SAM condition to what it was before #​21684
  • Fix ctx implicits under case unapplySeq #​21748
  • Avoid erasure/preErasure issues around Any in transformIsInstanceOf #​21647

Contributors

Thank you to all the contributors who made this release possible 🎉

According to git shortlog -sn --no-merges 3.6.2..3.6.3 these are:

    33  Wojciech Mazur
    30  Dale Wijnand
    30  Kacper Korban
    14  noti0na1
    11  Hamza Remmal
    10  Eugene Flesselle
    10  HarrisL2
     9  Martin Odersky
     8  Matt Bovel
     7  Jan Chyb
     6  Tomasz Godzik
     5  Seth Tisue
     4  Jamie Thompson
     2  Friendseeker
     2  João Ferreira
     2  Pascal Weisenburger
     2  Som Snytt
     2  Sébastien Doeraene
     1  Adrien Piquerez
     1  Alden Torres
     1  Alexander
     1  Eugene Yokota
     1  Fengyun Liu
     1  Georgi Krastev
     1  Jentsch
     1  Lunfu Zhong
     1  Michał Pałka
     1  Natsu Kagami
     1  Rui Chen
     1  dependabot[bot]
     1  friendseeker
     1  tgodzik

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/scala-3.6.x branch from 8f821a8 to df8edd2 Compare March 6, 2025 16:04
@renovate renovate bot changed the title chore(deps): update dependency scala to v3.6.3 chore(deps): update dependency scala to v3.6.4 Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants