Skip to content

Synchronize language-reference-stable with Scala 3.6.3 #22398

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1164 commits
Select commit Hold shift + click to select a range
fd0548e
Avoid using the current denotation in NamedType.disambiguate (#21414)
jchyb Oct 14, 2024
dbce4e8
Backport changes for the presentation compiler from Metals (#21756)
tgodzik Oct 14, 2024
c6b23cc
backend computes line number from source of position
bishabosha Oct 14, 2024
9db68e9
Drop support for old experimental in community-build (#21729)
hamzaremmal Oct 14, 2024
731f61e
Shade scalajs.ir under dotty.tools
adpi2 Oct 14, 2024
54ddb42
add demonstration of plugin adjusting positions
bishabosha Oct 14, 2024
44ecf4b
dont introduce new API
bishabosha Oct 14, 2024
1f7f334
Shade scalajs.ir under dotty.tools (#21765)
sjrd Oct 14, 2024
69ac5fb
REPL: JLine 3.27.0 (was 3.25.1) (#21752)
SethTisue Oct 14, 2024
b94160b
Fix relative docs in `givens.md` (#21774)
WojciechMazur Oct 15, 2024
e546f07
Add so68877939.scala
mbovel Oct 15, 2024
472c047
Add test for StackOverflow question 68877939 (#21775)
mbovel Oct 15, 2024
f6bfa0a
Scala 2.13.15 (was .14) (#21648)
SethTisue Oct 15, 2024
af9ee8e
Fix tupleTypeFromSeq for XXL tuples
joroKr21 Oct 16, 2024
8431d84
backend computes line number from source of position (#21763)
smarter Oct 16, 2024
78cff1b
Fix tupleTypeFromSeq for XXL tuples (#21782)
bracevac Oct 16, 2024
5a68b16
Add a docs page for betterFors experimental feature
KacperFKorban Oct 16, 2024
a4387db
Apply implicit conversion from derived Conversion instance defined as…
prolativ Oct 16, 2024
2fc299b
Apply implicit conversion from derived Conversion instance defined as…
smarter Oct 16, 2024
7f70ed3
Add the macro type-print test to an run-macros-scala2-library-tasty.b…
jchyb Oct 16, 2024
116f5fe
Add jzon repro
dwijnand Oct 16, 2024
3458da7
Add Show[Long] & Show[Unit]
dwijnand Oct 16, 2024
8d612de
Add a >0.1s timer to trace
dwijnand Oct 16, 2024
28b8c55
Optimise refineUsingParent to use constrained
dwijnand Oct 16, 2024
bdafee6
Optimise SpaceEngine.signature for synthetic unapplies
dwijnand Oct 16, 2024
f478d7e
Drop inaccessible subclasses from refineUsingParent
dwijnand Oct 17, 2024
6d9ee4d
Fix CI workflows for publishing releases. (#21789)
WojciechMazur Oct 17, 2024
59b67fc
Add the macro type-print test to run-macros-scala2-library-tasty.blac…
hamzaremmal Oct 17, 2024
a0db7c1
Allow opaque type def in repl
noti0na1 Sep 26, 2024
16ebbea
Only allow opaque type def at outermost
noti0na1 Oct 4, 2024
634d9b7
Add REPL test
noti0na1 Oct 11, 2024
3a98a1c
Remove extra if
noti0na1 Oct 18, 2024
dd47185
Add zip and unzip to the CI
hamzaremmal Oct 18, 2024
3161e06
Add batter-fors doc link to sidebar
KacperFKorban Oct 18, 2024
c50a69f
Add zip and unzip to the CI (#21803)
hamzaremmal Oct 18, 2024
6d040c5
fix: Drop copied parent refinements before generating bytecode (#21733)
KacperFKorban Oct 18, 2024
9d78307
Add a docs page for betterFors experimental feature (#21784)
bishabosha Oct 18, 2024
34f1c54
Fix and future-proof the CI release scripts (#21810)
WojciechMazur Oct 19, 2024
bcbdb5e
Prepare development setup for 3.6.2 (#21811)
WojciechMazur Oct 19, 2024
40956e1
Downgrade referenceVersion to 3.6.0 and add notes how referenceVersio…
WojciechMazur Oct 19, 2024
654bc6c
Fix scaladoc graph highlight background color in dark mode
Jentsch Oct 19, 2024
022b1ff
Use bash shell when using here-strings (#21817)
hamzaremmal Oct 20, 2024
ad09ab8
Fix scaladoc graph highlight background color in dark mode (#21814)
bracevac Oct 20, 2024
6e32627
Do not consider uninhabited constructors when performing exhaustive m…
dwijnand Oct 20, 2024
e8136b7
Avoid orphan param from default arg
dwijnand Oct 22, 2024
658edd7
Fix #9879: allow top-level opaque type definitions in REPL (#21753)
dwijnand Oct 22, 2024
959f68c
Warn when named tuples resemble assignments
mbovel Oct 21, 2024
a00a806
Move AmbiguousNamedTupleAssignment check to Typer
mbovel Oct 21, 2024
d1e68f1
Try to type as an `Assign`
mbovel Oct 22, 2024
276d0a3
Warn when named tuples resemble assignments (#21823)
mbovel Oct 22, 2024
ecc332f
Scala 2 forwardport: `-Yprofile-trace` (#19897)
WojciechMazur Oct 22, 2024
f7f51ed
Don't warn for deprecated Thread.getId() calls in `ChromeTrace` (#21831)
WojciechMazur Oct 23, 2024
aa9115d
Fix typo in allTermArguments
mbovel Oct 23, 2024
b00649a
Drop the extra Nothing/Null handling in SpaceEngine.signature
dwijnand Oct 23, 2024
15922f9
Fix enclosingClass from returning refinement classes
dwijnand Aug 21, 2024
0cf41d0
Improve warning for wildcard matching only null under explicit nulls …
HarrisL2 Sep 21, 2024
4f775fa
Implement change and add test cases
HarrisL2 Oct 17, 2024
641b67a
Add minimal set of tests for runner installed from .msi file (#21835)
WojciechMazur Oct 23, 2024
31e7359
Fix enclosingClass from returning refinement classes (#21411)
dwijnand Oct 23, 2024
e53cb5b
improvement: Remove workaround for Bloop and update docs
tgodzik Oct 10, 2024
e6b7e3d
Better error message for polytypes wrapping capturing types
odersky Oct 24, 2024
fcfa6b0
Remove redundant `with Checking`
mbovel Oct 24, 2024
91ef921
Fix typo in `allTermArguments` (#21836)
smarter Oct 25, 2024
eb12bfe
Pretty-print lambdas
mbovel Oct 25, 2024
f95d4b2
Better error message for polytypes wrapping capturing types (#21843)
odersky Oct 27, 2024
ede1261
Pretty-print lambdas (#21846)
mbovel Oct 27, 2024
305cb9c
Add path support for cc
noti0na1 Sep 18, 2024
57dd030
Add comment for path-dependent limitation
noti0na1 Sep 19, 2024
2f9f4c4
Add alternative subsumes implementations
odersky Sep 24, 2024
0c50a31
Revert to previous subsumes scheme
odersky Sep 24, 2024
54c0242
Add logic to mark paths as used
odersky Sep 25, 2024
3224b21
Tweaks to path checking and massage tests
odersky Sep 25, 2024
a0c7361
Update comments for parser; remove unnecessary checks
noti0na1 Oct 9, 2024
d930adf
More robust check for subsumes
noti0na1 Oct 9, 2024
5bc20ac
Update syntax comment
noti0na1 Oct 9, 2024
1b0634a
Account for added outer refs in the capture sets of classes
odersky Sep 27, 2024
dd37f07
Fix ctx implicits under case unapplySeq (#21748)
odersky Oct 27, 2024
4d79459
Fix use of class terms in match analysis
dwijnand Oct 28, 2024
e7221c6
fix: Allow `as` as an infix type in non context bound types
KacperFKorban Oct 25, 2024
cb9fcd8
Add comment
HarrisL2 Oct 28, 2024
a3786a5
Improve warning for wildcard matching only null under the explicit nu…
noti0na1 Oct 28, 2024
03ee583
Make sure definition tree has the defined symbol
odersky Oct 28, 2024
39d45dc
Add missing error messages to asserts in QuotesImpl
KacperFKorban Oct 29, 2024
facaa56
Adapt the workflow to the transfer of the actions to the sdkman org
hamzaremmal Oct 29, 2024
0c5a377
Adapt the workflow to the transfer of the actions to the sdkman org (…
hamzaremmal Oct 29, 2024
f16d565
Add note and a test to show the prefix rule for path subsuming
noti0na1 Oct 29, 2024
ad58323
Fix typo in the comment
noti0na1 Oct 29, 2024
fa85416
Add path support for capture checking (#21445)
odersky Oct 30, 2024
7d8f0d4
Extract semanticDB for lifted definitions (#21856)
natsukagami Oct 30, 2024
71b0aea
Optimise SpaceEngine.signature (#21791)
dwijnand Oct 30, 2024
7b721f0
Simplify transformIsInstanceOf check
dwijnand Oct 30, 2024
ae9cffa
Change inContextBound to a Boolean flag
KacperFKorban Oct 30, 2024
17dadf7
Fix extending protected nested java classes
dwijnand Oct 29, 2024
7aebb9d
improvement: Disable projects not compiling with Bloop
tgodzik Oct 31, 2024
09e96e2
Fix Java parsing of annotations on qualified types
dwijnand Oct 31, 2024
c450073
Fix typo
tgodzik Oct 31, 2024
24038b8
improvement: Remove workaround for Bloop and update docs (#21842)
tgodzik Oct 31, 2024
350215d
Set privateWithin when creating java inner classes
dwijnand Oct 31, 2024
d9d1047
Fix Java parsing of annotations on qualified types (#21867)
dwijnand Nov 1, 2024
014d0db
Change tests for i20946 to only check the assert message in code
KacperFKorban Nov 1, 2024
2f61ee2
Ensure to escape characters before constructing JSON profile trace
WojciechMazur Nov 1, 2024
19c945b
Fix provablyDisjoint handling enum constants with mixins
dwijnand Nov 1, 2024
3e9b248
Fix provablyDisjoint handling enum constants with mixins (#21876)
sjrd Nov 2, 2024
49d876a
Add extra isInstanceOf test cases
dwijnand Nov 2, 2024
01288d2
Avoid erasure/preErasure issues around Any in transformIsInstanceOf (…
dwijnand Nov 2, 2024
b47f0f2
Add missing error messages to asserts in QuotesImpl (#21852)
jchyb Nov 4, 2024
6ab3e44
Fix #20271: Bring for comprehension spec up to date. (#21702)
odersky Nov 4, 2024
aa60a39
fix: Allow `as` as an infix type in non context bound types (#21849)
odersky Nov 4, 2024
8ab7ebe
Fix use of class terms in match analysis (#21848)
dwijnand Nov 4, 2024
c5cfa0a
Fix warning message for matching on redundant nulls
HarrisL2 Oct 28, 2024
59173cd
Fix checkfile
HarrisL2 Oct 28, 2024
158c1df
Change projection approach
HarrisL2 Nov 1, 2024
17cd9aa
Add suggested changes
HarrisL2 Nov 4, 2024
0800e0f
Fix null wildcard in SymbolLoaders
HarrisL2 Nov 4, 2024
1b48966
Fix patmat test output
HarrisL2 Nov 5, 2024
14e46e8
Push java inner class privateWithin setting
dwijnand Nov 5, 2024
fa43ab8
Fix warning message for matching on redundant nulls (#21850)
dwijnand Nov 5, 2024
7f47867
Don't point to the compiler backlog when a compiler plugin phase cras…
KacperFKorban Nov 5, 2024
11c957c
[build] Improve, document and group versioning code in `Build.scala` …
WojciechMazur Nov 6, 2024
c63cfde
Disable automatic release in `publish_release` (#21873)
WojciechMazur Nov 6, 2024
0dceb7f
Fix #21295: Restrict `provablyDisjoint` with `Nothing`s in invariant …
sjrd Nov 5, 2024
9d2aeac
Allow autotupling if fn's param is a type param
dwijnand Oct 9, 2024
4e07efc
Drop inaccessible subclasses from refineUsingParent (#21799)
dwijnand Nov 6, 2024
32aaa8a
Fix extending protected nested java classes (#21857)
dwijnand Nov 6, 2024
83c75dd
Add .msi artifacts to release assets (#21834)
WojciechMazur Nov 6, 2024
74920d3
Don't typeAhead erroneous parsing trees related to export statements
KacperFKorban Nov 6, 2024
14c15b4
Fix #21295: Restrict `provablyDisjoint` with `Nothing`s in invariant …
sjrd Nov 6, 2024
7f141a9
Allow imports nested in packagings to shadow (#21539)
dwijnand Nov 6, 2024
0a04b68
Remove tvars introduced while testing normalizedCompatible
dwijnand Aug 27, 2024
f9145d7
Move makePackageObjPrefixExplicit to TypeUtils
dwijnand Nov 6, 2024
63849a0
Set developedVersion to 3.6.3. (#21892)
WojciechMazur Nov 6, 2024
cecd053
Revert "Drop inaccessible subclasses from refineUsingParent"
hamzaremmal Nov 6, 2024
4ae5d61
Revert "Drop inaccessible subclasses from refineUsingParent" (#21895)
hamzaremmal Nov 7, 2024
74349e8
Add an infix shorthand for `Tuple.Append`
EugeneFlesselle Apr 29, 2024
4e47edf
Add an infix shorthand for `Tuple.Concat`
EugeneFlesselle Jul 29, 2024
995d63b
Combine cases of `Tuple.Zip` disjoint from `(h1 *: t1, h2 *: t2)`
EugeneFlesselle Jul 30, 2024
caac72a
Do not warn about expected missing positions in quotes reflect.Symbol…
jchyb Sep 30, 2024
d8ba366
Ensure ChromeTraceTest event timestamps are emitted in correct invervals
WojciechMazur Nov 7, 2024
27390b5
Remove unused variable [skip ci]
WojciechMazur Nov 8, 2024
9e266e4
Make sure definition tree has the defined symbol (#21851)
odersky Nov 8, 2024
8a3f375
Ensure ChromeTraceTest event timestamps are emitted in correct inverv…
WojciechMazur Nov 8, 2024
407dacb
Fix typos.
zhongl Nov 1, 2024
d7caddd
Fix typos (#21913)
hamzaremmal Nov 9, 2024
a62a636
doc fix, removed repeated use of the word with
aldenml Nov 9, 2024
cc38962
doc fix, removed repeated use of the word with (#21915)
bracevac Nov 9, 2024
a1d7f5e
Refine the bounds of the `Tuple.Filter` type lambda predicate ..
EugeneFlesselle Apr 29, 2024
16becd7
Move `NonEmptyTuple` members into `Tuple`
EugeneFlesselle Jul 29, 2024
d78516a
Add an infix shorthand for `Tuple.{Append, Concat}` (#21288)
EugeneFlesselle Nov 11, 2024
d9b8da5
Check for open flag on objects
HarrisL2 Nov 11, 2024
04934b7
fix: don't consider `into` as a soft-modifier
hamzaremmal Nov 11, 2024
1947828
Disallow open modifier on objects (#21922)
hamzaremmal Nov 11, 2024
b712447
fix: don't consider `into` as a soft-modifier (#21924)
odersky Nov 11, 2024
14bf406
Test reduction of Tuple.Zip
EugeneFlesselle Nov 12, 2024
fb48239
Avoid orphan param from default arg (#21824)
dwijnand Nov 12, 2024
7db83c5
Fix pkg obj prefix of opaque tp ext meth
dwijnand Sep 1, 2024
2c0d6df
Remove tvars in normalizedCompatible via instantiate
dwijnand Oct 25, 2024
fb83893
Fix Any#className decorator on null
dwijnand Nov 12, 2024
3d79d40
(Re-)Drop inaccessible subclasses from refineUsingParent
dwijnand Nov 12, 2024
21e5f3c
Tweak refineUsingParent drop conditions
dwijnand Nov 12, 2024
33b3d60
Remove tvars introduced while testing normalizedCompatible (#21466)
dwijnand Nov 12, 2024
896965c
Fix pkg obj prefix of opaque tp ext meth (#21527)
dwijnand Nov 12, 2024
55d2bd7
Apply suggestions from code review
WojciechMazur Nov 12, 2024
d05e600
Don't peoject nested wildcard pattern to nullable
noti0na1 Nov 12, 2024
6f48c39
Ensure to escape characters before constructing JSON profile trace (#…
WojciechMazur Nov 12, 2024
0d5e014
Update test
noti0na1 Nov 13, 2024
bed0e86
Fix #21914: Don't project nested wildcard patterns to nullable (#21934)
noti0na1 Nov 13, 2024
7243053
Allow autotupling if fn's param is a type param (#21741)
odersky Nov 13, 2024
bb63e31
Rename `InlineCopier` to `ConservativeTreeCopier`, use it in `TypeMap`s
mbovel Nov 13, 2024
d2773e8
Fix names and description for cc and setup phases
noti0na1 Nov 13, 2024
8e758e0
Fix issue with owners of top-level symbols in cached quoted code bein…
jchyb Nov 13, 2024
dbd4988
Fix Windows OS detection in TraceNameManglingTest (#21937)
WojciechMazur Nov 13, 2024
a76470f
Implement basic version of desugaring context bounds for poly functions
KacperFKorban Sep 24, 2024
8dc68c3
Handle named context bounds in poly function context bound desugaring
KacperFKorban Sep 24, 2024
3ac5cec
Correctly-ish desugar poly function context bounds in function types
KacperFKorban Sep 24, 2024
408aa74
Fix pickling issue
KacperFKorban Sep 24, 2024
134c015
Hide context bounds expansion for poly functions under modularity fea…
KacperFKorban Sep 24, 2024
309034e
Small cleanup
KacperFKorban Sep 25, 2024
64bd03e
Add more test cases
KacperFKorban Sep 25, 2024
5196efd
Change the implementation of context bound expansion for poly functio…
KacperFKorban Oct 2, 2024
5f0d4a7
Add support for some type aliases, when expanding context bounds for …
KacperFKorban Oct 3, 2024
a736592
Make the expandion of context bounds for poly types slightly more ele…
KacperFKorban Oct 4, 2024
0af8397
Add more aliases tests for context bounds with poly functions
KacperFKorban Oct 8, 2024
9c66069
Bring back the restriction for requiring value parameters in poly fun…
KacperFKorban Oct 14, 2024
ec6d7ef
Cleanup dead code
KacperFKorban Oct 18, 2024
dfa9240
Reuse addEvidenceParams logic, but no aliases
KacperFKorban Nov 14, 2024
7755e3b
Cleanup context bounds for poly functions implementation, make the im…
KacperFKorban Nov 14, 2024
fdb9b71
Fix #21939: Update names and descriptions for cc and setup phases (#2…
noti0na1 Nov 14, 2024
24e3fa0
More cleanup of poly context bound desugaring
KacperFKorban Nov 14, 2024
f292ac5
Short circuit adding evidence params to poly functions, when there ar…
KacperFKorban Nov 14, 2024
a304c85
Rename `InlineCopier` to `ConservativeTreeCopier`, use it in `TypeMap…
mbovel Nov 14, 2024
11d4295
Replace symbol traversal with tree traversal when finding top level e…
jchyb Nov 14, 2024
6a7d5d3
Bring back the fix for scaladoc TastyInspector regressions
jchyb Nov 12, 2024
f9db9fa
Add a run test for poly context bounds; cleanup typer changes
KacperFKorban Nov 15, 2024
7b4597f
Remove tests/pos-with-compiler-cc
dwijnand Nov 15, 2024
43d74c8
Combine cases of `Tuple.Zip` disjoint from `(h1 *: t1, h2 *: t2)` (#2…
EugeneFlesselle Nov 18, 2024
2a62152
Fix #20471: owners of top-level symbols in cached quoted code being i…
hamzaremmal Nov 18, 2024
7644ecd
Handle old given syntax where identifier and type are seperated by ne…
WojciechMazur Nov 18, 2024
5d5a9e6
Migration rewrites for infix arguments interpreted as named tuples (#…
WojciechMazur Nov 18, 2024
58f88a6
(Re-)Drop inaccessible subclasses from refineUsingParent (#21930)
hamzaremmal Nov 18, 2024
6e28679
Don't explicitly check for error trees in export selectors
KacperFKorban Nov 18, 2024
63fbc86
Bump VirtusLab/scala-cli-setup from 1.5.1 to 1.5.3
dependabot[bot] Nov 18, 2024
366eb01
improvement: Update mtags to 1.4.0 and backport remaining changes
tgodzik Oct 29, 2024
952eff7
Cleanup context bounds for poly functions implementation after review
KacperFKorban Nov 18, 2024
c9badbc
Allow macro annotations to recover from suspension
hamzaremmal Nov 18, 2024
6896ea2
Attempt to beta reduce only if parameter and argument lists have same…
odersky Nov 18, 2024
8743024
Drop old `-Yno-experimental` flag from test suite
hamzaremmal Nov 18, 2024
16c4a82
update test suite
hamzaremmal Nov 18, 2024
23c5514
Bump VirtusLab/scala-cli-setup from 1.5.1 to 1.5.3 (#21967)
hamzaremmal Nov 18, 2024
d86f44d
Fix for macro annotation that resolves macro-based implicit crashing …
hamzaremmal Nov 19, 2024
8dd7187
Allow macro annotations to recover from suspension (#21969)
hamzaremmal Nov 19, 2024
cc4a324
improvement: Update mtags to 1.4.1 and backport remaining changes (#2…
tgodzik Nov 19, 2024
5611522
Context Bounds for Polymorphic Functions (#21643)
WojciechMazur Nov 19, 2024
64a177f
Remove tests/pos-with-compiler-cc (#21956)
dwijnand Nov 19, 2024
3a5e137
Do not crash when typing a closure with unknown type, since it can oc…
hamzaremmal Nov 19, 2024
73168ee
Attempt to beta reduce only if parameters and arguments have same sha…
odersky Nov 19, 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
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
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
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .github/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ RUN apt-get update && \
openjdk-17-jdk-headless \
openjdk-21-jdk-headless && \
(curl -fsSL https://deb.nodesource.com/setup_18.x | bash -) && \
apt-get install -y nodejs
apt-get install -y nodejs && \
apt-get install -y zip unzip


# Install sbt
Expand Down
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ updates:
- hamzaremmal
reviewers:
- hamzaremmal
- package-ecosystem: bundler
directory: '/docs/_spec'
schedule:
interval: weekly
assignees:
- hamzaremmal
reviewers:
- hamzaremmal

57 changes: 57 additions & 0 deletions .github/workflows/build-chocolatey.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
###################################################################################################
### THIS IS A REUSABLE WORKFLOW TO BUILD SCALA WITH CHOCOLATEY ###
### HOW TO USE: ###
### ###
### NOTE: ###
### ###
###################################################################################################


name: Build 'scala' Chocolatey Package
run-name: Build 'scala' (${{ inputs.version }}) Chocolatey Package

on:
workflow_call:
inputs:
version:
required: true
type : string
url:
required: true
type : string
digest:
required: true
type : string

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Replace the version placeholder
uses: richardrigutins/replace-in-files@v2
with:
files: ./pkgs/chocolatey/scala.nuspec
search-text: '@LAUNCHER_VERSION@'
replacement-text: ${{ inputs.version }}
- name: Replace the URL placeholder
uses: richardrigutins/replace-in-files@v2
with:
files: ./pkgs/chocolatey/tools/chocolateyInstall.ps1
search-text: '@LAUNCHER_URL@'
replacement-text: ${{ inputs.url }}
- name: Replace the CHECKSUM placeholder
uses: richardrigutins/replace-in-files@v2
with:
files: ./pkgs/chocolatey/tools/chocolateyInstall.ps1
search-text: '@LAUNCHER_SHA256@'
replacement-text: ${{ inputs.digest }}
- name: Build the Chocolatey package (.nupkg)
run: choco pack ./pkgs/chocolatey/scala.nuspec --out ./pkgs/chocolatey
- name: Upload the Chocolatey package to GitHub
uses: actions/upload-artifact@v4
with:
name: scala.nupkg
path: ./pkgs/chocolatey/scala.${{ inputs.version }}.nupkg
if-no-files-found: error

38 changes: 38 additions & 0 deletions .github/workflows/build-msi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
###################################################################################################
### THIS IS A REUSABLE WORKFLOW TO BUILD SCALA MSI ###
### HOW TO USE: ###
### - THE RELEASE WORKFLOW SHOULD CALL THIS WORKFLOW ###
### - IT WILL UPLOAD TO GITHUB THE MSI FILE FOR SCALA UNDER THE 'scala.msi' NAME ###
### ###
### NOTE: ###
### - WE SHOULD BUILD SCALA USING JAVA 8 ###
###################################################################################################

name: Build the MSI Package

on:
workflow_call:

env:
# Release only happends when triggering CI by pushing tag
RELEASEBUILD: ${{ startsWith(github.event.ref, 'refs/tags/') && 'yes' || 'no' }}

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '8'
cache: 'sbt'
- name: Build MSI package
run: sbt 'dist-win-x86_64/Windows/packageBin'
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: Upload MSI Artifact
uses: actions/upload-artifact@v4
with:
name: scala.msi
path: ./dist/win-x86_64/target/windows/scala.msi
117 changes: 117 additions & 0 deletions .github/workflows/build-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
###################################################################################################
### THIS IS A REUSABLE WORKFLOW TO BUILD THE SCALA LAUNCHERS ###
### HOW TO USE: ###
### - THSI WORKFLOW WILL PACKAGE THE ALL THE LAUNCHERS AND UPLOAD THEM TO GITHUB ARTIFACTS ###
### ###
### NOTE: ###
### - SEE THE WORFLOW FOR THE NAMES OF THE ARTIFACTS ###
###################################################################################################


name: Build Scala Launchers
run-name: Build Scala Launchers

on:
workflow_call:
inputs:
java-version:
type : string
required : true
outputs:
universal-id:
description: ID of the `universal` package from GitHub Artifacts (Authentication Required)
value : ${{ jobs.build.outputs.universal-id }}
linux-x86_64-id:
description: ID of the `linux x86-64` package from GitHub Artifacts (Authentication Required)
value : ${{ jobs.build.outputs.linux-x86_64-id }}
linux-aarch64-id:
description: ID of the `linux aarch64` package from GitHub Artifacts (Authentication Required)
value : ${{ jobs.build.outputs.linux-aarch64-id }}
mac-x86_64-id:
description: ID of the `mac x86-64` package from GitHub Artifacts (Authentication Required)
value : ${{ jobs.build.outputs.mac-x86_64-id }}
mac-aarch64-id:
description: ID of the `mac aarch64` package from GitHub Artifacts (Authentication Required)
value : ${{ jobs.build.outputs.mac-aarch64-id }}
win-x86_64-id:
description: ID of the `win x86-64` package from GitHub Artifacts (Authentication Required)
value : ${{ jobs.build.outputs.win-x86_64-id }}
win-x86_64-digest:
description: The SHA256 of the uploaded artifact (`win x86-64`)
value : ${{ jobs.build.outputs.win-x86_64-digest }}


jobs:
build:
runs-on: ubuntu-latest
outputs:
universal-id : ${{ steps.universal.outputs.artifact-id }}
linux-x86_64-id : ${{ steps.linux-x86_64.outputs.artifact-id }}
linux-aarch64-id : ${{ steps.linux-aarch64.outputs.artifact-id }}
mac-x86_64-id : ${{ steps.mac-x86_64.outputs.artifact-id }}
mac-aarch64-id : ${{ steps.mac-aarch64.outputs.artifact-id }}
win-x86_64-id : ${{ steps.win-x86_64.outputs.artifact-id }}
win-x86_64-digest: ${{ steps.win-x86_64-digest.outputs.digest }}
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ inputs.java-version }}
cache : sbt
- uses: sbt/setup-sbt@v1
- name: Build and pack the SDK (universal)
run : ./project/scripts/sbt dist/Universal/stage
- name: Build and pack the SDK (linux x86-64)
run : ./project/scripts/sbt dist-linux-x86_64/Universal/stage
- name: Build and pack the SDK (linux aarch64)
run : ./project/scripts/sbt dist-linux-aarch64/Universal/stage
- name: Build and pack the SDK (mac x86-64)
run : ./project/scripts/sbt dist-mac-x86_64/Universal/stage
- name: Build and pack the SDK (mac aarch64)
run : ./project/scripts/sbt dist-mac-aarch64/Universal/stage
- name: Build and pack the SDK (win x86-64)
run : ./project/scripts/sbt dist-win-x86_64/Universal/stage
- name: Upload zip archive to GitHub Artifact (universal)
uses: actions/upload-artifact@v4
id : universal
with:
path: ./dist/target/universal/stage
name: scala3-universal
- name: Upload zip archive to GitHub Artifact (linux x86-64)
uses: actions/upload-artifact@v4
id : linux-x86_64
with:
path: ./dist/linux-x86_64/target/universal/stage
name: scala3-x86_64-pc-linux
- name: Upload zip archive to GitHub Artifact (linux aarch64)
uses: actions/upload-artifact@v4
id : linux-aarch64
with:
path: ./dist/linux-aarch64/target/universal/stage
name: scala3-aarch64-pc-linux
- name: Upload zip archive to GitHub Artifact (mac x86-64)
uses: actions/upload-artifact@v4
id : mac-x86_64
with:
path: ./dist/mac-x86_64/target/universal/stage
name: scala3-x86_64-apple-darwin
- name: Upload zip archive to GitHub Artifact (mac aarch64)
uses: actions/upload-artifact@v4
id : mac-aarch64
with:
path: ./dist/mac-aarch64/target/universal/stage
name: scala3-aarch64-apple-darwin
- name: Upload zip archive to GitHub Artifact (win x86-64)
uses: actions/upload-artifact@v4
id : win-x86_64
with:
path: ./dist/win-x86_64/target/universal/stage
name: scala3-x86_64-pc-win32
- name: Compute SHA256 of the uploaded artifact (win x86-64)
id : win-x86_64-digest
run : |
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -o artifact.zip -L https://api.github.com/repos/scala/scala3/actions/artifacts/${{ steps.win-x86_64.outputs.artifact-id }}/zip
echo "digest=$(sha256sum artifact.zip | cut -d " " -f 1)" >> "$GITHUB_OUTPUT"
Loading
Loading