codebar / planner

🗓 the main codebar site
https://codebar.io
MIT License
92 stars 193 forks source link

Bump pagy from 6.4.3 to 8.0.2 #2056

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 7 months ago

Bumps pagy from 6.4.3 to 8.0.2.

Release notes

Sourced from pagy's releases.

Version 8.0.2

⚠ 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.+ ✴

  • Better frontend helpers
  • New Pagy Playground to showcase, clone and develop pagy APPs without any setup on your side (try the pagy demo)
  • See the CHANGELOG for possible breaking changes

Changes in 8.0.2

  • Minor change in rails app and RM run config
  • Fix canonical gem root:
    • Correct script.build: "NODE_PATH="$(bundle show 'pagy')/javascripts"
    • Move pagy.gemspec inside the gem root dir
  • Fix for Turbo not intercepting changes in window.location
  • Use require_relative for gem/lib files
  • Complete translation of aria.nav for "ru" locale (close #599)
  • Docs improvement and fixes

CHANGELOG

Version 8.0.1

⚠ 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+ ✴

  • Better frontend helpers
  • New Pagy Playground to showcase, clone and develop pagy APPs without any setup on your side (try the pagy demo)
  • See the Changelog for possible breaking changes

Version 8.0.0

⚠ WARNING

We may drop pagy's less used CSS extras.

If you wish to keep your favorites alive, please, vote here

... (truncated)

Changelog

Sourced from pagy's changelog.

Version 8.0.2

  • Minor change in rails app and RM run config
  • Fix canonical gem root:
    • Correct script.build: "NODE_PATH="$(bundle show 'pagy')/javascripts"
    • Move pagy.gemspec inside the gem root dir
  • Fix for Turbo not intercepting changes in window.location
  • Use require_relative for gem/lib files
  • Complete translation of aria.nav for "ru" locale (close #599)
  • Docs improvement and fixes

Version 8.0.1

  • Reorganize the gem root dir: it was the lib dir (containing everything), now is the gem dir (containing lib and everything else).
  • Fix broken link in README

Version 8.0.0

Breaking changes

  • Renamed/removed the following arguments for all the helpers:
    • Search pagy_id:, replace with id:
    • Search nav_aria_label:, replace witharia_label:
    • The nav_i18n_key has been removed: pass the interpolated/pluralized value as the aria_label: argument
    • The item_i18n_key has been removed: pass the interpolated/pluralized value as the item_name: argument
    • The link_extra: has been removed: its cumulative mechanism was confusing and error prone. The :anchor_string pagy variable substitutes it, however it's not an helper argument anymore, so you can assign it as the DEFAULT[:anchor_string] and/or pass it as any other pagy variable at object construction. ( See customize the link attributes)
  • HTML structure, classes and internal methods have been changed: they may break your views if you used custom stylesheets, templates or helper overrides. See the complete changes below if you notice any cosmetic changes or get some exception.
  • The navs and support extras has been merged into the new pagy extra. Search for "extra/navs" and "extras/support" and replace with "extras/pagy" (remove the duplicate if you used both)
  • The build path for javascript builders has been updated to the canonical paths for gems, and has moved from the lib to the gem root. Notice that the correct setup in package json was still wrongly wrapped in the gem dir for 8.0.0-8.0.1, and it has finally been fixed in 8.0.2 (sorry for that):
    • 8.0.0-8.0.1 only: build: "NODE_PATH=\"$(bundle show 'pagy')/gem/javascripts\" <your original command>"
    • 8.0.2+: build: "NODE_PATH=\"$(bundle show 'pagy')/javascripts\" <your original command>"

Changes

  • Streamlined HTML and CSS helper structure. You may want to look at the actual output by running the pagy demo
    • The pagy_nav and pagy_nav_js helpers output a series of a tags inside a wrapper nav tag (nothing else)
    • The disabled links are so because they are missing the href attributes. (They also have the role="link" and aria-disabled="true" attributes)
    • The current and gap classes are assigned to the specific a tags
    • HTML changes

... (truncated)

Commits
  • 55c6955 Merge branch 'dev'
  • 98cf69f Version 8.0.2
  • 58a44b1 Improve release content in version-bump.sh
  • 5c203c6 Minor change in rails app and RM run config
  • b614544 Update gems and node modules
  • e406a56 Fix canonical gem root:
  • e782ceb Fix for Turbo not intercepting changes in window.location
  • 9f40e96 Use require_relative for gem/lib files
  • 7b3cc77 Reorganize default task and update RM run configurations
  • 9122d04 Faster rubocop
  • Additional commits viewable in compare view


Dependabot compatibility score

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)
dependabot[bot] commented 6 months ago

Superseded by #2058.