From 1260e376e48d98fc23deb6667b6be6abddc8b059 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Tue, 14 Jul 2026 00:43:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=96=205.15.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 (1M context) --- CHANGELOG.md | 15 +++++++++++++++ packages/command/pubspec.yaml | 4 ++-- packages/core/lib/version.gen.dart | 2 +- packages/core/pubspec.yaml | 2 +- packages/runner/pubspec.yaml | 4 ++-- 5 files changed, 21 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af39eccea..044f4b39c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## 5.15.0 + +**Feature** + +- [#755](https://github.com/FlutterGen/flutter_gen/pull/755) Use `abstract final` class modifier for generated classes. by [@RahmiTufanoglu](https://github.com/RahmiTufanoglu) + +**Fix** + +- [#764](https://github.com/FlutterGen/flutter_gen/pull/764) Add `xml 7.x` support by widening `flutter_gen_core`'s `xml` constraint to `>=6.0.0 <8.0.0`. by [@Akhrameev](https://github.com/Akhrameev) + +**Development** + +- [#757](https://github.com/FlutterGen/flutter_gen/pull/757) Scope `GITHUB_TOKEN` to least privilege in the release workflow. +- Bump CI toolchain: Flutter `3.44.4`, Node.js `24.18.0`, pnpm `11.9.0`, `lint-staged` `v17`. + ## 5.14.1 **Development** diff --git a/packages/command/pubspec.yaml b/packages/command/pubspec.yaml index cdcec8f61..4c1a8322f 100644 --- a/packages/command/pubspec.yaml +++ b/packages/command/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_gen description: The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs. -version: 5.14.1 +version: 5.15.0 homepage: https://github.com/FlutterGen/flutter_gen repository: https://github.com/FlutterGen/flutter_gen/tree/main/packages/command documentation: https://github.com/FlutterGen/flutter_gen @@ -13,7 +13,7 @@ executables: fluttergen: flutter_gen_command dependencies: - flutter_gen_core: 5.14.1 + flutter_gen_core: 5.15.0 args: ^2.0.0 glob: ^2.1.3 diff --git a/packages/core/lib/version.gen.dart b/packages/core/lib/version.gen.dart index a373bde1e..1dae00c38 100644 --- a/packages/core/lib/version.gen.dart +++ b/packages/core/lib/version.gen.dart @@ -1,2 +1,2 @@ /// DO NOT MODIFY BY HAND, Generated by version_gen -String packageVersion = '5.14.1'; +String packageVersion = '5.15.0'; diff --git a/packages/core/pubspec.yaml b/packages/core/pubspec.yaml index 34cbc8c6c..f9b972771 100644 --- a/packages/core/pubspec.yaml +++ b/packages/core/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_gen_core description: The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs. -version: 5.14.1 +version: 5.15.0 homepage: https://github.com/FlutterGen/flutter_gen repository: https://github.com/FlutterGen/flutter_gen/tree/main/packages/core documentation: https://github.com/FlutterGen/flutter_gen diff --git a/packages/runner/pubspec.yaml b/packages/runner/pubspec.yaml index 26c5af305..208fae236 100644 --- a/packages/runner/pubspec.yaml +++ b/packages/runner/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_gen_runner description: The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs. -version: 5.14.1 +version: 5.15.0 homepage: https://github.com/FlutterGen/flutter_gen repository: https://github.com/FlutterGen/flutter_gen/tree/main/packages/runner documentation: https://github.com/FlutterGen/flutter_gen @@ -10,7 +10,7 @@ environment: sdk: ^3.4.0 dependencies: - flutter_gen_core: 5.14.1 + flutter_gen_core: 5.15.0 build: ^4.0.0 build_config: ^1.1.2 collection: ^1.17.0 From 6a0d90f35cc3cba6772cf24c7efe7b21f2cd41cf Mon Sep 17 00:00:00 2001 From: Alex Li Date: Tue, 14 Jul 2026 00:48:33 +0800 Subject: [PATCH 2/2] ci: fix tag glob for Release and Publish workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `publish.yml` was using regex syntax (`v\d+\.\d+\.\d+(\+\d+)?`) but GitHub Actions tag filters use glob patterns, so no real tag ever matched — v5.14.0/v5.14.1/v5.13.0+1 all had to be published via manual workflow_dispatch. `release.yml`'s `v*.*.*` did trigger, but was overly loose. Unify both on `v[0-9]+.[0-9]+.[0-9]+*`: enforces the `vMAJOR.MINOR.PATCH` shape while `*` allows the optional `+build` / `-pre` suffixes pub accepts (e.g. v5.13.0+1, v5.10.0-dev.1). Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/publish.yml | 2 +- .github/workflows/release.yml | 2 +- CHANGELOG.md | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a1a9275d1..cc24e078e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,7 +3,7 @@ name: Publish to pub.dev on: push: tags: - - 'v\d+\.\d+\.\d+(\+\d+)?' + - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e6e7a7296..51af757e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: push: tags: - - 'v*.*.*' + - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: permissions: {} diff --git a/CHANGELOG.md b/CHANGELOG.md index 044f4b39c..351edeac9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ **Development** - [#757](https://github.com/FlutterGen/flutter_gen/pull/757) Scope `GITHUB_TOKEN` to least privilege in the release workflow. +- Fix tag glob in the `Release` / `Publish` workflows so pushing a `vMAJOR.MINOR.PATCH[+build|-pre]` tag actually triggers them (previous `publish.yml` used regex syntax that GitHub Actions filter globs never matched). - Bump CI toolchain: Flutter `3.44.4`, Node.js `24.18.0`, pnpm `11.9.0`, `lint-staged` `v17`. ## 5.14.1