Skip to content

Releases: dart-lang/native

package:native_assets_cli v0.4.1

15 Jan 10:27
1abfcfa
Compare
Choose a tag to compare
Pre-release
  • Breaking change Removed all code not used in build.dart scripts out of the public API.

package:native_toolchain_c v0.3.4

11 Jan 22:05
a1d2bb6
Compare
Choose a tag to compare
Pre-release
  • Bump package:native_assets_cli to 0.4.0.

package:native_assets_cli v0.4.0

11 Jan 19:15
4939882
Compare
Choose a tag to compare
Pre-release
  • 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 to package:native_assets_builder.

package:ffigen v11.0.0

03 Jan 10:12
0605d9a
Compare
Choose a tag to compare
  • 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 config ignore-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 marked leaf.
  • Add support for finding libclang in Conda environment.

package:native_toolchain_c v0.3.3

15 Dec 20:16
8107f37
Compare
Choose a tag to compare
Pre-release
  • Export environmentFromBatchFile.
  • Bump package:native_assets_cli to 0.3.2.

package:ffigen v10.0.0

15 Nov 16:12
c64e9c8
Compare
Choose a tag to compare
  • 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 the Function.
  • Use Dart wrapper types in args and returns of ObjCBlocks.
  • Use Dart wrapper types in args and returns of static functions.
  • Renamed asset to assetId for ffi-native.

package:native_toolchain_c v0.3.2

01 Nov 22:10
c72ed16
Compare
Choose a tag to compare
Pre-release
  • 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

30 Oct 11:35
279094d
Compare
Choose a tag to compare
Pre-release
  • Added MSVC arm64 toolchain.

native_assets_cli v0.3.2

27 Oct 19:54
9629a55
Compare
Choose a tag to compare
Pre-release
  • Fixed an issue where Depenendencies.dependencies could not be modified when expected to.

native_assets_cli v0.3.1

27 Oct 09:17
762b4da
Compare
Choose a tag to compare
Pre-release
  • Added Target.androidRiscv64.