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 to hug.types.float_number and hug.types.decimal type added that returns python Decimal
    • hug.types.accept wrapper added, that makes it easy to customize doc strings and error handling for any preexisting type converter