pypi / fastapi-pagination
fastapi-pagination
What changed in fastapi-pagination 0.15 to 0.16, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-31.
14 breaking2 new APIs and options5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initfastapi-pagination 0.1620 changes
Breaking changes 14
The elasticsearch extra now installs elasticsearch>=8.18.0 instead of elasticsearch-dsl.
The fastapi package now requires version 0.140.13 or higher.
The deprecated bunnet extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.pymongo instead.
The deprecated databases extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.sqlalchemy instead.
The deprecated gino extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.sqlalchemy instead.
The deprecated motor extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.pymongo instead.
The deprecated odmantic extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.pymongo instead.
The deprecated orm extension was removed, together with its extra; the notes recommend fastapi_pagination.ext.sqlalchemy instead.
The deprecated pony extension was removed, together with its extra.
All version-specific helpers from this module were removed.
Deprecated async paginate functions were removed; use apaginate instead.
The piccolo package now requires version 1.0 or higher.
Pydantic v1 support was dropped; the pydantic package now requires version 2.13.4 or higher.
The UsePydanticV1 customization was removed as part of dropping Pydantic v1 support.
New APIs and options 2
The SQLAlchemy and SQLModel paginate and apaginate functions accept bind_params, applied to every executed statement, including the items and count queries.
The SQLAlchemy and SQLModel paginate and apaginate functions accept execute_options, applied to every executed statement, including the items and count queries.
Fixes and other changes 4
Avoids the deprecation warning when calling sqlmodel AsyncSession.execute.
The last limit-offset links remain non-negative.
Type annotations are fixed for SQLAlchemy 2.0 and 2.1.
Fixes the SQLAlchemy 2.1 count query deprecation.
fastapi-pagination 0.151 changes
Fixes and other changes 1
Adds support for fastapi version 0.140.5 and later.