Skip to content

Commit

Permalink
release 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
numen31337 committed Jun 24, 2021
1 parent 8697e3e commit 4aa2676
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
3 changes: 3 additions & 0 deletions copy_with_extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion copy_with_extension/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions copy_with_extension_gen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
12 changes: 6 additions & 6 deletions copy_with_extension_gen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion copy_with_extension_gen/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4aa2676

Please sign in to comment.