From 4aa267667d5bea6ae9231a4502f2f664ee39e77c Mon Sep 17 00:00:00 2001 From: Alexander Kirsch Date: Thu, 24 Jun 2021 17:59:02 +0200 Subject: [PATCH] release 2.0.2 --- copy_with_extension/CHANGELOG.md | 3 +++ copy_with_extension/pubspec.yaml | 2 +- copy_with_extension_gen/CHANGELOG.md | 3 +++ copy_with_extension_gen/README.md | 12 ++++++------ copy_with_extension_gen/pubspec.yaml | 2 +- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/copy_with_extension/CHANGELOG.md b/copy_with_extension/CHANGELOG.md index d49629d..5ca159d 100644 --- a/copy_with_extension/CHANGELOG.md +++ b/copy_with_extension/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2.0.2 Bugfix +* Fix generation of generics with nullable types (thanks [@josiahsrc](https://github.com/josiahsrc)). + ## 2.0.0 Null Safety * Updating dependencies. diff --git a/copy_with_extension/pubspec.yaml b/copy_with_extension/pubspec.yaml index 5bbe08d..39522d2 100644 --- a/copy_with_extension/pubspec.yaml +++ b/copy_with_extension/pubspec.yaml @@ -1,5 +1,5 @@ name: copy_with_extension -version: 2.0.0 +version: 2.0.2 description: Annotation for generating `copyWith` extensions code using `copy_with_extension_gen`. homepage: https://github.com/numen31337/copy_with_extension/tree/master/copy_with_extension repository: https://github.com/numen31337/copy_with_extension diff --git a/copy_with_extension_gen/CHANGELOG.md b/copy_with_extension_gen/CHANGELOG.md index 3449a85..e7cd7a4 100644 --- a/copy_with_extension_gen/CHANGELOG.md +++ b/copy_with_extension_gen/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2.0.2 Bugfix +* Fix generation of generics with nullable types (thanks [@josiahsrc](https://github.com/josiahsrc)). + ## 2.0.1 Null Safety * Updating build and source_gen dependencies. diff --git a/copy_with_extension_gen/README.md b/copy_with_extension_gen/README.md index 6342e5c..82a76af 100644 --- a/copy_with_extension_gen/README.md +++ b/copy_with_extension_gen/README.md @@ -5,9 +5,9 @@ Provides [Dart Build System](https://pub.dev/packages/build) builder for generat ## Usage #### In your `pubspec.yaml` file: -- Add to `dependencies` section `copy_with_extension: ^2.0.0` -- Add to `dev_dependencies` section `copy_with_extension_gen: ^2.0.1` -- Add to `dev_dependencies` section `build_runner: ^1.11.5` +- Add to `dependencies` section `copy_with_extension: ^2.0.2` +- Add to `dev_dependencies` section `copy_with_extension_gen: ^2.0.2` +- Add to `dev_dependencies` section `build_runner: ^2.0.0` - Set `environment` to at least Dart 2.12.0 version like so: `">=2.12.0 <3.0.0"` Your `pubspec.yaml` should look like so: @@ -22,12 +22,12 @@ environment: dependencies: ... - copy_with_extension: ^2.0.0 + copy_with_extension: ^2.0.2 dev_dependencies: ... - build_runner: ^1.11.5 - copy_with_extension_gen: ^2.0.1 + build_runner: ^2.0.0 + copy_with_extension_gen: ^2.0.2 ``` #### Annotate your class with `CopyWith` annotation: diff --git a/copy_with_extension_gen/pubspec.yaml b/copy_with_extension_gen/pubspec.yaml index 60f1d3f..b1ad965 100644 --- a/copy_with_extension_gen/pubspec.yaml +++ b/copy_with_extension_gen/pubspec.yaml @@ -1,5 +1,5 @@ name: copy_with_extension_gen -version: 2.0.1 +version: 2.0.2 description: Automatically generating `copyWith` extensions code for classes with `@CopyWith()` annotation. repository: https://github.com/numen31337/copy_with_extension homepage: https://github.com/numen31337/copy_with_extension/tree/master/copy_with_extension_gen