0.6.0
ADDED:
- More convenient handling of inappropriate relationship types during hydration
- Much more unit tests (320+ tests, 92% coverage)
- Better and more documentation
CHANGED:
- Simplified relative links
- Included resources are now sorted by type and id
- Renamed
AbstractCompoundDocument
toAbstractSuccessfulDocument
- Documents now require a
ResourceTransformerInterface
instance instead ofAbstractResourceTransformer
FIXED:
- Meta data didn't appear in error objects
- Empty version information appeared in jsonApi object
- Constructors of
ToOneRelationships
andToManyRelationships
were messed up - Getters in
MediaTypeUnacceptable
andMediaTypeUnsupported
didn't return the media type name - Pagination objects are now correctly instantiated from query parameters
- Validation of query parameters didn't work
- Getting the list of included relationships didn't work as expected
- Status code of error responses was always "500" when the document contained multiple errors
- Content-Type header media types of responses are now correctly assembled when using extensions
- Fatal error when the hydrated resource type didn't match the acceptable type
- Various issues of pagination providers