From fce84b3c2aee7393708ced055d1cd417fa6d96eb Mon Sep 17 00:00:00 2001 From: Pantelis Tsakoulis Date: Tue, 18 Apr 2023 00:49:06 +0300 Subject: [PATCH] #295 Bump version 0.3.0 --- examples/file_generation_mode/pubspec.lock | 2 +- examples/in_place_mode/pubspec.lock | 2 +- package/CHANGELOG.md | 17 +++++++++++++++-- package/pubspec.yaml | 2 +- package/tools/analyzer_plugin/pubspec.lock | 3 +-- package/tools/analyzer_plugin/pubspec.yaml | 2 +- 6 files changed, 20 insertions(+), 8 deletions(-) diff --git a/examples/file_generation_mode/pubspec.lock b/examples/file_generation_mode/pubspec.lock index 732265d..9975b7c 100644 --- a/examples/file_generation_mode/pubspec.lock +++ b/examples/file_generation_mode/pubspec.lock @@ -95,7 +95,7 @@ packages: path: "../../package" relative: true source: path - version: "0.2.2" + version: "0.3.0" file: dependency: transitive description: diff --git a/examples/in_place_mode/pubspec.lock b/examples/in_place_mode/pubspec.lock index 201a156..22e0eeb 100644 --- a/examples/in_place_mode/pubspec.lock +++ b/examples/in_place_mode/pubspec.lock @@ -95,7 +95,7 @@ packages: path: "../../package" relative: true source: path - version: "0.2.2" + version: "0.3.0" file: dependency: transitive description: diff --git a/package/CHANGELOG.md b/package/CHANGELOG.md index 9286420..a05ec7d 100644 --- a/package/CHANGELOG.md +++ b/package/CHANGELOG.md @@ -1,10 +1,23 @@ +## 0.3.0 + +- Breaking change - Add support for deep copyWith [(issue #277)](https://github.com/spideythewebhead/data_class_plugin/issues/277) + - Read about `resync` CLI command as a way to automatically fix any breaking changes. +- Added `resync` CLI command for a quick way to resync a whole project [(issue #287)](https://github.com/spideythewebhead/data_class_plugin/issues/287) +- Fix crash on File generation mode on windows in certain cases [(issue #279)](https://github.com/spideythewebhead/data_class_plugin/issues/279) +- Fix multiple part directives being added on files when the file contains a union class [(issue #292)](https://github.com/spideythewebhead/data_class_plugin/issues/292) +- Add better error messaging [(issue #278)](https://github.com/spideythewebhead/data_class_plugin/issues/278) + +### Generic improvements + +- Unified "Generate data class" and "Generate union class" actions +- Now supports generics with constraints + ## 0.2.2 -- Fix deepEquality crashing if Map key type was not a string [(issue #265)](https://github.com/spideythewebhead/data_class_plugin/issues/265) +- Fix deepEquality crashing if Map key type was not a string [(issue #265)](https://github.com/spideythewebhead/data_class_plugin/issues/265) - Fix `this` keyword string interpolation breaking compilation for dart 2.18.x [(issue #267)](https://github.com/spideythewebhead/data_class_plugin/issues/267) - Add support for multiple UnionJsonKeyValue annotations for a factory [(issue #270)](https://github.com/spideythewebhead/data_class_plugin/issues/269) - ## 0.2.1 - Add null value support on copyWith for nullable fields [(issue #258)](https://github.com/spideythewebhead/data_class_plugin/issues/258) diff --git a/package/pubspec.yaml b/package/pubspec.yaml index 809ac7f..00b26d0 100644 --- a/package/pubspec.yaml +++ b/package/pubspec.yaml @@ -1,5 +1,5 @@ name: data_class_plugin -version: 0.2.2 +version: 0.3.0 description: A tool that uses Dart's Analyzer to generate code on-the-fly. homepage: https://github.com/spideythewebhead/dart_data_class_plugin diff --git a/package/tools/analyzer_plugin/pubspec.lock b/package/tools/analyzer_plugin/pubspec.lock index 64c68e5..d550d1f 100644 --- a/package/tools/analyzer_plugin/pubspec.lock +++ b/package/tools/analyzer_plugin/pubspec.lock @@ -77,10 +77,9 @@ packages: dependency: "direct main" description: name: data_class_plugin - sha256: "516eb1d4b96a05a5429ed857b978d7a1d68ef5d646f439f5240d528c818ce3c9" url: "https://pub.dev" source: hosted - version: "0.2.2" + version: "0.3.0" file: dependency: transitive description: diff --git a/package/tools/analyzer_plugin/pubspec.yaml b/package/tools/analyzer_plugin/pubspec.yaml index 0ff32d7..2eb351c 100644 --- a/package/tools/analyzer_plugin/pubspec.yaml +++ b/package/tools/analyzer_plugin/pubspec.yaml @@ -9,4 +9,4 @@ environment: sdk: ">=2.17.0 <3.0.0" dependencies: - data_class_plugin: 0.2.2 + data_class_plugin: 0.3.0