Releases: dart-lang/native
Releases · dart-lang/native
package:code_assets v0.19.3
- Mark this package as in preview.
package:code_assets v0.19.2
- Mark this package as in preview.
package:code_assets v0.19.1
- Bump the SDK constraint to at least the one from
package:hooksto fix
dartdoc generation on https://pub.dev.
package:native_toolchain_c v0.16.1
- Firebase Studio NixOS support (default install locations for native
toolchains).
package:hooks_runner v0.20.0
- Breaking change Refactored error handling to use a
Resulttype for more
explicit success/failure states. - Remove
package_graph.jsonfallback.
package:hooks v0.19.1
- Added links to the
buildandlinkmethods as primary entry points. - Added failure outputs and documented exit codes.
objective_c-v8.0.0
- Use ffigen 19.0.0
NSArrayis now a DartIterableandNSMutableArrayis now a DartList.NSDictionaryandNSMutableDictionaryare now DartMaps.NSSetandNSMutableSetare now DartSets.- Add
.toNSNumber()extension method toint,double, andnum. - Add
DateTime.toNSDate()andNSDate.toDateTime()extension methods. - Add
CFStringRef.toDartString()andCFStringRef.toNSString(). - Add
toObjCObjectandtoDartObjectthat 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
- 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, theNSDatamethod
dataWithBytes:length:used to be generated as
dataWithBytes_length_(Pointer<Void> bytes, int length), but is now generated
asdataWithBytes(Pointer<Void> bytes, {required int length}). Protocol
methods are not affected.- Migration tip: A quick way to find affected methods is to search for
_(.
- 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
- Depend on
package:code_assetsandpackage:hooks0.19.0.
(package:native_assets_cliwas split up into these packages.)
package:hooks_runner v0.19.0
- Renamed package from
native_assets_buildertohooks_runner. - Depend on
package:code_assets,package:data_assets, andpackage:hooks
0.19.0. (package:native_assets_cliwas split up into these packages.)