Skip to content

Commit 145d8cc

Browse files
authored
Prepare to release v4 of json_serializable (#799)
1 parent 44e6d55 commit 145d8cc

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

json_serializable/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## 4.0.0-dev
1+
## 4.0.0
22

3+
- Requires Dart 2.12 or greater.
34
- Generates null-safe code.
45
- The `nullable` field on `JsonKey` ignored. The nullability of a field is now
56
determined by the Dart type system.

json_serializable/pubspec.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: json_serializable
2-
version: 4.0.0-dev
2+
version: 4.0.0
33
description: >-
44
Automatically generate code for converting to and from JSON by annotating
55
Dart classes.
66
repository: https://github.com/google/json_serializable.dart
77
environment:
88
# Keeping this <2.12.0 because the code is not null safe – yet!
9-
sdk: '>=2.11.0 <3.0.0'
9+
sdk: '>=2.11.99 <3.0.0'
1010

1111
dependencies:
1212
analyzer: ^0.41.2
@@ -33,7 +33,3 @@ dev_dependencies:
3333
stack_trace: ^1.10.0
3434
test: ^1.16.0
3535
yaml: ^3.0.0
36-
37-
dependency_overrides:
38-
json_annotation:
39-
path: ../json_annotation

0 commit comments

Comments
 (0)