json_api 2.0.3 json_api: ^2.0.3 copied to clipboard
JSON:API Client for Flutter, Web and VM. Supports JSON:API v1.0 (http://jsonapi.org)
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased #
2.0.3 - 2019-09-29 #
Fixed #
- Documentation links got broken due to pub.dev update.
2.0.2 - 2019-08-01 #
Fixed #
- Meta members have incorrect type (#54).
2.0.1 - 2019-07-12 #
Fixed #
- Readme example was outdated.
2.0.0 - 2019-07-12 #
Changed #
- This package now consolidates the Client, the Server and the Document in one single library.
It does not depend on
json_api_document
andjson_api_server
anymore, please remove these packages from yourpubspec.yaml
. - The min Dart SDK version bumped to
2.3.0
- The Client requires an instance of HttpClient to be passed to the constructor explicitly.
- Both the Document and the Server have been refactored with lots of BREAKING CHANGES. See the examples and the functional tests for details.
- Meta properties are not defensively copied, but set directly. Meta property behavior is unified across the Document model.
Removed #
JsonApiParser
is removed. Use the staticdecodeJson
methods in the corresponding classes instead.
1.0.1 - 2019-04-05 #
Fixed #
- Bumped the dependencies versions due to a bug in
json_api_document
.
1.0.0 - 2019-03-20 #
Changed #
- JSON:API Server moved out
0.6.0 - 2019-03-25 #
Changed #
- JSON:API Document moved out
- Renamed
client.removeToOne(...)
toclient.deleteToOne(...)
0.5.0 - 2019-03-21 #
Changed #
- More BC-breaking changes in the Server
Fixed #
- Location headers were incorrectly generated by Server
Added #
- Related collection pagination
- Async operations support
0.4.0 - 2019-03-17 #
Changed #
- Parsing logic moved out
- Some other BC-breaking changes in the Document
- Huge changes in the Server
Added #
- Compound documents support in Client (Server-side support is still very limited)
Fixed #
- Server was not setting links for resources and relationships
0.3.0 - 2019-03-16 #
Changed #
- Huge BC-breaking refactoring in the Document model which propagated everywhere
Added #
- Resource attributes update
- Resource relationships update
0.2.0 - 2019-03-01 #
Added #
- Improved ResourceController error handling
- Resource creation
- Resource deletion