0.4.16 (2023-10-13)¶
We’re happy to announce the release of Scala Native.
Scala Native 0.4.16 is yet another maintenance release backporting changed from the 0.5.0-SNAPSHOT branch.
This version introduces support for using Scala Native with JDK 21 and introduces bug fixes to the runtime.
It also fixes severe performance problems when using java.nio.MappedByteBuffers.
Scala standard library used by this release is based on the following versions:
| Scala binary version | Scala release |
| 2.12 | 2.12.18 |
| 2.13 | 2.13.12 |
| 3 | 3.3.0 |
| Commits since last release | 40 |
| Merged PRs | 23 |
| Contributors | 10 |
Contributors¶
Big thanks to everybody who contributed to this release or reported an issue!
$ git shortlog -sn --no-merges v0.4.15..v0.4.16
20 Wojciech Mazur
5 LeeTibbert
4 Rikito Taniguchi
3 He-Pin
2 Anton Sviridov
2 kerr
1 Eric K Richardson
1 Jonas Spenger
1 Lorenzo Gabriele
1 Natsu Kagami
Merged PRs¶
v0.4.16 (2023-10-13)¶
Merged pull requests:
Java Standard Library¶
Fix
java.lang.String.offsetByCodePointsfor unpaired surrogates #3471 (tanishiking)Fix #3477:
java.nio.channel.Channels.newChannel#readnow reports EOF #3478 (LeeTibbert)Add
java.nio.file.AccessModeandReadOnlyFileSystemException#3479 (LeeTibbert)Fix
Class.isAssignableFromfor primitive types #3510 (WojciechMazur)Fix performance problems of
java.nio.file.MappedByteBuffer#3521 (WojciechMazur)Implement
java.lang.Math.multiplyHighfor Long #3480 (jonasspenger)Add missing overrides in
java.util.concurrent.ConcurrentMap#3527 (WojciechMazur)
Scala Native Runtime Library¶
Faster
scala.scalanative.unsafe.Ptr.{apply, update}by skipping unnecessary GC allocations #3522 (WojciechMazur)
Scala Native Toolchain¶
Docs¶
Add contributing quickstart guide #3496 (tanishiking)
Add last updated to each page beneath title based on git commit #3520 (tanishiking)