All notable changes to laravel-hateoas
will be documented in this file
- Drop PHP 7.x and Laravel 7/8 support (#36)
- Do not handle exceptions anymore during creation of hateoas links (#36)
- Add Laravel 9 support (#34)
- Add PHP 8.1 support (#33)
- Support Eloquent models in "Models" directory (#32)
- Add PHP 8 support (#30)
- Add Laravel 8 support, and drop Laravel 6 support (#27)
- Add Laravel 7 support, bump minimum PHP version to 7.3 and drop Laravel 5.8 support (#26)
- Change
links()
method ofHasLinks
trait to allow extra arguments array to be passed via first parameter (#21) - Allow
formatLinksUsing()
method to accept either a formatter classname or callback (#20) - Throw custom exceptions if
Link
object can not be used (#18)
- Update Travis setup to run tests for every supported Laravel version (#15)
- Add v4 of orchestra/testbench (#14)
- Add support for Laravel 6 (#13)
- Fix return statement in docblock of
HasLinks
trait (#12)
- Update docblock of
Hateoas
facade to include public methods ofHateoasManager
class (#11)
- Customize formatting of links using callback (#10)
- Customize HATEOAS class discovery using callback (#8)
- Use empty
LinkCollection
if HATEOAS class triggers exception (#5)
- Allow constructor dependency injection on HATEOAS classes (#3)
- Initial release