Skip to content

Commit db26bcc

Browse files
authored
Release 5.0.1 (#115)
1 parent b2c79f7 commit db26bcc

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
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

7+
## [5.0.1] - 2021-05-11
8+
### Fixed
9+
- Missing http client exports
10+
- Failing test
11+
712
## [5.0.0] - 2021-04-21
813
### Added
914
- Sound null-safety support.
@@ -121,14 +126,14 @@ is missing. Before in such cases a `FormatException` would be thrown ([pr](https
121126
## [2.0.0] - 2019-07-12
122127
### Changed
123128
- This package now consolidates the Client, the Server and the Document in one single library.
124-
It does not depend on `json_api_document` and `json_api_server` anymore, please remove these packages
125-
from your `pubspec.yaml`.
129+
It does not depend on `json_api_document` and `json_api_server` anymore, please remove these packages
130+
from your `pubspec.yaml`.
126131
- The min Dart SDK version bumped to `2.3.0`
127132
- The Client requires an instance of HttpClient to be passed to the constructor explicitly.
128133
- Both the Document and the Server have been refactored with lots of **BREAKING CHANGES**.
129-
See the examples and the functional tests for details.
134+
See the examples and the functional tests for details.
130135
- Meta properties are not defensively copied, but set directly. Meta property behavior is unified across
131-
the Document model.
136+
the Document model.
132137

133138
### Removed
134139
- `JsonApiParser` is removed. Use the static `decodeJson` methods in the corresponding classes instead.
@@ -187,6 +192,7 @@ is missing. Before in such cases a `FormatException` would be thrown ([pr](https
187192
### Added
188193
- Client: fetch resources, collections, related resources and relationships
189194

195+
[5.0.1]: https://github.com/f3ath/json-api-dart/compare/5.0.0...5.0.1
190196
[5.0.0]: https://github.com/f3ath/json-api-dart/compare/3.2.3...5.0.0
191197
[3.2.3]: https://github.com/f3ath/json-api-dart/compare/3.2.2...3.2.3
192198
[4.3.0]: https://github.com/f3ath/json-api-dart/compare/4.2.2...4.3.0

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: json_api
2-
version: 5.0.0
2+
version: 5.0.1
33
homepage: https://github.com/f3ath/json-api-dart
44
description: A framework-agnostic implementations of JSON:API Client and Server. Supports JSON:API v1.0 (https://jsonapi.org)
55
environment:

test/unit/http/enoding_test.dart renamed to test/unit/http/encoding_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void main() {
2626
defaultEncoding: encoding,
2727
);
2828

29-
return dartHttp.handle(HttpRequest('', Uri.parse('http://test.com')));
29+
return dartHttp.handle(HttpRequest('get', Uri.parse('http://test.com')));
3030
};
3131

3232
test('UTF-8 ru', () async {

0 commit comments

Comments
 (0)