Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
"~> 6.0"
->"~> 9.0"
Release Notes
ddnexus/pagy (pagy)
v9.0.8
Compare Source
v9.0.7
Compare Source
v9.0.6
Compare Source
v9.0.5
Compare Source
v9.0.4
Compare Source
v9.0.3
Compare Source
v9.0.2
Compare Source
v9.0.1
Compare Source
v9.0.0
Compare Source
Breaking Changes
Dropped support for deprecated stuff
foundation
,materialize
,semantic
anduikit
CSS extras have been removed:(See the reasons)
pagy.js
: usepagy.min.js
pagy-module.js
: usepagy.mjs
pagy-dev.js
: use thepagy.min.js
with thepagy.min.js.map
pagy-module.d.ts
: usepagy.d.ts
:size
(e.g.size: [1, 4, 4, 1]
) that generates the classic bar is not supported anymore: use the:size
set to an integer with theends: true
variable (which are the default since 8.4.6). If a legacy bar remains REALLYa requirement, add
require 'pagy/extras/size
to yourpagy.rb
initalizer. (See thesize extra)
Simple renaming
We used
items
for too many things that confused even maintainers. The "items" are now referencing only the records/elementsfetched from a collection (plural entity), so they are kept as before (e.g.
pagy_*get_items
methods).The "number of items" (singular entity), are now unmistakably referenced as the
limit
everywhere (code, API, files, extras,docs, etc.). The logic didn't change so you have just to globally search 'items' and replace with
limit
and you should bedone... or use the detailed table below:
:items
:limit
pagy/extras/items
pagy/extras/limit
:items_param
:limit_param
items
limit
:items_extra
:limit_extra
:max_items
:limit_max
(now inverted)pagy_items_selector_js
pagy_limit_selector_js
:headers[:items]
:headers[limit]
Code changes
DEFAULT[:anchor_string]
was useless and has been dropped.:anchor_string
and the:fragment
are not instance variables anymore, but keyword arguments for all the helpers,because it is frontend code (see the discussion). Instead of passing them to the
pagy*
method in the controller, pass it to anypagy_*nav
method in the view.arguments. If you get a
wrong number of arguments (given 1, expected 0) (ArgumentError)
, just use a double splat**
.Possibly breaking overrides
classes, you may need to search into the code.
v8.6.3
: Version 8.6.3Compare Source
✴ What's new in 8.0+ ✴
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (See the details)Changes in 8.6.3
CHANGELOG
v8.6.2
: Version 8.6.2Compare Source
✴ What's new in 8.0+ ✴
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (See the details)Changes in 8.6.2
CHANGELOG
v8.6.1
: Version 8.6.1Compare Source
✴ What's new in 8.0+ ✴
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (See the details)Changes in 8.6.1
CHANGELOG
v8.6.0
: Version 8.6.0Compare Source
✴ What's new in 8.0+ ✴
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (See the details)Changes in 8.6.0
CHANGELOG
v8.5.0
: Version 8.5.0Compare Source
✴ What's new in 8.0+ ✴
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (See the details)Changes in 8.5.0
CHANGELOG
v8.4.5
: Version 8.4.5Compare Source
✴ What's new in 8.0+ ✴
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (See the details)Changes in 8.4.5
CHANGELOG
v8.4.4
: Version 8.4.4Compare Source
✴ What's new in 8.0+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (Seethe details)
Changes in 8.4.4
CHANGELOG
v8.4.3
: Version 8.4.3Compare Source
✴ What's new in 8.0+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (Seethe details)
Changes in 8.4.3
CHANGELOG
v8.4.2
: Version 8.4.2Compare Source
✴ What's new in 8.3+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (Seethe details)
Changes in 8.4.2
CHANGELOG
v8.4.1
: Version 8.4.1Compare Source
✴ What's new in 8.3+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (Seethe details)
Changes in 8.4.1
next_a
"aria-label" (#700)CHANGELOG
v8.4.0
: Version 8.4.0Compare Source
✴ What's new in 8.3+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (Seethe details)
Changes in 8.4.0
particular storage conditions (see #696)
CHANGELOG
v8.3.0
: Version 8.3.0Compare Source
✴ What's new in 8.3+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countfoundation
,materialize
,semantic
anduikit
CSS extras have been discontinued and will be removed in v9 (See the details)Changes in 8.3.0
CHANGELOG
v8.2.2
: Version 8.2.2Compare Source
⚠ WARNING
We may drop pagy's less used CSS extras.
If you wish to keep your favorites alive, please, vote here
✴ What's new in 8.+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countChanges in 8.2.2
CHANGELOG
v8.2.1
: Version 8.2.1Compare Source
⚠ WARNING
We may drop pagy's less used CSS extras.
If you wish to keep your favorites alive, please, vote here
✴ What's new in 8.+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countChanges in 8.2.1
CHANGELOG
v8.2.0
: Version 8.2.0Compare Source
⚠ WARNING
We may drop pagy's less used CSS extras.
If you wish to keep your favorites alive, please, vote here
✴ What's new in 8.+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countChanges in 8.2.0
CHANGELOG
v8.1.2
: Version 8.1.2Compare Source
⚠ WARNING
We may drop pagy's less used CSS extras.
If you wish to keep your favorites alive, please, vote here
✴ What's new in 8.+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countChanges in 8.1.2
CHANGELOG
v8.1.1
: Version 8.1.1Compare Source
⚠ WARNING
We may drop pagy's less used CSS extras.
If you wish to keep your favorites alive, please, vote here
✴ What's new in 8.+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countChanges in 8.1.1
CHANGELOG
v8.1.0
: Version 8.1.0Compare Source
⚠ WARNING
We may drop pagy's less used CSS extras.
If you wish to keep your favorites alive, please, vote here
✴ What's new in 8.+ ✴
your side (try the pagy demo)
:max_pages
variable to limit the pagination regardless the actual countChanges in 8.1.0
CHANGELOG
v8.0.2
: Version 8.0.2Compare Source
⚠ WARNING
We may drop pagy's less used CSS extras.
If you wish to keep your favorites alive, please, vote here
✴ What's new in 8.+ ✴
your side (try the pagy demo)
Changes in 8.0.2
CHANGELOG
v8.0.1
: Version 8.0.1Compare Source
⚠ WARNING
We may drop pagy's less used CSS extras.
If you wish to keep your favorites alive, please, vote here
✴ What's new in 8.0+ ✴
your side (try the pagy demo)
v8.0.0
: Version 8.0.0Compare Source
⚠ WARNING
We may drop pagy's less used CSS extras.
If you wish to keep your favorites alive, please, vote here
✴ What's new in 8.0.0 ✴
your side (try the pagy demo)
v7.0.11
Compare Source
v7.0.10
Compare Source
v7.0.9
Compare Source
v7.0.8
Compare Source
v7.0.7
Compare Source
v7.0.6
Compare Source
v7.0.5
Compare Source
v7.0.4
Compare Source
v7.0.3
Compare Source
v7.0.2
Compare Source
v7.0.1
Compare Source
v7.0.0
Compare Source
✴ What's new ✴
:size
)v6.5.0
Compare Source
v6.4.4
Compare Source
v6.4.3
Compare Source
v6.4.2
Compare Source
v6.4.1
Compare Source
v6.4.0
Compare Source
v6.3.0
Compare Source
v6.2.0
Compare Source
Configuration
📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.