All Notable changes to json-api-server
will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
- Laravel 9 support.
- Laravel 6 support.
- Laravel 7 and 8 support.
- Moved from dimsav/laravel-translatable to astrotomic/laravel-translatable.
- Laravel 5 support.
- PHP 7.1 support.
- Laravel 5.8 support.
- Fixed validation of objects through model rules (issue #26, thanks @bondas83)
- Fixed getRelationships windows problem (issue #23)
- Extra check so that uncountable data is not counted when getting relationships (Issue #20, thanks @bondas83)
- Server should always respond with
Content-type: application/vnd.api+json
- Server should not escape slashes in responses (issue #11)
- The
authentication_test.stub
calledPUT
instead ofPATCH
(issue #14)
- Enable disable middleware for tests and add "Accept: application/vnd.api+json" header when running test calls.
- Fix inconsistent url in
authentication_test.stub
(issue #8) - Route stub generated a route with the controller action
destroy
instead ofdelete
(issue #9) - As per specification, the server should allow using the
Accept
header in requests. (issue #12)
- Added support for recent Laravel versions.
- Run tests on Travis instead of Shippable
- Change LICENSE.md to default GitHub contents.
- Bugfix when using the 'all' parameter and the query returns an empty collection.
- Changed namespace from
Swis\LaravelApi
toSwis\JsonApi\Server
- Changed commands from
laravel-api:generate
tojson-api-server:generate
- Tests for commands
- Tests for BaseApiRepository
- Tests for BaseApiController
- Explanation on how to use laravel/passport
- laravel-api:generate commands
- Swis\LaravelApi namespace
- README to reflect new changes
- laravel_api.php to reflect new namespace
- Stubs to use the proper namespaces
- Commands to reflect new namespaces
- Improved exception handling
- Repository interface so you can implement it
- Unnecessary packages from composer.json
- PermissionsMiddleware
- Exception renderers
- HasPermissionsChecks
- Everything, initial release.