File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ 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+ ## [ 3.2.1] - 2020-01-01
8+ ### Fixed
9+ - issue [ #74 ] ( https://github.com/f3ath/json-api-dart/issues/74 )
10+
711## [ 3.2.0] - 2019-12-30
812### Added
913- ` matchBase ` option to ` PathBasedUrlDesign ` .
@@ -138,7 +142,8 @@ Most of the changes are **BC-BREAKING**.
138142### Added
139143- Client: fetch resources, collections, related resources and relationships
140144
141- [ Unreleased ] : https://github.com/f3ath/json-api-dart/compare/3.2.0...HEAD
145+ [ Unreleased ] : https://github.com/f3ath/json-api-dart/compare/3.2.1...HEAD
146+ [ 3.2.0 ] : https://github.com/f3ath/json-api-dart/compare/3.2.0...3.2.1
142147[ 3.2.0 ] : https://github.com/f3ath/json-api-dart/compare/3.1.0...3.2.0
143148[ 3.1.0 ] : https://github.com/f3ath/json-api-dart/compare/3.0.0...3.1.0
144149[ 3.0.0 ] : https://github.com/f3ath/json-api-dart/compare/2.1.0...3.0.0
Original file line number Diff line number Diff line change 11import 'package:http/http.dart' ;
22import 'package:json_api/client.dart' ;
33
4- /// Start the ` cars_server.dart` first!
4+ /// Start `dart example/ cars_server.dart` first
55void main () async {
66 final httpClient = Client ();
77 final jsonApiClient = JsonApiClient (httpClient);
8- final url = Uri .parse ('http://localhost:8080/companies/2 ' );
8+ final url = Uri .parse ('http://localhost:8080/companies' );
99 final response = await jsonApiClient.fetchCollection (url);
1010 httpClient.close (); // Don't forget to close the http client
1111 print ('The collection page size is ${response .data .collection .length }' );
Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ import 'package:json_api/src/client/status_code.dart';
1515/// import 'package:http/http.dart';
1616/// import 'package:json_api/client.dart';
1717///
18+ /// /// Start `dart example/cars_server.dart` first!
1819/// void main() async {
1920/// final httpClient = Client();
2021/// final jsonApiClient = JsonApiClient(httpClient);
21- /// final url = Uri.parse('http://localhost:8080/companies/2 ');
22+ /// final url = Uri.parse('http://localhost:8080/companies');
2223/// final response = await jsonApiClient.fetchCollection(url);
2324/// httpClient.close(); // Don't forget to close the http client
2425/// print('The collection page size is ${response.data.collection.length}');
Original file line number Diff line number Diff line change 11name : json_api
2- version : 3.2.0
2+ version : 3.2.1
33homepage : https://github.com/f3ath/json-api-dart
44description : JSON:API Client for Flutter, Web and VM. Supports JSON:API v1.0 (http://jsonapi.org)
55environment :
You can’t perform that action at this time.
0 commit comments