# What changed in fastapi-pagination

> 21 changes in fastapi-pagination 0.15 to 0.16 from its official release notes, upgrade guides and advisories: 14 breaking, 2 new APIs and options. Each one cited. Sources checked 2026-10-31. HTML: https://unstale.sh/pypi/fastapi-pagination/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## fastapi-pagination 0.16

### Breaking changes

- The elasticsearch extra now installs elasticsearch>=8.18.0 instead of elasticsearch-dsl. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- The fastapi package now requires version 0.140.13 or higher. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- The deprecated bunnet extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.pymongo instead. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- The deprecated databases extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.sqlalchemy instead. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- The deprecated gino extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.sqlalchemy instead. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- The deprecated motor extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.pymongo instead. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- The deprecated odmantic extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.pymongo instead. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- The deprecated orm extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.sqlalchemy instead. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- The deprecated pony extension was removed, together with its extra. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- All version-specific helpers from this module were removed. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- Deprecated async paginate functions were removed; use apaginate instead. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- The piccolo package now requires version 1.0 or higher. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- Pydantic v1 support was dropped; the pydantic package now requires version 2.13.4 or higher. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- The UsePydanticV1 customization was removed as part of dropping Pydantic v1 support. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)

### New APIs and options

- The SQLAlchemy and SQLModel paginate and apaginate functions accept bind_params, applied to every executed statement, including the items and count queries. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)
- The SQLAlchemy and SQLModel paginate and apaginate functions accept execute_options, applied to every executed statement, including the items and count queries. (0.16.0) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.0)

### Fixes and other changes

- Avoids the deprecation warning when calling sqlmodel AsyncSession.execute. (0.16.1) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.1)
- The last limit-offset links remain non-negative. (0.16.1) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.1)
- Type annotations are fixed for SQLAlchemy 2.0 and 2.1. (0.16.1) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.1)
- Fixes the SQLAlchemy 2.1 count query deprecation. (0.16.1) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.16.1)

## fastapi-pagination 0.15

### Fixes and other changes

- Adds support for fastapi version 0.140.5 and later. (0.15.16) — [release notes](https://github.com/uriyyo/fastapi-pagination/releases/tag/0.15.16)
