Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions pkgs/ffigen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pkgs/ffigen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 5 additions & 1 deletion pkgs/objective_c/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions pkgs/objective_c/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down