Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ffigen] Stable release 10.0.0 #202

Merged
merged 2 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions .github/workflows/ffigen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fail-fast: false
matrix:
# TODO: Change to 3.2.0 stable once it's released.
dcharkes marked this conversation as resolved.
Show resolved Hide resolved
sdk: [3.2.0-210.4.beta]
sdk: [3.2.0]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: 3.2.0-210.4.beta
sdk: 3.2.0
- name: Install dependencies
run: dart pub get
- name: Install libclang-14-dev
Expand All @@ -77,7 +77,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: 3.2.0-210.4.beta
sdk: 3.2.0
- name: Install dependencies
run: dart pub get
- name: Build test dylib and bindings
Expand All @@ -102,7 +102,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: 3.2.0-210.4.beta
sdk: 3.2.0
- name: Install dependencies
run: dart pub get
- name: Build test dylib and bindings
Expand Down
5 changes: 3 additions & 2 deletions pkgs/ffigen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## 10.0.0-dev.0
## 10.0.0

- 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.
Expand All @@ -10,7 +12,6 @@
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.
- Bump min SDK version to 3.2.0-210.4.beta.
- Renamed `asset` to `assetId` for `ffi-native`.

## 9.0.1
Expand Down
4 changes: 2 additions & 2 deletions pkgs/ffigen/example/c_json/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
name: c_json_example

environment:
sdk: ">=3.2.0-210.4.beta <4.0.0"
sdk: '>=3.2.0 <4.0.0'

dependencies:
ffi: ^2.0.1
path: ^1.8.0

dev_dependencies:
ffigen:
path: "../../"
path: '../../'
lints: ^2.0.1
4 changes: 2 additions & 2 deletions pkgs/ffigen/example/ffinative/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
name: ffinative_example

environment:
sdk: ">=3.2.0-210.4.beta <4.0.0"
sdk: '>=3.2.0 <4.0.0'

dependencies:
ffi: ^2.0.1
dev_dependencies:
ffigen:
path: "../../"
path: '../../'
lints: ^2.0.0
4 changes: 2 additions & 2 deletions pkgs/ffigen/example/libclang-example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
name: libclang_example

environment:
sdk: ">=3.2.0-210.4.beta <4.0.0"
sdk: '>=3.2.0 <4.0.0'

dependencies:
ffi: ^2.0.1
dev_dependencies:
ffigen:
path: "../../"
path: '../../'
lints: ^2.0.1
4 changes: 2 additions & 2 deletions pkgs/ffigen/example/objective_c/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
name: objective_c_example

environment:
sdk: ">=3.2.0-210.4.beta <4.0.0"
sdk: '>=3.2.0 <4.0.0'

dependencies:
ffi: ^2.0.1
dev_dependencies:
ffigen:
path: "../../"
path: '../../'
lints: ^2.0.0
4 changes: 2 additions & 2 deletions pkgs/ffigen/example/shared_bindings/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name: shared_bindings

environment:
sdk: ">=3.2.0-210.4.beta <4.0.0"
sdk: '>=3.2.0 <4.0.0'

dependencies:
cli_util: ^0.4.0
Expand All @@ -14,5 +14,5 @@ dependencies:

dev_dependencies:
ffigen:
path: "../../"
path: '../../'
lints: ^2.0.1
4 changes: 2 additions & 2 deletions pkgs/ffigen/example/simple/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
name: simple_example

environment:
sdk: ">=3.2.0-210.4.beta <4.0.0"
sdk: '>=3.2.0 <4.0.0'

dependencies:
ffi: ^2.0.1
dev_dependencies:
ffigen:
path: "../../"
path: '../../'
lints: ^2.0.1
11 changes: 5 additions & 6 deletions pkgs/ffigen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@
# BSD-style license that can be found in the LICENSE file.

name: ffigen
version: 10.0.0-dev.0
version: 10.0.0
description: >
Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift
files.
repository: https://github.com/dart-lang/native/tree/main/pkgs/ffigen

topics:
- interop
- ffi
- codegen
- interop
- ffi
- codegen

environment:
sdk: ">=3.2.0-210.4.beta <4.0.0"
sdk: '>=3.2.0 <4.0.0'

dependencies:
ffi: ^2.0.1
Expand Down