Releases: woohoolabs/yin
Releases · woohoolabs/yin
1.0.2
1.0.1
1.0.0
ADDED:
- #19: Support for custom serializers
- Support for using
Collections not implementingArrayAccessinAbstractCollectionDocuments - Docker Compose file to run tests more easily
CHANGED:
- Increased minimum PHP version requirement to PHP 5.6
- Made
$exceptionFactoryand$serializerconstructor parameters optional for theJsonApiclass - 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.:
PagePaginationbecamePageBasedPagination) - Improved documentation: added missing sections and fixed a lot of stylistic errors
- Improved test coverage
FIXED:
FixedPageBasedPagination::getPage(),PageBasedPagination::getPage()andPageBasedPagination::getSize()
now returnintegerinstead ofstringCursorBasedPagination::getCursor()now returnsintegerinstead ofstringOffsetBasedPagination::getOffset()andOffsetBasedPagination::getLimit()now returnintegerinstead ofstring- #44: Fixed request validation
- #45:
Requestclass uses exception factory to throw exception - #48: PageBasedPaginationProviderTrait getPrevLink and getNextLink generate wrong links
0.11.0
ADDED:
CHANGED:
- Default values can now be defined to several methods of
Request - Slightly optimized request body serialization
- Renamed
Request::getResourceToOneRelationship()toRequest::getToOneRelationship() - Renamed
Request::getResourceToManyRelationship()toRequest::getToManyRelationship() - Changed the signature of the
Requestconstructor from__construct(ServerRequestInterface $request)to__construct(ServerRequestInterface $request, ExceptionFactoryInterface $exceptionFactory)
REMOVED:
- Support for extensions
FIXED:
- #30:
ResourceIdentifier::fromArray()returning null is not handled gracefully MediaTypeUnacceptableandMediaTypeUnsupportedexception messages
0.10.8
0.10.7
0.10.6
0.10.5
ADDED:
- Support for PHPUnit 5.0
Request::getFilteringParam()method
CHANGED:
- Updated JSON API schema
- A default value can be provided to
Request::getResourceAttribute()method when the attribute is not present - #20: Expressing empty relationships in the response
FIXED:
- #22: Data member isn't present when fetching a relationship