gems pagy 43.2.5
Version 43.2.5

latest release: 43.2.6
13 hours ago

Changes in 43.2.5

  • Fix Pagy::I18n.locale to ensure to_s. Close #861.
  • Reduce endless methods to very short, paramless ones
  • Refactor the in_range? method:
    • Remove implicit assignation to empty page variable
  • Enforce freezing the Pagy::Request object and params
  • Refactor calendar:
    • Remove the marshaling
    • Improve use and naming of locals
    • Improve readability
  • Refactor linkable:
    • Improve use of locals
    • Extend conditional sub to fragment
    • Improve readability
  • Improve simplicity and readability

CHANGELOG



Version 43

We needed a leap version to unequivocally signal that it's not just a major version: it's a complete redesign of the legacy code at all levels, usage and API included.

Why 43? Because it's exactly one step beyond "The answer to the ultimate question of life, the Universe, and everything." 😉

Improvements

This version introduces several enhancements, such as new :countish and :keynav_js paginators and improved automation and configuration processes, reducing setup requirements by 99%. The update also includes a simpler API and new interactive development tools, making it a comprehensive upgrade from previous versions.

  • New :countish Paginator
    • Faster than OFFSET and supporting the full UI
  • New Keynav Pagination
    • The pagy-exclusive technique using the fastest keyset pagination alongside all frontend helpers.
  • New interactive dev-tools
    • New PagyWand to integrate the pagy CSS with your app themes.
    • New Pagy AI available right inside your own app.
  • Intelligent automation
  • Simpler API
    • You solely need the pagy method and the @pagy instance to paginate any collection and use any navigation tag and helper.
    • Methods are autoloaded only if used, and consume no memory otherwise.
    • Methods have narrower scopes and can be overridden without deep knowledge.
  • New documentation
    • Very concise, straightforward, and easy to navigate and understand.

Upgrade to 43

See the Upgrade Guide

Don't miss a new pagy release

NewReleases is sending notifications on new releases.