0.4.9 (2022-11-23)

We’re happy to announce the release of Scala Native 0.4.9.

It’s a patch release fixing linkage errors when building Scala 2.13 libraries using Scala 3 dependenices.

It does also reverse version policy changes leading to problems in sbt-crossproject. Improved version policy would be restored in Scala Native 0.5.x.

Scala Native 0.4.9 introduces a new feature - an experimental support for incremental compilation.


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.17
2.13 2.13.10
3 3.2.1
Commits since last release 12
Merged PRs 9
Contributors 4

New features

Incremental compilation

A new experimental compilation mode was being developed during the latest edition of Google Summer of Code by Liangyong Yu. This feature splits generated code based on the package names and allows to skip re-compilation of generated LLVM IR if changes to definitions are detected. Incremental compilation can allow reducing compilation times by up to 20%. You can read more about this change in Liangyongs GSoC report To enable this experimental feature modify your nativeConfig:

nativeConfig ~= {
  _.withIncrementalCompilation(true)
}

Contributors

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

$ git shortlog -sn --no-merges v0.4.8..v0.4.9
      5  Wojciech Mazur
      3  Arman Bilge
      3  LeeTibbert
      1  yuly16

Merged PRs

v0.4.9 (2022-11-23)

Full Changelog

Merged pull requests: