Skip to content
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

Synchronize with scala/scala3 LTS after release 3.3.5 #25

Merged
merged 52 commits into from
Jan 28, 2025
Merged
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
6cdfa5b
Enable PC tests in test_windows_fast
hamzaremmal Sep 23, 2024
2523002
Filter opaque modifier from object documentation
HarrisL2 Sep 24, 2024
323145f
Add better error reporting for inlined non-immutable paths
HarrisL2 Sep 24, 2024
385bcc5
Make right assoc extx method fwd refs error
dwijnand Sep 24, 2024
848820b
Tighten java annot value parsing
dwijnand Sep 25, 2024
ef10468
Handle suspension due to macro call completed in arbitrary phases
WojciechMazur Dec 5, 2024
6049b84
Fix compilation
WojciechMazur Dec 5, 2024
3fea8d1
Allow export statements in AnyVal
hamzaremmal Sep 27, 2024
4542825
Bump webrick from 1.8.1 to 1.8.2 in /docs/_spec
dependabot[bot] Sep 30, 2024
eede2f5
Expr#show: Don't crash when the expression contains an unsupported ty…
WojciechMazur Dec 5, 2024
4ee2a3f
Localize TypeError handling in addRecheckedTypes
WojciechMazur Dec 5, 2024
22aef92
Always rewrite empty List() to Nil
som-snytt Oct 2, 2024
aa3b599
fix `dotty.tools.dotc.config.Properties` scaladoc
xuwei-k Oct 2, 2024
e0e5e9a
Fix incorrect caching with path-dependent types
WojciechMazur Dec 5, 2024
120a786
Add Staging Issue messages and QuotedTypeMissing message
WojciechMazur Dec 5, 2024
dd86f42
Always treat underscores as type bounds inside patterns
WojciechMazur Dec 5, 2024
89183f9
Quotes type printing: take `infix` type modifier into account
smarter Oct 2, 2024
3db968a
Make the test pass in LTS - int ops are not made infix in the LTS
WojciechMazur Dec 5, 2024
6997795
REPL: JLine 3.27.0 (was 3.25.1)
SethTisue Oct 11, 2024
df6d699
Scala 2.13.15 (was .14) (#21648)
WojciechMazur Dec 5, 2024
19016d2
Add zip and unzip to the CI
WojciechMazur Dec 5, 2024
a9625a2
Fix and future-proof the CI release scripts (#21810)
WojciechMazur Dec 5, 2024
59556b2
Use bash shell when using here-strings (#21817)
hamzaremmal Oct 20, 2024
e597058
Update CLA check server url domain from lightbend.com to contibute.ak…
WojciechMazur Dec 5, 2024
e92d7ec
Follow redirects when checkting CLA
WojciechMazur Dec 5, 2024
fa617ff
Backport Chocolatey support to Scala LTS (#22095)
WojciechMazur Dec 9, 2024
ab4bf5e
Fix extraction of release tag in publish workflow
WojciechMazur Dec 9, 2024
b271cb8
Add changelog for 3.3.5-RC1
WojciechMazur Dec 9, 2024
8f47278
Release 3.3.5-RC1
WojciechMazur Dec 9, 2024
28e5db4
Disable automatic deployment of artifacts published to Sonatype, requ…
WojciechMazur Dec 10, 2024
6732297
copyright 2025
SethTisue Jan 8, 2025
b68d08a
Fix CI - add missing sbt/setup-sbt step
WojciechMazur Jan 15, 2025
c3cd13a
Remove scaladoc CI step uploading docs to no longer existing Azure st…
WojciechMazur Jan 15, 2025
bf8aee1
fix: drop jackson-module-scala from CB
hamzaremmal Jan 12, 2025
86fb2d0
REPL: JLine: follow recommendation to use JNI, not JNA
SethTisue Dec 13, 2024
bfebac4
JLine 3.27.1 (was 3.27.0)
SethTisue Dec 13, 2024
fae6041
Backport "REPL: JLine: follow recommendation to use JNI, not JNA; als…
WojciechMazur Jan 16, 2025
9c765bc
Add changelog for 3.3.5-RC2
WojciechMazur Jan 16, 2025
17f3055
Release 3.3.5-RC2
WojciechMazur Jan 16, 2025
05e0b68
Fix synchronization of ClassFile versions betwen settings and JVM bac…
WojciechMazur Jan 17, 2025
363970e
[LTS only] Fix synchronization of -java-output-versions with JVM back…
WojciechMazur Jan 18, 2025
4643921
Add changelog for 3.3.5-RC3
WojciechMazur Jan 20, 2025
2bda6c1
Release 3.3.5-RC3
WojciechMazur Jan 20, 2025
f70ef36
Remove JNA dependencies from dist scripts. Add jline-terminal-native …
WojciechMazur Jan 27, 2025
3231b5b
Fix old scala runner to use correct JLine classpath (#22464)
WojciechMazur Jan 27, 2025
db021c6
Fix remaining jna classpath entries in dist/bin/scaladoc*
WojciechMazur Jan 27, 2025
2031857
Fix remaining JNA classpath entries in `dist/bin/scaladoc*` scripts (…
WojciechMazur Jan 27, 2025
0059e3f
Add changelog for 3.3.5
WojciechMazur Jan 27, 2025
0eb4683
Release 3.3.5
WojciechMazur Jan 27, 2025
8e366a2
Prepare build for 3.3.6 LTS
WojciechMazur Jan 28, 2025
c189755
Use GITHUB_WORKSPACE and GITHUB_REPOSITORY instead of hard-coded values
WojciechMazur Jan 20, 2025
824fe3d
Merge branch 'lts-3.3' into scala-lts-3.3
WojciechMazur Jan 28, 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
Prev Previous commit
Next Next commit
Add changelog for 3.3.5-RC1
WojciechMazur committed Dec 9, 2024
commit b271cb811503367ddfa720f4f23937bb036ab4b6
162 changes: 162 additions & 0 deletions changelogs/3.3.5-RC1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
# Highlights of the release

- Use Scala 2.13.15 standard library [#21648](https://github.com/scala/scala3/pull/21648)
- Support JDK 23 [#20144](https://github.com/scala/scala3/pull/20144)
- Add the `-Wall` option that enables all warnings [#20577](https://github.com/scala/scala3/pull/20577)
- Reversed `-Wconf` parsing order to mirror Scala 2 semantics [#18503](https://github.com/scala/scala3/pull/18503)

# Other changes and fixes

## Annotations

- Tighten java annot value parsing [#21650](https://github.com/scala/scala3/pull/21650)

## Exports

- Re-use attachment in exportForwarders to handle ambiguous overloads [#21518](https://github.com/scala/scala3/pull/21518)
- Allow export statements in AnyVal [#21653](https://github.com/scala/scala3/pull/21653)

## Extension Methods

- Make right assoc ext method fwd refs error [#21641](https://github.com/scala/scala3/pull/21641)

## Inference

- Fix #20521: Optimise caching for computing atoms and widened in OrTypes [#21223](https://github.com/scala/scala3/pull/21223)

## Linting

- Add origin filter to WConf, DeprecationWarning [#21404](https://github.com/scala/scala3/pull/21404)
- CheckUnused checks type param annotations [#20549](https://github.com/scala/scala3/pull/20549)

## Match Types

- Fix #20897: Make `Nothing ⋔ Nothing`, as per spec. [#21241](https://github.com/scala/scala3/pull/21241)
- Always interpret underscores inside patterns as type bounds [#21718](https://github.com/scala/scala3/pull/21718)

## Overloading

- Report only non-overridden unimplemented members [#21337](https://github.com/scala/scala3/pull/21337)

## Parser

- Harden skip in Scanner [#21607](https://github.com/scala/scala3/pull/21607)
- SimplePattern errors should now be recovered as wildcard instead of unimplemented expr [#21438](https://github.com/scala/scala3/pull/21438)

## Positions

- Fix trailing comma Ident's span [#20445](https://github.com/scala/scala3/pull/20445)

## Presentation Compiler

- Fix autoimports with using directives [#21590](https://github.com/scala/scala3/pull/21590)
- Remove artificial `CURSOR` added to code in the completions [#20899](https://github.com/scala/scala3/pull/20899)
- Help implement Metals' infer expected type feature [#21390](https://github.com/scala/scala3/pull/21390)
- Weekly metals backport [#21343](https://github.com/scala/scala3/pull/21343)
- Change mock symbol search [#21296](https://github.com/scala/scala3/pull/21296)
- Fix: completions when parenthesis already provided [#21299](https://github.com/scala/scala3/pull/21299)
- Backport from metals [#21196](https://github.com/scala/scala3/pull/21196)
- Fix: don't add suffix if brackets already present [#21259](https://github.com/scala/scala3/pull/21259)

## Quotes

- Handle suspension due to macro call in arbitrary phases [#21651](https://github.com/scala/scala3/pull/21651)
- Have a better error message when healing types [#21711](https://github.com/scala/scala3/pull/21711)
- Expr#show: Don't crash when the expression contains an unsupported type (like a SkolemType) [#20494](https://github.com/scala/scala3/pull/20494)
- Quotes type printing: take `infix` type modifier into account [#21726](https://github.com/scala/scala3/pull/21726)

## Reporting

- Nicer error message in case a `derived` method has an explicit term param [#21332](https://github.com/scala/scala3/pull/21332)
- Add better error reporting for inlined non-immutable paths [#21639](https://github.com/scala/scala3/pull/21639)

## Releases

- Add support for Chocolatey [#20534](https://github.com/scala/scala3/pull/20534)
- Add the merge commit hash to the icon's url [#21221](https://github.com/scala/scala3/pull/21221)
- Add sources of synthetic classes to sources jar [#20904](https://github.com/scala/scala3/pull/20904)

## REPL

- Uppdate JLine to 3.27.0 (was 3.25.1) [#21752](https://github.com/scala/scala3/pull/21752)
- Allow JLine to fall back to a dumb terminal [#21330](https://github.com/scala/scala3/pull/21330)

## Scaladoc

- Only trim one newline when preprocessing the content of a markdown code snippet [#21519](https://github.com/scala/scala3/pull/21519)
- Bump Inkuire version to fix it for the new Scala versions [#21611](https://github.com/scala/scala3/pull/21611)
- Filter opaque modifier from object documentation [#21640](https://github.com/scala/scala3/pull/21640)

## TASTy format

- Add child to parent in completion context [#21214](https://github.com/scala/scala3/pull/21214)

## Transform

- Three fixes to SAM type handling [#21596](https://github.com/scala/scala3/pull/21596)
- Fix treatment of separately compiled @native methods in FirstTransform [#21593](https://github.com/scala/scala3/pull/21593)
- Fix #20856: Serialize `Waiting` and `Evaluating` as if `null`. [#21243](https://github.com/scala/scala3/pull/21243)
- Fixes IllegalAccessError with Java package protected class [#21362](https://github.com/scala/scala3/pull/21362)
- Consistently use TypeMismatch in TreeChecker [#21529](https://github.com/scala/scala3/pull/21529)
- Fix: don't use color codes for pattern match code action [#21120](https://github.com/scala/scala3/pull/21120)
- Let show behave more robustly for Recheck [#21678](https://github.com/scala/scala3/pull/21678)
- Always rewrite empty List() to Nil [#21689](https://github.com/scala/scala3/pull/21689)

## Typer

- Fix extending protected nested java classes [#21857](https://github.com/scala/scala3/pull/21857)
- Avoid cyclic errors forcing default arg types [#21597](https://github.com/scala/scala3/pull/21597)
- Survive inaccessible types when computing implicit scope [#21589](https://github.com/scala/scala3/pull/21589)
- Revert "Drop redundant `butNot = Param` clause in isAnchor" [#21566](https://github.com/scala/scala3/pull/21566)
- Fail early & more clearly on shaded-broken classfiles [#21262](https://github.com/scala/scala3/pull/21262)
- Fix isomorphism tests of `AndOrType`s under non-empty `BinderPairs` [#21017](https://github.com/scala/scala3/pull/21017)
- Some fixes for AnnotatedTypes mapping [#19957](https://github.com/scala/scala3/pull/19957)
- Simple performance improvement for Denotations [#21584](https://github.com/scala/scala3/pull/21584)
- Avoid import suggestion thread hang if -Ximport-suggestion-timeout <= 1 [#21434](https://github.com/scala/scala3/pull/21434)
- Fix incorrect caching with dependent method parameters [#21699](https://github.com/scala/scala3/pull/21699)

## Experimental: Explicit Nulls

- Add tracking of NotNullInfo for Match, Case, Try trees (fix #21380) [#21389](https://github.com/scala/scala3/pull/21389)
- Fix #21392: Adjust `canComparePredefined(Nothing, T)` in explicit nulls [#21504](https://github.com/scala/scala3/pull/21504)

# Contributors

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

According to `git shortlog -sn --no-merges 3.3.4..3.3.5-RC1` these are:

```
44 Wojciech Mazur
14 Dale Wijnand
10 Katarzyna Marek
8 rochala
5 noti0na1
4 Hamza Remmal
4 Matt Bovel
4 Som Snytt
3 Jamie Thompson
3 Martin Odersky
3 Michał Pałka
3 dependabot[bot]
3 kasiaMarek
2 Aleksander Rainko
2 Eugene Flesselle
2 Florian3k
2 HarrisL2
2 Jędrzej Rochala
2 Kacper Korban
2 Yichen Xu
1 Eugene Yokota
1 Guillaume Martres
1 Hamza REMMAL
1 Jan Chyb
1 Joel Wilsson
1 Kenji Yoshida
1 Martin Duhem
1 Nicolas Stucki
1 Ondrej Lhotak
1 Seth Tisue
1 Sébastien Doeraene
1 Tomasz Godzik
```