Flask-autocrud

Latest version: v2.2.1

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

2.0.0

-------------

Released 2019-05-21

* conditional request and optimistic locking support
* add _link in ``Model`` to_dict and _meta in collection response in order to support HATEOAS
* subresources url available
* new validators for fetch payload
* query string filters support range definition (between)
* add ``AUTOCRUD_QUERY_STRING_FILTERS_ENABLED`` and ``AUTOCRUD_EXPORT_ENABLED`` config's keys
* add support to hidden fields of ``Model``
* enhancements on query string filters: add grater, less and or conditions. Bug fix on multiple sort condition
* _export query string argument value is used as filename
* add '_' prefix to "internal" query string argument in order to protect resource field with the same name
* bug fix on export when a record has a null foreign key
* add ``Flask-ResponseBuilder`` in order to negotiate the content-type of response
* missing meta url from configuration
* improved management of missing and unknown fields
* ``Model`` support custom attributes name
* removed exclude_tables and update required fields
* removed ``Flask-Admin`` and ``Flask-JSON`` dependencies
* many bug fix and code refinements

1.2.1

-------------

Released 2019-04-28

* fix json body handling, invalid page and limit handling
* add ``AUTOCRUD_METADATA_URL`` configuration
* add ``export`` to csv to ``FETCH`` method
* add ``Total-Count`` header when response is csv
* add support to wildcard ``*`` in order to load all columns of joined table (FETCH)

1.2.0

-------------

Released 2019-04-28

* removed many relationships from ``to_dict`` output of ``Model`` class
* convert nested data into flatten data when using export param
* configurable max and default limit to query
* add pagination header in response to a GET request
* bug fix on query string parser
* Add FETCH method for advanced search. See `sqlalchemy-filters <https://pypi.org/project/sqlalchemy-filters>`__

1.1.4

-------------

Released 2019-04-17

* Replace ``/`` with ``/resources`` endpoint (configurable)
* Enable or disable resource list route via configuration
* Add argument rel to method ``to_dict(rel=False)`` of Model in order to fetch data of related resource
* bug fix on export

1.1.3

--------------

Released 2019-04-13

* bug fix on limit and page parameters
* force strict slashes to False

1.1.2

--------------

Released 2019-04-13

* fix a bug on LIKE operator
* bug fix on sort argument values
* add fields filters

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.