Skip to content

Releases: hfaran/Tornado-JSON

1.0.0

22 Nov 00:11
Compare
Choose a tag to compare
  • Compatibility updates for tornado>=4.0.0

v0.41

14 Jul 01:26
Compare
Choose a tag to compare
  • Fixed JSendMixin hanging if auto_finish was disabled

0.40

09 Mar 01:55
Compare
Choose a tag to compare

Replace apid with parameterized schema.validate

  • The apid class-variable is no longer used
  • Schemas are passed as arguments to schema.validate
  • Method docstrings are used in public API documentation, in place of apid[method]["doc"]

0.31

23 Feb 06:40
Compare
Choose a tag to compare

On input schema of None, input is presumed to be None

  • 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

23 Feb 05:52
Compare
Choose a tag to compare

URL Annotations

  • 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

Refactor of utils module

18 Feb 07:04
Compare
Choose a tag to compare

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

Bugfixes thanks to 100% coverage

17 Feb 05:00
Compare
Choose a tag to compare
  • Fixes related to error-writing in io_schema and APIHandler.write_error

Add asynchronous compatibility to io_schema

16 Feb 23:14
Compare
Choose a tag to compare
Merge pull request #22 from hfaran/async_io_schema

Add asynchronous functionality to io_schema

Python3 support

16 Feb 13:43
Compare
Choose a tag to compare

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

Duplicate route bugfix

16 Feb 12:49
Compare
Choose a tag to compare
  • Fixed bug where duplicate routes would be created on existence of multiple HTTP methods.