Release notes
*Sourced from [will_paginate's releases](https://github.com/mislav/will_paginate/releases).*
> ## will_paginate 3.2.0
> * Performance: avoid extending Numeric with PageNumber logic
>
> BREAKING: `Integer === page_number` is no longer true.
>
> * Make pagination markup more accessible:
>
> - container div now has `role="navigation"`;
> - container div now has `aria-label="Pagination"`, translatable via `will_paginate.container_aria_label` i18n key;
> - individual page links now have `aria-label="Page {N}"`, translatable via `will_paginate.page_aria_label` i18n key;
> - current page now has `aria-current="page"`.
>
> * Add support for `will_paginate` view helpers in Hanami View
>
> * Add `total_entries` support for Mongoid
>
> * Rails: avoid circular require warning
>
> * Rails: fix serving HTTP 404s for WillPaginate::InvalidPage exceptions
>
> ## will_paginate 3.1.8
> * Avoid warnings on Ruby 2.7
>
> ## will_paginate 3.1.7
> * Rails 5.2.2.1 & 6.0.0 compatibility
>
> ## will_paginate 3.1.6
> Reference Integer instead of Fixnum to avoid Ruby 2.4 deprecation warning.
>
> ## will_paginate 3.1.5
> - Avoid Rails 5 deprecation warning about `original_exception`
> - No longer generates `` for first page link since "start" is an invalid rel value
>
> ## will_paginate 3.1.3
> - Rails 5 compatibility for inheriting query params in pagination links
> - Fix locale load path so that application can override will_paginate's built-in translations.
>
> ## will_paginate 3.1.2
> Further fix security vulnerability when generating pagination URLs in Rails.
>
> ## will_paginate 3.1.1
> Fixed security vulnerability when generating pagination URLs in Rails.
>
> ## will_paginate 3.1.0
> - Rails 5.0 support
> - Drop support for old Active Record finder params to `paginate()`:
>
> ``` rb
> # now unsupported:
> User.paginate(:page => 1, :order => 'created_at DESC', :conditions => ...)
> ... (truncated)
Commits
- [`cb60abe`](https://github.com/mislav/will_paginate/commit/cb60abeed31a4baf5dedba8b00b01b75278e48d7) will_paginate 3.2.0
- [`3175efa`](https://github.com/mislav/will_paginate/commit/3175efa5db216891d2b92a91c5476d5b66623912) Merge branch 'aria'
- [`0283679`](https://github.com/mislav/will_paginate/commit/028367975ba474a8a55a13f7bcfafc87c028d3e5) Merge pull request [#544](https://github-redirect.dependabot.com/mislav/will_paginate/issues/544) from phoffer/hanami
- [`0c89db6`](https://github.com/mislav/will_paginate/commit/0c89db6da434aa40835a1ba0f5176979fb326721) Merge pull request [#571](https://github-redirect.dependabot.com/mislav/will_paginate/issues/571) from rgaufman/master
- [`1437d5e`](https://github.com/mislav/will_paginate/commit/1437d5ee9911c9064eb643529528d12f2be0bb09) Merge pull request [#552](https://github-redirect.dependabot.com/mislav/will_paginate/issues/552) from Pacyfik/doc_syntax_fix
- [`c407984`](https://github.com/mislav/will_paginate/commit/c407984dd9e5780ad2fc3885b2d3d214f040838b) Make pagination markup more accessible
- [`7c555ff`](https://github.com/mislav/will_paginate/commit/7c555ff356dda901fd9f5d1478f1cb53993d2d7d) Fix comparing Nokogiri documents in tests
- [`0ea9944`](https://github.com/mislav/will_paginate/commit/0ea99440d46ce42a439806ad32859a73a47362ff) Upgrade RSpec for Fixnum deprecation
- [`c897e3d`](https://github.com/mislav/will_paginate/commit/c897e3d7420775b5407b15d82a22870c8c79181b) Work around Action View deprecations
- [`5d4014c`](https://github.com/mislav/will_paginate/commit/5d4014c0214b5578486a9e89a440ab4cb0d1956a) Merge pull request [#588](https://github-redirect.dependabot.com/mislav/will_paginate/issues/588) from johantell/fix_circular_require
- Additional commits viewable in [compare view](https://github.com/mislav/will_paginate/compare/v3.0.4...v3.2.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/hhba/mapa76/network/alerts).
Bumps will_paginate from 3.0.4 to 3.2.0.
Release notes
*Sourced from [will_paginate's releases](https://github.com/mislav/will_paginate/releases).* > ## will_paginate 3.2.0 > * Performance: avoid extending Numeric with PageNumber logic > > BREAKING: `Integer === page_number` is no longer true. > > * Make pagination markup more accessible: > > - container div now has `role="navigation"`; > - container div now has `aria-label="Pagination"`, translatable via `will_paginate.container_aria_label` i18n key; > - individual page links now have `aria-label="Page {N}"`, translatable via `will_paginate.page_aria_label` i18n key; > - current page now has `aria-current="page"`. > > * Add support for `will_paginate` view helpers in Hanami View > > * Add `total_entries` support for Mongoid > > * Rails: avoid circular require warning > > * Rails: fix serving HTTP 404s for WillPaginate::InvalidPage exceptions > > ## will_paginate 3.1.8 > * Avoid warnings on Ruby 2.7 > > ## will_paginate 3.1.7 > * Rails 5.2.2.1 & 6.0.0 compatibility > > ## will_paginate 3.1.6 > Reference Integer instead of Fixnum to avoid Ruby 2.4 deprecation warning. > > ## will_paginate 3.1.5 > - Avoid Rails 5 deprecation warning about `original_exception` > - No longer generates `` for first page link since "start" is an invalid rel value > > ## will_paginate 3.1.3 > - Rails 5 compatibility for inheriting query params in pagination links > - Fix locale load path so that application can override will_paginate's built-in translations. > > ## will_paginate 3.1.2 > Further fix security vulnerability when generating pagination URLs in Rails. > > ## will_paginate 3.1.1 > Fixed security vulnerability when generating pagination URLs in Rails. > > ## will_paginate 3.1.0 > - Rails 5.0 support > - Drop support for old Active Record finder params to `paginate()`: > > ``` rb > # now unsupported: > User.paginate(:page => 1, :order => 'created_at DESC', :conditions => ...) > ... (truncated)Commits
- [`cb60abe`](https://github.com/mislav/will_paginate/commit/cb60abeed31a4baf5dedba8b00b01b75278e48d7) will_paginate 3.2.0 - [`3175efa`](https://github.com/mislav/will_paginate/commit/3175efa5db216891d2b92a91c5476d5b66623912) Merge branch 'aria' - [`0283679`](https://github.com/mislav/will_paginate/commit/028367975ba474a8a55a13f7bcfafc87c028d3e5) Merge pull request [#544](https://github-redirect.dependabot.com/mislav/will_paginate/issues/544) from phoffer/hanami - [`0c89db6`](https://github.com/mislav/will_paginate/commit/0c89db6da434aa40835a1ba0f5176979fb326721) Merge pull request [#571](https://github-redirect.dependabot.com/mislav/will_paginate/issues/571) from rgaufman/master - [`1437d5e`](https://github.com/mislav/will_paginate/commit/1437d5ee9911c9064eb643529528d12f2be0bb09) Merge pull request [#552](https://github-redirect.dependabot.com/mislav/will_paginate/issues/552) from Pacyfik/doc_syntax_fix - [`c407984`](https://github.com/mislav/will_paginate/commit/c407984dd9e5780ad2fc3885b2d3d214f040838b) Make pagination markup more accessible - [`7c555ff`](https://github.com/mislav/will_paginate/commit/7c555ff356dda901fd9f5d1478f1cb53993d2d7d) Fix comparing Nokogiri documents in tests - [`0ea9944`](https://github.com/mislav/will_paginate/commit/0ea99440d46ce42a439806ad32859a73a47362ff) Upgrade RSpec for Fixnum deprecation - [`c897e3d`](https://github.com/mislav/will_paginate/commit/c897e3d7420775b5407b15d82a22870c8c79181b) Work around Action View deprecations - [`5d4014c`](https://github.com/mislav/will_paginate/commit/5d4014c0214b5578486a9e89a440ab4cb0d1956a) Merge pull request [#588](https://github-redirect.dependabot.com/mislav/will_paginate/issues/588) from johantell/fix_circular_require - Additional commits viewable in [compare view](https://github.com/mislav/will_paginate/compare/v3.0.4...v3.2.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/hhba/mapa76/network/alerts).