0.5.6 (2024-11-13)

We’re happy to announce the release of Scala Native 0.5.6!

Supported Scala versions

Scala Binary Version Supported Scala Versions
2.12 2.12.14 ... 2.12.20
2.13 2.13.8 ... 2.13.15
3 3.1.2 ... 3.1.3
3.2.0 ... 3.2.2
3.3.0 ... 3.3.4
3.4.0 ... 3.4.3
3.5.2 ... 3.5.2

Upon release of new Scala version (stable, or Scala 3 RC) version dependent artifacts would be published without a new release.

Commits since last release 32
Merged PRs 30
Contributors 10

Contributors

Big thanks to everybody who contributed to this release or reported an issue!

$ git shortlog -sn --no-merges v0.5.5..v0.5.6
    15	Wojciech Mazur
     5	Maksym Ochenashko
     4	LeeTibbert
     3	João Costa
     2	Eric K Richardson
     1	Corey O'Connor
     1	Rikito Taniguchi
     1	dependabot[bot]
     1	unarist
     1	澪

Merged PRs

0.5.6 (2024-11-13)

Full Changelog

Merged pull requests:

Java Standard Library

  • feature [nativelib]: implement ThreadMXBean #4031 (iRevive)

  • feature [nativelib]: partially implement OperatingSystemMXBean #4033 (iRevive)

  • feature [nativelib]: partially implement RuntimeMXBean #4034 (iRevive)

  • feature [nativelib]: partially implement GarbageCollectorMXBean #4066 (iRevive)

  • feaure [javalib]: Port JSR-166 ConcurrentLinkedDeque to Scala Native #4046 (LeeTibbert)

  • Optimize Integer.toString #4048 (JD557)

  • Fix [javalib]: POSIX readAttributes() now links #4069 (LeeTibbert)

  • Improve ZLib error messages in the inflater #4074 (JD557)

  • Nullify WeakReference.postGCHandler once it is used #4080 (WojciechMazur)

Scala Native Library

  • Fix unsafe.toCWideString was returning a double pointer to a string #4029 (unarist)

Scala Native Runtime

  • fix [immix/commix/none gc]: Revert using free memory size instead of total memory size to control size of the heap #4047 (WojciechMazur)

  • [improve/build] Remove two FreeBSD 14.1 build defects #4059 (LeeTibbert)

Scala Native Toolchain

  • Fix #4026 Fix negative byte to hex conversion in LLVM IR codegen #4052 (tanishiking)

  • [improve/nativelib] Better detection of LinktimeInfo.isMac #4051 (WojciechMazur)

  • Improve interflow inliner log messages #4055 (JD557)

  • [fix] Teach NIR subtyping to treat scala.runtime.Nothing$ in the same way a nir.Type.Nothing #4065 (WojciechMazur)

Scala Standard Library

POSIX bindings

  • Fix compilation error of _CS_PATH for Termux on Android #4037 (mio-19)

Windows API Bindings

  • feature [windowslib]: add GetProcessTimes to the ProcessThreadsApi #4035 (iRevive)

Documentations

Scala Native Compiler Plugin

  • fix[compiler-plugin] Intrinisic ClassFieldRawPtr should always mangle symbol names when comparing symbols #4045 (WojciechMazur)

  • Don’t allow to define CFuncPtr lambda closing over this #4079 (WojciechMazur)

Scala Native sbt plugin

  • [fix/sbt-plugin] Always override default build target in Test scope to application #4050 (WojciechMazur)