Releases: nilportugues/php-json-api
Releases · nilportugues/php-json-api
2.1.4
- Fix - Default page number for pagination missing. Thanks @KarimGeiger #47
2.1.3
2.1.2
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
2.1.0
Breaks Compatibilty
- Decoupled JSON-API from HTTP Request object.
- Rewrote
PaginatedResource
class and removedgetPage*
,getSort*
methods.
Added
- PaginatedResource now returns
Page
,Sorting
,Fields
andIncluded
classes. - Unit tested redone, up to 98.40% of the code.
- Updated documentation to reflect changes.
2.0.1
DataObject::missingCreationAttributes should stop if no mapping is found
2.0.0
New README for new version
2.0.0-rc3
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 resultsmeta.pages.total
.
2.0.0-rc2
2.0.0-rc1
Supporting validation of relationships for post, put and patch actions