Skip to content

Conversation

@mend-app-ghe
Copy link

@mend-app-ghe mend-app-ghe bot commented Sep 10, 2025

This PR contains the following updates:

Package Update Change
scala patch 3.3.4 -> 3.3.6

Release Notes

scala/scala3 (scala)

v3.3.6

Compare Source

Highlights of the release

  • REPL: Add REPL init script setting #​22206
  • Update asm to patched 9.8.0 to support new JDK versions #​23004
  • classfile reader: handle JDK 9+ constant types in constant pool #​19533
  • REPL: Add back :silent command #​22248
  • Scala 2 forward port: -Yprofile-trace #​19897

Other changes and fixes

Annotations

  • Make sure symbols in annotation trees are fresh before pickling #​22002
  • Fix Java parsing of annotations on qualified types #​21867
  • Rename InlineCopier to ConservativeTreeCopier, use it in TypeMaps #​21941
  • Consider all arguments in Annotations.refersToParamOf #​22001

Backend

  • Flag class file collision as error #​19332
  • Backend computes line number from source of position #​21763

CI

  • In CI, use new standard scala/cla-checker action #​22203
  • Cancel stale CI executions when CI is re-triggered in the same branch/PR #​21974
  • Drop support for old experimental in community-build #​21729

Coverage

  • Fix coverage serialization when encountering macro suspension #​22303

Dependencies

Desugaring

Documentation

  • Fix: typo in documentation for Tuple.zip #​22313
  • Copyright 2025 #​22326
  • Documentation only: update Example code linked to obsolete content in macros-spec.md #​22256
  • Doc fix, removed repeated use of the word with #​21915
  • Fix typos #​21913

Enums

  • Add type parameters derived from enum to default param getters of enum cases #​22157

Extension Methods

Infrastructure

  • Improve, document and group versioning code in Build.scala #​21837
  • Fix: drop jackson-module-scala from CB #​22353
  • Fix inductive-implicits benchmark #​22007
  • Remove tests/pos-with-compiler-cc from VSCode ignored files #​22198
  • Bump webrick from 1.8.2 to 1.9.1 in /docs/_spec #​22066
  • Fix Windows OS detection in TraceNameManglingTest #​21937
  • Don't warn for deprecated Thread.getId() calls in ChromeTrace #​21831
  • Improvement: Remove workaround for Bloop and update docs #​21842
  • Ensure ChromeTraceTest event timestamps are emitted in correct invervals #​21911
  • Remove tests/pos-with-compiler-cc #​21956
  • Shade scalajs.ir under dotty.tools #​21765

Implicits

  • Rollback constraints in compareAppliedTypeParamRef #​22339
  • Apply implicit conversion from derived Conversion instance defined as implicit rather than given #​21785

Imports

  • Allow imports nested in packagings to shadow #​21539

Inline

  • Fix inline reduction for CaseDef guards with asInstanceOf #​22305
  • Avoid using the current denotation in NamedType.disambiguate #​21414

Linting

  • Append instead of prepending import selectors for the current scope when collecting them in CheckUnused #​22314
  • Allow discarding "Discarded non-Unit" warnings with : Unit #​21927
  • Disallow open modifier on objects #​21922
  • Only count associated files of direct members of package objects in dropStale #​22190

Metaprogramming

  • Rethrow SuspendExceptions caught in CodeGen phase #​22009
  • Extend compiletime.testing.typechecks with certain transform phases #​21185

Match Types

Nullability

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

Parser

  • Fix: don't consider into as a soft-modifier #​21924
  • Fix: Allow as as an infix type in non context bound types #​21849
  • Undo patch of double-block apply #​21982

Pattern Matching

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

Pickling

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

Presentation Compiler

  • Use new infer expected type for singleton complations #​21421
  • Fix presentation compiler testcases #​22253
  • Fix match error in keyword completions #​22138
  • Add test cases project for presentation compiler #​22101
  • Improvement: Update mtags to 1.4.1 and backport remaining changes #​21859
  • Backport changes for the presentation compiler from Metals #​21756

Quotes

  • Fix tupleTypeFromSeq for XXL tuples #​21782
  • Do not bring forward symbols created in transform and backend phases #​21865
  • Fix #​20471: owners of top-level symbols in cached quoted code being incorrect #​21945
  • Fix for macro annotation that resolves macro-based implicit crashing the compiler #​20353
  • Allow macro annotations to recover from suspension #​21969

REPL

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

Reflection

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

Reporting

  • Normalise the types for Type Mismatch Error (E007) #​22337
  • 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
  • Nowarn extension matching nonpublic member #​21825
  • Fix: better error messages when an enum derives from AnyVal #​22236

Scaladoc

SemanticDB

  • Extract semanticDB for lifted definitions #​21856

Specification

Settings

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

Tooling

  • Connect the input to the compiler in sbt #​22336
  • Ensure to escape characters before constructing JSON profile trace #​21872
  • Fix: correctly print literal types in the refined printer #​22351

Transform

  • Attempt to beta reduce only if parameters and arguments have same shape #​21970
  • Fix enclosingClass from returning refinement classes #​21411
  • Fix #​22226: Use classOf[BoxedUnit] for Unit array in ArrayConstructors. #​22238
  • Fix typo in allTermArguments #​21836

Typer

  • Fixes for isLegalPrefix change #​22241
  • Resolve name when named imp is behind wild imps #​21888
  • Do not crash when typing a closure with unknown type, since it can occur for erroneous input #​21178
  • Allow autotupling if fn's param is a type param #​21741
  • Fix ctx implicits under case unapplySeq #​21748
  • Avoid using ExplainingTypeComparer in regular code #​21583
  • Avoid erasure/preErasure issues around Any in transformIsInstanceOf #​21647
  • Remove tvars introduced while testing normalizedCompatible #​21466

Miscellaneous

Contributors

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

According to git shortlog -sn --no-merges 3.3.5..3.3.6-RC1 these are:

    63  Tomasz Godzik
    30  Dale Wijnand
    26  Wojciech Mazur
    20  noti0na1
    15  Hamza Remmal
    15  Matt Bovel
    10  Jan Chyb
     9  Kacper Korban
     6  Som Snytt
     4  Sébastien Doeraene
     3  HarrisL2
     3  Jamie Thompson
     3  Martin Odersky
     3  Seth Tisue
     3  kasiaMarek
     2  Friendseeker
     2  João Ferreira
     2  Kenji Yoshida
     2  Natsu Kagami
     2  Pascal Weisenburger
     2  dependabot[bot]
     1  Adrien Piquerez
     1  Alden Torres
     1  Alexander
     1  Georgi Krastev
     1  Guillaume Martres
     1  Jentsch
     1  Lunfu Zhong
     1  Mathias
     1  Michał Pałka
     1  Oleg Zenzin
     1  Oliver Bračevac
     1  friendseeker
     1  philippus
     1  tgodzik
     1  xiaoshihou

v3.3.5

Compare Source

Highlights of the release

Breaking changes

  • Aligned -Wconf parsing order with Scala 2 semantics: -Wconf:x,y now means -Wconf:x -Wconf:y, with y overruling x, rather than the reverse to align with Scala 3.4+ and with user intuition #​21985

Other changes and fixes

Annotations

Exports

  • Re-use attachment in exportForwarders to handle ambiguous overloads #​21518
  • Allow export statements in AnyVal #​21653

Extension Methods

  • Make right assoc ext method fwd refs error #​21641

Inference

Linting

  • Add origin filter to WConf, DeprecationWarning #​21404
  • CheckUnused checks type param annotations #​20549

Match Types

  • Fix #​20897: Make Nothing ⋔ Nothing, as per spec. #​21241
  • Always interpret underscores inside patterns as type bounds #​21718

Overloading

  • Report only non-overridden unimplemented members #​21337

Parser

  • Harden skip in Scanner #​21607
  • SimplePattern errors should now be recovered as wildcard instead of unimplemented expr #​21438

Positions

Presentation Compiler

  • Fix autoimports with using directives #​21590
  • Remove artificial CURSOR added to code in the completions #​20899
  • Help implement Metals' infer expected type feature #​21390
  • Weekly metals backport #​21343
  • Change mock symbol search #​21296
  • Fix: completions when parenthesis already provided #​21299
  • Backport from metals #​21196
  • Fix: don't add suffix if brackets already present #​21259

Quotes

  • Handle suspension due to macro call in arbitrary phases #​21651
  • Have a better error message when healing types #​21711
  • Expr#show: Don't crash when the expression contains an unsupported type (like a SkolemType) #​20494
  • Quotes type printing: take infix type modifier into account #​21726

Reporting

  • Nicer error message in case a derived method has an explicit term param #​21332
  • Add better error reporting for inlined non-immutable paths #​21639

Releases

  • Add support for Chocolatey #​20534
  • Add the merge commit hash to the icon's url #​21221
  • Add sources of synthetic classes to sources jar #​20904

REPL

  • Uppdate JLine to 3.27.0 (was 3.25.1) #​21752
  • Allow JLine to fall back to a dumb terminal #​21330
  • JLine: follow recommendation to use JNI, not JNA; also JLine 3.27.1 (was 3.27.0) #​22205

Runner

  • Fix old scala runner to use correct JLine classpath #​22464
  • Fix remaining JNA classpath entries in dist/bin/scaladoc* scripts #​22471

Scaladoc

  • Only trim one newline when preprocessing the content of a markdown code snippet #​21519
  • Bump Inkuire version to fix it for the new Scala versions #​21611
  • Filter opaque modifier from object documentation #​21640

TASTy format

  • Add child to parent in completion context #​21214

Transform

  • Three fixes to SAM type handling #​21596
  • Fix treatment of separately compiled @native methods in FirstTransform #​21593
  • Fix #​20856: Serialize Waiting and Evaluating as if null. #​21243
  • Fixes IllegalAccessError with Java package protected class #​21362
  • Consistently use TypeMismatch in TreeChecker #​21529
  • Fix: don't use color codes for pattern match code action #​21120
  • Let show behave more robustly for Recheck #​21678
  • Always rewrite empty List() to Nil #​21689

Typer

  • Fix extending protected nested java classes #​21857
  • Avoid cyclic errors forcing default arg types #​21597
  • Survive inaccessible types when computing implicit scope #​21589
  • Revert "Drop redundant butNot = Param clause in isAnchor" #​21566
  • Fail early & more clearly on shaded-broken classfiles #​21262
  • Fix isomorphism tests of AndOrTypes under non-empty BinderPairs #​21017
  • Some fixes for AnnotatedTypes mapping #​19957
  • Simple performance improvement for Denotations #​21584
  • Avoid import suggestion thread hang if -Ximport-suggestion-timeout <= 1 #​21434
  • Fix incorrect caching with dependent method parameters #​21699

Experimental: Explicit Nulls

Contributors

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

According to git shortlog -sn --no-merges 3.3.4..3.3.5-RC1 these are:

    56  Wojciech Mazur
    14  Dale Wijnand
    10  Katarzyna Marek
     8  rochala
     5  Hamza Remmal
     5  noti0na1
     4  Matt Bovel
     4  Seth Tisue
     4  Som Snytt
     3  Jamie Thompson
     3  Martin Odersky
     3  Michał Pałka
     3  dependabot[bot]
     3  kasiaMarek
     2  Aleksander Rainko
     2  Eugene Flesselle
     2  Florian3k
     2  HarrisL2
     2  Jędrzej Rochala
     2  Kacper Korban
     2  Yichen Xu
     1  Eugene Yokota
     1  Guillaume Martres
     1  Hamza REMMAL
     1  Jan Chyb
     1  Joel Wilsson
     1  Kenji Yoshida
     1  Martin Duhem
     1  Nicolas Stucki
     1  Ondrej Lhotak
     1  Sébastien Doeraene
     1  Tomasz Godzik

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

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