---
title: "api-pagination 7.0.0 Breaking Changes on RubyGems"
description: "What each api-pagination release removed, renamed or changed: 7 breaking changes in 5 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/api-pagination
last_updated: 2026-12-04
---

# api-pagination breaking changes

api-pagination 7.0.0 (November 20, 2025) is its newest release with breaking changes. The first: Now requires Pagy version 43 or later in api-pagination 7.0.0. Every breaking API change we have recorded in api-pagination on RubyGems: 7 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.1.0`. [Source repository](https://github.com/davidcelis/api-pagination)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [5.0.0](#v-5-0-0) to [7.0.0](#v-7-0-0): 1 breaking change in 1 version.
- From [2.0.0](#v-2-0-0) to [7.0.0](#v-7-0-0): 6 breaking changes in 4 versions.

## api-pagination 7.0.0 breaking changes

api-pagination 7.0.0, released November 20, 2025: 1 breaking change.

- **Configuration changed**  

The package now requires Pagy 43 or later, so projects using an older Pagy must upgrade it. [github.com](https://github.com/davidcelis/api-pagination/releases/tag/v7.0.0)

## api-pagination 5.0.0 breaking changes

api-pagination 5.0.0, released October 26, 2021: 1 breaking change.

- **Removed**  

Older Pagy versions are no longer supported because newer Pagy renamed Pagy::VARS to Pagy::DEFAULT. Upgrade Pagy to a version that works with this release. [github.com](https://github.com/davidcelis/api-pagination/releases/tag/v5.0.0)

## api-pagination 4.0.0 breaking changes

api-pagination 4.0.0, released January 13, 2015: 1 breaking change.

- **Removed**  

Versions 4.0.0 and later are not compatible with Grape 0.9.x or earlier. Users on those Grape versions should stay on api-pagination 3.1.x, which will continue to receive bug fixes. [github.com](https://github.com/davidcelis/api-pagination/releases/tag/v4.0.0)

## api-pagination 3.0.0 breaking changes

api-pagination 3.0.0, released April 17, 2014: 3 breaking changes.

- **Behavior changed** `paginate`  

A per_page option given to the route-level paginate call in Grape now overrides params\[:per_page\], which changes the page size for existing Grape routes. [github.com](https://github.com/davidcelis/api-pagination/releases/tag/v3.0.0)
- **Default changed**  

The default per_page value is now 25, so code relying on the previous default page size will get different results. [github.com](https://github.com/davidcelis/api-pagination/releases/tag/v3.0.0)
- **Signature changed** `paginate`  

The Rails controller interface was reworked to avoid after_filter, so code calling paginate in Rails controllers must be updated to the new form shown in the notes. [github.com](https://github.com/davidcelis/api-pagination/releases/tag/v3.0.0)

## api-pagination 2.0.0 breaking changes

api-pagination 2.0.0, released January 17, 2014: 1 breaking change.

- **Behavior changed** `paginate`  

Explicit calls to paginate, page or per on a collection are no longer necessary; paginate now applies pagination itself based on the :per_page setting. [github.com](https://github.com/davidcelis/api-pagination/releases/tag/v2.0.0)

## 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.
