Tornado-json

Latest version: v1.3.4

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

Scan your dependencies

Page 3 of 4

0.31

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Rather than forcing an input schema of ``None`` with ``GET`` and ``DELETE`` methods, whether input is JSON-decoded or not, is dependent on whether the provided input schema is ``None`` or not. This means that ``get`` and ``delete`` methods can now have request bodies if desired.

0.30

~~~~~~~~~~~~~~~~~~~~~~~

* Added ``__urls__`` and ``__url_names__`` attributes to allow flexible creation of custom URLs that make creating REST APIs etc. easy
* Added a REST API demo as an example for URL annotations
* Added URL annotations documentation
* Refactored and improved route generation in ``routes``

0.20

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Functions that did not belong in ``utils`` were moved to more relevant modules. This change changes the interface for Tornado-JSON in quite a big way. The following changes were made (that are not backwards compatible).

* ``api_assert`` and ``APIError`` were moved to ``tornado_json.exceptions``
* ``io_schema`` was renamed ``validate`` and moved to ``tornado_json.schema``

0.14

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Fixes related to error-writing in ``io_schema`` and ``APIHandler.write_error``

0.13

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Add asynchronous functionality to io_schema

0.12

~~~~~~~~~~~~~~~~~~~~~~~

* Python3.3, in addition to Python2.7, is now supported.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.