---
title: "pagy 43.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each pagy release removed, renamed or changed: 161 breaking changes in 16 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/pagy
last_updated: 2026-12-04
---

# pagy breaking changes

pagy 43.0.0 (November 3, 2025) is its newest release with breaking changes, 52 of them. The first: Removed client_limit. Every breaking API change we have recorded in pagy on RubyGems: 161 breaking changes in 16 versions. Below, its 16 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `43.8.9`, released December 3, 2026. [Source repository](https://github.com/ddnexus/pagy)

Its 7.0.0 release requires [Ruby 3.1](https://since.dev/calendar/ruby/3.1.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [9.0.0](#v-9-0-0) to [43.0.0](#v-43-0-0): 52 breaking changes in 1 version.
- From [0.8.0](#v-0-8-0) to [43.0.0](#v-43-0-0): 157 breaking changes in 15 versions.

## pagy 43.0.0 breaking changes

pagy 43.0.0, released November 3, 2025: 52 breaking changes.

- **Removed** `client_limit`  

Delete the old client_limit and enable the feature with client_limit: allowed_max_limit. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `count_args`  

Remove the count_args option; it is integrated now. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `cycle`  

Remove the cycle option. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `gearbox`  

Remove all gearbox-related code from your app, since the feature is no longer available. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Removed** `limit_extra`  

Delete the limit_extra option. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `outset`  

Remove the outset option. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `overflow`  

The overflow option is no longer used; out-of-range requests show an empty page. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Removed** `overflow: :last_page`  

The overflow option is no longer used; the last_page overflow behavior is discontinued. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `pagy_arel`  

Use pagy(:offset, count_over: true, ...) instead of pagy_arel. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `pagy_array`  

Use pagy(:offset, ...) instead of pagy_array. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `pagy_calendar`  

Use pagy(:calendar, ...) instead. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `pagy_countless`  

Use pagy(:countless, ...) instead. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `pagy_headers`  

Use @pagy.headers_hash(...) instead. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `pagy_jsonapi_links`  

Use @pagy.urls_hash(...) instead. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `pagy_keyset`  

Use pagy(:keyset, ...) instead. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `pagy_meilisearch`  

Use pagy(:meilisearch, ...) instead. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `pagy_metadata`  

Use @pagy.data_hash(...) instead. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `pagy_next_link`  

Implement next link rendering manually. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `pagy_prev_link`  

The helper is gone; implement the previous link manually. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Removed** `pagy_searchkick`  

Use pagy(:searchkick, ...) instead. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `Pagy.DEFAULT`  

Move the Pagy::DEFAULT entries into pagy.rb and rename them to Pagy::OPTIONS. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **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](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `params`  

Use the querify lambda to modify the string-keyed params hash instead of the params option. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Removed** `require 'pagy.extras.*'`  

The extras are integrated into the core or discontinued; remove their require lines. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Renamed** `:url`  

Pass the request hash option instead of the url variable. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Renamed** `@pagy.vars`  

Read @pagy.options instead of @pagy.vars. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Renamed** `countless_minimal`  

Replace countless_minimal: true with headless: true. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Renamed** `data_key`  

Use :url_template instead of :scaffold_url for the data_key entry. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Renamed** `ends`  

Replace ends: false with compact: true. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Renamed** `include Pagy.Backend`  

Include Pagy::Method instead of Pagy::Backend. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Renamed** `limit_param`  

Use a string value with limit_key instead of a symbol with limit_param. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Renamed** `page_param`  

Use a string value with page_key instead of a symbol with page_param. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Renamed** `pagy_array`  

Use pagy(:offset, ...) in place of pagy_array(...). [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Renamed** `pagy_countless`  

Replace pagy_countless(...) with pagy(:countless, ...). [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Renamed** `pagy_elasticsearch_rails`  

Use pagy(:elasticsearch_rails, ...) instead. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Renamed** `pagy_info`  

Use @pagy.info_tag(...) instead of pagy_info. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Renamed** `pagy_metadata`  

Call @pagy.data_hash(...) instead of pagy_metadata(@pagy, ...). [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Renamed** `pagy_nav`  

Use @pagy.series_nav(...) instead of pagy_nav. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Renamed** `pagy_nav_js`  

Call @pagy.series_nav_js(...) instead of the old pagy_nav_js helper. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Renamed** `Pagy.Backend`  

Include Pagy::Method instead of Pagy::Backend. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Renamed** `Pagy.Calendar.OutOfRangeError`  

Rescue Pagy::RangeError instead of Pagy::Calendar::OutOfRangeError. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Renamed** `pagy.overflow?`  

Use in_range?, which returns the opposite boolean of overflow?. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Renamed** `Pagy.root`  

Use Pagy::ROOT instead of Pagy.root. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Renamed** `size`  

Rename the size option to slots. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Renamed** `url`  

Replace the :url variable with the :request hash option. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Renamed** `VariableError`  

Rescue OptionError instead of VariableError. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **Behavior changed** `fragment`  

The fragment option now takes an optional leading #, instead of requiring it. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **Behavior changed** `jsonapi`  

Nil links are removed from JSON:API output; the jsonapi option must be set explicitly. [ddnexus.github.io](https://ddnexus.github.io/pagy/guides/upgrade-guide/)
- **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](https://ddnexus.github.io/pagy/guides/upgrade-guide)
- **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](https://ddnexus.github.io/pagy/guides/upgrade-guide)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## pagy 9.0.0 breaking changes

pagy 9.0.0, released July 18, 2024: 6 breaking changes.

- **Removed**  

Over eight previously deprecated features are removed. Stop using deprecated pagy options and methods before upgrading. [github.com](https://github.com/ddnexus/pagy/releases/tag/9.0.0)
- **Renamed** `:max_limit`  

The :max_limit option is renamed to :limit_max. Update code that passes :max_limit. [github.com](https://github.com/ddnexus/pagy/releases/tag/9.0.0)
- **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](https://github.com/ddnexus/pagy/releases/tag/9.0.0)
- **Behavior changed**  

The fragment URL is refactored in a breaking way. Check code that builds or parses fragment URLs. [github.com](https://github.com/ddnexus/pagy/releases/tag/9.0.0)
- **Behavior changed**  

The anchor_string system is refactored in a breaking way. Check code that relies on anchor string output. [github.com](https://github.com/ddnexus/pagy/releases/tag/9.0.0)
- **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](https://github.com/ddnexus/pagy/releases/tag/9.0.0)

## pagy 8.0.0 breaking changes

pagy 8.0.0, released April 2, 2024: 2 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](https://github.com/ddnexus/pagy/releases/tag/8.0.0)
- **Behavior changed**  

The release notes say breaking changes are listed in the changelog, which should be checked before upgrading. [github.com](https://github.com/ddnexus/pagy/releases/tag/8.0.0)

## pagy 7.0.0 breaking changes

pagy 7.0.0, released February 15, 2024: 2 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](https://github.com/ddnexus/pagy/releases/tag/7.0.0)
- **Behavior changed**  

The release notes point to the Changelog for possible breaking changes, which should be reviewed before upgrading. [github.com](https://github.com/ddnexus/pagy/releases/tag/7.0.0)

## pagy 6.0.0 breaking changes

pagy 6.0.0, released December 22, 2022: 8 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](https://github.com/ddnexus/pagy/blob/6.0.0/CHANGELOG.md)
- **Removed** `:period`  

Plain Time objects in the :period variable are no longer supported. Use only ActiveSupport::TimeWithZone objects. [github.com](https://github.com/ddnexus/pagy/blob/6.0.0/CHANGELOG.md)
- **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](https://github.com/ddnexus/pagy/blob/6.0.0/CHANGELOG.md)
- **Removed** `Pagy.DEFAULT[:elasticsearch_rails_search_method]`  

This Pagy::DEFAULT key is removed. Use Pagy::DEFAULT\[:elasticsearch_rails_pagy_search\] instead. [github.com](https://github.com/ddnexus/pagy/blob/6.0.0/CHANGELOG.md)
- **Removed** `Pagy.DEFAULT[:meilisearch_search_method]`  

This Pagy::DEFAULT key is removed. Use Pagy::DEFAULT\[:meilisearch_pagy_search\] instead. [github.com](https://github.com/ddnexus/pagy/blob/6.0.0/CHANGELOG.md)
- **Removed** `Pagy.DEFAULT[:searchkick_search_method]`  

This Pagy::DEFAULT key is removed. Use Pagy::DEFAULT\[:searchkick_pagy_search\] instead. [github.com](https://github.com/ddnexus/pagy/blob/6.0.0/CHANGELOG.md)
- **Default changed**  

The meilisearch extra uses finite pagination by default. Code relying on the previous default may see different results. [github.com](https://github.com/ddnexus/pagy/blob/6.0.0/CHANGELOG.md)
- **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](https://github.com/ddnexus/pagy/blob/6.0.0/CHANGELOG.md)

## pagy 5.0.0 breaking changes

pagy 5.0.0, released October 16, 2021: 13 breaking changes.

- **Removed** `Pagy.VARS[:anchor]`  

Use Pagy::VARS\[:fragment\] instead of the removed anchor variable. [github.com](https://github.com/ddnexus/pagy/blob/5.0.0/CHANGELOG.md)
- **Renamed** `enable_items_extra`  

Search and replace enable_items_extra with items_extra in your code. [github.com](https://github.com/ddnexus/pagy/blob/5.0.0/CHANGELOG.md)
- **Renamed** `enable_trim_extra`  

Search and replace enable_trim_extra with trim_extra in your code. [github.com](https://github.com/ddnexus/pagy/blob/5.0.0/CHANGELOG.md)
- **Renamed** `pagy_get_params`  

Search and replace pagy_get_params with pagy_massage_params in your code. [github.com](https://github.com/ddnexus/pagy/blob/5.0.0/CHANGELOG.md)
- **Renamed** `Pagy.Helpers`  

Search and replace Pagy::Helpers with Pagy::UrlHelpers in your code. [github.com](https://github.com/ddnexus/pagy/blob/5.0.0/CHANGELOG.md)
- **Renamed** `Pagy.VARS`  

Search and replace Pagy::VARS with Pagy::DEFAULT in your code. [github.com](https://github.com/ddnexus/pagy/blob/5.0.0/CHANGELOG.md)
- **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](https://github.com/ddnexus/pagy/blob/5.0.0/CHANGELOG.md)
- **Signature changed**  

Pass the id html attribute with the pagy_id keyword instead of a positional string. [github.com](https://github.com/ddnexus/pagy/blob/5.0.0/CHANGELOG.md)
- **Signature changed**  

Pass the url/absolute flag with the absolute keyword instead of a positional argument. [github.com](https://github.com/ddnexus/pagy/blob/5.0.0/CHANGELOG.md)
- **Signature changed**  

Pass the item name with the item_name keyword instead of a positional string. [github.com](https://github.com/ddnexus/pagy/blob/5.0.0/CHANGELOG.md)

And 3 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

10 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### pagy 4.0.0 breaking changes

pagy 4.0.0, released March 10, 2021: 7 breaking changes.

- **Removed**  

Deprecated old and renamed locales are no longer supported; use the current locale names. [github.com](https://github.com/ddnexus/pagy/blob/4.0.0/CHANGELOG.md)
- **Removed**  

The deprecated locales were removed in this release. [github.com](https://github.com/ddnexus/pagy/blob/4.0.0/CHANGELOG.md)

And 5 more in this version.

### pagy 3.0.0 breaking changes

pagy 3.0.0, released April 28, 2019: 25 breaking changes.

- **Removed**  

Plural keys inconsistent with the locale were removed; custom dictionaries must be updated to match. [github.com](https://github.com/ddnexus/pagy/blob/3.0.0/CHANGELOG.md)
- **Removed** `pagy_apply_init_tag`  

pagy_apply_init_tag was removed with no replacement. [github.com](https://github.com/ddnexus/pagy/blob/3.0.0/CHANGELOG.md)

And 23 more in this version.

### pagy 2.0.0 breaking changes

pagy 2.0.0, released February 23, 2019: 25 breaking changes.

- **Removed** `pagy.extras.navs`  

The navs extra file is gone. Require pagy/extras/plain instead. [github.com](https://github.com/ddnexus/pagy/blob/2.0.0/CHANGELOG.md)
- **Renamed** `pagy_nav_bootstrap`  

The legacy helper name was renamed. Search and replace it with the new name; the behavior is unchanged. [github.com](https://github.com/ddnexus/pagy/blob/2.0.0/CHANGELOG.md)

And 23 more in this version.

### pagy 1.0.0 breaking changes

pagy 1.0.0, released November 18, 2018: 5 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](https://github.com/ddnexus/pagy/blob/1.0.0/CHANGELOG.md)
- **Renamed** `out_of_range`  

The "/out_of_range" string is renamed to "/overflow". Search and replace it in your code. [github.com](https://github.com/ddnexus/pagy/blob/1.0.0/CHANGELOG.md)

And 3 more in this version.

### pagy 0.20.0 breaking changes

pagy 0.20.0, released October 2, 2018: 3 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](https://github.com/ddnexus/pagy/blob/v0.20.0/CHANGELOG.md)
- **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](https://github.com/ddnexus/pagy/blob/v0.20.0/CHANGELOG.md)

And 1 more in this version.

### pagy 0.18.0 breaking changes

pagy 0.18.0, released August 20, 2018: 3 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](https://github.com/ddnexus/pagy/blob/v0.18.0/CHANGELOG.md)
- **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](https://github.com/ddnexus/pagy/blob/v0.18.0/CHANGELOG.md)

And 1 more in this version.

### pagy 0.11.0 breaking changes

pagy 0.11.0, released June 27, 2018: 4 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](https://github.com/ddnexus/pagy/blob/v0.11.0/CHANGELOG.md)
- **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](https://github.com/ddnexus/pagy/blob/v0.11.0/CHANGELOG.md)

And 2 more in this version.

### pagy 0.10.0 breaking changes

pagy 0.10.0, released June 21, 2018: 1 breaking change.

- **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](https://github.com/ddnexus/pagy/blob/v0.10.0/CHANGELOG.md)

### pagy 0.9.0 breaking changes

pagy 0.9.0, released June 17, 2018: 1 breaking change.

- **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](https://github.com/ddnexus/pagy/blob/v0.9.0/CHANGELOG.md)

### pagy 0.8.0 breaking changes

pagy 0.8.0, released May 30, 2018: 4 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](https://github.com/ddnexus/pagy/blob/v0.8.0/CHANGELOG.md)
- **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](https://github.com/ddnexus/pagy/blob/v0.8.0/CHANGELOG.md)

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](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
