Skip to content

Releases: nilportugues/php-json-api

2.1.4

18 Jan 13:44
Compare
Choose a tag to compare
  • Fix - Default page number for pagination missing. Thanks @KarimGeiger #47

2.1.3

13 Jan 11:31
Compare
Choose a tag to compare
  • symfony/http-component allow both 2* and 3* 1497763

2.1.2

16 Dec 23:46
Compare
Choose a tag to compare

Bug Fixing

  • Page class now has ->setSize() method so it can be provided by the user without using query params
  • Fixed pagination url generation.

2.1.1

16 Dec 22:50
Compare
Choose a tag to compare

Bug Fixing

  • Fixing division by zero in ListResource class. 1c62b37

2.1.0

16 Dec 20:33
Compare
Choose a tag to compare

Breaks Compatibilty

  • Decoupled JSON-API from HTTP Request object.
  • Rewrote PaginatedResource class and removed getPage*, getSort* methods.

Added

  • PaginatedResource now returns Page, Sorting, Fields and Included classes.
  • Unit tested redone, up to 98.40% of the code.
  • Updated documentation to reflect changes.

2.0.1

14 Dec 13:24
Compare
Choose a tag to compare
DataObject::missingCreationAttributes should stop if no mapping is found

2.0.0

08 Dec 13:43
Compare
Choose a tag to compare
New README for new version

2.0.0-rc3

08 Dec 10:56
Compare
Choose a tag to compare
2.0.0-rc3 Pre-release
Pre-release

Added

  • Sort query param validation added.
  • Added InvalidSortError.
  • PaginatedResource now provides the correct number of results (Fix).
  • PaginatedResource now provided information on the total number in meta.pages.last of pages and results meta.pages.total.

2.0.0-rc2

07 Dec 19:31
Compare
Choose a tag to compare
2.0.0-rc2 Pre-release
Pre-release

Bug Fix

  • 9c47676 Post, Patch and Put were allowing invalid data coming in because no exception was being thrown.

2.0.0-rc1

06 Dec 21:20
Compare
Choose a tag to compare
2.0.0-rc1 Pre-release
Pre-release
Supporting validation of relationships for post, put and patch actions