github scala/scala3 3.0.1

latest releases: 3.3.4, 3.5.1, 3.5.2-RC1...
3 years ago

Notable changes (in comparison to 3.0.0)

Language

  • Add @experimental annotation #12102
  • A simpler implementation of init checker #12495
  • Allow _ as a type lambda placeholder in -Ykind-projector:underscores compatiblity mode #12378
  • Support variance annotations in -Ykind-projector mode #12341
  • Better error message for errors arising from implicit completions #12002
  • Explain match type reduction failures in error messages #12053

Metaprogramming

  • Cache quote unpickling #12242
  • Add Expr.valueOrAbort and reflect.report.errorAndAbort #12056
  • Avoid pickled tasty for some captured quote reference #12248
  • Improve quote matcher performance #12418
  • Port scala.quoted.runtime.impl.QuoteMatcher #12402
  • Check transparent inline type argument bounds #12334
  • Improve constant folding logic #12080
  • Support inline val references in top level splices #12235

Scaladoc

  • Snippet compiler #11582
  • Update user manual for scaladoc #12083

Bug fixes

  • IArray.toArray: Deprecate broken method #12598
  • Fix comparison of dependent function types #12214
  • Make translucentSuperType handle match types #12153
  • Harden Type Inference #12560
  • Reject references to self in super constructor calls #12567
  • Provide mirror support after inlining #12062
  • Allow export paths to see imports #12134
  • Streamline given syntax #12107
  • Export constructor proxies #12311
  • Identify package and nested package object in isSubPrefix #12297
  • Treat Refinements more like AndTypes #12317
  • Fix #9871: use toNestedPairs in provablyDisjoint #10560
  • Fix TypeTest exhaustivity check #12059
  • TreeUnpickler: fix cycle involving param accessor #12873

Other

  • record end markers in trees and semanticdb, exclude top level def wrappers #12541
  • Use stringOf from REPL to avoid trimming #11562
  • sbt bridge reporting improvements #12845

Contributors

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

According to git shortlog -sn --no-merges 3.0.0..3.0.1 these are:

   122	Martin Odersky
   111	Liu Fengyun
    98	Nicolas Stucki
    32	Guillaume Martres
    24	Phil
    20	Olivier Blanvillain
    14	Tom Grigg
    14	Adrien Piquerez
    13	Natsu Kagami
    12	Andrzej Ratajczak
    10	Anatolii Kmetiuk
    10	Aleksander Boruch-Gruszecki
    10	odersky
     8	Jamie Thompson
     7	Michał Pałka
     6	Maxime Kjaer
     5	Krzysztof Romanowski
     5	Som Snytt
     3	Fengyun Liu
     3	noti0na1
     3	Filip Zybała
     3	Phil Walker
     3	Kai
     2	soronpo
     2	Kacper Korban
     2	Raphael Jolly
     2	Adam Warski
     2	tanishiking
     2	Vadim Chelyshov
     2	Sébastien Doeraene
     2	Johannes Rudolph
     1	xuwei-k
     1	Alexander Ioffe
     1	David Barri
     1	Devon Stewart
     1	Dmitrii Naumenko
     1	Ivan Kurchenko
     1	Jakub Kozłowski
     1	Jonas Ackermann
     1	Kevin Lee
     1	Markus Sutter
     1	Martin
     1	Miles Sabin
     1	Oron Port
     1	Paweł Marks
     1	Ruslan Shevchenko
     1	Seth Tisue
     1	nogurenn
     1	nurekata

Reporting Bugs

If you encounter a bug, please open an issue! 🙏

Don't miss a new scala3 release

NewReleases is sending notifications on new releases.