|
2 | 2 | All notable changes to this project will be documented in this file. This project adheres to
|
3 | 3 | [Semantic Versioning](http://semver.org/) and [this changelog format](http://keepachangelog.com/).
|
4 | 4 |
|
| 5 | +## [0.5.0] - 2016-10-21 |
| 6 | + |
| 7 | +This release is the first release to support Laravel 5.3. |
| 8 | + |
| 9 | +### Added |
| 10 | +- Can now attach custom adapters to the store via the `json-api.php` config file. |
| 11 | +- Authorizer now supports adding error messages from the error repository using string keys. |
| 12 | +- An abstract Eloquent model hydrator can now be used. |
| 13 | +- The Eloquent controller now handles saving of has many relationships that need to be committed to the database |
| 14 | +after the primary model has been created. You must be using the new Eloquent hydrator for this to work, or your |
| 15 | +existing hydrator can type hint the capability by implementing the new `HydratesRelatedInterface`. |
| 16 | + |
| 17 | +### Changed |
| 18 | +- Paging configuration is now held on a per-API basis. |
| 19 | +- Update authorization can now access the resource submitted by the client via an additional method argument. |
| 20 | +- Request handlers are now not injected to a controller via the constructor: instead the fully qualified class name |
| 21 | +is passed and controller middleware is used to validate requests. This change was necessary to support Laravel 5.3, |
| 22 | +while maintaining support for 5.1 and 5.2. |
| 23 | +- Various classes have been moved into the `cloudcreativity/json-api` package (changing their namespace), because the |
| 24 | +implementations are now framework agnostic. |
| 25 | +- Eloquent schemas now follow the JSON API recommendation and use hyphenated member names by default. This behaviour |
| 26 | +can however be overridden, e.g. if the Eloquent underscored attribute names is the desired convention. |
| 27 | +- To match this, the search class also assumed a default of hyphenated member names, although this can be overridden. |
| 28 | +- Validator provides now receive the resource type that they are validating into their method signatures. This allows |
| 29 | +for a single validator provider to validate multiple resource types if desired. |
| 30 | + |
| 31 | +### Removed |
| 32 | +- `AbstractSortedSearch` was removed and its capability merged into `AbstractSearch` as there was no need to have the |
| 33 | +two separate classes. |
| 34 | +- Removed the experimental `boot` feature on the JSON API service. |
| 35 | + |
5 | 36 | ## [0.4.6] - 2016-09-01
|
6 | 37 |
|
7 | 38 | ### Fixed
|
|
0 commit comments