diff --git a/json_serializable/CHANGELOG.md b/json_serializable/CHANGELOG.md index 77bf34c1..36ae2f96 100644 --- a/json_serializable/CHANGELOG.md +++ b/json_serializable/CHANGELOG.md @@ -1,4 +1,4 @@ -## 6.8.0-wip +## 6.8.0 - Add type arguments to `Map` literals used for `Record` serialization. - Add support for `JsonSerializable(createJsonKeys: true)`. diff --git a/json_serializable/lib/src/check_dependencies.dart b/json_serializable/lib/src/check_dependencies.dart index 63512589..7ea84bef 100644 --- a/json_serializable/lib/src/check_dependencies.dart +++ b/json_serializable/lib/src/check_dependencies.dart @@ -10,7 +10,7 @@ import 'package:pubspec_parse/pubspec_parse.dart'; const _productionDirectories = {'lib', 'bin'}; const _annotationPkgName = 'json_annotation'; -final requiredJsonAnnotationMinVersion = Version.parse('4.8.1'); +final requiredJsonAnnotationMinVersion = Version.parse('4.9.0'); Future pubspecHasRightVersion(BuildStep buildStep) async { final segments = buildStep.inputId.pathSegments; diff --git a/json_serializable/pubspec.yaml b/json_serializable/pubspec.yaml index 307e1f76..e6d66865 100644 --- a/json_serializable/pubspec.yaml +++ b/json_serializable/pubspec.yaml @@ -1,5 +1,5 @@ name: json_serializable -version: 6.8.0-wip +version: 6.8.0 description: >- Automatically generate code for converting to and from JSON by annotating Dart classes. @@ -21,7 +21,7 @@ dependencies: # Use a tight version constraint to ensure that a constraint on # `json_annotation` properly constrains all features it provides. - json_annotation: '>=4.8.1 <4.9.0' + json_annotation: '>=4.9.0 <4.10.0' meta: ^1.3.0 path: ^1.8.0 pub_semver: ^2.0.0 @@ -29,10 +29,6 @@ dependencies: source_gen: ^1.3.2 source_helper: ^1.3.0 -dependency_overrides: - json_annotation: - path: ../json_annotation - dev_dependencies: _json_serial_shared_test: path: ../shared_test