0.5.0-RC2 (2024-03-13)¶
Check out the documentation at https://scala-native.readthedocs.io/
TL;DR¶
Second release candidate for the Scala Native 0.5.0, see changelog of 0.5.0-RC1.md for details of changes introduced in 0.5.x line.
Not backward compatible with previous releases,
Added support for multithreading based on platform threads
Added support for targeting 32-bit architectures
Initial source level debugging support
Various changes to the build system. See “Build Integrator features” below.
Removed stub implementation for partially implemented Java Standard Library types
SIP-51 support: artifacts for every Scala standard library version
Supported Scala versions¶
Scala Binary Version | Supported Scala Versions |
---|---|
2.12 | 2.12.14 ... 2.12.19 |
2.13 | 2.13.8 ... 2.13.13 |
3 | 3.1.2 ... 3.1.3 3.2.0 ... 3.2.2 3.3.0 ... 3.3.3 3.4.0 |
Upon release of new Scala version (stable, or Scala 3 RC) version dependent artifacts would be published without a new release.
Commits since 0.5.0-C1: | 39 |
Contributors: | 7 |
Contributors¶
Big thanks to everybody who contributed to this release or reported an issue!
$ git shortlog -sn --no-merges v0.5.0-RC1..
22 Wojciech Mazur
6 Kirill A. Korinsky
5 LeeTibbert
2 Lorenzo Gabriele
1 Anton Sviridov
1 João Costa
1 Michel Davit
Merged PRs¶
v0.5.0-RC2 (2024-03-123)¶
Merged pull requests:
Scala Native runtime¶
refactor: Fix placement of access of
scala.scalanative.runtime
definitions #3805 (WojciechMazur)feature: Add
unsafe.Ptr.{+,-, apply, update}
variants taking Long #3807 (WojciechMazur)feature: Define an extension method for conversion
.toCSize
as an alias to.toUSize
#3808 (WojciechMazur)feature: Allow to create overload of extern method #3809 (WojciechMazur)
Toolchain¶
fix: Fix emitting of stack-growth guards and
Await.result
#3804 (WojciechMazur)refactor: More explicit
NativeConfig.multithreading
setting #3811 (WojciechMazur)refactor: Restrict access to tools and nir types #3812 (WojciechMazur)
refactor: Replace single
asan
config entry with sanitizer selector #3830 (WojciechMazur)feature: Allow to enable strict semantic of extern function calls. #3829 (WojciechMazur)
improvment: Warn when using LTO.thin on MacOS #3833 (WojciechMazur)
fix: Try to mitigate Windows AccessDeniedException when using
IO.deleteRecursive
#3834 (WojciechMazur)
Java Standard Library¶
JVM behavior parity for unresolved addresses #3803 (RustedBones)
fix: Execute
WeakReference
post-cleanup callbacks only injava.lang.Thread
#3815 (WojciechMazur)Fix #3796, #3786: Implement UTF-8 support in java.util.zip classes #3814 (LeeTibbert)
improvement: implement java.util.BitSet#stream #3819 (LeeTibbert)
fix: Retry
read
when interrupted by signal inAbstractPlainSocketImpl
#3827 (WojciechMazur)