Skip to content

Releases: thomaxxl/safrs

3.1.5

15 Oct 18:53
Compare
Choose a tag to compare
  • default auto commit to False when there's no request context

3.1.4

26 Aug 03:53
Compare
Choose a tag to compare

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

28 Nov 18:18
Compare
Choose a tag to compare
  • fix Flask-SQLAlchemy>=3.1.0 model import
  • fix csv lookup for id attributes

3.1.0

30 May 18:33
Compare
Choose a tag to compare
  • Update json encoder to be compatible with Flask 2.3

3.0.4

07 May 19:20
Compare
Choose a tag to compare
  • 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

17 Apr 19:57
Compare
Choose a tag to compare

Patch filter count issue (#146 )

3.0.0

11 Feb 21:00
Compare
Choose a tag to compare
  • 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

01 Nov 08:37
Compare
Choose a tag to compare

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

24 Oct 17:36
Compare
Choose a tag to compare

Fix for #127 (Flask-SQLAlchemy keyref error)

2.12.2

29 Dec 16:07
Compare
Choose a tag to compare
  • 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