spatie/laravel-json-api-paginate
A paginator that plays nice with the JSON API spec
30 Releases
Latest: 3mo ago
2.0.1Latest
Add Laravel 13 support
2.0.0
💥 Breaking Changes
- Raise minimum PHP version to 8.2
- Drop PHP 8.0 support
- Remove `base_url` configuration option (was confusing and incorrect)
📋 Changed
- Update PHP CS Fixer configuration to modern format (`.php-cs-fixer.php`)
- Upgrade test suite with updated dependencies
- Add _ide_helper.php stubs for better IDE support
- Add additional tests
1.16.3
📋 What's Changed
- Updated package for fast-paginate by @rcerljenko in https://github.com/spatie/laravel-json-api-paginate/pull/84
✨ New Contributors
- @rcerljenko made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/84
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.16.2...1.16.3
1.16.2
📋 What's Changed
- Laravel 12.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-json-api-paginate/pull/83
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.16.1...1.16.2
1.16.1
📋 What's Changed
- Fix compatibility with Laravel < 11 by @sebj54 in https://github.com/spatie/laravel-json-api-paginate/pull/82
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.16.0...1.16.1
1.16.0
📋 What's Changed
- Add `$totalResults` parameter + update docs by @sebj54 in https://github.com/spatie/laravel-json-api-paginate/pull/79
✨ New Contributors
- @sebj54 made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/79
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.15.1...1.16.0
1.15.1
📋 What's Changed
- fix fast paginate check installed, update readme for config by @lloricode in https://github.com/spatie/laravel-json-api-paginate/pull/78
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.15.0...1.15.1
1.15.0
📋 What's Changed
- Add support for fast paginate by @lloricode in https://github.com/spatie/laravel-json-api-paginate/pull/77
✨ New Contributors
- @lloricode made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/77
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.14.0...1.15.0
1.14.0
📋 What's Changed
- Laravel 11.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-json-api-paginate/pull/74
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.13.0...1.14.0
1.13.0
📋 What's Changed
- Add macros for BelongsToMany and HasManyThrough by @philipgunther in https://github.com/spatie/laravel-json-api-paginate/pull/65
✨ New Contributors
- @philipgunther made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/65
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.12.2...1.13.0
1.12.2
📋 What's Changed
- Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/laravel-json-api-paginate/pull/71
- Laravel 10.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-json-api-paginate/pull/72
✨ New Contributors
- @patinthehat made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/71
- @laravel-shift made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/72
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.12.1...1.12.2
1.12.1
📋 What's Changed
- Refactor tests to Pest by @alexmanase in https://github.com/spatie/laravel-json-api-paginate/pull/68
- Append query parameters to URLs when using cursor pagination by @NizarBerjawi in https://github.com/spatie/laravel-json-api-paginate/pull/69
✨ New Contributors
- @alexmanase made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/68
- @NizarBerjawi made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/69
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.12.0...1.12.1
1.12.0
📋 What's Changed
- Add cursor pagination by @AyoobMH in https://github.com/spatie/laravel-json-api-paginate/pull/61
✨ New Contributors
- @AyoobMH made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/61
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.11.2...1.12.0
1.11.2
📋 What's Changed
- change wording to say that it does not follow the json spec by @brettnielsen in https://github.com/spatie/laravel-json-api-paginate/pull/60
- Make negetive page[size] exception safe by @ifduyue in https://github.com/spatie/laravel-json-api-paginate/pull/62
✨ New Contributors
- @brettnielsen made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/60
- @ifduyue made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/62
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.11.1...1.11.2
1.11.1
📋 Changes
- allow Laravel 9
1.11.0
📋 What's Changed
- Pagination is not part of the JSON:API specification by @bbrala in https://github.com/spatie/laravel-json-api-paginate/pull/56
- Adds the JsonPaginate macro to the base Query Builder by @troy-whitespark in https://github.com/spatie/laravel-json-api-paginate/pull/58
✨ New Contributors
- @bbrala made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/56
- @troy-whitespark made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/58
- Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.10.0...1.11.0
1.10.0
📋 Changes
- Add PHP 8 support
- Drop support for Laravel 5.8
1.9.0
📋 Changes
- add simple pagination option (#43)
1.8.0
📋 Changes
- add support for Laravel 8.0
1.7.0
📋 Changes
- add support for Laravel 7.0
1.6.0
📋 Changes
- add support for Laravel 6.0
- added configurable pagination query parameter (#35)
1.5.0
1.4.3
1.4.2
📋 Changes
- use Arr:: and Str:: functions
1.4.1
📋 Changes
- add support for Laravel 5.7
1.4.0
📋 Changes
- add `base_url` config option
1.3.2
📋 Changes
- fix casting of size parameter
1.3.1
📋 Changes
- Add support for Laravel 5.6
1.3.0
📋 Changes
- add `default_size` config and parameter option
1.2.1
📋 Changes
- fix for setting max results
