Starting from version 0.13.0, the async paginate function has been renamed to apaginate to avoid confusion with the sync version
and follow better naming conventions. Old code using paginate will still work, but it is recommended to update your code to use apaginate for async operations.
Support for async calls for paginate will be removed in the next major version.
Page.create class method signature was changed. Now it accepts total only as a keyword argument.
It was changed because total is no longer a required argument and can be omitted in some cases.
Page.with_params and Page.with_custom_options class methods where removed.
Now you need to use CustomizedPage class to create a new page object with custom options.
The following modules have been removed from the library:
fastapi_pagination.ext.async_sqlalchemy
fastapi_pagination.ext.sqlalchemy_future
fastapi_pagination.ext.async_sqlmodel
If you were using any of these modules, you will need to update your code to use the fastapi_pagination.ext.sqlalchemy module
for SQLAlchemy and fastapi_pagination.ext.sqlmodel module for SQLModel.