Skip to content

Commit f35aceb

Browse files
authored
annotation: fix changelog (#1246)
1 parent ae72ad6 commit f35aceb

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

json_annotation/CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
## 4.8.0-dev
22

3-
- Require Dart SDK `>=2.18.0`.
43
- Added `JsonSerializable.createPerFieldToJson` which allows generating
54
a `_$ModelPerFieldToJson`, enabling partial encoding of a model.
6-
7-
## 4.7.1-dev
8-
95
- Update `JsonKey` documentation to align with new features in
106
`package:json_serializable`.
117
- Require Dart SDK `>=2.18.0`.

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.8.0-dev');
13+
final requiredJsonAnnotationMinVersion = Version.parse('4.8.0');
1414

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

json_serializable/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.8.0-dev <4.9.0'
19+
json_annotation: '>=4.8.0 <4.9.0'
2020
meta: ^1.3.0
2121
path: ^1.8.0
2222
pub_semver: ^2.0.0

0 commit comments

Comments
 (0)