Skip to content

Commit 3567cf9

Browse files
authored
Prepare to release v4.0.0-nullsafety.0 (#770)
Closes #763
1 parent 34b9838 commit 3567cf9

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

json_serializable/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
## 4.0.0-nullsafety.1
1+
## 4.0.0-nullsafety.0
22

33
- Generates null-safe code.
44
- The `nullable` field on `JsonKey` ignored. The nullability of a field is now
55
determined by the Dart type system.
66
- **BREAKING** `bool defaultProvided` arg added to `TypeHelper.deserialize`.
7-
*Only applies to folks using `TypeHelper` directly.*
7+
*Only applies to code using `TypeHelper` directly.*
88

99
## 3.5.1
1010

json_serializable/pubspec.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: json_serializable
2-
version: 4.0.0-nullsafety.1
2+
version: 4.0.0-nullsafety.0
33
description: >-
44
Automatically generate code for converting to and from JSON by annotating
55
Dart classes.
@@ -16,7 +16,7 @@ dependencies:
1616
# `json_annotation` properly constrains all features it provides.
1717
# For v3 only – allow a wide range since the only change was to REMOVE things
1818
# from json_annotation
19-
json_annotation: '>=3.1.0 <3.2.0'
19+
json_annotation: '>=4.0.0-nullsafety.0 <4.1.0'
2020
meta: ^1.3.0-nullsafety.5
2121
path: ^1.8.0-nullsafety.2
2222
source_gen: ^0.9.6
@@ -32,10 +32,3 @@ dev_dependencies:
3232
stack_trace: ^1.10.0-nullsafety.5
3333
test: ^1.16.0-nullsafety.7
3434
yaml: ^3.0.0-nullsafety.0
35-
36-
dependency_overrides:
37-
json_annotation:
38-
path: ../json_annotation
39-
40-
# For yaml!
41-
yaml: 3.0.0-nullsafety.0

0 commit comments

Comments
 (0)