From 7d82e8edcd822bd90a67517e251218be2a6f9316 Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Fri, 6 Sep 2024 18:58:35 +1200 Subject: [PATCH] Prepare to publish ffigen 14.0.0 and objective_c 2.0.0 (#1519) --- pkgs/ffigen/CHANGELOG.md | 2 +- pkgs/ffigen/pubspec.yaml | 5 +++-- pkgs/objective_c/CHANGELOG.md | 2 +- .../macos/Flutter/GeneratedPluginRegistrant.swift | 10 ---------- pkgs/objective_c/pubspec.yaml | 4 ++-- 5 files changed, 7 insertions(+), 16 deletions(-) delete mode 100644 pkgs/objective_c/example/macos/Flutter/GeneratedPluginRegistrant.swift diff --git a/pkgs/ffigen/CHANGELOG.md b/pkgs/ffigen/CHANGELOG.md index 476dc7cba..a18db5dc7 100644 --- a/pkgs/ffigen/CHANGELOG.md +++ b/pkgs/ffigen/CHANGELOG.md @@ -1,4 +1,4 @@ -## 14.0.0-wip +## 14.0.0 - Create a public facing API for ffigen that can be invoked as a library: `void generate(Config config)`. Make `Config` an implementatble interface, diff --git a/pkgs/ffigen/pubspec.yaml b/pkgs/ffigen/pubspec.yaml index 5e92e789a..310e99cbf 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: 14.0.0-wip +version: 14.0.0 description: > Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files. @@ -32,11 +32,12 @@ dependencies: yaml_edit: ^2.0.3 dev_dependencies: + async: ^2.11.0 coverage: ^1.8.0 dart_flutter_team_lints: ^2.0.0 json_schema: ^5.1.1 meta: ^1.11.0 - objective_c: ^1.0.0 + objective_c: ^2.0.0 test: ^1.16.2 dependency_overrides: diff --git a/pkgs/objective_c/CHANGELOG.md b/pkgs/objective_c/CHANGELOG.md index 6444068b2..0e73ed549 100644 --- a/pkgs/objective_c/CHANGELOG.md +++ b/pkgs/objective_c/CHANGELOG.md @@ -1,4 +1,4 @@ -## 2.0.0-wip +## 2.0.0 - Drop API methods that are deprecated in the oldest versions of iOS and macOS that flutter supports. diff --git a/pkgs/objective_c/example/macos/Flutter/GeneratedPluginRegistrant.swift b/pkgs/objective_c/example/macos/Flutter/GeneratedPluginRegistrant.swift deleted file mode 100644 index cccf817a5..000000000 --- a/pkgs/objective_c/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ /dev/null @@ -1,10 +0,0 @@ -// -// Generated file. Do not edit. -// - -import FlutterMacOS -import Foundation - - -func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { -} diff --git a/pkgs/objective_c/pubspec.yaml b/pkgs/objective_c/pubspec.yaml index 5c1b67dca..8f1310dbf 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: 2.0.0-wip +version: 2.0.0 repository: https://github.com/dart-lang/native/tree/main/pkgs/objective_c topics: @@ -27,7 +27,7 @@ dependencies: dev_dependencies: coverage: ^1.8.0 dart_flutter_team_lints: ^2.0.0 - ffigen: ^12.0.0 + ffigen: ^14.0.0 flutter_lints: ^3.0.0 flutter_test: sdk: flutter