[ffigen] Stable release 10.0.0 (#202)
diff --git a/.github/workflows/ffigen.yml b/.github/workflows/ffigen.yml index cc1ac73..0f44ad7 100644 --- a/.github/workflows/ffigen.yml +++ b/.github/workflows/ffigen.yml
@@ -28,8 +28,7 @@ strategy: fail-fast: false matrix: - # TODO: Change to 3.2.0 stable once it's released. - sdk: [3.2.0-210.4.beta] + sdk: [3.2.0] steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d @@ -57,7 +56,7 @@ - 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 @@ -77,7 +76,7 @@ - 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 @@ -102,7 +101,7 @@ - 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
diff --git a/pkgs/ffigen/CHANGELOG.md b/pkgs/ffigen/CHANGELOG.md index bda105b..f95edb7 100644 --- a/pkgs/ffigen/CHANGELOG.md +++ b/pkgs/ffigen/CHANGELOG.md
@@ -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. @@ -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
diff --git a/pkgs/ffigen/example/c_json/pubspec.yaml b/pkgs/ffigen/example/c_json/pubspec.yaml index f543823..4694200 100644 --- a/pkgs/ffigen/example/c_json/pubspec.yaml +++ b/pkgs/ffigen/example/c_json/pubspec.yaml
@@ -5,7 +5,7 @@ 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 @@ -13,5 +13,5 @@ dev_dependencies: ffigen: - path: "../../" + path: '../../' lints: ^2.0.1
diff --git a/pkgs/ffigen/example/ffinative/pubspec.yaml b/pkgs/ffigen/example/ffinative/pubspec.yaml index 122e5b9..e971031 100644 --- a/pkgs/ffigen/example/ffinative/pubspec.yaml +++ b/pkgs/ffigen/example/ffinative/pubspec.yaml
@@ -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
diff --git a/pkgs/ffigen/example/libclang-example/pubspec.yaml b/pkgs/ffigen/example/libclang-example/pubspec.yaml index 79860c7..e27a2b4 100644 --- a/pkgs/ffigen/example/libclang-example/pubspec.yaml +++ b/pkgs/ffigen/example/libclang-example/pubspec.yaml
@@ -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
diff --git a/pkgs/ffigen/example/objective_c/pubspec.yaml b/pkgs/ffigen/example/objective_c/pubspec.yaml index 354250a..a912faa 100644 --- a/pkgs/ffigen/example/objective_c/pubspec.yaml +++ b/pkgs/ffigen/example/objective_c/pubspec.yaml
@@ -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
diff --git a/pkgs/ffigen/example/shared_bindings/pubspec.yaml b/pkgs/ffigen/example/shared_bindings/pubspec.yaml index 005214c..1684c99 100644 --- a/pkgs/ffigen/example/shared_bindings/pubspec.yaml +++ b/pkgs/ffigen/example/shared_bindings/pubspec.yaml
@@ -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 @@ -14,5 +14,5 @@ dev_dependencies: ffigen: - path: "../../" + path: '../../' lints: ^2.0.1
diff --git a/pkgs/ffigen/example/simple/pubspec.yaml b/pkgs/ffigen/example/simple/pubspec.yaml index 67b3499..f1912eb 100644 --- a/pkgs/ffigen/example/simple/pubspec.yaml +++ b/pkgs/ffigen/example/simple/pubspec.yaml
@@ -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
diff --git a/pkgs/ffigen/pubspec.yaml b/pkgs/ffigen/pubspec.yaml index 3e3205b..5504c2a 100644 --- a/pkgs/ffigen/pubspec.yaml +++ b/pkgs/ffigen/pubspec.yaml
@@ -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