Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions content/collections/docs/4-to-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,24 @@ We recommend making the code changes. However, if you just want to require the p
composer require laravel/helpers
```

### Statamic will now use your app's default pagination view
**Affects apps using the `auto_links` pagination variable in templates.**

Previously, Statamic used the `pagination::default` view to rendering pagination links. In Statamic 5, it will use your app's default pagination view, typically `pagination::tailwind`.

To avoid making code changes, you may wish to change the default view back to `pagination::default`:

```php
// app/Providers/AppServiceProvider.php

use Illuminate\Pagination\Paginator; // [tl! ++]

public function boot(): void
{
Paginator::defaultView('pagination::default'); // [tl! ++]
}
```

## Low impact changes

### Validation rule changes
Expand Down