hug v1.3.0 Release Notes
Release Date: 2015-09-08 // over 8 years ago-
- ๐ Started keeping a log of all changes between releases
- โ Added support for quickly exposing functions as cli clients with
hug.cli
decorator - Added support for quickly serving up development APIs from withing the module using:
if __name__ == '__main__': __hug__.serve()
- โ Added support for documentation only type annotations, simply by passing just a string in as the type annotation
- โ Added support for
requires
argument to limit execution of functions based on a given criteria - โ Added automatic documentation of output type transformations
- โ Added initial built-in authentication support
- โ Added built-in support for outputting common image file types
- โ Added support for returning streams within hugged functions
hug.types.decimal
renamed tohug.types.float_number
andhug.types.decimal
type added that returns python Decimalhug.types.accept
wrapper added, that makes it easy to customize doc strings and error handling for any preexisting type converter