0.4.5 (2022-06-27)¶
We’re happy to announce the release of Scala Native 0.4.5. This patch release targets bugfixes and implements some of the missing Java standard library classes, but does not include any new features. This release also adds initial support for compilation using Java 17.
Scala standard library used by this release is based on the following versions:
Scala binary version | Scala release |
2.11 | 2.11.12 |
2.12 | 2.12.16 |
2.13 | 2.13.8 |
3 | 3.1.2 |
Commits since last release | 51 |
Merged PRs | 50 |
Contributors | 9 |
Contributors¶
Big thanks to everybody who contributed to this release or reported an issue!
$ git shortlog -sn --no-merges v0.4.4..v0.4.5
23 LeeTibbert
10 Wojciech Mazur
6 Arman Bilge
4 110416
4 Eric K Richardson
1 Daniel Esik
1 Felix Yan
1 Guillaume Raffin
1 Lorenzo Gabriele
Merged PRs¶
Java standard library¶
- Add a timeout to InetAddress host caching, fix #2310 #2580 (TheElectronWill)
- Port java.util.Optional from Scala.js #2596 (ekrich)
- Fix CRC32 update with empty array #2618 (armanbilge)
- Fix #2608, #1543: Correct/complete regex Matcher region support #2619 (LeeTibbert)
- Port
ThreadLocalRandom
#2674 (armanbilge) - Port
ConcurrentHashMap
#2676 (armanbilge) - Port new implementation of TreeSet and PriorityQueue from Scala.js #2677 (WojciechMazur)
- Port stubs for java.util.concurrent data stractures from Scala.js #2682 (WojciechMazur)
- Port
ConcurrentSkipListSet
#2675 (armanbilge) - Implement
java.lang.reflect::Array.newInstance
for multi-dimensional overload #2683 (WojciechMazur) - Port
IntUnaryOperator
#2613 (armanbilge) - Add stubs for
java.lang.const.{Constantable, ConstantDesc}
#2684 (WojciechMazur) - Fix #2586: Port three Scala.js fixes #2694 (LeeTibbert)
C/POSIX standard library bindings¶
- add tgmath for real #104 #2587 (i10416)
- add fenv.h #2591 (i10416)
- add some int-related bindings #2594 (i10416)
- Fix #2627: posix socket.c#getaddrinfo no longer frees unallocated memory #2628 (LeeTibbert)
- Fix I2633: posix netdb.c now has FreeBSD required include file #2637 (LeeTibbert)
- Fix #2660, #2661: Provide Posix netdb gai_strerror method and associated EAI definitions #2662 (LeeTibbert)
- Fix #2314: Posix netdb getaddrinfo now handles null hints arguments correctly #2663 (LeeTibbert)
- Fix #2395: posixlib usleep method is now deprecated #2669 (LeeTibbert)
- Fix #2657: Synthesize posix timezone and daylight variables on FreeBSD #2695 (LeeTibbert)
Scala Native runtime library¶
- Fix #2635: implement nativelib Platform.scala#isFreeBSD #2636 (LeeTibbert)
- Fix Immix GC compilation errors #2685 (WojciechMazur)