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 af39eccea..351edeac9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## 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. +- 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 **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