NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #839 most downloaded on PyPI
User authentication and session management for Flask.
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 2.2 years
Some releases are documented
notes for 14 of 25 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
25 releases · first in 2013
This fixes compatibility with Flask 3 and Werkzeug 3.
This fixes compatibility with Flask 3 and Werkzeug 3.
Released 2023-10-30
Changes: https://github.com/maxcountryman/flask-login/blob/main/CHANGES.md#version-062
One column per quarter.
Released on July 25th, 2022
expand_login_view that attempted to preserve a
dynamic subdomain value. Such values should be handled using
app.url_value_preprocessor and app.url_defaults. #691request_loader instead of header_loader.user_loaded_from_request instead of user_loaded_from_header.app.config["LOGIN_DISABLED"] instead of _login_disabled.init_app instead of setup_app.Changes: https://github.com/maxcountryman/flask-login/blob/main/CHANGES.md#version-061
Released on May 1st, 2022
login_remembered returns True if the current
login is remembered across sessions. #654Changes: https://github.com/maxcountryman/flask-login/blob/main/CHANGES.md#version-060
This release sets new minimum versions of Python, Flask, and Werkzeug, and fixes compatibility with the latest versions of those.
Released on March 30th, 2022
expand_login_view to allow for subdomain and host matching for login_view #462request_loader and user_loader callback functions #472HttpOnly, matching Flask session cookie #488unauthorized_handler #492assertEqual deprecation warning in pytest #518collections deprecation warning under Python 3.8 #525safe_str_cmp with hmac.compare_digest #585REMEMBER_COOKIE_SAMESITE config #577from flask_login import * behavior, although note that
import * is not usually a good pattern in code. #485UserMixin.is_authenticated will return whatever is_active returns
by default. This prevents inactive users from logging in. #486, #530New custom test client: flask_login.FlaskLoginClient. You can use this to write clearer automated tests. #431
Released on February 9th, 2020
flask_login.FlaskLoginClient.
You can use this to write clearer automated tests. #431New config option USE_SESSION_FOR_NEXT to enable storing next url in session instead of url. #330
Released on December 2nd, 2017
Fixes OPTIONS exemption from login. #244
Released on October 26th, 2016
login_manager.token_handler function, get_auth_token method
on the User class, and the utils.make_secure_token utility function have
been removed to prevent users from creating insecure auth implementations.
Use the Alternative Tokens example from the docs instead. #291Fixes Python 2.6 compatibility.
Released on October 8th, 2015
Released on September 30th, 2015
Released on September 30th, 2015
Released on September 10th, 2015
Released on September 10th, 2015
is_authenticated, is_active, and is_anonymous members of
the user class are now properties, not methods. Applications should update
their user classes accordingly.Fixes missing request loader invocation when authorization header exists.
Released on May 19th, 2014
Generalized request_loader introduced; ability to log users in via customized callback over request.
Released on March 9th, 2014
request_loader introduced; ability to log users in via
customized callback over request.has_request_context.Released on December 28th, 2013
Released on December 28th, 2013
Support login via authorization header. This allows login via Basic Auth, for example. Useful in an API presentation context.
Released on December 21st 2013
current_user
local. This breaks any previous direct access to _request_ctx.top.user.
This is because user is not loaded until current_user is accessed.UserMixin hashing.Prior to 0.2.8, no proper changelog was kept.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →