# Changelog

All notable changes to `laravel-json-api-paginate` will be documented in this file

## 1.12.2 - 2023-01-25

### 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 - 2022-11-19

### 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 - 2022-05-16

## 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 - 2022-05-13

## 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 - 2022-01-11

- allow Laravel 9

## 1.11.1 - 2021-01-11

- allow Laravel 9

## 1.11.0 - 2021-11-27

## 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 - 2020-11-27

- Add PHP 8 support
- Drop support for Laravel 5.8

## 1.9.0 - 2020-09-30

- add simple pagination option (#43)

## 1.8.0 - 2020-08-09

- add support for Laravel 8.0

## 1.7.0 - 2020-03-02

- add support for Laravel 7.0

## 1.6.0 - 2019-09-04

- add support for Laravel 6.0
- added configurable pagination query parameter (#35)

## 1.5.0 - 2019-02-27

- drop support for Laravel 5.7 and below
- drop support for PHP 7.1 and below

## 1.4.3 - 2019-02-27

- add support for Laravel 5.8

## 1.4.2 - 2019-02-01

- use Arr:: and Str:: functions

## 1.4.1 - 2018-09-04

- add support for Laravel 5.7

## 1.4.0 - 2018-06-15

- add `base_url` config option

## 1.3.2 - 2018-05-15

- fix casting of size parameter

## 1.3.1 - 2018-02-08

- add support for Laravel 5.6

## 1.3.0 - 2018-01-04

- add `default_size` config and parameter option

## 1.2.1 - 2017-10-16

- fix for setting max results

## 1.2.0 - 2017-08-21

- add support for Laravel 5.5

## 1.1.0 - 2017-06-15

- make the `page[x]` parameter names configurable
- add support for L5.5's auto package discovery

## 1.0.0 - 2017-06-14

- initial release
