Skip to content

Commit 9303ccc

Browse files
authored
json_serializable: prepare to release v5.0.0 (google#938)
Bump checked_yaml and example to use published pkg:json_annotation
1 parent 6cb51db commit 9303ccc

File tree

6 files changed

+6
-14
lines changed

6 files changed

+6
-14
lines changed

checked_yaml/pubspec.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
sdk: '>=2.12.0 <3.0.0'
1010

1111
dependencies:
12-
json_annotation: ^4.0.0
12+
json_annotation: ^4.1.0
1313
source_span: ^1.8.0
1414
yaml: ^3.0.0
1515

@@ -22,7 +22,5 @@ dev_dependencies:
2222
test_process: ^2.0.0
2323

2424
dependency_overrides:
25-
json_annotation:
26-
path: ../json_annotation
2725
json_serializable:
2826
path: ../json_serializable

example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencies to your `pubspec.yaml`.
55

66
```yaml
77
dependencies:
8-
json_annotation: ^4.0.0
8+
json_annotation: ^4.1.0
99

1010
dev_dependencies:
1111
build_runner: ^2.0.0

example/pubspec.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ environment:
55
sdk: '>=2.12.0 <3.0.0'
66

77
dependencies:
8-
json_annotation: ^4.0.0
8+
json_annotation: ^4.1.0
99

1010
dev_dependencies:
1111
build_runner: ^2.0.0
@@ -21,7 +21,5 @@ dev_dependencies:
2121
test: ^1.16.0
2222

2323
dependency_overrides:
24-
json_annotation:
25-
path: ../json_annotation
2624
json_serializable:
2725
path: ../json_serializable

example/test/readme_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void _expect(String fileName) {
2525

2626
const _pubspecContent = r'''
2727
dependencies:
28-
json_annotation: ^4.0.0
28+
json_annotation: ^4.1.0
2929
3030
dev_dependencies:
3131
build_runner: ^2.0.0

json_serializable/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 5.0.0-dev
1+
## 5.0.0
22

33
- Use the default value for optional constructor parameters if
44
`JsonKey.defaultValue` is not provided. This could be a breaking behavior

json_serializable/pubspec.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: json_serializable
2-
version: 5.0.0-dev
2+
version: 5.0.0
33
description: >-
44
Automatically generate code for converting to and from JSON by annotating
55
Dart classes.
@@ -31,7 +31,3 @@ dev_dependencies:
3131
stack_trace: ^1.10.0
3232
test: ^1.16.0
3333
yaml: ^3.0.0
34-
35-
dependency_overrides:
36-
json_annotation:
37-
path: ../json_annotation

0 commit comments

Comments
 (0)