Fix for missing to fetch count_args default (close #645)
Non-code improvements
Version 7.0.1
Updates ckb translations to be complaint with ARIA in v7.x.x (#643)
Version 7.0.0
Breaking changes
Dropped old rubies support: Pagy follows the ruby end-of-life supported rubies now.
Renamed :i18n_key > :item_i18n_key
Refactored support extra
Renamed pagy_prev_link to pagy_prev_html to avoid confusion with pagy_prev_link_tag
Removed pagy_next_link to pagy_next_html to avoid confusion with pagy_next_link_tag
Rack 3 breaking changes:
The headers extra produces all lowercase headers, regardless how you set
them see rack issue
Removed :escaped_html option from pagy_url_for (only breaking if you override the method or use the option directly)
Dictionary structure changes: (affects only app with custom helper/templates/dictionary entries)
The nav entry has been flattened: pagy.nav.* entries are now pagy.*:
If you have custom helpers/templates: search the keys that contain '.nav.' and replace them with '.'
If you have custom dictionary entries (overrides): remove the 'nav:' line and unindent its block
A few labels used as aria-label have been added: you may want to add/use them to your custom helper/templates/dictionaries
for ARIA compliance.
pagy.aria_label.nav Pluralized entry: used in the nav element
pagy.aria_label.prev, pagy.aria_label.next Single entry: used in the prev/next a link elements
Default changes (possibly breaking test/views)
Changed Pagy::DEFAULT[:size] variable defaults from [1, 4, 4, 1] to 7. You can explicitly set/restore it in the
initializer, if your app was relying on it.
Added sensible :size defaults in Calendar Unit subclasses. You can explicitly set it in the initializer, if your app was
relying on it.
Pagy::Calendar::Day::DEFAULT[:size]31
Pagy::Calendar::Month::DEFAULT[:size]12
Pagy::Calendar::Quarter::DEFAULT[:size]4
Pagy::Calendar::Year::DEFAULT[:size]10
Changed a few format defaults in Calendar Unit subclasses. You can explicitly set it in the initializer, if your app was
relying on it.
Pagy::Calendar::Day::DEFAULT[:format] from '%Y-%m-%d' to '%d'
Pagy::Calendar::Month::DEFAULT[:format] from '%Y-%m' to '%b'
Pagy::Calendar::Quartr::DEFAULT[:format] from '%Y-Q%q' to 'Q%q'
Visual changes (possibly breaking test/views)
The ARIA label compliance required the refactoring of all the nav helper that might look slightly different now.
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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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)
Bumps pagy from 6.4.3 to 7.0.2.
Release notes
Sourced from pagy's releases.
Changelog
Sourced from pagy's changelog.
... (truncated)
Commits
f7a1e2d
Merge branch 'dev'b18c648
Version 7.0.25b9358c
Fix for missing to fetch count_args default (close #645)31079a2
Edit Code issue templatedb0b8bb
Update top100ff8a1e4
Better gem management cycle taskfb09d28
Non-code script improvements1618e47
Remove release workflow - back to rake tasks nowbc35cc4
Merge branch 'dev'97b76d6
Version 7.0.1Dependabot 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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show