Flask-json

Latest version: v0.4.0

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

Scan your dependencies

Page 1 of 2

0.4.0

-----

This release is not fully backwards compatible with the 0.3.5 version.

* Drop Flask versions older than ``2.2.0``.
* Use the new JSON provider interface introduced in the
`Flask 2.2.0 <https://github.com/pallets/flask/pull/4692>`_
(`10 <https://github.com/skozlovf/flask-json/issues/10>`_,
`12 <https://github.com/skozlovf/flask-json/issues/12>`_).
* Add numeric keys support (`11 <https://github.com/skozlovf/flask-json/issues/11>`_).
* Allow specifying both ``data_`` and ``kwargs`` in the ``json_response()``.

Incompatible changes:

* Remove ``JsonTestResponse``, ``flask.Response.json`` provides the same feature.

0.3.5

-----

* Improve empty data processing (`9 <https://github.com/skozlovf/flask-json/issues/9>`_).

0.3.4

-----

* Fix deprecation warning.
* Update tests.

0.3.3

-----

* Allow jsonify standard HTTP errors.

0.3.2

-----

* Add non-dictionary values support.
* Fix tests.

0.3.1

-----

* Switch to ``pytest``.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.