0.4.0
Dependency source-break
- The 1.8 release of swift-argument-parser caused a source compatibility break due to introducing an
asyncoverload to an existing function; Calling this function from an asynchronous context now requires annotating the call withawaitas the asynchronous overload is preferred by the compiler. In order to address this issue (introduced in apple/swift-argument-parser#855), this0.4.0release bumps the swift-argument-parser baseline dependency to 1.8.0 and updates our usage of it.
What's Changed
- fix optional Int JNI conversion by @nerzh in #751
- reject unsupported tuple components by @nerzh in #750
- jextract/jni: Support non-JavaBoxable types in Dictionary by @sidepelican in #754
- jextract/jni: Support static function calls for specialized types by @sidepelican in #757
- jextract/jni: Fix enums with unconvertible cases by @sidepelican in #755
- jextract/ffm: Fix TranslatedParameter to hold a single JavaParameter by @sidepelican in #759
- jextract/jni: initial support for variadic type by @sidepelican in #758
- Detect double destruction and generalize $createDestroyFunction by @sidepelican in #760
- Rework the cleanup a little bit so that we avoid the atomic boolean by @ktoso in #761
- Harden foundation types detection/generation by @ktoso in #762
- Add
JNI_OnLoadto linker export file by @madsodgaard in #763 - Improve by-type-name filtering by @ktoso in #764
- jextract: resolve cross-module types via --depends-on by @ktoso in #766
- Adjust for source-break in argument-parser 1.8 by @ktoso in #767
- jextract/jni: Propagate generic parameters to Case types of generic enums by @sidepelican in #765
- CI: Optimize builds and cancel in flight builds by @ktoso in #768
- build: Experiment with targets to enable static linking in consumers by @ktoso in #756
New Contributors
Full Changelog: 0.3.0...0.4.0