Update dependency scala to v3.7.3 #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.3.4->3.7.3Release Notes
scala/scala3 (scala)
v3.7.3Compare Source
Release highlights
-Vprint:...(still support-Xprint:...as alias) #22828Other changes and fixes
Desugaring
Enums
Erasure
Experimental: Capture Checking
paramsToCap#23436x.only[C]#23485Experimental: Separation Checking
Experimental: Erased Definitions
Experimental: Explicit Nulls
stableNullannotation to force tracking mutable fields #23528Experimental: Global Initialization
Experimental: Into
Experimental: Modularity
Experimental: Unroll
Extension Methods
Implicits
Inline
Linting
Match Types
Named Tuples
Parser
-new-syntaxunder-language:future#23443-source:future#23472Pattern Matching
Pickling
Printer
Positions
Presentation Compiler
Quotes
<refinement>symbols #22782new#23618Reflection
Reporting
-Yprofile-traceproperly report macro splicing source #23488-Yprofile-traceprofiles all inline calls #23490Rewrites
Runner
Scaladoc
SemanticDB
Transform
Tuples
Typer
Nothingas prefix #23531forwith untupling #23273Contributors
Thank you to all the contributors who made this release possible 🎉
According to
git shortlog -sn --no-merges 3.7.2..3.7.3these are:v3.7.2Compare Source
Highlights of the release
Add an
-Yimplicit-to-givenflag for rewrites to easily test changes in the ecosystem #22580This experimental flag when used in conjunction with
--rewriteallows to migrate most ofimplicitdefinitions asgiven. It aims to ease with migration to new syntax, or testing how it would affect your code base.Bump Scala CLI to v1.8.4 (was v1.8.0) #23538
Implement applied constructor types #22543
It introduces new syntax allowing for easier definition of
trackedparameters under-language:experimental.modularityYou can read more about this experimental feature in the Modularity Improvements proposal documentation.
Other changes and fixes
Documentation
AnyRef::eqandAnyRef::neas infix instead of special casing when emitting the warning #23252eqandnein Predef asinfix#23255Experimental: Capture Checking
muttoupdate#23335@useand@consumeannotations to parameter types #23324@useand@consumein class parameters #23342-source:3.8#23249Experimental: Erased Definitions
Experimental: Explicit Nulls
Experimental: Global Initialization
Experimental: Into Modifier
intoscheme to be fully type-based #23014Experimental: Modularity
Implicits
Linting
Parser
extensiondefinition #23143Pattern Matching
Pickling
Presentation Compiler
Private Options
scala.language.2.13#23219Rewrites
Quotes
Reflection
StringConstant(null)#23064Reporting
-print-lines#23336SemanticDB
Settings
Tooling
Transform
Typer
this.typeinValueOf#23094Contributors
Thank you to all the contributors who made this release possible 🎉
According to
git shortlog -sn --no-merges 3.7.1..3.7.2these are:v3.7.1Compare Source
Highlights of the release
Other changes and fixes
Annotations
wildApprox#22893Erasure
Experimental: Capture Checking
Experimental: Unroll
Experimental: Referencable Package Objects
Exports
Extension Methods
GADTs
Linting
Inline
Initialization
Metaprogramming: Compile-time
Named Tuples
integrate#22839Pattern Matching
Pickling
Presentation Compiler
$when looking at end marker names #22798Rewrites
usingin applications with trailing lambda syntax #22937Reporting
Runner
Scaladoc
Settings
Typer
Transform
productPrefixhash statically in case classhashCode#22865Value Classes
Contributors
Thank you to all the contributors who made this release possible 🎉
According to
git shortlog -sn --no-merges 3.7.0..3.7.1these are:v3.7.0Compare Source
See release blogpost: https://www.scala-lang.org/news/3.7.0/
Highlights of the release
@scala.annotation.internal.previewannotation and-previewflag. #22317@publicInBinarya stable feature in 3.7 #22591Named Tuplesa stable feature in 3.7 #22753Better Forsa preview feature in 3.7 #22776@unrollannotation as experimental #21693applymethods to import selectors #22457summonIgnoringmethod #22417newClassmethods #21880trackedmodifier #21628usingkeyword #22441Yno-kind-polymorphism#22814Other changes and fixes
Annotations
@mainmethods #22582@publicInBinaryhas now effect on secondary constructors #22630Backend: Scala.js
js.NewArrayIR nodes when possible. #22446Classpath
Documentation
Erasure
Array[Nothing]andArray[Null]with Scala 2 #22517Desugering
betterForsdon't drop the trailingmapif it would result in a different type (also drop_ => ()) #22619Experimental: Capture Checking
Experimental: Modularity
Experimental: Global Initialization Checker
Experimentals
Implicits
Linting
Match Types
Named Tuples
Opaque Types
Overloading
Parser
Pattern Matching
Presentation Compiler
nameSpanifpointDeltatoo big #22484Runner
--testcommand line option forrunsubcommand #3519--testcommand line option forpackagesubcommand #3519Quotes
thisreferences erroring in quoted code #22618REPL
:shcommand #22694Reporting
Standard Library
caps.Capabilitystable #22849Scaladoc
@deprecatedcorrectly even when named arguments weren't used #21925SemanticDB
()to semanticdb symbol for java variables #22573Transform
Typer
Value Classes
Other changes
Contributors
Thank you to all the contributors who made this release possible 🎉
According to
git shortlog -sn --no-merges 3.6.4..3.7.0these are:v3.6.4Compare Source
Highlights of the release
:silentcommand to toggle automatic printing of outputs #22248--repl-init-script:setting to run a code on startup #22206-Xno-decode-stacktracesis now an alias to-Xno-enrich-error-messages#22208Breaking changes
Align
@implicitNotFoundand@implicitAmbigouswith the language specification #22371This 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
@implicitNotFoundand@implicitAmbiguousannotations.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
Desugaring
Documentation
Experimental: Capture Checking
Experimental: Global Initialization
Experimental: Named Tuples
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.