1.0.0
ADDED:
- #19: Support for custom serializers
- Support for using
Collection
s not implementingArrayAccess
inAbstractCollectionDocument
s - Docker Compose file to run tests more easily
CHANGED:
- Increased minimum PHP version requirement to PHP 5.6
- Made
$exceptionFactory
and$serializer
constructor parameters optional for theJsonApi
class - Updated JSON:API schema to the latest version
- Renamed pagination provider traits to pagination link provider traits
- Renamed pagination objects to include "Based" (e.g.:
PagePagination
becamePageBasedPagination
) - Improved documentation: added missing sections and fixed a lot of stylistic errors
- Improved test coverage
FIXED:
FixedPageBasedPagination::getPage()
,PageBasedPagination::getPage()
andPageBasedPagination::getSize()
now returninteger
instead ofstring
CursorBasedPagination::getCursor()
now returnsinteger
instead ofstring
OffsetBasedPagination::getOffset()
andOffsetBasedPagination::getLimit()
now returninteger
instead ofstring
- #44: Fixed request validation
- #45:
Request
class uses exception factory to throw exception - #48: PageBasedPaginationProviderTrait getPrevLink and getNextLink generate wrong links