diff --git a/pkgs/ffigen/CHANGELOG.md b/pkgs/ffigen/CHANGELOG.md index c8592f87e..48252a3ad 100644 --- a/pkgs/ffigen/CHANGELOG.md +++ b/pkgs/ffigen/CHANGELOG.md @@ -1,3 +1,10 @@ +## 20.0.0-dev.2 + +- __Breaking change__: Change how ObjC protocols are generated, splitting the + methods related to constructing instances into a separate `Foo$Builder` class. + The protocol's instance methods are now directly invokable from the built + object. + ## 20.0.0-dev.1 - Make the `Logger` argument of `FfiGenerator.generate` optional. It defaults to @@ -13,10 +20,6 @@ With this breaking change, also some defaults changed: (1) `@Native` bindings are now the default, and (2) struct/unions refered to by pointer will be generated as `Opaque` by default. -- __Breaking change__: Change how ObjC protocols are generated, splitting the - methods related to constructing instances into a separate `Foo$Builder` class. - The protocol's instance methods are now directly invokable from the built - object. - __Breaking change__: Minor breaking change in the way that ObjC interface methods are generated. Interface methods are now generated as extension methods instead of being part of the class. This shouldn't require any code diff --git a/pkgs/ffigen/pubspec.yaml b/pkgs/ffigen/pubspec.yaml index 9517c6925..f703a1984 100644 --- a/pkgs/ffigen/pubspec.yaml +++ b/pkgs/ffigen/pubspec.yaml @@ -3,7 +3,7 @@ # BSD-style license that can be found in the LICENSE file. name: ffigen -version: 20.0.0-dev.1 +version: 20.0.0-dev.2 description: > Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files. @@ -40,7 +40,7 @@ dev_dependencies: dart_flutter_team_lints: ^3.5.2 json_schema: ^5.1.1 leak_tracker: ^10.0.7 - objective_c: ^9.0.0-dev.0 + objective_c: ^9.0.0-dev.1 test: ^1.16.2 dependency_overrides: diff --git a/pkgs/objective_c/CHANGELOG.md b/pkgs/objective_c/CHANGELOG.md index 1f65c742a..1168b0982 100644 --- a/pkgs/objective_c/CHANGELOG.md +++ b/pkgs/objective_c/CHANGELOG.md @@ -1,6 +1,10 @@ +## 9.0.0-dev.1 + +- Use FFIgen 20.0.0-dev.2 + ## 9.0.0-dev.0 -- Use FFIgen 20.0.0 +- Use FFIgen 20.0.0-dev.0 - Fix missing `NSNumber` category includes in iOS and macOS `objective_c.m` files. - Add `NSBundle` and `NSNull` to the bindings. diff --git a/pkgs/objective_c/pubspec.yaml b/pkgs/objective_c/pubspec.yaml index f8ebfd5e1..62312c113 100644 --- a/pkgs/objective_c/pubspec.yaml +++ b/pkgs/objective_c/pubspec.yaml @@ -4,7 +4,7 @@ name: objective_c description: 'A library to access Objective C from Flutter that acts as a support library for package:ffigen.' -version: 9.0.0-dev.0 +version: 9.0.0-dev.1 repository: https://github.com/dart-lang/native/tree/main/pkgs/objective_c issue_tracker: https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aobjective_c @@ -27,7 +27,7 @@ dependencies: dev_dependencies: args: ^2.6.0 dart_flutter_team_lints: ^3.5.2 - ffigen: ^20.0.0-dev.1 + ffigen: ^20.0.0-dev.2 flutter_test: sdk: flutter native_test_helpers: