0.4.10 (2023-01-27)¶
We’re happy to announce the release of Scala Native.
Scala Native 0.4.10 adds support for Scala 3.2.2 with its new lazy vals implementation, and drops the support for Scala 2.11 which has been EOL for over 5 years.
The latest release also contains multiple bug fixes and improvements, including a new release mode scala.scalanative.build.Mode.releaseSize
oriented for the size of the produced binaries.
Scala standard library used by this release is based on the following versions:
Scala binary version | Scala release |
2.12 | 2.12.17 |
2.13 | 2.13.10 |
3 | 3.2.2 |
Merged PRs | 52 |
Contributors | 7 |
Contributors¶
Big thanks to everybody who contributed to this release or reported an issue!
$ git shortlog -sn --no-merges v0.4.9..v0.4.10
23 LeeTibbert
9 Wojciech Mazur
7 110416
6 Arman Bilge
3 Eric K Richardson
1 Hossein Naderi
1 Dong Nguyen
Merged PRs¶
v0.4.10 (2023-01-27)¶
Merged pull requests:
Supported Scala versions¶
Support Scala 3.2.2 #3094 (WojciechMazur)
Java Standard Library¶
Better error handling for
Files#createLink
#3012 (armanbilge) #3015Fix #2755: j.nio.Files#readAllBytes reports failed Unix file open call #3026 (LeeTibbert)
Fix #2973: Implement some requested j.io.InputStream Java 9 &11 methods #3031 (LeeTibbert)
Make initialization of
System.properties
a lazy operation #3061 (WojciechMazur)Add
java.util.concurrent.Flow
#3099 (armanbilge)Port
java.util.TreeMap
and friends #3102 (armanbilge)
POSIX bindings¶
Add POSIX sys/un bindings #3025 (LeeTibbert)
Add POSIX sys/times bindings #3032 (LeeTibbert)
Add POSIX bindings for glob, fnmatch and libgen #3041 (LeeTibbert)
Add POSIX wordexp bindings
Add subset of C and POSIX locale related method #3034 (LeeTibbert)
Add POSIX langinfo.h and nl_types.h bindings #3044 (LeeTibbert)
Reduce memory usage in posixlib spawn #3040 (LeeTibbert)
Compiler plugin¶
Report error on default arguments in extern method #3045 (i10416)
Fix issue with using opaque types in
CFuncPtr
#3096 (WojciechMazur)Fix
NullPointerExceptions
when writing NIR to virtual files #3108 (WojciechMazur)Relativize paths in NIR using
mapSourceURI
setting in compiler plugin #3109 (WojciechMazur)
JUnit runtime¶
Allow to use inherited
org.junit.{Aftter,Before}Class
methods #3055 (WojciechMazur)
Build toolchain¶
Handle whitespaces in the files passed to the clang when linking #3062 (WojciechMazur)
Fix #3078, allow methods to have more then 10k instructions #3095 (WojciechMazur)
Introduce
scalanative.build.Mode.ReleaseSize
#3091 (dongnguyenvt)
sbt plugin¶
Add
NativeTags.Link
to limit concurrency ofnativeLink
#3064 (armanbilge)
Other bugfixes¶
Fix #3065: FreeBSD once again compiles #3077 (LeeTibbert)
Fix #3069: Commix gc runs once again on FreeBSD #3079 (LeeTibbert)
Fix #3073: ProcessMonitor semaphore now works on FreeBSD #3080 (LeeTibbert)