Skip to content

1.0.0

Compare
Choose a tag to compare
@kocsismate kocsismate released this 28 Oct 22:35
· 356 commits to master since this release

ADDED:

  • #19: Support for custom serializers
  • Support for using Collections not implementing ArrayAccess in AbstractCollectionDocuments
  • Docker Compose file to run tests more easily

CHANGED:

  • Increased minimum PHP version requirement to PHP 5.6
  • Made $exceptionFactory and $serializer constructor parameters optional for the JsonApi class
  • Updated JSON:API schema to the latest version
  • Renamed pagination provider traits to pagination link provider traits
  • Renamed pagination objects to include "Based" (e.g.: PagePagination became PageBasedPagination)
  • Improved documentation: added missing sections and fixed a lot of stylistic errors
  • Improved test coverage

FIXED:

  • FixedPageBasedPagination::getPage(), PageBasedPagination::getPage() and PageBasedPagination::getSize()
    now return integer instead of string
  • CursorBasedPagination::getCursor() now returns integer instead of string
  • OffsetBasedPagination::getOffset() and OffsetBasedPagination::getLimit() now return integer instead of string
  • #44: Fixed request validation
  • #45: Request class uses exception factory to throw exception
  • #48: PageBasedPaginationProviderTrait getPrevLink and getNextLink generate wrong links