- Added type annotations.
- Added a reason message when permission is rejected.
- Switched to
aiohttp.web.AppKey
. - Reverted change in
JWTIdentityPolicy
so identity returnsstr
.
- Bump minimal supported
aiohttp
version to 3.2. - Use
request.config_dict
for accessingjinja2
environment. It allows to reuse jinja rendering engine from parent application.
- Deprecate
login_required
andhas_permission
decorators. Usecheck_authorized
andcheck_permission
helper functions instead. - Bump supported
aiohttp
version to 3.0+. - Enable strong warnings mode for test suite, clean-up all deprecation warnings.
- Polish documentation
- Add
is_anonymous
,login_required
,has_permission
helpers. (#114)
- Make aiohttp-session optional dependency. (#107)