Skip to content

Commit 0d836a4

Browse files
authored
changelog and pubspec tweaks (#1141)
Follow-up to #1118
1 parent ab218c7 commit 0d836a4

File tree

6 files changed

+21
-12
lines changed

6 files changed

+21
-12
lines changed

json_annotation/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 4.5.0
2+
3+
- Added `FieldRename.screamingSnake`.
4+
15
## 4.4.0
26

37
- Added `JsonKey.readValue`.

json_annotation/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: json_annotation
2-
version: 4.4.0
2+
version: 4.5.0
33
description: >-
44
Classes and helper functions that support JSON code generation via the
55
`json_serializable` package.

json_serializable/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 6.2.0
2+
3+
- Added support for the new `FieldRename.screamingSnake` field in
4+
`package:json_annotation`.
5+
16
## 6.1.6
27

38
- Allow latest `package:analyzer`.

json_serializable/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,14 @@ targets:
199199
[`Enum`]: https://api.dart.dev/stable/dart-core/Enum-class.html
200200
[`int`]: https://api.dart.dev/stable/dart-core/int-class.html
201201
[`Iterable`]: https://api.dart.dev/stable/dart-core/Iterable-class.html
202-
[`JsonConverter`]: https://pub.dev/documentation/json_annotation/4.4.0/json_annotation/JsonConverter-class.html
203-
[`JsonEnum`]: https://pub.dev/documentation/json_annotation/4.4.0/json_annotation/JsonEnum-class.html
204-
[`JsonKey.fromJson`]: https://pub.dev/documentation/json_annotation/4.4.0/json_annotation/JsonKey/fromJson.html
205-
[`JsonKey.toJson`]: https://pub.dev/documentation/json_annotation/4.4.0/json_annotation/JsonKey/toJson.html
206-
[`JsonKey`]: https://pub.dev/documentation/json_annotation/4.4.0/json_annotation/JsonKey-class.html
207-
[`JsonLiteral`]: https://pub.dev/documentation/json_annotation/4.4.0/json_annotation/JsonLiteral-class.html
208-
[`JsonSerializable`]: https://pub.dev/documentation/json_annotation/4.4.0/json_annotation/JsonSerializable-class.html
209-
[`JsonValue`]: https://pub.dev/documentation/json_annotation/4.4.0/json_annotation/JsonValue-class.html
202+
[`JsonConverter`]: https://pub.dev/documentation/json_annotation/4.5.0/json_annotation/JsonConverter-class.html
203+
[`JsonEnum`]: https://pub.dev/documentation/json_annotation/4.5.0/json_annotation/JsonEnum-class.html
204+
[`JsonKey.fromJson`]: https://pub.dev/documentation/json_annotation/4.5.0/json_annotation/JsonKey/fromJson.html
205+
[`JsonKey.toJson`]: https://pub.dev/documentation/json_annotation/4.5.0/json_annotation/JsonKey/toJson.html
206+
[`JsonKey`]: https://pub.dev/documentation/json_annotation/4.5.0/json_annotation/JsonKey-class.html
207+
[`JsonLiteral`]: https://pub.dev/documentation/json_annotation/4.5.0/json_annotation/JsonLiteral-class.html
208+
[`JsonSerializable`]: https://pub.dev/documentation/json_annotation/4.5.0/json_annotation/JsonSerializable-class.html
209+
[`JsonValue`]: https://pub.dev/documentation/json_annotation/4.5.0/json_annotation/JsonValue-class.html
210210
[`List`]: https://api.dart.dev/stable/dart-core/List-class.html
211211
[`Map`]: https://api.dart.dev/stable/dart-core/Map-class.html
212212
[`num`]: https://api.dart.dev/stable/dart-core/num-class.html

json_serializable/lib/src/check_dependencies.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import 'package:pubspec_parse/pubspec_parse.dart';
1010

1111
const _productionDirectories = {'lib', 'bin'};
1212
const _annotationPkgName = 'json_annotation';
13-
final requiredJsonAnnotationMinVersion = Version.parse('4.4.0');
13+
final requiredJsonAnnotationMinVersion = Version.parse('4.5.0');
1414

1515
Future<void> pubspecHasRightVersion(BuildStep buildStep) async {
1616
final segments = buildStep.inputId.pathSegments;

json_serializable/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: json_serializable
2-
version: 6.1.6
2+
version: 6.2.0
33
description: >-
44
Automatically generate code for converting to and from JSON by annotating
55
Dart classes.
@@ -16,7 +16,7 @@ dependencies:
1616

1717
# Use a tight version constraint to ensure that a constraint on
1818
# `json_annotation` properly constrains all features it provides.
19-
json_annotation: '>=4.4.0 <4.5.0'
19+
json_annotation: '>=4.5.0 <4.6.0'
2020
meta: ^1.3.0
2121
path: ^1.8.0
2222
pub_semver: ^2.0.0

0 commit comments

Comments
 (0)