Releases: api-ecosystem-for-laravel/dingo-api
Support for Laravel 12
- Adds support for Laravel 12
- Bump minimum PHP version to 8.2, please upgrade if you are using older as it't not within the maintenance window for PHP, and hence many dependencies no longer support it.
Adds support for Illuminate Simple Paginator
Adds support and flow through to the new Fractal Adapter for Simple Paginate. This is useful for performance reasons, if you want to avoid the extra select count(*)
query which the default LegthAwarePaginator does in Laravel.
There are no public API changes as part of this release, you may simply pass the different paginator type to the paginate()
response function as normal.
Updating fractal to major version fork for minimum stability
No breaking changes.
Switch to fractal fork
Switches fractal from thephpleague (no longer maintained) to php-open-source-saver.
Note that if you are using the League/Fractal namespace directly within your application, you will have to update it. See here for more information: https://github.com/PHP-Open-Source-Saver/fractal
Adds feature in url generator to pass params
There's a small chance this may be a breaking change depending on your use case, but I decided against major version as it's such a trivial update.
This concerns you if you're using API::route()
with a non-default API version.
Please see this PR - #55
Making dingo/blueprint an optional dependency
If someone is using this, you will want to just add it to your project's composer.json file.
Details:
#52
A few fixes
Fixed a few minor regression bugs found during adding tests back through gitlab actions
Updating a dep and countering edge case
Further support for latest symfony / laravel 11
Laravel 11 Support
Further changes for Laravel 11 support