Skip to content

Releases: scala/scala3

3.8.3-RC1

25 Feb 19:11
4a1b66d

Choose a tag to compare

3.8.3-RC1 Pre-release
Pre-release

Release highlights

  • Add support for local coverage on and off with // $COVERAGE-OFF$ and // $COVERAGE-ON$ #24486
  • Deprecate for removal -print-lines compiler setting #25330

Other changes and fixes

Desugaring

  • Fix #24997: Avoid unnecessary CHECKCAST in untupled function parameters #25085

Documentation

  • Fix little errors in the API documentation #25241
  • CC Language Reference: Rename cap to any/fresh #25057

Enums

  • Deprecate override class, improve checks #24828
  • Fix Java enum forwarders to pull from companion on initialization #24361

Experimental: Capture Checking

  • Rename caps.cap to caps.any #24923
  • Track global capabilities #24883
  • Treat local mutable vars as capabilities #24815
  • Fix Crashes when Capture-set Parameters Conflict with Terms #25029
  • Replace "cannot be included in" by "cannot flow into" in error messages #25155
  • CC: Add field captures to self-type constraints #24984
  • Add uses clauses for templates #24857
  • Drop special code paths for objects #24881
  • Do not consider generated getters to be update def #24906
  • Under cc, mark inferred type arguments to inline methods with an @inferred annotation #25175
  • Handle call-by-name types in bad locations under cc #25154
  • Fixes for global capabilities #25123
  • Warn if reach capability in result will likely cause leakage #24860
  • Make <fluid> decorations replace existing capture sets #25012
  • Make TypeMaps in Setup work correctly for fresh #24985
  • For a limited time, also recognize caps.cap #25076
  • Fix closure typing #25014
  • Map class capture sets via as-seen-from with prefix of created types #24830

Experimental: Modularity

  • Fix nested desugaring of applied constructor types #25288

Exports

  • Add ctor proxies before exports #24884

Inline

  • Make containsOuterRefsAnywhere follow aliases #25214
  • Find annotation args in inline expansion #24895
  • Also substitute symbols in case bindings symbols #24849

JDK

  • Skip over JEP 445 compact compilation units #23247
  • Handle MissingType during Erasure phase #24817

JVM Backend

  • Simplify JVM interface list emission, remove a mini-phase #25203
  • Don't generate bridge methods for inaccessible Java package-private methods #25166
  • Revise isLocalToCompilationUnit #24856

Linting

  • Extension check handles hiBound of opaque type #25172
  • Distrust tree pos for patvar lint #25043
  • Move second CheckUnused after pattern matcher #25114
  • Unused lint ignores args to ctor of enclosing class #24768
  • Check inline expansion for exclusion #23019

Metaprogramming

  • Fix: Fix incremental compilation of (some unquoted) macros #24969

Named Tuples

  • Don't try checking for ambiguous single-element tuples when in types #24910
  • Fix "NamedTuple type in match is parsed as named pattern" #24929
  • Fix "Named pattern matching doesn't work in val statements or for generators" #24928
  • Fix false exhaustivity warning for pattern returning NamedTuple #23362

Overloading

  • Prefer non-extension to extension #24943

Parser

  • Check seen for TypeParamRef in TypeSizeAccumulator #25264
  • End of new expr never shrinks #25253
  • Use toVector for XML literal sequences #23221

Pattern Matching

  • Emit unchecked warnings for trait patterns #24962

Presentation Compiler

  • Bugfix: inline value false-positive shadowing with lambda params #25140
  • Test hover on backticked identifiers with whitespace #25142
  • Inlining interpolated variables #25144
  • Bugfix: treat self types as parent types #25167
  • Feat(pc): add closing labels inlay hints #25178
  • Coursier dependency imports should have lexicographic ordering #21592
  • Bugfix: Fix various minor presentation compiler issues #25256
  • Fix negative activeParameter in signature help #24945
  • Closes #7532: Parameter hints not working for functions #23854
  • Fix opaque types displayed as Nothing & Any in hover and signature help #24921

REPL

  • Skip module-info.class files during REPL tab-completion #24838
  • Fix REPL usage of macros loaded via :dep and :jar #25312
  • Make REPL type echo-ing use partially qualified names where made possible by imports #24850

Reporting

  • Check -Werror on summarize #25096
  • Fixes #24233: Remove misleading JDK compatibility hint for TASTy errors #25171
  • Ignore resetting if preferPrevious #24991
  • Enhance WInferUnion to not warn propagated explicit union types #25280
  • Improve diagnostic message for unnecessary trailing underscore in eta-expansion #25285
  • More descriptive "not found" message when type/term exists with the expected term/type name #24959
  • Warn on Scala 2 auto-apply if loosely nullary #24811
  • Fix printing references to nested objects #25086
  • Add error note for type mismatch involving blocks without last expression #25181
  • Drop -print-lines option #24905
  • Don't suggest invisible members of root imports #24999

Rewrites

  • Accommodate ArrowAssoc in infix named arg migration #25255

Scaladoc

  • Init MacroClassLoader in scaladoc #25141
  • Scaladoc Overload Method Link Fix #25156
  • Fix duplicate member entries in Scaladoc generation #24712
  • Scaladoc Tests for CC #25277
  • Skip generation of API pages when building reference docs #25153

Standard Library

  • Remove incorrect equals implementations from ArrayBuilder #25205
  • Use StringBuilder intead of StringBuffer in Regex #24576
  • Update StringOps.* implementation #24786

Tooling

  • Fix behavior of -Ydump-sbt-inc #25125

Typer

  • Never widen constant type on selector type in matches #25197

Quotes

  • Fix #25208: handle AndType(TermRef, TypeRef) in TreeUnpickler path trees #25209

Contributors

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

According to git shortlog -sn --no-merges 3.8.2..3.8.3-RC1 these are:

    80	Martin Odersky
    46	Wojciech Mazur
    26	Som Snytt
    11	Li Haoyi
    10	Tomasz G...
Read more

3.8.2

24 Feb 17:20
6e95f60

Choose a tag to compare

Highlights of the release

  • Warn if for with many vals and overloaded map #25090
  • Support :dep ... to add library dependencies in the Scala REPL #24131
  • Upgrade to Scala.js 1.20.2. #24898
  • Bump Scala CLI to v1.12.2 (was 1.11.0) #25217:
    • New aliases for RC and nightly Scala versions
    • Detailed changelog available in scala-cli release notes for versions: v1.12.0, v1.12.1 and v1.12.2

Other changes and fixes

Context Functions

  • Inferred Contextual params are less nameable #24381

Desugaring

  • A comprehension with valdef aliases is never a candidate for map elimination. #23448

Experimental: Capture Checking

  • Capture Checking of Lazy Vals #24261
  • Represent read-only with a classifier #24295
  • Fix typing closure blocks where result type refers to a closure parameter. #24299
  • Systematically recompute denotations when needed in rechecker phases #24302
  • Ensure that read-only methods don't use exclusive capabilities #24311
  • Handle capture parameters in dcs #24328
  • Don't prematurely force info of fields with inferred types #24336
  • Disallow fresh caps from parameter bounds in results #24541
  • Avoid box failures and better diagnosis if they come back #24546
  • Freshen all explicit arguments of type applications #24354
  • Optimize and harden isCaptureChecking tests #24439
  • Add Unscoped classifier #24470
  • Optimization: Introduce CompactAnnotation #24679

Experimental: Seperation Checking

  • Changes to Mutable #24352
  • Don't crash when update is used as a modifier outside cc #24378
  • Imply update only for consume methods in Mutable classes #24383
  • Decompose Mutable #24495
  • Add freeze wrapper (2) #24518
  • Make Arrays mutable types under separation checking #24649

Experimental: Explcit Nulls

  • Relax flow typing checks on Flexible Types #24278
  • Do not expose flexible types #24292
  • Do not search contextual function type in union types in general #24393
  • Add jspecify NonNull annotation to NotNullAnnots list #24487
  • Recognize Nullable annotations in explicit nulls #25237

Experimental: Global Initialization

  • Global object init checker gives warning when accessing an object before its super constructor finishes #24349

Annotations

  • Accommodate adapted Scala 2 annotation value #17516
  • Harden Annotation.refersToParamOf #24647
  • Do not allow @targetName on primary constructor too #24682

Coverage

  • Fix issues with Scala.js and coverage #24769
  • Make coverage support incremental compilation #24773
  • Improvement: Try to optimize coverage phase #24925

Enums

  • Lint enum case in outer context #24652

Exports

  • Preserve select of exported member in newExpr #24570

Erasure

  • Fix isJvmAccessible to handle nested protected Java classes #24625

Inline

  • Allow references to erased values in types #24421
  • Cast inline call results to result type, not method type #25111
  • Fix "Compiler crash when calling another file's inline def that uses a private constructor" #24941

Implicits

  • Avoid more constraints in result if trying views #24369

Initialization

  • Skip caret when source is missing in initialization checker #23926

JVM Backend

  • Preserve singleton types for final val aliases to Java enum constants #24980

Linting

  • Suppression matches inlined positions #24092
  • Wshadow option recognizes Wall #24469

Nullability

  • Record NotNullInfo for exceptional try-catch #24320

Overloading

  • Ignore selection prototypes when typing type applications #24489
  • Fix varargs overload resolution with wildcard types #24669
  • Fix override checking for Java methods with covariant array #24408

Parser

  • Permit new with trivial end #24331
  • Single line case lambda gets a region #24497
  • Error tree on outdent is zero extent #23796

Pattern Matching

  • Fix false exhaustivity for GADT under separate compilation #23966

Presentation Compiler

  • Create extension method in infer method action #24721
  • Exclude XRayModeHint for synthetics #24722
  • Fix incorrect XRay hint #24738
  • Improve multi-line code message rendering #24723
  • Improvement: Allow passing -explain to the presentation compiler #24740
  • Handle inlined tree in implicit parameter inlay hints #24762

REPL

  • Improve REPL code, echo and exception highlighting with pprint and fansi #24298
  • Replace REPL signal handling with raw mode jline terminal to make Ctrl-C handling work when REPL is a child process #24842
  • Fix "Colon as operator part at beginning of line in REPL" #24942
  • Fix "REPL dependency on scala-parallel-collections doesn't work" #25064
  • Fix "Still can't use scala-parallel-collections in REPL via :dep" #25092

Reporting

  • Addendum when apply error involves default arg #21133
  • Forward reference error includes line numbers #22534
  • Improve error messages for scope extrusion errors #24318
  • Use a better span for an anonymous class #24640
  • Add ErrorMessageID to -Winfer-union warnings (#25073) #25249

Scaladoc

  • Allow to additional scalacOptions in Markdown code snippets #24755

Standard Library

  • Enable capture checking on Tuple #24345
  • Update StringOps.padTo implementation #24575
  • Use String.repeat in scala.io.Source #24594
  • Ensure stability of IArray.tapEach #24727

TASTy

  • Pickle CompactAnnotations as regular annotations #25213
  • Drop spurious applies in unpickler and inliner #25201

Transform

  • Adjust purity of trait with lazy member #23788

Tuples

  • Fix inconsistent typeSize calculation for TupleN vs recursive pair encodings #24743

Typer

  • Dealias type of type constructor in typedAppliedTypeTree #24522
  • Improve TypeVar instantiation logic #24697
  • Try to instantiate TypeVars inside pt when possible #24231
  • Error instead of crash when generating trees referring to skolem...
Read more

3.8.2-RC3

18 Feb 09:30
1aca7f9

Choose a tag to compare

3.8.2-RC3 Pre-release
Pre-release

Backported chnages

  • Add ErrorMessageID to -Winfer-union warnings (#25073) #25249
  • Warn if for with many vals and overloaded map #25090
  • Recognize Nullable annotations in explicit nulls #25237

Contributors

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

According to git shortlog -sn --no-merges 3.8.2-RC2..3.8.2-RC3 these are:

     3  noti0na1
     3  Wojciech Mazur
     1  Som Snytt

3.8.2-RC2

12 Feb 10:15
29bb834

Choose a tag to compare

3.8.2-RC2 Pre-release
Pre-release

Backported chnages

  • Bump Scala CLI to v1.12.2 (was v1.11.0) & coursier to 2.1.25-M23 (was 2.1.25-M21) #25217
  • Pickle CompactAnnotations as regular annotations #25213
  • Drop spurious applies in unpickler and inliner #25201
  • Preserve singleton types for final val aliases to Java enum constants #24980
  • Avoid NPE when calling hashCode on a value class wrapping null #25110
  • Cast inline call results to result type, not method type #25111
  • Fix "Compiler crash when calling another file's inline def that uses a private constructor" #24941
  • Fix "REPL dependency on scala-parallel-collections doesn't work" #25064
  • Fix "Still can't use scala-parallel-collections in REPL via :dep" #25092

Contributors

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

According to git shortlog -sn --no-merges 3.8.2-RC1..3.8.2-RC2 these are:

     7 Wojciech Mazur
     2 Li Haoyi
     2 Martin Odersky
     1 Lukas Rytz
     1 Matt Bovel
     1 Som Snytt

3.8.2-RC1

22 Jan 14:49
e57963a

Choose a tag to compare

3.8.2-RC1 Pre-release
Pre-release

Highlights of the release

  • Support :dep ... to add library dependencies in the Scala REPL, add helpful message to //> using dep "..." #24131
  • Warn if type argument was inferred as union type #24258
  • Upgrade to Scala.js 1.20.2. #24898

Other changes and fixes

Context Functions

  • Inferred Contextual params are less nameable #24381

Desugaring

  • A comprehension with valdef aliases is never a candidate for map elimination. #23448

Experimental: Capture Checking

  • Capture Checking of Lazy Vals #24261
  • Represent read-only with a classifier #24295
  • Fix typing closure blocks where result type refers to a closure parameter. #24299
  • Systematically recompute denotations when needed in rechecker phases #24302
  • Ensure that read-only methods don't use exclusive capabilities #24311
  • Handle capture parameters in dcs #24328
  • Don't prematurely force info of fields with inferred types #24336
  • Disallow fresh caps from parameter bounds in results #24541
  • Avoid box failures and better diagnosis if they come back #24546
  • Freshen all explicit arguments of type applications #24354
  • Optimize and harden isCaptureChecking tests #24439
  • Add Unscoped classifier #24470
  • Optimization: Introduce CompactAnnotation #24679

Experimental: Seperation Checking

  • Changes to Mutable #24352
  • Don't crash when update is used as a modifier outside cc #24378
  • Imply update only for consume methods in Mutable classes #24383
  • Decompose Mutable #24495
  • Add freeze wrapper (2) #24518
  • Make Arrays mutable types under separation checking #24649

Experimental: Explcit Nulls

  • Relax flow typing checks on Flexible Types #24278
  • Do not expose flexible types #24292
  • Do not search contextual function type in union types in general #24393
  • Add jspecify NonNull annotation to NotNullAnnots list #24487

Experimental: Global Initialization

  • Global object init checker gives warning when accessing an object before its super constructor finishes #24349

Annotations

  • Accommodate adapted Scala 2 annotation value #17516
  • Harden Annotation.refersToParamOf #24647
  • Do not allow @targetName on primary constructor too #24682

Coverage

  • Fix issues with Scala.js and coverage #24769
  • Make coverage support incremental compilation #24773
  • Improvement: Try to optimize coverage phase #24925

Enums

  • Lint enum case in outer context #24652

Exports

  • Preserve select of exported member in newExpr #24570

Erasure

  • Fix isJvmAccessible to handle nested protected Java classes #24625

Inline

  • Allow references to erased values in types #24421

Implicits

  • Avoid more constraints in result if trying views #24369

Initialization

  • Skip caret when source is missing in initialization checker #23926

Linting

  • Suppression matches inlined positions #24092
  • Wshadow option recognizes Wall #24469

Nullability

  • Record NotNullInfo for exceptional try-catch #24320

Overloading

  • Ignore selection prototypes when typing type applications #24489
  • Fix varargs overload resolution with wildcard types #24669
  • Fix override checking for Java methods with covariant array #24408

Parser

  • Permit new with trivial end #24331
  • Single line case lambda gets a region #24497
  • Error tree on outdent is zero extent #23796

Pattern Matching

  • Fix false exhaustivity for GADT under separate compilation #23966

Presentation Compiler

  • Create extension method in infer method action #24721
  • Exclude XRayModeHint for synthetics #24722
  • Fix incorrect XRay hint #24738
  • Improve multi-line code message rendering #24723
  • Improvement: Allow passing -explain to the presentation compiler #24740
  • Handle inlined tree in implicit parameter inlay hints #24762

REPL

  • Improve REPL code, echo and exception highlighting with pprint and fansi #24298
  • Replace REPL signal handling with raw mode jline terminal to make Ctrl-C handling work when REPL is a child process #24842
  • Fix "Colon as operator part at beginning of line in REPL" #24942

Reporting

  • Addendum when apply error involves default arg #21133
  • Forward reference error includes line numbers #22534
  • Improve error messages for scope extrusion errors #24318
  • Use a better span for an anonymous class #24640

Scaladoc

  • Allow to additional scalacOptions in Markdown code snippets #24755

Standard Library

  • Enable capture checking on Tuple #24345
  • Update StringOps.padTo implementation #24575
  • Use String.repeat in scala.io.Source #24594
  • Ensure stability of IArray.tapEach #24727

Transform

  • Adjust purity of trait with lazy member #23788

Tuples

  • Fix inconsistent typeSize calculation for TupleN vs recursive pair encodings #24743

Typer

  • Dealias type of type constructor in typedAppliedTypeTree #24522
  • Improve TypeVar instantiation logic #24697
  • Try to instantiate TypeVars inside pt when possible #24231
  • Error instead of crash when generating trees referring to skolems #24380
  • Try to fix callee type inference in typedFunctionValue #24732
  • Fix wildcardArgOK for mixed wildcard/concrete type args #25001

Union types

  • Dealias in isSimpleThrowable check #24744

Quotes

  • Make quotes.reflect.Position.ofMacroExpansion consider -Ymagic-offset-header #24301

Contributors

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

According to git shortlog -sn --no-merges 3.8.1..3.8.2-RC1 these are:

   101 Martin Odersky
    93 Hamza Remmal
    67 Wojciech Mazur
    34 Som Snytt
    24 noti0na1
    16 Rikito Taniguchi
     8 Oliver Bračevac
     7 Kenji Yoshida
     7 Li Haoyi
     7 Matt Bovel
     7 Natsu Kagami
     7 Tomasz Godzik
     7 Yichen Xu
     6 Jan Chyb
     6 Piotr Chabelski
     5 Zieliński Patryk
     5 dependabot[bot]
     4 HarrisL2
     3 Jamie Thompson
     3 Lukas Rytz
     2 Chua Chee Seng
     2 Fengyun Liu
     2 Guillaume Martres
     2 Lluc Santamaria Riba
     2 Sébastien Doeraene
     1 Alex1005a
     1 Bill Venners
     1 Emil Ejbyfeldt
     1 EnzeXing
     1 Evgeny Vereshchagin
     1 Jeon Yoonjae
     1 Lorenzo Gabriele
     1 Seth Tisue
     1 matsu-chara
     1 rjolly
     1 zielinsky
`...
Read more

3.8.1

22 Jan 14:22
88438e2

Choose a tag to compare

Highlights of the release

Scala 3.8.1 is a hotfix release for 3.8.0.
It addresses runtime regressions found after the 3.8.0 artifacts were released, specifically JVM linkage errors affecting a small subset of Scala 2 specialized types and members.

Additional regressions

The following regressions still present in 3.8.1 will be addressed in a forthcoming 3.8.2 hotfix release:

  • Some for comprehensions have incorrect behavior at runtime (#24673)
  • Certain code involving calls to certain parts of the Java standard library fail to compile (#25133)

Cautious users may wish to wait for 3.8.2.

Fixed regressions

  • Revert addition of new base trait to ReturnThrowable #24975
  • Use uninlined version of Scala 2 standard-library in ScalaLibraryPlugin #25008
  • Add missing specialized method in NumericRange #25020
  • Correct the list of files to copy from Scala 2 #25033

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

3.8.0

22 Jan 14:20
73ecd48

Choose a tag to compare

Please use Scala 3.8.1
Version 3.8.0 was published with runtime regressions.

Highlights of the release

  • Require JDK 17+ #24146
  • Add explicit null checks to Scala 3 Standard Library #23566
  • Add capture-checking to Scala 3 Standard Library #23688
  • Add capture-checking to Scala 2 collections #23769
  • Extract REPL to be its own artifact #24243
  • SIP-57: Make runtimeChecked a standard feature #23262
  • SIP-62: Make better-fors a stable feature #23630
  • Preview SIP-71: Make into preview feature #24090
  • Experimental SIP-67: Strict equality pattern matching #23803
  • Experimental SIP-70: Allow multiple spreads in function arguments #23855
  • Experimental SIP-75: Allow single-line lambdas after : #23821
  • Experimental: Match if sub cases #23786
  • Support JDK 26 #24430
  • Make scala.caps.Pure non-experimental #23745
  • Allow annotations to annotate themselves #24447
  • Changed indicator for LTS/Next series indicator in pom.xml #24709

Other changes and fixes

Annotations

  • Emit deprecation warnings when a symbol is annotated by a deprecated annotation #23906
  • Deprecate scala.annotation.elidable #23913
  • Deprecate scala.annotation.transparentTrait #23116

Experimental: Capture Checking

  • Make scala.caps.Pure transparent #23914
  • Make scala.caps.Capability non-experimental #23507
  • Check conformance to scala.caps.Pure upper bound only under cc #23784
  • Widen type parameters before box adaptation #23809
  • Level checking: distinguish between certain capset vars with same owner #24077
  • Implement FreshCap Handling for Classes and Objects #24136
  • Skip capture sets in checkNoPrivateLeaks and drop them in posttyper when cc is not enabled #23886
  • Changes around reaches and uses #23584
  • Revise capability hierarchy and fix classifiers #23656
  • Improve closure typing #23700
  • Better printing of capabilities in error messages #23701
  • More improvements to error messages #23721
  • CC Language Ref Polishings #23762
  • CC Language Reference Improvements v2 #23818
  • Changes in CC around classes, constructors, this #23874
  • Various fixes and simplifications #23881
  • Simplify Level Checking and Fix Errors #23934
  • Introduce precise refined types #24154
  • Fix unsoundness in APPLY and SELECT rules #24159
  • Fixes for mutability #24205
  • Implement inheritance condition for Mutable types #24253
  • Don't add cap when creating instances of capability classes. #24256
  • Changes to Fresh and Separation Checking #24112
  • Avoid blowup of compute times for ill-formed retains #24564
  • Fix apply rule #24273

Experimental: Explicit Nulls

  • Only nullify tasty if Yflexify-tasty is set; Refine FlexibleType nullification rules #23938
  • Apply flexible types to files compiled without explicit nulls #23386
  • Fix NotNullInfo in multi-case match #23864
  • Fix captureWildcards with FlexibleType #24070
  • Do not assume left is non-null if another branch is null in splitLast #24325
  • Fix #24440: Do not check public flexible types on artifact symbols or inside anonymous classes #24471

Experimental: Global Initalization

  • Modelling assigning to null in the global object initialization checker #23858
  • Fix global init checker unexpected by name #23859
  • Fix selection on safe value in the global object initialization checker #23860
  • Re-design Env of the global object init checker #24107

Experimental: Into

Experimental: Modularity

  • Simpler inference for tracked #22972

Implicits

  • Only check seen for LazyRef for TypeSizeAccumulator #20459
  • Derived members succeed other givens in cycle test #23898

JVM Backend

  • Fix generic signatures for mixin forwarders conflicting type parameter names #24567
  • Look at the underlying of a TermRef for a getter #24565
  • Refine parameter adaptation logic for arrays #23591
  • Fix #24573: Add stricter checks for platform SAM compatibility #24624
  • Only rename method type params shadowing enclosing class type params #24684
  • Update BackendUtils.classfileVersionMap #23954
  • Refine TypeErasure.samExpansionNotNeeded to check parent traits if SAM is covered #24843

Linting

  • Drill through type lambda for tree symbol #23699
  • Warn unused masking imports, remove obsolete unused options #23757
  • Unused lint does not rewrite suppressed warnings #24055
  • Check for synthetic case methods in unused lint #24239
  • CheckUnused examines type of Apply #24465
  • Suggest runtimeChecked in warning/error messages #24672
  • Parameter name can be masked in import #24635

Match Types

  • Prioritize tree type over proto type when typing Binds #24175

Metaprogramming

  • Warn about encoded pkg obj names #22707

Named Tuples

  • Prohibit selection of tuples with members named apply. #24191
  • Add an Ordering given instance for named tuples #23379
  • Named tuple toMap extension method #23827

Opaque Types

  • Prevent opaque types leaking from transparent inline methods #23792
  • Make opaque types decomposable #24068

Packaging

  • Ensure scala3-library does not contain .class or .tasty files #24714
  • Ensure that scala3-library artifacts are empty #24816
  • Actively remove Scala 2 pickles and emit synthetic TASTy attribute for copied stdlib .class files #24846

Parser

  • Make consume a soft modifier #23755

Pattern Matching

  • Fix false exhaustivity warning for seq match #23968
  • Use upper bound of abstract types in exhaustivity checking #23909

Performance

  • Make compilationUnitInfo of TastyLoader lazy #24604
  • Strip CC annotations in TypeMap when CC is not enabled #24556

Pickling

  • Cleanup the type of UnApply trees in posttyper #24259

Presentation Compiler

  • Make sure that we can query tree.source #24123
  • Add unsafe RawPresentationCompiler implementation [...
Read more

3.8.0-RC6

09 Jan 10:53
10c27cf

Choose a tag to compare

3.8.0-RC6 Pre-release
Pre-release

Backported changes

  • Actively remove Scala 2 pickles and emit synthetic TASTy attribute for copied stdlib .class files #24846
  • Deprecate MapOps.KeySet, replace with private (and more performant) strict/lazy KeySet implementations #24767

Contributors

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

According to git shortlog -sn --no-merges 3.8.0-RC5..3.8.0-RC6 these are:

    17  Wojciech Mazur
     5  Natsu Kagami
     1  Hamza Remmal

3.8.0-RC5

04 Jan 17:56
29b4485

Choose a tag to compare

3.8.0-RC5 Pre-release
Pre-release

Backported changes

  • Synchronize standard library sources with Scala 2.13.18 #24788
  • Use up-to-date sources of Scala 2.13 stdlib when patching Scala 3 bytecode #24855
  • Add @uncheckedOverride annotation for definitions that may override #24545
  • Update BackendUtils.classfileVersionMap #23954
  • Fix REPL interrupt instrumentation conditional #24837
  • Refine TypeErasure.samExpansionNotNeeded to check parent traits if SAM is covered #24843
  • Ensure that scala3-library artifacts are empty #24816

Contributors

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

According to git shortlog -sn --no-merges 3.8.0-RC4..3.8.0-RC5 these are:

    21  Wojciech Mazur
     3  Lukas Rytz
     2  Kenji Yoshida
     1  Evgeny Vereshchagin
     1  Li Haoyi

3.8.0-RC4

24 Dec 13:33
86fc338

Choose a tag to compare

3.8.0-RC4 Pre-release
Pre-release

Backported changes

  • Bump Scala CLI to 1.11.0 (was 1.10.1) and coursier to 2.1.25-M21 (was 2.1.25-M19) #24739
  • Suggest runtimeChecked in warning/error messages #24672
  • Ensure scala3-library does not contain .class or .tasty files #24714
  • Fix #24573: Add stricter checks for platform SAM compatibility #24624
  • Fix #24440: Do not check public flexible types on artifact symbols or inside anonymous classes #24471
  • Tweak type for tryParameterless #24716
  • Fix apply rule #24273
  • Work around sbt#8376 and re-enable shapeless-3 community build #24709
  • Parameter name can be masked in import #24635
  • Only rename method type params shadowing enclosing class type params #24684
  • Make style-only changes to doc comments for the standard library. #24754
  • Restore dist projects required for Scala runners #24775
  • Update to new wildcard syntax in library scaladoc #24751
  • Move into to preview in the language reference #24704

Contributors

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

According to git shortlog -sn --no-merges 3.8.0-RC3..3.8.0-RC4 these are:

    13  Wojciech Mazur
     6  Rikito Taniguchi
     3  noti0na1
     2  Piotr Chabelski
     2  Som Snytt
     1  Jamie Thompson
     1  Kenji Yoshida
     1  Oliver Bračevac