Releases: uriyyo/fastapi-pagination
Releases Β· uriyyo/fastapi-pagination
0.12.20
19 Mar 09:20
Compare
Sorry, something went wrong.
No results found
Add ability to paginate raw sqlalchemy queries. #1085
0.12.19
05 Mar 12:30
Compare
Sorry, something went wrong.
No results found
Suppress undefined annotation exception for pydantic v2. #1069
0.12.18
04 Mar 18:19
Compare
Sorry, something went wrong.
No results found
Bump 'beanie' version. #1043
Add better exception message for sqlalchemy non-hashable rows. #1048
Implement new page customization. #1046
Important changes
Current release changes way how to customize page. New customization allows to customize pages in typing-compatible way that will not require to use # type: ignore or if TYPE_CHECKING workarounds, for more information, please check docs - link .
Old way
from fastapi_pagination import Page
CustomPage = Page .with_custom_options (
cls_name = "CustomPage" ,
size = 10 ,
)
New way:
from fastapi_pagination import Page
from fastapi_pagination .customization import CustomizedPage , UseName , UseParamsFields
CustomPage = CustomizedPage [
Page ,
UseName ("CustomPage" ),
UseParamsFields (size = 10 ),
]
0.12.17
22 Feb 08:17
Compare
Sorry, something went wrong.
No results found
Add async analog of default paginate. #1039
Fix piccolo issue when filter by foreign field. #1038
0.12.16
19 Feb 09:56
Compare
Sorry, something went wrong.
No results found
Add set_params function. #1029
0.12.15
11 Feb 13:08
Compare
Sorry, something went wrong.
No results found
Add python 3.12 official support. #1023
Fix issue with paginate empty sequence using optional params. #1022
0.12.14
17 Dec 14:11
Compare
Sorry, something went wrong.
No results found
Fix issue with default value fitler_field for pymongo. #955
Raise 400 error on invalid cursor value. #957
Fix issue with zero page size. #959
0.12.13
27 Nov 09:45
Compare
Sorry, something went wrong.
No results found
Bump sqlmodel version. #933
0.12.12
30 Oct 09:43
Compare
Sorry, something went wrong.
No results found
Remove usage of deprecated pydantic v2 field. #896
Add support for pydantic v2 aliases. #897
Add ability to control total fetching. #898
Add wrapper for app lifespan. #899
0.12.11
20 Oct 10:31
Compare
Sorry, something went wrong.
No results found
Update motor sorting. #875
Add ability to use async_scoped_session. #877
Fix issue with order-by raise 500 for piccolo ext. #876
Update body_field when patch route. 874