From a1f0512f5abd9c7a38abf939898443ebf7af855b Mon Sep 17 00:00:00 2001 From: "thomashii@dukefirehawk.com" Date: Sat, 27 May 2023 07:59:53 +0800 Subject: [PATCH] Updated serialize to Dart 3 --- CHANGELOG.md | 4 +++ .../serialize/angel_serialize/CHANGELOG.md | 4 +++ .../serialize/angel_serialize/pubspec.yaml | 18 ++++++------- .../angel_serialize_generator/CHANGELOG.md | 4 +++ .../angel_serialize_generator/pubspec.yaml | 26 +++++++++---------- .../test/models/book.g.dart | 2 +- 6 files changed, 35 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4e83a0b..d094d970 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,10 @@ * Updated: angel3_production * Updated: angel3_hot * Updated: angel3_static +* Updated: angel3_serialize +* Updated: angel3_serialize_generator +* Updated: angel3_orm +* Updated: angel3_orm_generator ## 7.0.0 diff --git a/packages/serialize/angel_serialize/CHANGELOG.md b/packages/serialize/angel_serialize/CHANGELOG.md index 5906db0a..26b8a2c6 100644 --- a/packages/serialize/angel_serialize/CHANGELOG.md +++ b/packages/serialize/angel_serialize/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.0.0 * Require Dart >= 2.17 diff --git a/packages/serialize/angel_serialize/pubspec.yaml b/packages/serialize/angel_serialize/pubspec.yaml index 91d3fde7..77a07465 100644 --- a/packages/serialize/angel_serialize/pubspec.yaml +++ b/packages/serialize/angel_serialize/pubspec.yaml @@ -1,18 +1,18 @@ name: angel3_serialize -version: 7.0.0 +version: 8.0.0 description: Static annotations powering Angel3 model serialization. Combine with angel3_serialize_generator for flexible modeling. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/serialize/angel_serialize environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_model: ^7.0.0 - collection: ^1.15.0 - meta: ^1.3.0 - quiver: ^3.0.1 + angel3_model: ^8.0.0 + collection: ^1.17.0 + meta: ^1.9.0 + quiver: ^3.2.0 dev_dependencies: - lints: ^2.0.0 -# dependency_overrides: -# angel3_model: -# path: ../../model + lints: ^2.1.0 +dependency_overrides: + angel3_model: + path: ../../model diff --git a/packages/serialize/angel_serialize_generator/CHANGELOG.md b/packages/serialize/angel_serialize_generator/CHANGELOG.md index 726c243a..ebea7d8d 100644 --- a/packages/serialize/angel_serialize_generator/CHANGELOG.md +++ b/packages/serialize/angel_serialize_generator/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.2.0-beta.1 * Require Dart >= 2.19 diff --git a/packages/serialize/angel_serialize_generator/pubspec.yaml b/packages/serialize/angel_serialize_generator/pubspec.yaml index c3832bd7..9cbb9803 100644 --- a/packages/serialize/angel_serialize_generator/pubspec.yaml +++ b/packages/serialize/angel_serialize_generator/pubspec.yaml @@ -7,25 +7,25 @@ environment: sdk: '>=3.0.0 <4.0.0' dependencies: analyzer: ^5.0.0 - angel3_model: ^7.0.0 - angel3_serialize: ^7.0.0 - belatuk_code_buffer: ^4.0.0 + angel3_model: ^8.0.0 + angel3_serialize: ^8.0.0 + belatuk_code_buffer: ^5.0.0 build: ^2.0.1 build_config: ^1.0.0 code_builder: ^4.0.0 - meta: ^1.3.0 + meta: ^1.9.0 path: ^1.8.0 recase: ^4.0.0 source_gen: ^1.0.0 quiver: ^3.0.1 - logging: ^1.0.0 + logging: ^1.2.0 dev_dependencies: build_runner: ^2.0.1 - collection: ^1.15.0 - lints: ^2.0.0 - test: ^1.21.0 -# dependency_overrides: -# angel3_model: -# path: ../../model -# angel3_serialize: -# path: ../angel_serialize + collection: ^1.17.0 + lints: ^2.1.0 + test: ^1.24.0 +dependency_overrides: + angel3_model: + path: ../../model + angel3_serialize: + path: ../angel_serialize diff --git a/packages/serialize/angel_serialize_generator/test/models/book.g.dart b/packages/serialize/angel_serialize_generator/test/models/book.g.dart index 0fec33c8..3ab37a3d 100644 --- a/packages/serialize/angel_serialize_generator/test/models/book.g.dart +++ b/packages/serialize/angel_serialize_generator/test/models/book.g.dart @@ -1,6 +1,6 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -part of angel_serialize.test.models.book; +part of 'book.dart'; // ************************************************************************** // JsonModelGenerator