Releases: woohoolabs/yin
Releases · woohoolabs/yin
0.4.1
Bumped version
0.4.0
ADDED:
- support for proper content negotiation
- support for validation of query parameters
- support for retrieving the requested extensions
- full replacement and removal of relationships can be prohibited
- exception can be raised when an unrecognized sorting parameter is received
CHANGED:
CreateHydratorwas renamed toAbstractCreateHydratorUpdateHydratorwas renamed toAbstractUpdateHydratorAbstractHydratorcan be used for update and create requests too- improved and more extensive documentation
FIXED:
- meta responses follow the specification
0.3.6
Fixed
- Fixed issue with possible request body parsing
0.3.5
Fixed empty includes
0.3.4
Fixed
- Do not mutate the original responses
0.3.3
Changed
LinksTraitandMetaTraitsupport retrieval of their properties
Removed
TransformableInterfaceandSimpleTransformableInterfaceas they were useless
Fixed
- The response body is cleared before assembling the response
0.3.2
Fixed
- Errors now don't contain null fields
- Errors can contain links and a source
0.3.1
Fixed
- Automatically determine the status code of an error document if it is not explicitly set
0.3.0
Added
- Support for creation and update of resources via
Hydrators - Added
JsonApiclass - Added response classes
Link::getHref()method
Changed
RequestInterfaceextendsPSR\Http\Message\ServerRequestInterface- Several methods of
AbstractDocumentbecame public instead of protected - Substantially refactored and improved examples
0.2.0
Added
- Support for proper and automatic fetching of relationships
- Convenience methods to
AbstractResourceTransformerto support transformation - Convenience methods for links and relationships
- Examples about relationships
Changed
- Decoupled
Requestfrom PSR-7ServerRequestInterface - Simplified document creation and transformation
- Renamed
CriteriatoRequestfor future purposes - Renamed
OneToManyTraversableRelationshiptoToManyRelationship - Renamed
OneToOneRelationshiptoToOneRelationship
Removed
CompulsoryLinksandPaginatedLinks
Fixed
- Transformation of resource relationships
- Transformation of meta element at the top level
- Transformation of null resources