@@ -4,13 +4,17 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7- ## [ Unreleased ]
7+ ## [ 5.0.0 ] - 2021-04-21
88### Added
99- Sound null-safety support.
1010
1111### Changed
1212- 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 ) )
1418
1519## [ 4.3.0] - 2020-07-30
1620### Added
@@ -34,7 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3438
3539### Changed
3640- 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 ) )
3842
3943## [ 4.1.0] - 2020-05-28
4044### Changed
@@ -44,18 +48,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4448### Changed
4549- Everything. This is a major ** BC-breaking** rework which affected pretty much all areas. Please refer to the documentation.
4650
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-
5251## [ 3.2.2] - 2020-01-07
5352### 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 ) )
5554
5655## [ 3.2.1] - 2020-01-01
5756### 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 ) )
5958
6059## [ 3.2.0] - 2019-12-30
6160### Added
@@ -81,13 +80,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8180
8281## [ 3.0.0] - 2019-12-17
8382### 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 ) )
8584- Client supports ` jsonapi ` key in outgoing requests.
8685- ` Document.contentType ` constant.
8786- ` IdentifierObject.fromIdentifier ` factory method
8887
8988### Changed
90- Most of the changes are ** BC-BREAKING** .
9189- ` URLBuilder ` was renamed to ` UrlFactory ` .
9290- ` DocumentBuilder ` was split into ` ServerDocumentFactory ` and ` ClientDocumentFactory ` . Some methods were renamed.
9391- Static ` decodeJson ` methods were renamed to ` fromJson ` .
@@ -97,7 +95,7 @@ Most of the changes are **BC-BREAKING**.
9795- The signature of ` Controller ` .
9896- ` Server ` was renamed to ` JsonApiServer ` .
9997- ` Pagination ` was renamed to ` PaginationStrategy ` .
100-
98+
10199### Removed
102100- (Server) ` ResourceTarget ` , ` CollectionTarget ` , ` RelationshipTarget ` classes.
103101- ` QueryParameters ` interface.
@@ -106,81 +104,79 @@ Most of the changes are **BC-BREAKING**.
106104
107105## [ 2.1.0] - 2019-12-04
108106### 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 ) ).
110108
111109## [ 2.0.3] - 2019-09-29
112110### Fixed
113111- Documentation links got broken due to pub.dev update.
114112
115113## [ 2.0.2] - 2019-08-01
116114### 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 ) ).
118116
119117## [ 2.0.1] - 2019-07-12
120118### Fixed
121119- Readme example was outdated.
122120
123121## [ 2.0.0] - 2019-07-12
124-
125122### Changed
126123- 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 ` .
129126- The min Dart SDK version bumped to ` 2.3.0 `
130127- The Client requires an instance of HttpClient to be passed to the constructor explicitly.
131128- 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.
133130- Meta properties are not defensively copied, but set directly. Meta property behavior is unified across
134- the Document model.
131+ the Document model.
135132
136133### Removed
137134- ` JsonApiParser ` is removed. Use the static ` decodeJson ` methods in the corresponding classes instead.
138135
139-
140136## [ 1.0.1] - 2019-04-05
141137### Fixed
142138- Bumped the dependencies versions due to a bug in ` json_api_document ` .
143139
144- ## [ 1.0.0] - 2019-03-20
145- ### Changed
146- - JSON: API Server moved out
147-
148140## [ 0.6.0] - 2019-03-25
149141### Changed
150142- JSON: API Document moved out
151143- Renamed ` client.removeToOne(...) ` to ` client.deleteToOne(...) `
152144
153145## [ 0.5.0] - 2019-03-21
146+ ### Added
147+ - Related collection pagination
148+ - Async operations support
149+
154150### Changed
155151- More BC-breaking changes in the Server
156152
157153### Fixed
158154- Location headers were incorrectly generated by Server
159155
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
163159
164160## [ 0.4.0] - 2019-03-17
161+ ### Added
162+ - Compound documents support in Client (Server-side support is still very limited)
163+
165164### Changed
166165- Parsing logic moved out
167166- Some other BC-breaking changes in the Document
168167- Huge changes in the Server
169168
170- ### Added
171- - Compound documents support in Client (Server-side support is still very limited)
172-
173169### Fixed
174170- Server was not setting links for resources and relationships
175171
176172## [ 0.3.0] - 2019-03-16
177- ### Changed
178- - Huge BC-breaking refactoring in the Document model which propagated everywhere
179-
180173### Added
181174- Resource attributes update
182175- Resource relationships update
183176
177+ ### Changed
178+ - Huge BC-breaking refactoring in the Document model which propagated everywhere
179+
184180## [ 0.2.0] - 2019-03-01
185181### Added
186182- Improved ResourceController error handling
@@ -191,15 +187,15 @@ Most of the changes are **BC-BREAKING**.
191187### Added
192188- Client: fetch resources, collections, related resources and relationships
193189
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
195192[ 4.3.0 ] : https://github.com/f3ath/json-api-dart/compare/4.2.2...4.3.0
196193[ 4.2.2 ] : https://github.com/f3ath/json-api-dart/compare/4.2.1...4.2.2
197194[ 4.2.1 ] : https://github.com/f3ath/json-api-dart/compare/4.2.0...4.2.1
198195[ 4.2.0 ] : https://github.com/f3ath/json-api-dart/compare/4.1.0...4.2.0
199196[ 4.1.0 ] : https://github.com/f3ath/json-api-dart/compare/4.0.0...4.1.0
200197[ 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
203199[ 3.2.1 ] : https://github.com/f3ath/json-api-dart/compare/3.2.0...3.2.1
204200[ 3.2.0 ] : https://github.com/f3ath/json-api-dart/compare/3.1.0...3.2.0
205201[ 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**.
210206[ 2.0.1 ] : https://github.com/f3ath/json-api-dart/compare/2.0.0...2.0.1
211207[ 2.0.0 ] : https://github.com/f3ath/json-api-dart/compare/1.0.1...2.0.0
212208[ 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
214209[ 0.6.0 ] : https://github.com/f3ath/json-api-dart/compare/0.5.0...0.6.0
215210[ 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
216212[ 0.4.0 ] : https://github.com/f3ath/json-api-dart/compare/0.3.0...0.4.0
217213[ 0.3.0 ] : https://github.com/f3ath/json-api-dart/compare/0.2.0...0.3.0
218214[ 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