Skip to content

Releases: dart-lang/native

package:code_assets v0.19.2

21 May 16:03
b146611
Compare
Choose a tag to compare
Pre-release
  • Mark this package as in preview.

package:code_assets v0.19.1

21 May 14:14
71741a4
Compare
Choose a tag to compare
Pre-release
  • Bump the SDK constraint to at least the one from package:hooks to fix
    dartdoc generation on https://pub.dev.

package:native_toolchain_c v0.16.1

19 May 07:28
dc91792
Compare
Choose a tag to compare
Pre-release
  • Firebase Studio NixOS support (default install locations for native
    toolchains).

package:hooks_runner v0.20.0

19 May 07:28
dc91792
Compare
Choose a tag to compare
Pre-release
  • Breaking change Refactored error handling to use a Result type for more
    explicit success/failure states.
  • Remove package_graph.json fallback.

package:hooks v0.19.1

19 May 07:28
dc91792
Compare
Choose a tag to compare
package:hooks v0.19.1 Pre-release
Pre-release
  • Added links to the build and link methods as primary entry points.
  • Added failure outputs and documented exit codes.

objective_c-v8.0.0

18 May 23:56
0f9c63c
Compare
Choose a tag to compare
  • Use ffigen 19.0.0
  • NSArray is now a Dart Iterable and NSMutableArray is now a Dart List.
  • NSDictionary and NSMutableDictionary are now Dart Maps.
  • NSSet and NSMutableSet are now Dart Sets.
  • Add .toNSNumber() extension method to int, double, and num.
  • Add DateTime.toNSDate() and NSDate.toDateTime() extension methods.
  • Add CFStringRef.toDartString() and CFStringRef.toNSString().
  • Add toObjCObject and toDartObject that automatically convert between
    supported Objective C and Dart types.
  • Added various interfaces, protocols, categories etc to the built ins, such as
    NSPort and NSTimer.

ffigen-v19.0.0

18 May 23:58
0f9c63c
Compare
Choose a tag to compare
  • Use package:objective_c 8.0.0.
  • Breaking change: Major change to the way ObjC methods are code-genned.
    Methods now use named parameters, making them more readable and closer to how
    they're written in ObjC. For example, the NSData method
    dataWithBytes:length: used to be generated as
    dataWithBytes_length_(Pointer<Void> bytes, int length), but is now generated
    as dataWithBytes(Pointer<Void> bytes, {required int length}). Protocol
    methods are not affected.
    • Migration tip: A quick way to find affected methods is to search for _(.
  • Make it easier for a downstream clone to change behavior of certain utils.
  • Fix a bug where types could
    occasionally show up as a generic ObjCObjectBase, when they were supposed to
    be codegenned as a more specific interface types.

package:native_toolchain_c v0.16.0

01 May 07:26
dd0b8f0
Compare
Choose a tag to compare
Pre-release
  • Depend on package:code_assets and package:hooks 0.19.0.
    (package:native_assets_cli was split up into these packages.)

package:hooks_runner v0.19.0

01 May 07:26
dd0b8f0
Compare
Choose a tag to compare
Pre-release
  • Renamed package from native_assets_builder to hooks_runner.
  • Depend on package:code_assets, package:data_assets, and package:hooks
    0.19.0. (package:native_assets_cli was split up into these packages.)

package:hooks v0.19.0

01 May 08:04
c3f9cfe
Compare
Choose a tag to compare
package:hooks v0.19.0 Pre-release
Pre-release
  • Split up package:native_assets_cli in package:hooks,
    package:code_assets, and package:data_assets.