From b3861c998670964ff347c332d1c763387e48fbbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petrus=20Nguy=E1=BB=85n=20Th=C3=A1i=20H=E1=BB=8Dc?= Date: Wed, 1 Jun 2022 14:46:26 +0700 Subject: [PATCH] prepare for 2.0.0 (#22) --- CHANGELOG.md | 42 ++++++++++++++++++++++++++++-------------- pubspec.yaml | 6 +++--- 2 files changed, 31 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c82545..a207b4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +## 2.0.0 - Jun 1, 2022 + +- Update dependencies + - `rxdart` to `0.27.4`. + - `rxdart_ext` to `0.2.1`. + +- Rename + - `Logger` to `RxStorageLogger`. + - `LoggerEvent` to `RxStorageLoggerEvent`. + - `EmptyLogger` to `RxStorageEmptyLogger`. + - `DefaultLogger` to `RxStorageDefaultLogger`. +- Update `RxStorageEmptyLogger`: add `@nonvirtual` to `log` method. +- `Encoder` and `Decoder` can return a `Future` + ## 1.2.0 - Sep 11, 2021 - Update dependencies @@ -9,29 +23,29 @@ ## 1.1.0 - May 9, 2021 -- Update `rxdart` to `0.27.0`. +- Update `rxdart` to `0.27.0`. ## 1.0.0 - Apr 30, 2021 -- Stable release for null safety. -- Add `RxStorage.executeUpdate`: Read–modify–write style. -- Synchronize writing task by key. -- Internal refactoring, optimize performance. +- Stable release for null safety. +- Add `RxStorage.executeUpdate`: Read–modify–write style. +- Synchronize writing task by key. +- Internal refactoring, optimize performance. ## 1.0.0-nullsafety.0 - Feb 24, 2021 -- **Breaking**: - - Opt into nullsafety. - - Set Dart SDK constraints to `>=2.12.0-0 <3.0.0`. - - Big refactoring for `Logger`, `RealRxStorage` implementation. +- **Breaking**: + - Opt into nullsafety. + - Set Dart SDK constraints to `>=2.12.0-0 <3.0.0`. + - Big refactoring for `Logger`, `RealRxStorage` implementation. ## 0.0.2 - Jan 4, 2021 -- Refactors `Storage` and `RxStorage`: - - Supports any type via `Encoder` and `Decoder`. - - Generic `Key` and generic `Options`. -- Exports `RealRxStorage` class. +- Refactors `Storage` and `RxStorage`: + - Supports any type via `Encoder` and `Decoder`. + - Generic `Key` and generic `Options`. +- Exports `RealRxStorage` class. ## 0.0.1 - Dec 14, 2020 -- Initial version. +- Initial version. diff --git a/pubspec.yaml b/pubspec.yaml index 9f0108c..161dabe 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: rx_storage description: Reactive storage for Dart/Flutter. RxDart Storage for Dart/Flutter. -version: 1.2.0 +version: 2.0.0 homepage: https://github.com/Flutter-Dart-Open-Source/rx_storage.git repository: https://github.com/Flutter-Dart-Open-Source/rx_storage.git issue_tracker: https://github.com/Flutter-Dart-Open-Source/rx_storage/issues @@ -9,7 +9,7 @@ environment: sdk: '>=2.12.0 <3.0.0' dependencies: - rxdart_ext: ^0.2.0 + rxdart_ext: ^0.2.1 disposebag: ^1.5.0 meta: ^1.7.0 stack_trace: ^1.10.0 @@ -17,4 +17,4 @@ dependencies: dev_dependencies: lints: ^1.0.1 test: ^1.17.12 - collection: ^1.15.0 + collection: ^1.16.0