Skip to content

v0.13.0

Compare
Choose a tag to compare
@lyschoening lyschoening released this 26 Jan 14:07
· 37 commits to master since this release

Breaking changes

  • Fixes Api.decorators not being applied to "/schema"

    This means if you have an authenticated API your "/schema" endpoint is no longer available to unauthenticated users.

Features

  • Adds POTION_DECORATE_SCHEMA_ENDPOINTS configuration option

    Setting this option to False makes the "/schema" endpoint and "/{resource_name}/schema" endpoints available in an Api protected using Api.decorators.

  • Adds support for user:$id and user:$uri needs with Flask-Principal

Bugfixes

  • Fixes TypeError when applying PATCH to some SQLAlchemy native values
  • Fixes various inconsistencies in the JSON schemas