Releases: hfaran/Tornado-JSON
Releases · hfaran/Tornado-JSON
1.0.0
v0.41
0.40
0.31
On input schema of None
, input is presumed to be None
- Rather than forcing an input schema of
None
withGET
andDELETE
methods, whether input is JSON-decoded or not, is dependent on whether the provided input schema isNone
or not. This means thatget
anddelete
methods can now have request bodies if desired.
0.30
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
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
andAPIError
were moved totornado_json.exceptions
io_schema
was renamed validate and moved totornado_json.schema
Bugfixes thanks to 100% coverage
- Fixes related to error-writing in
io_schema
andAPIHandler.write_error
Add asynchronous compatibility to io_schema
Merge pull request #22 from hfaran/async_io_schema Add asynchronous functionality to io_schema
Python3 support
Python3.3, in addition to Python2.7, is now supported.
Duplicate route bugfix
- Fixed bug where duplicate routes would be created on existence of multiple HTTP methods.