flasgger v0.9.5 Release Notes

Release Date: 2020-08-01 // 3 months ago
  • ๐Ÿ‘ NOTE: 0.9.5.* is the last version that supports Python 2

    • ๐Ÿ‘ 'swag_from' supports 'pathlib.Path'
    • โž• Added support for OpenAPI3 parameter schema parsing #390
    • Enable optional OpenAPI3 fields #366
    • ๐Ÿ›  Fix access to local $ref definition #367
    • Add support for custom validation_function and error_handler
    • Accept pathlib.Path objects as path specification for swag_from
    • Delay RuntimeError for not installing apispec marshmallow in Schema #384
    • Ensure downward compatibility for werkzeug #391
    • ๐Ÿ‘Œ Support default configuration merging #383
    • โšก๏ธ Update swagger-ui to 3.28.0 (improves safety)

Previous changes from v0.9.4

    • ๐Ÿ”„ Changed apispec version supported to 2.0.2
    • โž• Added support for OpenAPI3 callback field
    • ๐Ÿ”„ Changed jsonschema version supported to jsonschema>=3.0.1
    • ๐Ÿ”„ Changed json data to be parsed from request directly
    • ๐Ÿ”„ Changed swagger-ui 3 version to 3.23.1
    • Added support for JWT_AUTH_HEADER_NAME
    • ๐Ÿ”„ Changed to yaml.safe_load
    • โž• Added support for docExpansion in swagger-ui 2
    • Fixed bug for apispec_to_template definition #301
    • โž• Added support for using external yml file to specify parameter commit by @isaacfi
    • ๐Ÿ”„ Changed flask-restful abort call to abort(code, e.message)
    • โž• Added definitions to parsed_data validation [#330] (8310196)
    • โž• Added support for Marshmallow Schema in Function Based View [#341] (fbaa7a1)
    • ๐Ÿ”„ Changed status code for no data to validate from 500 to 400
    • โž• Added require_data kwarg to validate() to make data optional #340
    • โž• Added support for importing OpenAPI3 spec components from config
    • Enable "import:" syntax in template.yml
    • Forward validation_error_handler in Marshmallow APIspec #352