All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
- Dropped support for Python 3.7
- Added support for Python 3.11
- Updated poetry build backend
- Replaced flake8 with ruff
- Dropped support for Python 3.6
- Use
flask.g
for storing JWT info, asflask._app_ctx_stack
is now deprecated: https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-0
- Replaced freezegun dependency with plummet
- Decorators can read tokens from cookies
- Dropped support for Python 3.5
- Updated pyjwt dependency to 2.0
- Added 2-factor email token registration and password reset
- Added function hooks at token encoding time
- Migrated to github actions away from travis-ci
- Added support for tokens in cookies
- Added MongoDB example
- Added auth_accepted decorator for optional auth support
- Updated documentation
- Upgraded flask dependency to > 1.0
- Moved tutorial to github.com/dusktreader/flask-praetorian-tutorial
- Added email registration feature
- Added code of conduct and contributing guide
- Added support for verify_and_update
- Added flake8 config back in
- Converted build system to use Poetry
- Added support for including addtional claims in the JWT
- Made @auth_required optional when using @roles_required or @roles_accepted
- Fixed a bug with the @roles_accepted operator
- Added more documentation: - Config Settings - User class requirements - Other Notes
- Added configuratbility for error handler
- Made more internal functions private (leading underscore)
- Did a lot of work on the tutorial including code snippets
- Flask dependency pinned to >=1.0
- Pendulum dependency pinned to >=2.0
- Bug fixes for pendulum version 2.0
- Docs are finally working right. Ready to announce the 0.4 release!
- Fixed failing docs build issue? again?
- Fixed failing docs build issue
- Lots of updates to make the package compliant with: - awesome-flask - approved flask extensions
- Verified python 3.4 support
- Added tutorials to the docs
- Added a custom logo to the docs!
- Added github links to the docs
- Wrote a tutorial and expanded examples
- Added a logo!
- Added homepage to setup.py
- Fixed issues with travis build
- Fixed flake8 error
- Fixed long_description to pull from README for pypi
- Revised exceptions to derive from FlaskBuzz
- Errors decoding JWT tokens now raise InvalidTokenHeader
- Made user validation more configurable, and condensed validation code
- Added capability for user to override fields for PraetorianError's in jsonify
- Fixed issues with overrides for lifespan settings
- Added overrides for pack_header_for_user
- Allowed pack_user_for_header to be used outside of tests
- Added special exception for missing user
- Changed role decorators to raise MissingRoleError on failure
- Added support for user models containing a validate method
- Added abilitiy to provision tokens that don't expire
- Added ability to override expiration times
- Added utility function to fetch just user_id
- Updated quickstart documentation
- Converted all timestamping to pendulum (for freezing time in tests)
- Added in missing MANIFEST.in
- Removed dependence on flask-jwt. Provides jwt support via PyJWT
- Converted PraetorianError to be based on Buzz exceptions
- Updated documentation to reflect pypi availability of flask-praetorian
- Added support for using extant instance of jwt in new Praetorian instances
- Added a few integration tests
- Fixed up the documentation and README a little bit
- First release of flask-praetorian and contained functionality
- Added this CHANGELOG
- Added a README providing a brief overview of the project
- Added documentation on a readthedocs site include full module docs