Releases: thomaxxl/safrs
Releases · thomaxxl/safrs
3.1.5
- default auto commit to
False
when there's no request context
3.1.4
This release contains some minor bugfixes:
- Fixes related to unicode PK
- Fix for status code not being a string #158
- Fix for unsortable columns throwing an exception (1b8e8cf)
3.1.3
- fix
Flask-SQLAlchemy>=3.1.0
model import
- fix csv lookup for
id
attributes
3.1.0
- Update json encoder to be compatible with Flask 2.3
3.0.4
- Pin
Flask==2.2.5
: we're using a deprecated JSONEncoder
which is no longer available in Flask 2.3 . A real fix will be released for safrs 3.1
- Pagination for included resources, for ex.:
?include=books_read.author&page[books_read][limit]=2&page[books_read]
- Remove count() Warning
3.0.2
Patch filter count issue (#146 )
3.0.0
-
Resolved conflicts with recent flask_sqlalchemy.
safrs.DB
does no longer exist before SAFRSAPI
is initialized.
-
Improved packaging (fix broken pip install -e .
in pip>=22)
-
No longer automatically commit instances (SAFRSBase.db_commit
defaults to False
)
2.12.5
The flask-sqlalchemy version requirements have been frozen due to an incompatibility with >=3.0.0. A proper fix will be released in the next release but this will require a change in the safrs default "autocommit" functionality (i.e. objects are automatically committed upon initialization in safrs which doesn't always work with flask-sqlalchemy 3).
2.12.4
Fix for #127 (Flask-SQLAlchemy keyref error)
2.12.2
- apply page[limit] also to non-lazy relationships
- default to PK order_by if no
sort=
is specified
- fix missing mssql order_by/sort
- generate apilogicserver schema