Skip to content

Version 0.13.0

Compare
Choose a tag to compare
@akira-dev akira-dev released this 13 Oct 13:37
· 197 commits to master since this release

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: