Releases: dart-lang/native
Releases · dart-lang/native
package:native_assets_cli v0.4.1
- Breaking change Removed all code not used in
build.dart
scripts out of the public API.
package:native_toolchain_c v0.3.4
- Bump
package:native_assets_cli
to 0.4.0.
package:native_assets_cli v0.4.0
- Added example/use_dart_api/ detailing how to use
dart_api_dl.h
from the Dart SDK in native code. - Breaking change Moved code not used in
build.dart
topackage:native_assets_builder
.
package:ffigen v11.0.0
- Any compiler errors/warnings in source header files will now result in bindings to not be generated by default, since it may result in invalid bindings if the compiler makes a wrong guess. A flag
--ignore-source-errors
(or yaml configignore-source-errors: true
) must be passed to change this behaviour. - Breaking change: Stop generating setters for global variables marked
const
in C. - Fix objc_msgSend being used on arm64 platforms where it's not available.
- Fix missing comma with
ffi-native
functions markedleaf
. - Add support for finding libclang in Conda environment.
package:native_toolchain_c v0.3.3
- Export
environmentFromBatchFile
. - Bump
package:native_assets_cli
to 0.3.2.
package:ffigen v10.0.0
- Stable release targeting Dart 3.2 using new
dart:ffi
features available
in Dart 3.2 and later. - Add support for ObjC Blocks that can be invoked from any thread, using
NativeCallable.listener. - Fix invalid exceptional return value ObjCBlocks that return floats.
- Fix return_of_invalid_type analysis error for ObjCBlocks.
- Fix crash in ObjC methods and blocks that return structs by value.
- Fix ObjC methods returning instancetype having the wrong type in sublasses.
- When generating typedefs for
Pointer<NativeFunction<Function>>
, also
generate a typedef for theFunction
. - Use Dart wrapper types in args and returns of ObjCBlocks.
- Use Dart wrapper types in args and returns of static functions.
- Renamed
asset
toassetId
forffi-native
.
package:native_toolchain_c v0.3.2
- Added workaround minSdkVersion 19 and 20 for Android.
- Start using sysroot for Android.
- Added tests for up to Android API version 34.
package:native_toolchain_c v0.3.1
- Added MSVC arm64 toolchain.
native_assets_cli v0.3.2
- Fixed an issue where
Depenendencies.dependencies
could not be modified when expected to.
native_assets_cli v0.3.1
- Added
Target.androidRiscv64
.