Skip to content

Commit

Permalink
json_serializable: publish v6.8.0 (#1418)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Apr 24, 2024
1 parent eea959d commit 9694cc5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion json_serializable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)`.
Expand Down
2 changes: 1 addition & 1 deletion json_serializable/lib/src/check_dependencies.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> pubspecHasRightVersion(BuildStep buildStep) async {
final segments = buildStep.inputId.pathSegments;
Expand Down
8 changes: 2 additions & 6 deletions json_serializable/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -21,18 +21,14 @@ 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
pubspec_parse: ^1.0.0
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
Expand Down

0 comments on commit 9694cc5

Please sign in to comment.