Skip to content

2.0.0-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@kocsismate kocsismate released this 09 Feb 20:40
· 302 commits to master since this release

ADDED:

  • Responder::okWithRelationship() and Responder::createdWithRelationship()
  • Possibility to configure the DefaultSerializer

CHANGED:

  • Yin now requires PHP 7.0 at least
  • Documents, Transformers, Hydrators, Serializers and Exceptions must be type hinted strictly (BREAKING)
  • #51: Decouple AbstractSuccessfulDocument from Serializer and Response (BREAKING)
  • Renamed JsonApi to JsonApiObject in order to avoid ambiguities (BREAKING)

REMOVED:

  • RelationshipResponder::okWithMeta() method (BREAKING)
  • JsonApi::respondWithRelationship() method (BREAKING)

FIXED:

  • Minor bug fixes