@@ -4,13 +4,17 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
- ## [ Unreleased ]
7
+ ## [ 5.0.0 ] - 2021-04-21
8
8
### Added
9
9
- Sound null-safety support.
10
10
11
11
### Changed
12
12
- Everything. Again. This is another major ** BC-breaking** rework. Please refer to
13
- the API documentation, examples and tests.
13
+ the API documentation, examples and tests.
14
+
15
+ ## [ 3.2.3] - 2020-08-06
16
+ ### Fixed
17
+ - Call toJson() on resourceObject when serializing ([ \# 84] ( https://github.com/f3ath/json-api-dart/pull/84 ) )
14
18
15
19
## [ 4.3.0] - 2020-07-30
16
20
### Added
@@ -34,7 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
34
38
35
39
### Changed
36
40
- The client will not attempt to decode the body of the HTTP response with error status if the correct Content-Type
37
- is missing. Before in such cases a ` FormatException ` would be thrown ([ pr] ( https://github.com/f3ath/json-api-dart/pull/98 ) )
41
+ is missing. Before in such cases a ` FormatException ` would be thrown ([ pr] ( https://github.com/f3ath/json-api-dart/pull/98 ) )
38
42
39
43
## [ 4.1.0] - 2020-05-28
40
44
### Changed
@@ -44,18 +48,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
44
48
### Changed
45
49
- Everything. This is a major ** BC-breaking** rework which affected pretty much all areas. Please refer to the documentation.
46
50
47
- ## [ 3.2.3] - 2020-08-06
48
- ### Fixed
49
- - Call toJson() on resourceObject when serializing ([ #84 ] ( https://github.com/f3ath/json-api-dart/pull/84 ) )
50
-
51
-
52
51
## [ 3.2.2] - 2020-01-07
53
52
### Fixed
54
- - Can not decode related resource which is null ([ #77 ] ( https://github.com/f3ath/json-api-dart/issues/77 ) )
53
+ - Can not decode related resource which is null ([ \ # 77] ( https://github.com/f3ath/json-api-dart/issues/77 ) )
55
54
56
55
## [ 3.2.1] - 2020-01-01
57
56
### Fixed
58
- - Incorrect URL in the example in the Client documentation ([ #74 ] ( https://github.com/f3ath/json-api-dart/issues/74 ) )
57
+ - Incorrect URL in the example in the Client documentation ([ \ # 74] ( https://github.com/f3ath/json-api-dart/issues/74 ) )
59
58
60
59
## [ 3.2.0] - 2019-12-30
61
60
### Added
@@ -81,13 +80,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
81
80
82
81
## [ 3.0.0] - 2019-12-17
83
82
### Added
84
- - Support for custom non-standard links ([ #61 ] ( https://github.com/f3ath/json-api-dart/issues/61 ) )
83
+ - Support for custom non-standard links ([ \ # 61] ( https://github.com/f3ath/json-api-dart/issues/61 ) )
85
84
- Client supports ` jsonapi ` key in outgoing requests.
86
85
- ` Document.contentType ` constant.
87
86
- ` IdentifierObject.fromIdentifier ` factory method
88
87
89
88
### Changed
90
- Most of the changes are ** BC-BREAKING** .
91
89
- ` URLBuilder ` was renamed to ` UrlFactory ` .
92
90
- ` DocumentBuilder ` was split into ` ServerDocumentFactory ` and ` ClientDocumentFactory ` . Some methods were renamed.
93
91
- Static ` decodeJson ` methods were renamed to ` fromJson ` .
@@ -97,7 +95,7 @@ Most of the changes are **BC-BREAKING**.
97
95
- The signature of ` Controller ` .
98
96
- ` Server ` was renamed to ` JsonApiServer ` .
99
97
- ` Pagination ` was renamed to ` PaginationStrategy ` .
100
-
98
+
101
99
### Removed
102
100
- (Server) ` ResourceTarget ` , ` CollectionTarget ` , ` RelationshipTarget ` classes.
103
101
- ` QueryParameters ` interface.
@@ -106,81 +104,79 @@ Most of the changes are **BC-BREAKING**.
106
104
107
105
## [ 2.1.0] - 2019-12-04
108
106
### Added
109
- - ` onHttpCall ` hook to enable raw http request/response logging ([ #60 ] ( https://github.com/f3ath/json-api-dart/issues/60 ) ).
107
+ - ` onHttpCall ` hook to enable raw http request/response logging ([ \ # 60] ( https://github.com/f3ath/json-api-dart/issues/60 ) ).
110
108
111
109
## [ 2.0.3] - 2019-09-29
112
110
### Fixed
113
111
- Documentation links got broken due to pub.dev update.
114
112
115
113
## [ 2.0.2] - 2019-08-01
116
114
### Fixed
117
- - Meta members have incorrect type ([ #54 ] ( https://github.com/f3ath/json-api-dart/issues/54 ) ).
115
+ - Meta members have incorrect type ([ \ # 54] ( https://github.com/f3ath/json-api-dart/issues/54 ) ).
118
116
119
117
## [ 2.0.1] - 2019-07-12
120
118
### Fixed
121
119
- Readme example was outdated.
122
120
123
121
## [ 2.0.0] - 2019-07-12
124
-
125
122
### Changed
126
123
- This package now consolidates the Client, the Server and the Document in one single library.
127
- It does not depend on ` json_api_document ` and ` json_api_server ` anymore, please remove these packages
128
- from your ` pubspec.yaml ` .
124
+ It does not depend on ` json_api_document ` and ` json_api_server ` anymore, please remove these packages
125
+ from your ` pubspec.yaml ` .
129
126
- The min Dart SDK version bumped to ` 2.3.0 `
130
127
- The Client requires an instance of HttpClient to be passed to the constructor explicitly.
131
128
- Both the Document and the Server have been refactored with lots of ** BREAKING CHANGES** .
132
- See the examples and the functional tests for details.
129
+ See the examples and the functional tests for details.
133
130
- Meta properties are not defensively copied, but set directly. Meta property behavior is unified across
134
- the Document model.
131
+ the Document model.
135
132
136
133
### Removed
137
134
- ` JsonApiParser ` is removed. Use the static ` decodeJson ` methods in the corresponding classes instead.
138
135
139
-
140
136
## [ 1.0.1] - 2019-04-05
141
137
### Fixed
142
138
- Bumped the dependencies versions due to a bug in ` json_api_document ` .
143
139
144
- ## [ 1.0.0] - 2019-03-20
145
- ### Changed
146
- - JSON: API Server moved out
147
-
148
140
## [ 0.6.0] - 2019-03-25
149
141
### Changed
150
142
- JSON: API Document moved out
151
143
- Renamed ` client.removeToOne(...) ` to ` client.deleteToOne(...) `
152
144
153
145
## [ 0.5.0] - 2019-03-21
146
+ ### Added
147
+ - Related collection pagination
148
+ - Async operations support
149
+
154
150
### Changed
155
151
- More BC-breaking changes in the Server
156
152
157
153
### Fixed
158
154
- Location headers were incorrectly generated by Server
159
155
160
- ### Added
161
- - Related collection pagination
162
- - Async operations support
156
+ ## [ 1.0.0 ] - 2019-03-20
157
+ ### Changed
158
+ - JSON : API Server moved out
163
159
164
160
## [ 0.4.0] - 2019-03-17
161
+ ### Added
162
+ - Compound documents support in Client (Server-side support is still very limited)
163
+
165
164
### Changed
166
165
- Parsing logic moved out
167
166
- Some other BC-breaking changes in the Document
168
167
- Huge changes in the Server
169
168
170
- ### Added
171
- - Compound documents support in Client (Server-side support is still very limited)
172
-
173
169
### Fixed
174
170
- Server was not setting links for resources and relationships
175
171
176
172
## [ 0.3.0] - 2019-03-16
177
- ### Changed
178
- - Huge BC-breaking refactoring in the Document model which propagated everywhere
179
-
180
173
### Added
181
174
- Resource attributes update
182
175
- Resource relationships update
183
176
177
+ ### Changed
178
+ - Huge BC-breaking refactoring in the Document model which propagated everywhere
179
+
184
180
## [ 0.2.0] - 2019-03-01
185
181
### Added
186
182
- Improved ResourceController error handling
@@ -191,15 +187,15 @@ Most of the changes are **BC-BREAKING**.
191
187
### Added
192
188
- Client: fetch resources, collections, related resources and relationships
193
189
194
- [ Unreleased ] : https://github.com/f3ath/json-api-dart/compare/4.3.0..HEAD
190
+ [ 5.0.0 ] : https://github.com/f3ath/json-api-dart/compare/3.2.3...5.0.0
191
+ [ 3.2.3 ] : https://github.com/f3ath/json-api-dart/compare/3.2.2...3.2.3
195
192
[ 4.3.0 ] : https://github.com/f3ath/json-api-dart/compare/4.2.2...4.3.0
196
193
[ 4.2.2 ] : https://github.com/f3ath/json-api-dart/compare/4.2.1...4.2.2
197
194
[ 4.2.1 ] : https://github.com/f3ath/json-api-dart/compare/4.2.0...4.2.1
198
195
[ 4.2.0 ] : https://github.com/f3ath/json-api-dart/compare/4.1.0...4.2.0
199
196
[ 4.1.0 ] : https://github.com/f3ath/json-api-dart/compare/4.0.0...4.1.0
200
197
[ 4.0.0 ] : https://github.com/f3ath/json-api-dart/compare/3.2.2...4.0.0
201
- [ 3.2.3 ] : https://github.com/f3ath/json-api-dart/compare/3.2.2..3.2.3
202
- [ 3.2.2 ] : https://github.com/f3ath/json-api-dart/compare/3.2.1..3.2.2
198
+ [ 3.2.2 ] : https://github.com/f3ath/json-api-dart/compare/3.2.1...3.2.2
203
199
[ 3.2.1 ] : https://github.com/f3ath/json-api-dart/compare/3.2.0...3.2.1
204
200
[ 3.2.0 ] : https://github.com/f3ath/json-api-dart/compare/3.1.0...3.2.0
205
201
[ 3.1.0 ] : https://github.com/f3ath/json-api-dart/compare/3.0.0...3.1.0
@@ -210,10 +206,10 @@ Most of the changes are **BC-BREAKING**.
210
206
[ 2.0.1 ] : https://github.com/f3ath/json-api-dart/compare/2.0.0...2.0.1
211
207
[ 2.0.0 ] : https://github.com/f3ath/json-api-dart/compare/1.0.1...2.0.0
212
208
[ 1.0.1 ] : https://github.com/f3ath/json-api-dart/compare/1.0.0...1.0.1
213
- [ 1.0.0 ] : https://github.com/f3ath/json-api-dart/compare/0.6.0...1.0.0
214
209
[ 0.6.0 ] : https://github.com/f3ath/json-api-dart/compare/0.5.0...0.6.0
215
210
[ 0.5.0 ] : https://github.com/f3ath/json-api-dart/compare/0.4.0...0.5.0
211
+ [ 1.0.0 ] : https://github.com/f3ath/json-api-dart/compare/0.6.0...1.0.0
216
212
[ 0.4.0 ] : https://github.com/f3ath/json-api-dart/compare/0.3.0...0.4.0
217
213
[ 0.3.0 ] : https://github.com/f3ath/json-api-dart/compare/0.2.0...0.3.0
218
214
[ 0.2.0 ] : https://github.com/f3ath/json-api-dart/compare/0.1.0...0.2.0
219
- [ 0.1.0 ] : https://github.com/f3ath/json-api-dart/releases/tag/0.1.0
215
+ [ 0.1.0 ] : https://github.com/f3ath/json-api-dart/releases/tag/0.1.0
0 commit comments