Skip to content

Commit dff52b7

Browse files
authored
Drop support for Dart 2.6 (#107)
1 parent ee17867 commit dff52b7

File tree

4 files changed

+21
-20
lines changed

4 files changed

+21
-20
lines changed

.cider.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
changelog:
2+
diff_link_template: 'https://github.com/f3ath/json-api-dart/compare/%from%...%to%'

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: dart
22
dart:
33
- stable
44
- dev
5-
- "2.6.0"
5+
- "2.7.0"
66
dart_task:
77
- test: --platform vm
88
- test: --platform chrome

CHANGELOG.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Removed
9+
- Dropped support for Dart 2.6
810

911
## [4.2.2] - 2020-06-05
1012
### Fixed
@@ -69,7 +71,6 @@ is missing. Before in such cases a `FormatException` would be thrown ([pr](https
6971
- `IdentifierObject.fromIdentifier` factory method
7072

7173
### Changed
72-
Most of the changes are **BC-BREAKING**.
7374
- `URLBuilder` was renamed to `UrlFactory`.
7475
- `DocumentBuilder` was split into `ServerDocumentFactory` and `ClientDocumentFactory`. Some methods were renamed.
7576
- Static `decodeJson` methods were renamed to `fromJson`.
@@ -79,7 +80,7 @@ Most of the changes are **BC-BREAKING**.
7980
- The signature of `Controller`.
8081
- `Server` was renamed to `JsonApiServer`.
8182
- `Pagination` was renamed to `PaginationStrategy`.
82-
83+
8384
### Removed
8485
- (Server) `ResourceTarget`, `CollectionTarget`, `RelationshipTarget` classes.
8586
- `QueryParameters` interface.
@@ -103,22 +104,20 @@ Most of the changes are **BC-BREAKING**.
103104
- Readme example was outdated.
104105

105106
## [2.0.0] - 2019-07-12
106-
107107
### Changed
108108
- 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`.
111111
- The min Dart SDK version bumped to `2.3.0`
112112
- The Client requires an instance of HttpClient to be passed to the constructor explicitly.
113113
- 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.
115115
- Meta properties are not defensively copied, but set directly. Meta property behavior is unified across
116-
the Document model.
116+
the Document model.
117117

118118
### Removed
119119
- `JsonApiParser` is removed. Use the static `decodeJson` methods in the corresponding classes instead.
120120

121-
122121
## [1.0.1] - 2019-04-05
123122
### Fixed
124123
- Bumped the dependencies versions due to a bug in `json_api_document`.
@@ -133,36 +132,36 @@ Most of the changes are **BC-BREAKING**.
133132
- Renamed `client.removeToOne(...)` to `client.deleteToOne(...)`
134133

135134
## [0.5.0] - 2019-03-21
135+
### Added
136+
- Related collection pagination
137+
- Async operations support
138+
136139
### Changed
137140
- More BC-breaking changes in the Server
138141

139142
### Fixed
140143
- Location headers generated incorrectly
141144

145+
## [0.4.0] - 2019-03-17
142146
### Added
143-
- Related collection pagination
144-
- Async operations support
147+
- Compound documents support in Client (Server-side support is still very limited)
145148

146-
## [0.4.0] - 2019-03-17
147149
### Changed
148150
- Parsing logic moved out
149151
- Some other BC-breaking changes in the Document
150152
- Huge changes in the Server
151153

152-
### Added
153-
- Compound documents support in Client (Server-side support is still very limited)
154-
155154
### Fixed
156155
- Server was not setting links for resources and relationships
157156

158157
## [0.3.0] - 2019-03-16
159-
### Changed
160-
- Huge BC-breaking refactoring in the Document model which propagated everywhere
161-
162158
### Added
163159
- Resource attributes update
164160
- Resource relationships update
165161

162+
### Changed
163+
- Huge BC-breaking refactoring in the Document model which propagated everywhere
164+
166165
## [0.2.0] - 2019-03-01
167166
### Added
168167
- Improved ResourceController error handling
@@ -195,4 +194,4 @@ Most of the changes are **BC-BREAKING**.
195194
[0.5.0]: https://github.com/f3ath/json-api-dart/compare/0.4.0...0.5.0
196195
[0.4.0]: https://github.com/f3ath/json-api-dart/compare/0.3.0...0.4.0
197196
[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

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 4.2.2
33
homepage: https://github.com/f3ath/json-api-dart
44
description: Framework-agnostic implementations of JSON:API Client (Flutter, Web and VM) and Server (VM). Supports JSON:API v1.0 (http://jsonapi.org)
55
environment:
6-
sdk: '>=2.6.0 <3.0.0'
6+
sdk: '>=2.7.0 <3.0.0'
77
dependencies:
88
http: ^0.12.0
99
http_parser: ^3.1.4

0 commit comments

Comments
 (0)