Skip to content

Sync with the stable documentation branch #23120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 517 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
517 commits
Select commit Hold shift + click to select a range
76cd2dc
Add changelog for 3.4.2-RC1
Kordyjan Mar 28, 2024
4029577
Release 3.4.2-RC1
Kordyjan Mar 28, 2024
1205601
Merge branch 'release-3.4.1' into language-reference-stable
Kordyjan Mar 29, 2024
cbd8408
Improve documentation of implicit conversions
rjolly Apr 5, 2024
56b276f
Implement match type amendment: extractors follow aliases and singletons
smarter Apr 10, 2024
bfa1852
Move logic under feature.experimental.betterMatchTypesExtractors
Kordyjan May 9, 2024
3e1c4de
DropSkolemMap: simplify logic
smarter May 7, 2024
11f01d2
Deprecate `StandardPlugin.init` in favor of `initialize` method takin…
WojciechMazur May 8, 2024
5fdfb97
New modularity language import
odersky Jan 7, 2024
813af69
Allow vals in using clauses of givens
odersky Nov 18, 2023
b5d48fd
A relaxation concerning exported type aliases
Kordyjan May 9, 2024
48e2aa7
Allow class parents to be refined types.
odersky Dec 13, 2023
96c76e9
Introduce tracked class parameters
odersky Apr 1, 2024
70fb91c
Make explicit arguments for context bounds an error from 3.5
odersky Apr 1, 2024
90e84b9
Drop restriction against typedefs at level * only
odersky Apr 1, 2024
62eed87
Allow types in given definitions to be infix types
odersky Apr 1, 2024
305dd2e
New syntax for given defs
odersky Apr 1, 2024
22b681c
Allow multiple context bounds in `{...}`
odersky Apr 1, 2024
a57a512
Allow renamings `as N` in context bounds
odersky Apr 2, 2024
9a96cf0
Implement `deferred` givens
odersky Apr 2, 2024
6016ce9
FIX: Allow ContextBoundParamNames to be unmangled.
odersky Apr 2, 2024
81679fa
Change rules for given prioritization
odersky Dec 21, 2023
555f67c
Allow context bounds in type declarations
odersky Apr 2, 2024
3437526
Make some context bound evidence params tracked
odersky Apr 2, 2024
d856e50
FIX: Fix typing of RefinedTypes with watching parents
odersky Apr 2, 2024
5fe6b5b
Also reduce term projections
odersky Jan 6, 2024
becdf88
Implement context bound companions
odersky Apr 2, 2024
5f3ff9f
Allow contecxt bounds with abstract `Self` types
odersky Apr 2, 2024
9d299d6
Add a doc page
odersky Apr 3, 2024
a6f918b
Fix Singleton
odersky Apr 5, 2024
0c941e2
Tweaks to doc pages
odersky Apr 6, 2024
09a6a26
Add Precise type class for precise type inference
odersky Apr 6, 2024
e82cfbe
Fix rebase breakage
odersky Apr 14, 2024
3b814bb
Delay roll-out of new prioritization scheme:
odersky Apr 17, 2024
a8f7585
Fix rebase breakage again
odersky Apr 28, 2024
dd8061f
Make best effort compilation work with context bound companions
odersky Apr 28, 2024
04d4023
Tweaks after review
odersky Apr 30, 2024
ff98f01
Fix rebase breakage
odersky May 6, 2024
0bcf69c
Make Singleton an erased class only under modularity import
odersky May 6, 2024
42de370
Address review comments
odersky May 6, 2024
6521822
Adress review comments with changed docs and new tests
odersky May 6, 2024
46c3eca
Update warn check files
odersky May 7, 2024
97afac0
Update InlayHints
odersky May 7, 2024
8482eb1
Fix typo
odersky May 7, 2024
cb37a1f
step 1: basic script that forwards to prebuilt launcher and overrides…
bishabosha Apr 22, 2024
1784e67
Resolve artefacts to a local repo:
bishabosha Apr 25, 2024
10bd87f
use scala-cli jar launcher (TODO: download automatically)
bishabosha Apr 26, 2024
237a592
refactor republishing to a plugin
bishabosha Apr 26, 2024
34e8fc5
download and cache launcher, add scalajs library
bishabosha Apr 29, 2024
4682b52
fix project/scripts/bootstrappedOnlyCmdTests for new scala launcher
bishabosha Apr 30, 2024
c6cc0a3
fix bash script tests
bishabosha May 3, 2024
eee90b4
escape % in java executable path in batch commands.
bishabosha May 6, 2024
eb3083b
Add a warning message when launching from scala.
bishabosha May 6, 2024
8daca0c
Windows - extract scala version from VERSION file
bishabosha May 6, 2024
b3d9aee
Windows - forward to scala-cli jar launcher
bishabosha May 6, 2024
230a078
properly convert path of repo to uri
bishabosha May 6, 2024
20009db
fix windows command tests
bishabosha May 7, 2024
cfbee38
adjust to new launcher scala cli 1.3.1
bishabosha May 7, 2024
205d045
remove scala-js from local caching
bishabosha May 7, 2024
fd672eb
escape error message in test
bishabosha May 7, 2024
95e53df
Disable windows tests for RC1
Kordyjan May 10, 2024
d08d71b
Filter out the dot directories form tests
Kordyjan May 10, 2024
638d15a
Add changelog for 3.4.2
Kordyjan May 13, 2024
0f7f990
Release 3.4.2
Kordyjan May 13, 2024
4ebe8f4
Take into account the version when releasing in the CI
hamzaremmal May 14, 2024
782d1f6
Add changelog for 3.5.0-RC1
Kordyjan May 14, 2024
a15fc7d
Release 3.5.0-RC1
Kordyjan May 14, 2024
473897c
Merge branch 'release-3.4.2' into language-reference-stable
Kordyjan May 16, 2024
4992e37
Backport: Avoid forcing whole package when using `-experimental`
smarter May 14, 2024
7885c24
This reverts one part of #20261. When we fail with both an ambiguity …
WojciechMazur Jun 17, 2024
f913d89
Treat 3.5-migration the same as 3.5 for a warning about implicit prio…
WojciechMazur Jun 17, 2024
0626b97
Set default source version to 3.5
WojciechMazur Jun 17, 2024
6c75005
Disable ClasspathTests.unglobClasspathVerifyTest (#20551)
hamzaremmal Jun 11, 2024
aac98c9
Adapt the release workflow to SIP-46 (#20565)
hamzaremmal Jun 14, 2024
edbb7c4
Adapts the workflow to the changes in #20351
WojciechMazur Jun 17, 2024
e005369
Avoid stacked thisCall contexts
odersky May 28, 2024
665bd20
Bundle scala cli in scala command (#20351)
bishabosha Jun 11, 2024
6fd3950
Backport "Bundle scala cli in scala command" to 3.5.0 (#20706)
WojciechMazur Jun 21, 2024
3d18e98
Revert "Disable windows tests for RC1"
WojciechMazur Jun 21, 2024
278559f
Revert "Disable windows tests for RC1" (#20708)
WojciechMazur Jun 21, 2024
df91f07
Fix incorrect paths to sha256 check sum files in release workflow
WojciechMazur Jun 21, 2024
1520e88
Add changelog for 3.5.0-RC2
WojciechMazur Jun 21, 2024
828c03e
Release 3.5.0-RC2
WojciechMazur Jun 21, 2024
ecf5a2e
Release .zip instead of .tar.gz for windows in sdkman
hamzaremmal Jun 19, 2024
3ecd982
Do not release to the UNIVERSAL platform in sdkman
hamzaremmal Jun 19, 2024
0a7b7fe
Upload zip files to sdkman instead of .tar.gz
hamzaremmal Jun 21, 2024
a9af5cc
replace pack command, do not produce lib directory, write classpath t…
bishabosha Jun 19, 2024
f7e72af
add back in copy of mapped sequence
bishabosha Jun 21, 2024
81e3cc4
read last line, split-off with-compiler classpath
bishabosha Jun 21, 2024
e74d681
Bump scala-cli to 1.4.0 (#20859)
hamzaremmal Jul 1, 2024
3f8e3f5
Backport "Release .zip instead of .tar.gz for windows in sdkman" to 3…
WojciechMazur Jul 2, 2024
e2674a8
Backport "SIP 46 - read classpath from file, remove lib directory in …
WojciechMazur Jul 2, 2024
c48b224
Backport "Bump scala-cli to 1.4.0" to 3.5.0 (#20909)
WojciechMazur Jul 2, 2024
d470b77
Fix failing CompletionScalaCliSuite tests due to circe releasing Scal…
WojciechMazur Jul 1, 2024
edc8cbc
Ignore failing tests instead of expecting for completions for both 0.…
WojciechMazur Jul 2, 2024
1591ac9
fix issue 20901: etaCollapse context bound type
bishabosha Jul 1, 2024
f8a2e56
update semanticdb test (restore references)
bishabosha Jul 1, 2024
a5c74e7
use Scala 2.13.13 stdlib (was .12)
SethTisue Feb 26, 2024
b357bc9
Upgrade Scala 2 to 2.13.14
WojciechMazur Jul 1, 2024
dcf708c
Phiscally remove the ignored Scala 2 library-aux files instead of fil…
WojciechMazur Jul 1, 2024
c042e57
Add --skip-cli-updates by default to the scala command
hamzaremmal Jul 1, 2024
91b8abd
Avoid useless warnings about priority change in implicit search
odersky May 25, 2024
9354ad5
Re-enable semanticdb test
odersky May 27, 2024
7ac5417
Update semanticDB expect files
odersky May 27, 2024
0b812bd
Drop priority change warnings that don't qualify
odersky May 28, 2024
1d993a7
Add test for #20484
odersky May 28, 2024
b4f3a7b
Backport "Priority warning fix alternative" to 3.5.0 (#20953)
WojciechMazur Jul 3, 2024
dea855f
Backport "Add --skip-cli-updates by default to the scala command" to …
WojciechMazur Jul 3, 2024
7560c46
Backport "Upgrade Scala 2 to 2.13.14 (was 2.13.12)" to 3.5.0 (#20955)
WojciechMazur Jul 3, 2024
9ca1d0a
Backport "fix issue 20901: etaCollapse context bound type" to 3.5.0 (…
WojciechMazur Jul 3, 2024
3677eaf
Use final result type to check selector bound
som-snytt Jul 3, 2024
f4bde0b
Backport "Use final result type to check selector bound" to 3.5.0 (#2…
WojciechMazur Jul 4, 2024
876b648
Add changelog for 3.5.0-RC3
WojciechMazur Jul 3, 2024
6abb51a
Release 3.5.0-RC3
WojciechMazur Jul 4, 2024
7a19b32
Fix symbol reference retrivial of `scala.caps.Caps` - it was changed …
WojciechMazur May 29, 2024
ec87e7d
Refine implicit priority change warnings
odersky Jul 5, 2024
3e1ed72
Fix -source for neg test
odersky Jul 5, 2024
450d233
Filter out more false positives in priority change warnings
odersky Jul 5, 2024
acffad6
Fix priority change logic for ranking
odersky Jul 8, 2024
dc9246a
Fix -source for neg test (2)
odersky Jul 5, 2024
22d9df0
Use pathing jars in cli commands
hamzaremmal Jul 8, 2024
1910ea9
Add support for Class-Path entries in Manifest
hamzaremmal Jul 8, 2024
1a1a77f
expand classpath in scala_legacy
bishabosha Jul 10, 2024
2084ccf
Backport "Fix symbol reference retrivial of `scala.caps.Caps`" to 3.5…
WojciechMazur Jul 11, 2024
744b1b7
Backport "Refine implicit priority change warnings" to 3.5.0 (#21171)
WojciechMazur Jul 11, 2024
a578242
Backport "Use pathing jars in cli commands" to 3.5.0 (#21172)
WojciechMazur Jul 11, 2024
32fd2ba
Backport "expand classpath of pathing jars in scala_legacy command " …
WojciechMazur Jul 11, 2024
fad86e3
Add changelog for 3.5.0-RC4
WojciechMazur Jul 11, 2024
97fc22c
Release 3.5.0-RC4
WojciechMazur Jul 11, 2024
a5514c5
emit generatedNonLocalClass in backend when callback is not enabled
bishabosha Jul 12, 2024
7342816
add test to assert classes are still reported
bishabosha Jul 16, 2024
137be13
Backport "emit generatedNonLocalClass in backend when callback is not…
WojciechMazur Jul 17, 2024
1e20d47
Add changelog for 3.5.0-RC5
WojciechMazur Jul 17, 2024
8e6b582
Release 3.5.0-RC5
WojciechMazur Jul 17, 2024
3c29355
Improve documentation of implicit conversions (#20336)
sjrd Jul 22, 2024
318054e
Revert "Approximate MatchTypes with lub of case bodies, if non-recurs…
WojciechMazur Jul 24, 2024
51629a2
Fix failing run-macros/type-show test
WojciechMazur Jul 24, 2024
6eac278
Revert "Approximate MatchTypes with lub of case bodies, if non-recurs…
WojciechMazur Jul 29, 2024
6a5e6e6
Add changelog for 3.5.0-RC6
WojciechMazur Jul 29, 2024
1fb613f
Release 3.5.0-RC6
WojciechMazur Jul 29, 2024
b079b11
Prefer extensions over conversions and implicits for member selection
EugeneFlesselle Jul 18, 2024
07ccc8d
A left-biased variant for implicit/given pairs
odersky Aug 5, 2024
8a41389
Compensate loss of transitivity
odersky Aug 5, 2024
0f0c20d
Delay priority change until 3.7
odersky Aug 5, 2024
f683458
Fix ranking logic
odersky Aug 6, 2024
33d7da8
Make priority change warning messages stable
odersky Aug 6, 2024
d439b58
Fix `healAmbiguous` to `compareAlternatives` with `disambiguate = true`
EugeneFlesselle Aug 6, 2024
73c6e88
Adjust compilation tests to backported changes
WojciechMazur Aug 7, 2024
a1882e1
Revert "Compensate loss of transitivity"
WojciechMazur Aug 7, 2024
95caecb
Backport "Fix healAmbiguous to compareAlternatives with disambiguate …
WojciechMazur Aug 8, 2024
d72e8e0
Add changelog for 3.5.0-RC7
WojciechMazur Aug 8, 2024
19534db
Release 3.5.0-RC7
WojciechMazur Aug 8, 2024
180deab
Add changelog for 3.5.0
Kordyjan Aug 12, 2024
834c973
Release 3.5.0
Kordyjan Aug 12, 2024
7590f91
Update hamzaremmal/sdkman-release-action action
hamzaremmal Aug 21, 2024
9da1ae8
Update hamzaremmal/sdkman-release-action & hamzaremmal/sdkman-default…
hamzaremmal Aug 21, 2024
7513ab5
Merge branch 'release-3.5.0' into language-reference-stable
WojciechMazur Aug 21, 2024
8dcaed1
Sync with 3.5.0 release
WojciechMazur Aug 21, 2024
80e09f7
Regenerate reference-expected-links after 3.5.0 merge
WojciechMazur Aug 21, 2024
b43f630
Backport "Make context bounds for poly functions a standard feature" …
WojciechMazur Dec 9, 2024
e07cab5
Backport "Update Scala CLI to 1.5.4 (was 1.5.1) & `coursier` to 2.1.1…
WojciechMazur Dec 9, 2024
9fd972d
Backport "Make named tuples an experimental feature again" to 3.6 (#2…
WojciechMazur Dec 9, 2024
de83e56
Backport "Fix CLA checks after domain change of CLA check server" to …
WojciechMazur Dec 9, 2024
954fd34
Replace deprecated actions/create-release and `actions/upload-release…
WojciechMazur Dec 9, 2024
6b8d86f
Add changelog for 3.6.3-RC1
WojciechMazur Dec 9, 2024
0bcc325
Release 3.6.3-RC1
WojciechMazur Dec 9, 2024
beb40d8
REPL: JLine: follow recommendation to use JNI, not JNA
SethTisue Dec 13, 2024
484c29e
JLine 3.27.1 (was 3.27.0)
SethTisue Dec 13, 2024
eeba529
Fix layout of released SDK archives, restore intermiediete top-level …
WojciechMazur Dec 12, 2024
ddef799
refactor: improve Given search preference warning
eed3si9n Dec 11, 2024
4210110
fix: update `scala-cli.jar` path
chenrui333 Dec 10, 2024
ff78d08
Limit exposure to ConcurrentModificationException when sys props are …
jtjeferreira Dec 10, 2024
87d6ed9
improve javaBootClassPath lazy evaluation
jtjeferreira Dec 10, 2024
09a8ff1
Nowarn extension matching nonpublic member
som-snytt Oct 22, 2024
b6bc62c
Prefer isPublic in RefChecks
som-snytt Oct 22, 2024
9530960
chore: use sbt/setup-sbt when using ubuntu-latest image
WojciechMazur Dec 30, 2024
376fc17
fix: add sbt/setup-sbt for the dependency graph workflow
hamzaremmal Dec 17, 2024
38f82bf
Backport "REPL: JLine: follow recommendation to use JNI, not JNA; als…
WojciechMazur Dec 30, 2024
1e17f4d
Backport "Fix layout of released SDK archives, restore intermiediete …
WojciechMazur Dec 30, 2024
c3cff52
Backport "refactor: improve Given search preference warning" to 3.6 (…
WojciechMazur Dec 30, 2024
5771b9b
Backport "Limit exposure to ConcurrentModificationException when sys …
WojciechMazur Dec 30, 2024
d31b1b2
Backport "Nowarn extension matching nonpublic member" to 3.6 (#22276)
WojciechMazur Dec 30, 2024
556e916
Backport "fix: update `scala-cli.jar` path" to 3.6 (#22274)
WojciechMazur Dec 30, 2024
35dff76
Backport "chore: use sbt/setup-sbt when using ubuntu-latest image" to…
WojciechMazur Dec 30, 2024
efefe01
Backport "fix: add sbt/setup-sbt for the dependency graph workflow" t…
WojciechMazur Dec 30, 2024
a05de1c
Add changelog for 3.6.3-RC2
WojciechMazur Dec 30, 2024
b89886b
Release 3.6.3-RC2
WojciechMazur Dec 30, 2024
7457b16
copyright 2025
SethTisue Jan 8, 2025
4773332
[CI]: Replace deprecated `actions/create-release` and `actions/upload…
WojciechMazur Jan 15, 2025
1f8842f
fix: drop jackson-module-scala from CB
hamzaremmal Jan 12, 2025
cdd72a0
Add changelog for 3.6.3
WojciechMazur Jan 15, 2025
c33db50
Release 3.6.3
WojciechMazur Jan 15, 2025
b455651
Add changelog for 3.6.4-RC1
WojciechMazur Jan 16, 2025
bc3e415
Release 3.6.4-RC1
WojciechMazur Jan 16, 2025
78730ff
Merge branch 'release-3.6.3' into language-reference-stable
WojciechMazur Jan 17, 2025
838add9
Generate reference expected links
WojciechMazur Jan 17, 2025
383d19a
Remove and adjust tests based on release-3.6.3 branch
WojciechMazur Jan 17, 2025
cda99d0
Synchronize language-reference-stable with Scala 3.6.3 (#22398)
WojciechMazur Jan 20, 2025
c4a1896
Revert "Drop phase.isTyper use in isLegalPrefix/asf"
WojciechMazur Feb 24, 2025
e25316c
Adjust captures/lazylist test
WojciechMazur Feb 24, 2025
b3a3738
Revert "Drop phase.isTyper use in isLegalPrefix/asf" from Scala 3.6.4…
WojciechMazur Feb 26, 2025
27a73e9
Fix chocolatey-test when used in stable releases
WojciechMazur Jan 20, 2025
e3b2838
Add changelog for 3.6.4-RC2
WojciechMazur Feb 26, 2025
9d7f439
Release 3.6.4-RC2
WojciechMazur Feb 26, 2025
4377e99
Add changelog for 3.6.4
WojciechMazur Mar 5, 2025
6b2b881
Release 3.6.4
WojciechMazur Mar 5, 2025
cb2e21a
Merge branch 'release-3.6.4' into language-reference-stable
WojciechMazur Mar 7, 2025
18fe436
Synchronize language-reference-stable with 3.6.4 (#22738)
WojciechMazur Mar 7, 2025
3d06843
Make better-fors a preview feature in 3.7 (#22776)
WojciechMazur Mar 12, 2025
c7032bd
Add class parameters, flags, and privateWithin and annotations to new…
jchyb Mar 11, 2025
3ac58cf
Add changelog for 3.7.0-RC1
WojciechMazur Mar 12, 2025
4283deb
Release 3.7.0
WojciechMazur Mar 12, 2025
6967338
Add missing contributors section in 3.7.0-RC1 changelog
WojciechMazur Mar 12, 2025
4e75ac7
Fix #22794: Emit the definition of `Arrays.newArray` even though it's…
sjrd Mar 13, 2025
d97c30a
Backport "Fix #22794: Emit the definition of Arrays.newArray even tho…
WojciechMazur Mar 14, 2025
5507bcd
Bump Scala CLI to v1.7.1 (was v1.7.0)
Gedochao Mar 20, 2025
815cdf3
Retire untried tests
som-snytt Mar 14, 2025
545f172
Move untried tests to tried and true
som-snytt Mar 15, 2025
b201df0
Revert unconditional lint of Inlined
som-snytt Mar 15, 2025
ed5a8b7
Deprecate `Yno-kind-polymorphism` (#22814)
Linyxus Mar 18, 2025
958e896
Fail compilation if multiple conflicting top-level private defs/vals …
jchyb Mar 17, 2025
a76dc30
Backport "Bump Scala CLI to v1.7.1 (was v1.7.0)" to 3.7 (#22929)
WojciechMazur Apr 8, 2025
6494755
Backport "Revert unconditional lint of Inlined expansion" to 3.7 (#22…
WojciechMazur Apr 8, 2025
a5bf751
Backport "Deprecate `Yno-kind-polymorphism`" to 3.7 (#22931)
WojciechMazur Apr 8, 2025
6089e02
Backport "Fail compilation if multiple conflicting top-level private …
WojciechMazur Apr 8, 2025
a07aacf
Revert "Make overload pruning based on result types less aggressive (…
WojciechMazur Apr 8, 2025
2c38464
Revert "Make overload pruning based on result types less aggressive" …
WojciechMazur Apr 8, 2025
bee65d9
Improve dentation at EOF
som-snytt Apr 8, 2025
c9bf402
Backport "Check trailing blank line at EOF for OUTDENT" to 3.7.0 (#22…
WojciechMazur Apr 9, 2025
d29f2a5
Add changelog for 3.7.0-RC2
WojciechMazur Apr 9, 2025
d112546
Release 3.7.0-RC2
WojciechMazur Apr 9, 2025
b989a7b
Changes in preparation to make `caps.Capability` stable (#22849)
natsukagami Mar 24, 2025
2ee0c7e
Mitigate change in status of scala.caps
odersky Apr 9, 2025
5517193
Backport "changes to scala.caps in preparation to make Capability sta…
WojciechMazur Apr 11, 2025
842c13b
Two fixes to NamedTuple pattern matching
odersky Apr 9, 2025
3f184c6
Adapt refutability warning in Space engine to named tuples
odersky Apr 10, 2025
13204d0
Add check files
odersky Apr 10, 2025
1c80c61
Backport "Two fixes to NamedTuple pattern matching" to 3.7.0 (#22995)
WojciechMazur Apr 14, 2025
eb3931e
Add changelog for 3.7.0-RC3
WojciechMazur Apr 14, 2025
9254654
Release 3.7.0-RC3
WojciechMazur Apr 14, 2025
c43afb9
Cherry-pick upgrade to Scala.js 1.9.0 in the scalatest CB project.
sjrd Apr 23, 2025
84cbf45
Upgrade to Scala.js 1.19.0.
sjrd Apr 22, 2025
325ae78
Upgrade to Scala.js 1.19.0.
tgodzik Apr 23, 2025
9bdd736
Backport "Upgrade to Scala.js 1.19.0." to 3.7 (#23035)
tgodzik Apr 24, 2025
dd0867f
chore: Add changelog and bump version
tgodzik Apr 24, 2025
5a5bed9
Add changelog for 3.7.0
WojciechMazur May 5, 2025
c92e20e
Release 3.7.0
WojciechMazur May 5, 2025
3e9162d
Merge tag '3.7.0' into language-reference-stable
WojciechMazur May 7, 2025
b730a5e
Sync TASTY version, set 28.7
WojciechMazur May 7, 2025
d53b097
[chore]: Synchronize `language-reference-stable` with release 3.7.0 (…
WojciechMazur May 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ on:
- cron: '0 3 * * *' # Every day at 3 AM
workflow_dispatch:

# Cancels any in-progress runs within the same group identified by workflow name and GH reference (branch or tag)
# Cancels any in-progress runs within the same group identified by workflow name and GH reference (branch or tag)
# For example it would:
# - terminate previous PR CI execution after pushing more changes to the same PR branch
# - terminate previous on-push CI run after merging new PR to main
# - terminate previous on-push CI run after merging new PR to main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lts-backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: VirtusLab/[email protected].0
- uses: VirtusLab/[email protected].1
- run: scala-cli ./project/scripts/addToBackportingProject.scala -- ${{ github.sha }}
env:
GRAPHQL_API_TOKEN: ${{ secrets.GRAPHQL_API_TOKEN }}
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
[submodule "community-build/community-projects/fastparse"]
path = community-build/community-projects/fastparse
url = https://github.com/dotty-staging/fastparse
[submodule "community-build/community-projects/stdLib213"]
path = community-build/community-projects/stdLib213
url = https://github.com/dotty-staging/scala213
[submodule "community-build/community-projects/sourcecode"]
path = community-build/community-projects/sourcecode
url = https://github.com/dotty-staging/sourcecode
Expand Down
266 changes: 266 additions & 0 deletions changelogs/3.7.0-RC1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
# Highlights of the release

- Add `@scala.annotation.internal.preview` annotation and `-preview` flag. [#22317](https://github.com/scala/scala3/pull/22317)
- Make SIP-52 `@publicInBinary` a stable feature in 3.7 [#22591](https://github.com/scala/scala3/pull/22591)
- Make SIP-58 - `Named Tuples` a stable feature in 3.7 [#22753](https://github.com/scala/scala3/pull/22753)
- Make SIP-62 - `Better Fors` a preview feature in 3.7 [#22776](https://github.com/scala/scala3/pull/22776)
- Implement SIP-61 `@unroll` annotation as experimental [#21693](https://github.com/scala/scala3/pull/21693)
- Upgrade Scala 2 Standard Library to 2.13.16 [#22386](https://github.com/scala/scala3/pull/22386)
- Upgrade Scala.js to 1.18.1. [#22397](https://github.com/scala/scala3/pull/22397)
- Upgrade Scala CLI to 1.7.0 [#22735](https://github.com/scala/scala3/pull/22735)
- Expression Compiler is now part of Scala 3 compiler [#22597](https://github.com/scala/scala3/pull/22597)
- Quotes API: Added `apply` methods to import selectors [#22457](https://github.com/scala/scala3/pull/22457)
- Quotes API: Implement experimental `summonIgnoring` method [#22417](https://github.com/scala/scala3/pull/22417)
- Quotes API: Add class parameters, flags, and privateWithin and annotations to experimental `newClass` methods [#21880](https://github.com/scala/scala3/pull/21880)
- Experimental: Capture Calculus - Inferring `tracked` modifier [#21628](https://github.com/scala/scala3/pull/21628)
- Presentation Compiler: Show inferred type on holes in hover [#21423](https://github.com/scala/scala3/pull/21423)
- JVM Backend: Fix #15736 blocking Scala 3 on Android [#22632](https://github.com/scala/scala3/pull/22632)
- REPL: add flag to quit after evaluating init script [#22636](https://github.com/scala/scala3/pull/22636)
- REPL: implement :jar (deprecate :require) [#22343](https://github.com/scala/scala3/pull/22343)
- Linting: Improvements to -Wunused and -Wconf [#20894](https://github.com/scala/scala3/pull/20894)
- Implicit parameters warn at call site without `using` keyword [#22441](https://github.com/scala/scala3/pull/22441)
- Minimal support for dependent case classes [#21698](https://github.com/scala/scala3/pull/21698)

# Other changes and fixes

## Annotations

- Lift arguments of explicitly constructed annotations [#22553](https://github.com/scala/scala3/pull/22553)
- Fix copy of annotation on `@main` methods [#22582](https://github.com/scala/scala3/pull/22582)
- `@publicInBinary` has now effect on secondary constructors [#22630](https://github.com/scala/scala3/pull/22630)
- Fix mapping of annotations [#22407](https://github.com/scala/scala3/pull/22407)

## Backend: Scala.js

- Emit `js.NewArray` IR nodes when possible. [#22446](https://github.com/scala/scala3/pull/22446)

## Classpath

- Fix empty ClassPath attribute in one or more classpath jars causes crash [#22462](https://github.com/scala/scala3/pull/22462)

## Documentation

- Improve the usage of inclusive language [#22360](https://github.com/scala/scala3/pull/22360)

## Erasure

- Handle type aliases in contextFunctionResultTypeAfter [#21517](https://github.com/scala/scala3/pull/21517)
- Align erasure of `Array[Nothing]` and `Array[Null]` with Scala 2 [#22517](https://github.com/scala/scala3/pull/22517)

## Desugering

- Under `betterFors` don't drop the trailing `map` if it would result in a different type (also drop `_ => ()`) [#22619](https://github.com/scala/scala3/pull/22619)

## Experimental: Capture Checking

- Canonicalize capture variable subtype comparisons [#22299](https://github.com/scala/scala3/pull/22299)
- Permit Capture Refs for Uninitialized Type and Term Params in BiTypeMap [#22451](https://github.com/scala/scala3/pull/22451)
- Fix maximal capability handling and expand aliases [#22341](https://github.com/scala/scala3/pull/22341)

## Experimental: Modularity

- Widen skolem types when adding parent refinements [#22488](https://github.com/scala/scala3/pull/22488)

## Experimental: Global Initialization Checker

- Refactor the abstract domain of global init checker to compile http4s [#22179](https://github.com/scala/scala3/pull/22179)
- Fix global init checking crash when using a value defined in by-name closure [#22625](https://github.com/scala/scala3/pull/22625)

## Experimentals

- Expand value references to packages to their underlying package objects [#22011](https://github.com/scala/scala3/pull/22011)

## Implicits

- Restrict implicit args to using [#22458](https://github.com/scala/scala3/pull/22458)

## Linting

- Suppress spurious Suppression [#22383](https://github.com/scala/scala3/pull/22383)
- CheckUnused checks span.exists before testing its parts [#22504](https://github.com/scala/scala3/pull/22504)
- Don't warn retainedBody [#22510](https://github.com/scala/scala3/pull/22510)
- Handle Typeable [#22663](https://github.com/scala/scala3/pull/22663)
- Nowarn public implicit val class params [#22664](https://github.com/scala/scala3/pull/22664)
- Exclude synthetic this.m, Any.m from import lookup [#22695](https://github.com/scala/scala3/pull/22695)
- Warn unused member of anonymous class [#22729](https://github.com/scala/scala3/pull/22729)
- Ignore params to default arg getters [#22749](https://github.com/scala/scala3/pull/22749)
- Lazy val def member is pattern var [#22750](https://github.com/scala/scala3/pull/22750)
- Restore resolving prefixes of implicit Ident [#22751](https://github.com/scala/scala3/pull/22751)
- No warning for parameter of overriding method [#22757](https://github.com/scala/scala3/pull/22757)
- Dealias before checking for member in lint [#22708](https://github.com/scala/scala3/pull/22708)
- Warn on bad extensions of aliases [#22362](https://github.com/scala/scala3/pull/22362)
- Warn universal extensions on opaque types [#22502](https://github.com/scala/scala3/pull/22502)
- Discourage default arg for extension receiver [#22492](https://github.com/scala/scala3/pull/22492)
- Rename on import is never wildcard [#22712](https://github.com/scala/scala3/pull/22712)
- Collect nowarn symbols instead of skipping them [#22766](https://github.com/scala/scala3/pull/22766)

## Match Types

- Handle NoType in TypeComparer.disjointnessBoundary [#21520](https://github.com/scala/scala3/pull/21520)

## Named Tuples

- Special case NamedTuple.From for arguments derived from Tuple [#22449](https://github.com/scala/scala3/pull/22449)
- Generate mirrors for named tuples [#22469](https://github.com/scala/scala3/pull/22469)

## Opaque Types

- Fix stack overflow errors when generating opaque type proxies [#22479](https://github.com/scala/scala3/pull/22479)
- Fix inline proxy generation for opaque types referencing other opaque types [#22381](https://github.com/scala/scala3/pull/22381)
- Fix opaque types leaking rhs when inlined and found in type params (and a related stale symbol issue) [#22655](https://github.com/scala/scala3/pull/22655)

## Overloading

- Make overload pruning based on result types less aggressive [#21744](https://github.com/scala/scala3/pull/21744)

## Parser

- Fix annotations being not expected in the middle of an array type by java parser [#22391](https://github.com/scala/scala3/pull/22391)
- No outdent at eof [#22435](https://github.com/scala/scala3/pull/22435)
- Allow observing an indent after conditional [#22611](https://github.com/scala/scala3/pull/22611)
- Correctly detect colon lambda eol indent for optional brace of argument [#22477](https://github.com/scala/scala3/pull/22477)

## Pattern Matching

- Avoid crash in uninhab check in Space [#22601](https://github.com/scala/scala3/pull/22601)
- Account for named tuples in space subtraction [#22658](https://github.com/scala/scala3/pull/22658)
- Check exhaustivity of any case class [#22604](https://github.com/scala/scala3/pull/22604)

## Presentation Compiler

- Add enum type param support in sourceSymbol [#18603](https://github.com/scala/scala3/pull/18603)
- Map name position to desugared version of named context bound [#22374](https://github.com/scala/scala3/pull/22374)
- Hover and go to definition for named tuples [#22202](https://github.com/scala/scala3/pull/22202)
- Completions: do not complete package [#20532](https://github.com/scala/scala3/pull/20532)
- Print parens for single method argument only if a direct tuple type [#21510](https://github.com/scala/scala3/pull/21510)
- Improvement: use heuristic to figure out `nameSpan` if `pointDelta` too big [#22484](https://github.com/scala/scala3/pull/22484)
- Fix inferredTypeEdits for symbols [#22485](https://github.com/scala/scala3/pull/22485)
- Fix: Only fallback to the definition of a synthetic valdef if it is zero extent [#22551](https://github.com/scala/scala3/pull/22551)
- Better LSP completions inside of backticks [#22555](https://github.com/scala/scala3/pull/22555)
- Don't search for members in pc info when irrelevant [#22674](https://github.com/scala/scala3/pull/22674)
- Backport from Metals [#22426](https://github.com/scala/scala3/pull/22426)
- Backport from Metals [#22491](https://github.com/scala/scala3/pull/22491)
- Backport from Metals [#22665](https://github.com/scala/scala3/pull/22665)

## Runner

- Upgrade Scala CLI to [1.7.0 highlights](https://github.com/VirtusLab/scala-cli/releases/tag/v1.7.0)
- Switch to scalameta/scalafmt images of scalafmt 3.9.1+ [#3502](https://github.com/VirtusLab/scala-cli/pull/3502)
- Support the `--test` command line option for `run` subcommand [#3519](https://github.com/VirtusLab/scala-cli/pull/3519)
- Support the `--test` command line option for `package` subcommand [#3519](https://github.com/VirtusLab/scala-cli/pull/3519)
- Detect objects with main class in scripts [#3479](https://github.com/VirtusLab/scala-cli/pull/3479)
- Support for Scala.js 1.18.2 [#3454](https://github.com/VirtusLab/scala-cli/pull/3454)
- Support for Scala Native 0.5.7 [#3527](https://github.com/VirtusLab/scala-cli/pull/3527)
- Add support for running a main method from the test scope [#3502](https://github.com/VirtusLab/scala-cli/pull/3502)

## Quotes

- Add a check for correct Array shape in quotes.reflect.ClassOfConstant [#22033](https://github.com/scala/scala3/pull/22033)
- Fix issue with static `this` references erroring in quoted code [#22618](https://github.com/scala/scala3/pull/22618)
- Fix #21721: make case TypeBlock(_,_) not match non-type Block [#21722](https://github.com/scala/scala3/pull/21722)
- Make Ref.apply() return trees usable in the largest scope possible [#22240](https://github.com/scala/scala3/pull/22240)
- Make sure Block does not incorrectly match a TypeBlock [#22716](https://github.com/scala/scala3/pull/22716)
- Do not approximate prefixes when using memberType in reflect API [#22448](https://github.com/scala/scala3/pull/22448)
- Bring back pattern match exhaustivity checking for macros [#22622](https://github.com/scala/scala3/pull/22622)

## REPL

- REPL: JLine 3.29.0 (was 3.27.1) [#22679](https://github.com/scala/scala3/pull/22679)
- Repl: emit warning for the `:sh` command [#22694](https://github.com/scala/scala3/pull/22694)
- Add warning for :kind command [#22572](https://github.com/scala/scala3/pull/22572)

## Reporting

- Filter help renders box border [#22434](https://github.com/scala/scala3/pull/22434)
- Register nowarn when inlining [#22682](https://github.com/scala/scala3/pull/22682)
- Rule out exports of member of the current class [#22545](https://github.com/scala/scala3/pull/22545)

## Scaladoc

- Render `@deprecated` correctly even when named arguments weren't used [#21925](https://github.com/scala/scala3/pull/21925)
- Remove DRI from Scaladoc warnings [#22330](https://github.com/scala/scala3/pull/22330)

## SemanticDB

- Don't add `()` to semanticdb symbol for java variables [#22573](https://github.com/scala/scala3/pull/22573)
- Fix compiler crash when using betasty with missing java classfiles [#22599](https://github.com/scala/scala3/pull/22599)

## Transform

- Check only stable qual for import prefix [#22633](https://github.com/scala/scala3/pull/22633)
- Treat static vals as enclosures in lambdalift [#22452](https://github.com/scala/scala3/pull/22452)
- Record calls to constructors in lambdaLift [#22487](https://github.com/scala/scala3/pull/22487)
- Only check logicalOwners for methods, and not for classes, when looking for proxies [#22356](https://github.com/scala/scala3/pull/22356)
- Add error-checking when fetching rhs of trees from TASTy [#22565](https://github.com/scala/scala3/pull/22565)

## Typer

- Root of Java select must be class or rooted package [#21800](https://github.com/scala/scala3/pull/21800)
- Check if a prefix is valid before selecting from a type [#22368](https://github.com/scala/scala3/pull/22368)
- Preserve hard unions in widenSingletons [#22369](https://github.com/scala/scala3/pull/22369)
- Constructor proxy is restricted if class is protected [#22563](https://github.com/scala/scala3/pull/22563)
- Constructor companion gets privateWithin [#22627](https://github.com/scala/scala3/pull/22627)
- Revert lambda cleanup [#22697](https://github.com/scala/scala3/pull/22697)
- Avoid infinite recursion when looking for suggestions [#22361](https://github.com/scala/scala3/pull/22361)
- Fix cyclic check, regardless of definition order [#22342](https://github.com/scala/scala3/pull/22342)
- Avoid inf recursion in provablyDisjointClasses [#22489](https://github.com/scala/scala3/pull/22489)

## Value Classes

- Allow private members when computing the denotation of a NamedType [#22549](https://github.com/scala/scala3/pull/22549)

## Other changes

- Remove locale dependent FileSystemException check [#21633](https://github.com/scala/scala3/pull/21633)

# 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-RC1` these are:

```
59 Martin Odersky
43 Som Snytt
33 Adrien Piquerez
32 Hamza Remmal
21 Wojciech Mazur
19 aherlihy
19 kasiaMarek
15 Jan Chyb
13 Dale Wijnand
11 Kacper Korban
10 EnzeXing
7 Guillaume Martres
7 Matt Bovel
7 Oliver Bračevac
7 noti0na1
6 Sébastien Doeraene
5 HarrisL2
5 Jamie Thompson
5 dependabot[bot]
4 Joel Wilsson
4 Seth Tisue
3 Piotr Chabelski
3 Roman Janusz
3 anna herlihy
2 David Hua
1 Alec Theriault
1 Daisy Li
1 Daniel Thoma
1 Dmitrii Naumenko
1 Felix Herrmann
1 He-Pin(kerr)
1 João Ferreira
1 Jędrzej Rochala
1 Katarzyna Marek
1 Kenji Yoshida
1 Niklas Fiekas
1 Rocco Mathijn Andela
1 Vadim Chelyshov
1 Yichen Xu
1 adpi2
1 fan-tom
1 philwalk
1 rochala
```
27 changes: 27 additions & 0 deletions changelogs/3.7.0-RC2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Backported changes

- Backport "Check trailing blank line at EOF for OUTDENT" to 3.7.0 [#22942](https://github.com/scala/scala3/pull/22942)
- Backport "Fail compilation if multiple conflicting top-level private defs/vals are in the same package" to 3.7 [#22932](https://github.com/scala/scala3/pull/22932)
- Backport "Deprecate `Yno-kind-polymorphism`" to 3.7 [#22931](https://github.com/scala/scala3/pull/22931)
- Backport "Revert unconditional lint of Inlined expansion" to 3.7 [#22930](https://github.com/scala/scala3/pull/22930)
- Backport "Bump Scala CLI to v1.7.1 (was v1.7.0)" to 3.7 [#22929](https://github.com/scala/scala3/pull/22929)
- Backport "Fix #22794: Emit the definition of Arrays.newArray even though it's a primitive." to 3.7.0 [#22801](https://github.com/scala/scala3/pull/22801)

# Reverted changes

- Revert "Make overload pruning based on result types less aggressive" in 3.7.0 [#22940](https://github.com/scala/scala3/pull/22940)

# Contributors

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

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

```
4 Som Snytt
4 Wojciech Mazur
1 Jan Chyb
1 Piotr Chabelski
1 Sébastien Doeraene
1 Yichen Xu
```
16 changes: 16 additions & 0 deletions changelogs/3.7.0-RC3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Backported changes

- Backport "Two fixes to NamedTuple pattern matching" to 3.7.0 [#22995](https://github.com/scala/scala3/pull/22995)
- Backport "changes to scala.caps in preparation to make Capability stable" to 3.7.0 [#22967](https://github.com/scala/scala3/pull/22967)

# Contributors

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

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

```
4 Martin Odersky
2 Wojciech Mazur
1 Natsu Kagami
```
15 changes: 15 additions & 0 deletions changelogs/3.7.0-RC4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Backported changes

- Backport "Upgrade to Scala.js 1.19.0." to 3.7 [#23035](https://github.com/scala/scala3/pull/23035)


# Contributors

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

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

```
2 Sébastien Doeraene
1 Tomasz Godzik
```
Loading
Loading