Skip to content

0.10.0

Compare
Choose a tag to compare
@kocsismate kocsismate released this 16 Jan 08:25
· 531 commits to master since this release

This version incorporates some new methods to easily retrieve the content of the request body and some important bug
fixes. It doesn't contain any breaking changes so updating to v10.0 is highly recommended.

ADDED:

  • AbstractSimpleResourceDocument to define documents containing information about a single resource without
    the need of a resource transformer
  • ClientGeneratedIdRequired exception
  • getResourceAttributes() method to RequestInterface
  • getResourceToOneRelationship() and getResourceToManyRelationship() methods to RequestInterface

CHANGED:

  • TransformerTrait transformations are now type hinted against DateTimeInterface to support DateTimeImmutable

FIXED:

  • Parameter order in AbstractCreateHydrator::hydrate()
  • GH-3: Fixed multi-level relationships
  • Issue when include query param is an empty string