Skip to content

0.6.0

Compare
Choose a tag to compare
@kocsismate kocsismate released this 22 Sep 19:47
· 612 commits to master since this release

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 to AbstractSuccessfulDocument
  • Documents now require a ResourceTransformerInterface instance instead of AbstractResourceTransformer

FIXED:

  • Meta data didn't appear in error objects
  • Empty version information appeared in jsonApi object
  • Constructors of ToOneRelationships and ToManyRelationships were messed up
  • Getters in MediaTypeUnacceptable and MediaTypeUnsupported 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