Update dependency scala to v3.7.0 #5
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.2.0
->3.7.0
Release Notes
scala/scala3 (scala)
v3.7.0
Compare Source
See release blogpost: https://www.scala-lang.org/news/3.7.0/
Highlights of the release
@scala.annotation.internal.preview
annotation and-preview
flag. #22317@publicInBinary
a stable feature in 3.7 #22591Named Tuples
a stable feature in 3.7 #22753Better Fors
a preview feature in 3.7 #22776@unroll
annotation as experimental #21693apply
methods to import selectors #22457summonIgnoring
method #22417newClass
methods #21880tracked
modifier #21628using
keyword #22441Yno-kind-polymorphism
#22814Other changes and fixes
Annotations
@main
methods #22582@publicInBinary
has now effect on secondary constructors #22630Backend: Scala.js
js.NewArray
IR nodes when possible. #22446Classpath
Documentation
Erasure
Array[Nothing]
andArray[Null]
with Scala 2 #22517Desugering
betterFors
don't drop the trailingmap
if 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
nameSpan
ifpointDelta
too big #22484Runner
--test
command line option forrun
subcommand #3519--test
command line option forpackage
subcommand #3519Quotes
this
references erroring in quoted code #22618REPL
:sh
command #22694Reporting
Standard Library
caps.Capability
stable #22849Scaladoc
@deprecated
correctly 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.0
these are:v3.6.4
Compare Source
Highlights of the release
:silent
command to toggle automatic printing of outputs #22248--repl-init-script:
setting to run a code on startup #22206-Xno-decode-stacktraces
is now an alias to-Xno-enrich-error-messages
#22208Breaking changes
Align
@implicitNotFound
and@implicitAmbigous
with 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
@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
Desugaring
Documentation
Experimental: Capture Checking
Experimental: Global Initialization
Experimental: Named Tuples
Extension Methods
Implicits
Linting
: Unit
#21927Match Types
unapplySeq
on aNonEmptyTuple
is valid. #22366Metaprogramming
Metaprogramming: Compile-time
Nullability
Presentation Compiler
Reflection
primaryConstructor
#22104Reporting
Rewrites
Scaladoc
Settings
Specification
Transform
classOf[BoxedUnit]
for Unit array inArrayConstructors
. #22238Typer
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:v3.6.3
Compare Source
Highlights of the release
-Yprofile-trace
#19897Other changes and fixes
Annotations
Backend
Compiler Phases
Experimental: Explicit Nulls
Experimental: Capture Checking
Experimentals
Extension Methods
Implicits
Imports
Inline
Linting
: Unit
#21927Opaque Types
Parser
into
as a soft-modifier #21924Pattern Matching
Presentation Compiler
Pickling
REPL
Scaladoc
Standard Library
Tuple.Zip
disjoint from(h1 *: t1, h2 *: t2)
#21287Quotes
Reporting
Runner
scala-cli.jar
path #22274Releases
Scala.js
SemanticDB
Transform
Tooling
Tuples
Typer
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:v3.6.2
Compare Source
Highlights of the release
Tuple.Filter
type lambda predicate .. #21286Tuple.{Append, Concat}
#21288Other changes and fixes
Annotations
Erasure
Experimental: Capture Checking
Experimental: Global Initialization
Experimental: Named Tuples
NamedTuple.head
toNamedTupleDecomposition
#21308NonEmptyTuple
members intoTuple
#21291Experimental: Explicit Nulls
canComparePredefined(Nothing, T)
in explicit nulls #21504Experimentals
Exports
Extension Methods
Inline
Implicits
given
s overimplicit
s #21226JVM Backend
Linting
Match Types
provablyDisjoint
withNothing
s in invariant type params. #21891TypeError
s of ops fromTypeComparer#tryAlso
#21070Opaque Types
Parser
as
as an infix type in non context bound types #21849Pattern Matching
Pickling
Polyfunctions
Presentation Compiler
CURSOR
added to code in the completions #20899Quotes
Reflection
Reporting
-migration
#21289REPL
Rewrites
<function> _
syntax #21715-rewrite
option fortypechecks
methods in Quotes #21547Runner
--source
is now deprecated and scheduled for removal in Scala CLI v1.6.xScaladoc
Standard Library
infix
#21683Transform
@native
methods in FirstTransform #21593Typeclass Derivation
derived
method has an explicit term param #21332Typer
Contributors
Thank you to all the contributors who made this release possible 🎉
According to
git shortlog -sn --no-merges 3.5.2..3.6.2
these are:v3.6.1
This is a fast-track release to replace a broken release 3.6.0 that occurred during the Scala 3.6.0-RC1 release. It might contain bugs that would be have been fixed during the Release Candidate bugfixes period. We recommend waiting for the stable Scala 3.6.2 release.
Scala 3.6.0 should never be used to produce libraries. TASTy files produced by this version of the compiler are produced in the experimental mode. These outputs are not compatible with consumers using stable versions of the compiler.
See details in Scala 3.6.0 Post Mortem blogpost
Highlights of the release
Other changes and fixes
Annotations
Dependencies
Erasure
Experimental: Capture Checking
Experimental: Strict Equality
canComparePredefined(Nothing, T)
in explicit nulls #21504Experimental: Modularity
Experimental: Global Initialization
Experimentals
Exports
Extension Methods
Inline
Implicits
given
s overimplicit
s #21226JVM backend
Linting
Library
Match Types
TypeError
s of ops fromTypeComparer#tryAlso
#21070Opaque Types
Parser
Pattern Matching
Pickling
Polyfunctions
Presentation Compiler
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 was generated by Mend Renovate. View the repository job log.