Skip to content

Releases: infusephp/rest-api

v2.0.1

10 Dec 20:10

Choose a tag to compare

  • Expands included values when they are a model object

v2.0

05 Dec 00:12

Choose a tag to compare

  • Rename Api error class to ApiError
  • Change namespace to Infuse\RestApi
  • Bugfix: check if a model exists before checking permissions
  • No longer require ::$scaffoldApi property on models
  • The base path no longer has to be /api. It now defaults to / and is customizable with the api.base_path configuration.
  • Sorts serialized results by key
  • Require filter parameters to be whitelisted on model with ::$filterableProperties
  • Remove ApiController class with magic routing. Now routes must be explicitly defined in routing table.
  • Limit per_page results to a max of 100 models
  • No longer use global error stack
  • Requires PHP 7
  • Support Infuse framework v1.6
  • Support Pulsar v0.6

v1.1.2

27 Feb 05:19

Choose a tag to compare

  • Refactored module, routes are now represented by separate classes, and deprecated ApiController and ApiRoute

v1.1.1

26 Jan 22:58

Choose a tag to compare

  • Added ModelSerializer class to replace toArrayDeprecated()

v1.1

09 Jan 17:25

Choose a tag to compare

  • Support v1.3 of Infuse framework
  • Use Pulsar ORM for models
  • Return more RESTful responses
  • Various refactoring and bugfixes

v1.0

25 Sep 18:00

Choose a tag to compare

Initial release!