Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Releases: miLibris/flask-rest-jsonapi

Version 0.31.2

Choose a tag to compare

@akira-dev akira-dev released this 08 Oct 13:51
Bump version to 0.31.2

Version 0.14.3

Choose a tag to compare

@akira-dev akira-dev released this 23 Nov 14:07

Feature:
Configuration: you can disallow to disable pagination. You can set ALLOW_DISABLE_PAGINATION to False in your configuration file.

Version 0.14.1

Choose a tag to compare

@akira-dev akira-dev released this 22 Nov 09:36

New feature:
WARNING: I have broken the compatibility with old JsonApiException class because i have changed initialization parameters. I made this to get a closer usage of JsonApiException compared to base python Exception class and to add all attributes of a jsonapi error.

Bug fix:
#74 (thanks to @hellupline )
#69 (thanks to @jcampbell )

json response enhancements and bug fix on include parameter

Choose a tag to compare

@akira-dev akira-dev released this 18 Oct 09:42
  • use Flask.jsonify instead of json for date and datetime serialization
  • bug fix when include parameter is not provided

Version 0.13.0

Choose a tag to compare

@akira-dev akira-dev released this 13 Oct 13:37

New features:

  • SQLAlchemy data layer: include querystring parameter values are now eager-loaded with the main query by default. This feature greatly increases performance because it merge all queries made to serialize relationships of each item into one. You can disable this feature, just set the eagerload_includes data layer parameter to False.

  • SQLAlchemy data layer: the after_get_collection default method implementation now returns a collection. So you can create your own collection before serialization with the collection of data retrieved before.

  • Configuration: you can now control the default pagination size with the configuration keyword PAGE_SIZE. Default is 30.

  • Configuration: you can now control the maximum page size with the configuration keyword MAX_PAGE_SIZE.

  • Configuration: you can now control the maximum include depth with the configuration keyword MAX_INCLUDE_DEPTH. (Exemple: if you set the value to 2 you can do ?include=computer.owner but not ?include=computer.owner.computers)

Bug fix:

Bug fixes and enhancements

Choose a tag to compare

@akira-dev akira-dev released this 26 Jun 15:40
  • Allow usage of multiple mime-type in the Accept header: 144d304 (thanks to Natureshadow)
  • Make incomming data available to update them in before_post and before_patch and also for relationship resource manager: f2cb7e9
  • Bug fix of sorting on hybrid_property: d22d595 (thanks to shubham-padia)

Bug fixes

Choose a tag to compare

@akira-dev akira-dev released this 04 Apr 09:08

Fix multi sort with sqlalchemy 90aadfd
Fix Content-Type header check 60b6691

better error handling when object is not found

Choose a tag to compare

@akira-dev akira-dev released this 31 Mar 16:01

better error handling when object is not found

Permissions and OAuth

Choose a tag to compare

@akira-dev akira-dev released this 30 Mar 08:17

Add permission system and OAuth support via Flask-OAuthlib

Bug fix

Choose a tag to compare

@akira-dev akira-dev released this 22 Mar 13:16

Bug fix on custom data layer usage
Bug fix on filtering (thanks to jamesalbert)