All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
4.0.0.dev2 - 2020-10-08
- [SQLAlchemy] Log as dictionary.
4.0.0.dev1 - 2020-10-07
- [SQLAlchemy] Ensure connection created for health check is returned to the pool right after.
4.0.0.dev0 - 2020-10-06
required_on_queryshould be set withinlayabasekey inside info (was linked tomarshmallowkey previously).allow_comparison_signsshould be set withinlayabasekey inside info (was linked tomarshmallowkey previously).interpret_star_charactershould be set withinlayabasekey inside info (was linked tomarshmallowkey previously).controller.query_get_parserhas been replaced bycontroller.flask_restx.query_get_parser.controller.query_delete_parserhas been replaced bycontroller.flask_restx.query_delete_parser.controller.query_rollback_parserhas been replaced bycontroller.flask_restx.query_rollback_parser.controller.query_get_history_parserhas been replaced bycontroller.flask_restx.query_get_history_parser.controller.query_get_audit_parserhas been replaced bycontroller.flask_restx.query_get_audit_parser.controller.namespacehas been replaced bycontroller.flask_restx.init_models.controller.json_post_modelhas been replaced bycontroller.flask_restx.json_post_model.controller.json_put_modelhas been replaced bycontroller.flask_restx.json_put_model.controller.get_response_modelhas been replaced bycontroller.flask_restx.get_response_model.controller.get_history_response_modelhas been replaced bycontroller.flask_restx.get_history_response_model.controller.get_audit_response_modelhas been replaced bycontroller.flask_restx.get_audit_response_model.controller.get_model_description_response_modelhas been replaced bycontroller.flask_restx.get_model_description_response_model.- [Mongo] Update of document(s) now raise a ValidationFailed instead of a ModelCouldNotBeFound in case the document(s) to update do not exists.
- [SQLAlchemy] Update of row(s) now raise a ValidationFailed instead of a ModelCouldNotBeFound in case the row(s) to update do not exists.
- [SQLAlchemy] Model schema now returns a
SQLAlchemyAutoSchemainstance instead of the deprecatedModelSchema. - [SQLAlchemy] Iterate over SQLAlchemy fields to find the one required on queries instead of creating a Marshmallow schema.
- Update marshmallow_sqlalchemy version from
0.21.*to0.23.*. - Update black version from
masterto20.8b1. flask-restxis now an optional dependency.layaberr.ValidationFailedare not sent anymore,layabase.ValidationFailedare sent instead.- Audit user is not retrieved from
flask.g.user.nameanymore. You have to provide a function to retrieve the user inretrieve_userlayabase.CRUDControllerinit parameter.
- [Mongo] Fix adding field to parser adding only one level of multilevel DictColumn.
- [Mongo] Insertion of document(s) via controller is now faster (removing duplicated check for auto incremented fields and useless dict(s) creation).
- [SQLAlchemy] Insertion of document(s) via model now ensure that auto incremented fields will be skipped. It was only performed when using controller.
- [SQLAlchemy] Stop considering every DBAPIError as "Database could not be reached.". Return the original error message instead.
flask-restplusis not supported anymore.flask-restxis used instead.layaberris not a dependency anymore.
3.5.1 - 2020-01-30
- [SQLAlchemy] Flask-RestPlus argument parsers (for GET and DELETE queries) are now restricting values in case the underlying field is of Enum type.
3.5.0 - 2020-01-07
- Update marshmallow_sqlalchemy to version 0.21.*
3.4.0 - 2019-12-02
- Initial release.