@@ -5,6 +5,8 @@ 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
7
## [ Unreleased]
8
+ ### Removed
9
+ - Dropped support for Dart 2.6
8
10
9
11
## [ 4.2.2] - 2020-06-05
10
12
### Fixed
@@ -69,7 +71,6 @@ is missing. Before in such cases a `FormatException` would be thrown ([pr](https
69
71
- ` IdentifierObject.fromIdentifier ` factory method
70
72
71
73
### Changed
72
- Most of the changes are ** BC-BREAKING** .
73
74
- ` URLBuilder ` was renamed to ` UrlFactory ` .
74
75
- ` DocumentBuilder ` was split into ` ServerDocumentFactory ` and ` ClientDocumentFactory ` . Some methods were renamed.
75
76
- Static ` decodeJson ` methods were renamed to ` fromJson ` .
@@ -79,7 +80,7 @@ Most of the changes are **BC-BREAKING**.
79
80
- The signature of ` Controller ` .
80
81
- ` Server ` was renamed to ` JsonApiServer ` .
81
82
- ` Pagination ` was renamed to ` PaginationStrategy ` .
82
-
83
+
83
84
### Removed
84
85
- (Server) ` ResourceTarget ` , ` CollectionTarget ` , ` RelationshipTarget ` classes.
85
86
- ` QueryParameters ` interface.
@@ -103,22 +104,20 @@ Most of the changes are **BC-BREAKING**.
103
104
- Readme example was outdated.
104
105
105
106
## [ 2.0.0] - 2019-07-12
106
-
107
107
### Changed
108
108
- This package now consolidates the Client, the Server and the Document in one single library.
109
- It does not depend on ` json_api_document ` and ` json_api_server ` anymore, please remove these packages
110
- from your ` pubspec.yaml ` .
109
+ It does not depend on ` json_api_document ` and ` json_api_server ` anymore, please remove these packages
110
+ from your ` pubspec.yaml ` .
111
111
- The min Dart SDK version bumped to ` 2.3.0 `
112
112
- The Client requires an instance of HttpClient to be passed to the constructor explicitly.
113
113
- Both the Document and the Server have been refactored with lots of ** BREAKING CHANGES** .
114
- See the examples and the functional tests for details.
114
+ See the examples and the functional tests for details.
115
115
- Meta properties are not defensively copied, but set directly. Meta property behavior is unified across
116
- the Document model.
116
+ the Document model.
117
117
118
118
### Removed
119
119
- ` JsonApiParser ` is removed. Use the static ` decodeJson ` methods in the corresponding classes instead.
120
120
121
-
122
121
## [ 1.0.1] - 2019-04-05
123
122
### Fixed
124
123
- Bumped the dependencies versions due to a bug in ` json_api_document ` .
@@ -133,36 +132,36 @@ Most of the changes are **BC-BREAKING**.
133
132
- Renamed ` client.removeToOne(...) ` to ` client.deleteToOne(...) `
134
133
135
134
## [ 0.5.0] - 2019-03-21
135
+ ### Added
136
+ - Related collection pagination
137
+ - Async operations support
138
+
136
139
### Changed
137
140
- More BC-breaking changes in the Server
138
141
139
142
### Fixed
140
143
- Location headers generated incorrectly
141
144
145
+ ## [ 0.4.0] - 2019-03-17
142
146
### Added
143
- - Related collection pagination
144
- - Async operations support
147
+ - Compound documents support in Client (Server-side support is still very limited)
145
148
146
- ## [ 0.4.0] - 2019-03-17
147
149
### Changed
148
150
- Parsing logic moved out
149
151
- Some other BC-breaking changes in the Document
150
152
- Huge changes in the Server
151
153
152
- ### Added
153
- - Compound documents support in Client (Server-side support is still very limited)
154
-
155
154
### Fixed
156
155
- Server was not setting links for resources and relationships
157
156
158
157
## [ 0.3.0] - 2019-03-16
159
- ### Changed
160
- - Huge BC-breaking refactoring in the Document model which propagated everywhere
161
-
162
158
### Added
163
159
- Resource attributes update
164
160
- Resource relationships update
165
161
162
+ ### Changed
163
+ - Huge BC-breaking refactoring in the Document model which propagated everywhere
164
+
166
165
## [ 0.2.0] - 2019-03-01
167
166
### Added
168
167
- Improved ResourceController error handling
@@ -195,4 +194,4 @@ Most of the changes are **BC-BREAKING**.
195
194
[ 0.5.0 ] : https://github.com/f3ath/json-api-dart/compare/0.4.0...0.5.0
196
195
[ 0.4.0 ] : https://github.com/f3ath/json-api-dart/compare/0.3.0...0.4.0
197
196
[ 0.3.0 ] : https://github.com/f3ath/json-api-dart/compare/0.2.0...0.3.0
198
- [ 0.2.0 ] : https://github.com/f3ath/json-api-dart/compare/0.1.0...0.2.0
197
+ [ 0.2.0 ] : https://github.com/f3ath/json-api-dart/compare/0.1.0...0.2.0
0 commit comments