Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pagy from 3.11.0 to 6.0.0 #419

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2023

Bumps pagy from 3.11.0 to 6.0.0.

Changelog

Sourced from pagy's changelog.

Version 6.0.0

Breaking changes

Removed support for the deprecation of 5.0:

  • The pagy_massage_params method: use the :params variable set to a lambda Proc that does the same (but per instance). See How to customize the params.
  • The activesupport core dependency is now an optional requirement if you use the calendar: you must add gem 'activesuport' to your Gemfile if your app doesn't use rails.
  • The plain Time objects in the :period variable: use only ActiveSupport::TimeWithZone objects.
  • The :offset variable used by the Pagy::Calendar::Week: set the Date.beginning_of_week variable to the symbol of the first day of the week (e.g. Date.beginning_of_week = :sunday). Notice the default is :monday consistently with the ISO-8601 standard (and Rails).
  • The Pagy::DEFAULT[:elasticsearch_rails_search_method]: use Pagy::DEFAULT[:elasticsearch_rails_pagy_search] instead.
  • The Pagy::DEFAULT[:searchkick_search_method]: use Pagy::DEFAULT[:searchkick_pagy_search] instead.
  • The Pagy::DEFAULT[:meilisearch_search_method]: use Pagy::DEFAULT[:meilisearch_pagy_search] instead.

Suggestions for a smooth removal of deprecations from pagy 5

  • Upgrade to the latest version of pagy 5 (5.10.1)
  • Run your tests or app
  • Check the log for any deprecations message starting with '[PAGY WARNING]'
  • Update your code as indicated by the messages
  • Ensure that the log is now free from warnings
  • If you are overriding the pagy_url_for method ensure you add the extra parameters required..
  • Upgrade to pagy 6

Changes

  • Added new doc changes
  • Replaced the gitter support with the Q&A discussion links
  • reorganized cypress tests
  • Updated run configurations
  • Fix for bump.sh
  • Add Meilisearch finite pagination by default in the meilisearch extra (#417)
  • Allowing users to override the request path (#404)(squashed)
  • Fix the args in the Pagy::Countless#series override (#411)(fixes #410)
  • update: pagy_bare_rails script: for db testing (#379)
  • Fix rubocop glitch
  • added specific typescript installation to pagy-ci
  • Chore: update github action versions to latest
  • Reorganized pnpm setup and updated pagy.js to the new parcel default
  • Reduced the error level for eslint rules
  • Add Dependabot for GitHub Actions (#392)
  • Fix NoMethodError when page param is hash (#390)
  • Removed deprecated variables for the search extras
  • Removed deprecated :offset variable for Calendar::Week
  • Removed deprecated support for Time instances
  • Removed activesupport hard dependency
  • Removed support for deprecated pagy_massage_params
  • fixup .gitignore
  • Dropped docker env support
  • Calendar code cleanup and normalization

... (truncated)

Commits
  • 1296353 Merge branch 'dev'
  • 3df9401 Version 6.0.0
  • 3abd817 Added new doc changes
  • c2f2bf7 Replaced the gitter support with the Q&A discussion links
  • cd3a6cb reorganized cypress tests
  • d4c3004 Updated run configurations
  • 7151517 Fix for bump.sh
  • 1a8ae72 Add Meilisearch finite pagination by default in the meilisearch extra (#417)
  • 6e939a0 Allowing users to override the request path (#404)(squashed)
  • 02013d4 Fix the args in the Pagy::Countless#series override (#411)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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](https://github.com/ddnexus/pagy) from 3.11.0 to 6.0.0.
- [Release notes](https://github.com/ddnexus/pagy/releases)
- [Changelog](https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md)
- [Commits](ddnexus/pagy@3.11.0...6.0.0)

---
updated-dependencies:
- dependency-name: pagy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependency Pull requests that update a dependency file need review A developer has made the final commit and the pull request needs to be checked by reviewers labels Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Pull requests that update a dependency file need review A developer has made the final commit and the pull request needs to be checked by reviewers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants