Skip to content

0.11.0

Compare
Choose a tag to compare
@lafrech lafrech released this 09 Nov 16:12

Features:

  • Backwards-incompatible: Rework of the ETag feature. It is now accesible
    using dedicated Blueprint.etag decorator. check_etag and set_etag
    are methods of Blueprint and etag.INCLUDE_HEADERS is replaced with
    Blueprint.ETAG_INCLUDE_HEADERS. It is enabled by default (only on views
    decorated with Blueprint.etag) and disabled with ETAG_DISABLED
    application configuration parameter. is_etag_enabled is now private.
  • Backwards-incompatible: The response decorator returns a Response
    object rather than a (Response object, status code) tuple. The status
    code is set in the Response object.
  • Support apispec 1.0.0b5.