pagy breaking changes
Updated December 4, 2026
On this page
Latest version 43.8.9, released December 3, 2026. Source repository
Its 7.0.0 release requires Ruby 3.1 or later. Ruby end of life dates.
- From 9.0.0 to 43.0.0: 52 breaking changes in 1 version.
- From 0.8.0 to 43.0.0: 157 breaking changes in 15 versions.
pagy 43.0.0 breaking changes
- Removed
client_limit
Delete the old client_limit and enable the feature with client_limit: allowed_max_limit. ddnexus.github.io - Removed
count_args
Remove the count_args option; it is integrated now. ddnexus.github.io - Removed
cycle
Remove the cycle option. ddnexus.github.io - Removed
gearbox
Remove all gearbox-related code from your app, since the feature is no longer available. ddnexus.github.io - Removed
limit_extra
Delete the limit_extra option. ddnexus.github.io - Removed
outset
Remove the outset option. ddnexus.github.io - Removed
overflow
The overflow option is no longer used; out-of-range requests show an empty page. ddnexus.github.io - Removed
overflow: :last_page
The overflow option is no longer used; the last_page overflow behavior is discontinued. ddnexus.github.io - Removed
pagy_arel
Use pagy(:offset, count_over: true, ...) instead of pagy_arel. ddnexus.github.io - Removed
pagy_array
Use pagy(:offset, ...) instead of pagy_array. ddnexus.github.io - Removed
pagy_calendar
Use pagy(:calendar, ...) instead. ddnexus.github.io - Removed
pagy_countless
Use pagy(:countless, ...) instead. ddnexus.github.io - Removed
pagy_headers
Use @pagy.headers_hash(...) instead. ddnexus.github.io - Removed
pagy_jsonapi_links
Use @pagy.urls_hash(...) instead. ddnexus.github.io - Removed
pagy_keyset
Use pagy(:keyset, ...) instead. ddnexus.github.io - Removed
pagy_meilisearch
Use pagy(:meilisearch, ...) instead. ddnexus.github.io - Removed
pagy_metadata
Use @pagy.data_hash(...) instead. ddnexus.github.io - Removed
pagy_next_link
Implement next link rendering manually. ddnexus.github.io - Removed
pagy_prev_link
The helper is gone; implement the previous link manually. ddnexus.github.io - Removed
pagy_searchkick
Use pagy(:searchkick, ...) instead. ddnexus.github.io - Removed
Pagy.DEFAULT
Move the Pagy::DEFAULT entries into pagy.rb and rename them to Pagy::OPTIONS. ddnexus.github.io - Removed
Pagy.I18n.translate_with_the_slower_i18n_gem
Only uncomment or add Pagy.translate_with_the_slower_i18n_gem! if absolutely necessary. ddnexus.github.io - Removed
params
Use the querify lambda to modify the string-keyed params hash instead of the params option. ddnexus.github.io - Removed
require 'pagy.extras.*'
The extras are integrated into the core or discontinued; remove their require lines. ddnexus.github.io - Renamed
:url
Pass the request hash option instead of the url variable. ddnexus.github.io - Renamed
@pagy.vars
Read @pagy.options instead of @pagy.vars. ddnexus.github.io - Renamed
countless_minimal
Replace countless_minimal: true with headless: true. ddnexus.github.io - Renamed
data_key
Use :url_template instead of :scaffold_url for the data_key entry. ddnexus.github.io - Renamed
ends
Replace ends: false with compact: true. ddnexus.github.io - Renamed
include Pagy.Backend
Include Pagy::Method instead of Pagy::Backend. ddnexus.github.io - Renamed
limit_param
Use a string value with limit_key instead of a symbol with limit_param. ddnexus.github.io - Renamed
page_param
Use a string value with page_key instead of a symbol with page_param. ddnexus.github.io - Renamed
pagy_array
Use pagy(:offset, ...) in place of pagy_array(...). ddnexus.github.io - Renamed
pagy_countless
Replace pagy_countless(...) with pagy(:countless, ...). ddnexus.github.io - Renamed
pagy_elasticsearch_rails
Use pagy(:elasticsearch_rails, ...) instead. ddnexus.github.io - Renamed
pagy_info
Use @pagy.info_tag(...) instead of pagy_info. ddnexus.github.io - Renamed
pagy_metadata
Call @pagy.data_hash(...) instead of pagy_metadata(@pagy, ...). ddnexus.github.io - Renamed
pagy_nav
Use @pagy.series_nav(...) instead of pagy_nav. ddnexus.github.io - Renamed
pagy_nav_js
Call @pagy.series_nav_js(...) instead of the old pagy_nav_js helper. ddnexus.github.io - Renamed
Pagy.Backend
Include Pagy::Method instead of Pagy::Backend. ddnexus.github.io - Renamed
Pagy.Calendar.OutOfRangeError
Rescue Pagy::RangeError instead of Pagy::Calendar::OutOfRangeError. ddnexus.github.io - Renamed
pagy.overflow?
Use in_range?, which returns the opposite boolean of overflow?. ddnexus.github.io - Renamed
Pagy.root
Use Pagy::ROOT instead of Pagy.root. ddnexus.github.io - Renamed
size
Rename the size option to slots. ddnexus.github.io - Renamed
url
Replace the :url variable with the :request hash option. ddnexus.github.io - Renamed
VariableError
Rescue OptionError instead of VariableError. ddnexus.github.io - Behavior changed
fragment
The fragment option now takes an optional leading #, instead of requiring it. ddnexus.github.io - Behavior changed
jsonapi
Nil links are removed from JSON:API output; the jsonapi option must be set explicitly. ddnexus.github.io - Behavior changed
pagy_jsonapi_links
Nil links are now removed from output, and the jsonapi: true option must be set explicitly to enable the feature. ddnexus.github.io - Behavior changed
Pagy.OverflowError
Pagy::OverflowError is replaced by Pagy::RangeError, and out-of-range pages now serve an empty page unless raise_range_error: true is set. ddnexus.github.io
And 2 more in this version. Sign up to see every change
pagy 9.0.0 breaking changes
- Removed
Over eight previously deprecated features are removed. Stop using deprecated pagy options and methods before upgrading. github.com - Renamed
:max_limit
The :max_limit option is renamed to :limit_max. Update code that passes :max_limit. github.com - Renamed
items
The "items" name is renamed to "limit" across variables, params, accessors, extras and helpers. Update code that uses the old name. github.com - Behavior changed
The fragment URL is refactored in a breaking way. Check code that builds or parses fragment URLs. github.com - Behavior changed
The anchor_string system is refactored in a breaking way. Check code that relies on anchor string output. github.com - Signature changed
vars
The vars positional hash argument is now passed as keyword arguments (double splat). Update calls that pass a hash positionally. github.com
pagy 8.0.0 breaking changes
- Behavior changed
The maintainers may remove pagy's less used CSS extras; users relying on them should vote to keep them. No change takes effect in this release itself. github.com - Behavior changed
The release notes say breaking changes are listed in the changelog, which should be checked before upgrading. github.com
pagy 7.0.0 breaking changes
- Removed
Pagy follows Ruby's end-of-life schedule and now supports Ruby 3.1+. Users on older Ruby versions must upgrade Ruby before upgrading Pagy. github.com - Behavior changed
The release notes point to the Changelog for possible breaking changes, which should be reviewed before upgrading. github.com
pagy 6.0.0 breaking changes
- Removed
:offset
The :offset variable used by Pagy::Calendar::Week is removed. Set Date.beginning_of_week to the first day of the week instead; the default is :monday. github.com - Removed
:period
Plain Time objects in the :period variable are no longer supported. Use only ActiveSupport::TimeWithZone objects. github.com - Removed
pagy_massage_params
The pagy_massage_params method is gone. Set the :params variable to a lambda Proc that does the same, per instance. github.com - Removed
Pagy.DEFAULT[:elasticsearch_rails_search_method]
This Pagy::DEFAULT key is removed. Use Pagy::DEFAULT[:elasticsearch_rails_pagy_search] instead. github.com - Removed
Pagy.DEFAULT[:meilisearch_search_method]
This Pagy::DEFAULT key is removed. Use Pagy::DEFAULT[:meilisearch_pagy_search] instead. github.com - Removed
Pagy.DEFAULT[:searchkick_search_method]
This Pagy::DEFAULT key is removed. Use Pagy::DEFAULT[:searchkick_pagy_search] instead. github.com - Default changed
The meilisearch extra uses finite pagination by default. Code relying on the previous default may see different results. github.com - Configuration changed
The activesupport core dependency becomes optional, needed only for the calendar. Apps not using Rails must add it to their Gemfile. github.com
pagy 5.0.0 breaking changes
- Removed
Pagy.VARS[:anchor]
Use Pagy::VARS[:fragment] instead of the removed anchor variable. github.com - Renamed
enable_items_extra
Search and replace enable_items_extra with items_extra in your code. github.com - Renamed
enable_trim_extra
Search and replace enable_trim_extra with trim_extra in your code. github.com - Renamed
pagy_get_params
Search and replace pagy_get_params with pagy_massage_params in your code. github.com - Renamed
Pagy.Helpers
Search and replace Pagy::Helpers with Pagy::UrlHelpers in your code. github.com - Renamed
Pagy.VARS
Search and replace Pagy::VARS with Pagy::DEFAULT in your code. github.com - Behavior changed
@pagy.items
@pagy.items now always equals the requested items. If you need the actual number of items on the page, use @pagy.in instead. github.com - Signature changed
Pass the id html attribute with the pagy_id keyword instead of a positional string. github.com - Signature changed
Pass the url/absolute flag with the absolute keyword instead of a positional argument. github.com - Signature changed
Pass the item name with the item_name keyword instead of a positional string. github.com
And 3 more in this version. Sign up to see every change
Older versions
10 older versions, each with its first changes. Sign up to see every change
Show 10 older versions
pagy 4.0.0 breaking changes
- Removed
Deprecated old and renamed locales are no longer supported; use the current locale names. github.com - Removed
The deprecated locales were removed in this release. github.com
And 5 more in this version.
pagy 3.0.0 breaking changes
- Removed
Plural keys inconsistent with the locale were removed; custom dictionaries must be updated to match. github.com - Removed
pagy_apply_init_tag
pagy_apply_init_tag was removed with no replacement. github.com
And 23 more in this version.
pagy 2.0.0 breaking changes
- Removed
pagy.extras.navs
The navs extra file is gone. Require pagy/extras/plain instead. github.com - Renamed
pagy_nav_bootstrap
The legacy helper name was renamed. Search and replace it with the new name; the behavior is unchanged. github.com
And 23 more in this version.
pagy 1.0.0 breaking changes
- Renamed
:out_of_range_mode
The :out_of_range_mode option is renamed to :overflow. Search and replace the old name in your code. github.com - Renamed
out_of_range
The "/out_of_range" string is renamed to "/overflow". Search and replace it in your code. github.com
And 3 more in this version.
pagy 0.20.0 breaking changes
- Removed
pagy.nav.current
The marginal pagy.nav.current key was removed, along with consistency changes to foundation helpers and templates that used it. github.com - Behavior changed
The compact helpers and item selectors were refactored, so overridden helpers must be updated. The i18n structure changed, so custom locale files must be updated. github.com
And 1 more in this version.
pagy 0.18.0 breaking changes
- Removed
compact
The compact extra is gone and its helpers are now in the frontend extras. Remove it from the pagy.rb initializer and add the navs extra if you use its plain helpers. github.com - Removed
responsive
The responsive extra is gone and its helpers are now in the frontend extras. Remove it from the pagy.rb initializer and add the navs extra if you use its plain helpers. github.com
And 1 more in this version.
pagy 0.11.0 breaking changes
- Renamed
pagy_nav_boostrap_responsive
The pagy_nav_bootstrap_compact and pagy_nav_boostrap_responsive helpers were renamed to pagy_nav_compact_bootstrap and pagy_nav_responsive_bootstrap; update calls to the new names. github.com - Renamed
pagy_nav_bootstrap_compact
The pagy_nav_bootstrap_compact and pagy_nav_boostrap_responsive helpers were renamed to pagy_nav_compact_bootstrap and pagy_nav_responsive_bootstrap; update calls to the new names. github.com
And 2 more in this version.
pagy 0.10.0 breaking changes
- Behavior changed
The javascript used by the compact, items and responsive extras was replaced by one shared pagy.js file. You must set an event listener or run Pagy.init on window load. github.com
pagy 0.9.0 breaking changes
- Behavior changed
Instance variables passed to pagy are kept in the vars hash instead of being removed from it. Code that reads the vars hash after pagination may see different contents. github.com
pagy 0.8.0 breaking changes
- Removed
Pagy.I18N[:gem]
The Pagy::I18N[:gem] variable has been removed. To use the I18n gem instead of the internal implementation, require 'pagy/extra/i18n' in your initializer. github.com - Signature changed
pagy_array_get_vars
pagy_array_get_vars now requires the vars argument and is called with 2 params. If you overrode it, add the extra parameter. github.com
And 2 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.