flask-login breaking changes
flask-login 0.6.2 (July 25, 2022) is its newest release with breaking changes. The first: Removed flask_login.login_manager.user_loaded_from_header. Every breaking API change we have recorded in flask-login on PyPI: 29 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.6.3, released October 30, 2023.
Its 0.6.0 release requires Python 3.7 or later. Python end of life dates.
flask-login 0.6.2 breaking changes
- Removed
flask_login.login_manager.user_loaded_from_header
flask_login.login_manager.user_loaded_from_header was removed in Flask-Login 0.6.2 pypi.org
flask-login 0.6.1 breaking changes
- Behavior changed
The unauthorized redirect keeps only subdomain or host view arguments instead of all of them. Code that relied on other view args being carried through the redirect may need to pass them explicitly. github.com
flask-login 0.6.0 breaking changes
- Removed
The release sets Python 3.7 as the minimum supported version. Users on older Python versions must upgrade Python before installing this release. github.com - Removed
flask_login.login_manager.text_type
flask_login.login_manager.text_type was removed in Flask-Login 0.6.0 pypi.org - Removed
flask_login.mixins.PY2
flask_login.mixins.PY2 was removed in Flask-Login 0.6.0 pypi.org - Removed
flask_login.mixins.text_type
flask_login.mixins.text_type was removed in Flask-Login 0.6.0 pypi.org - Removed
flask_login.utils.text_type
flask_login.utils.text_type was removed in Flask-Login 0.6.0 pypi.org - Removed
flask_login.utils.urlparse
flask_login.utils.urlparse was removed in Flask-Login 0.6.0 pypi.org - Removed
flask_login.utils.urlunparse
flask_login.utils.urlunparse was removed in Flask-Login 0.6.0 pypi.org - Configuration changed
The release requires Werkzeug 1.0.1 or later. Projects pinned to older Werkzeug versions must upgrade Werkzeug. github.com - Configuration changed
The release requires Flask 1.0.4 or later. Projects pinned to older Flask versions must upgrade Flask. github.com
flask-login 0.5.0 breaking changes
- Removed
Python versions 2.6, 3.3 and 3.4 are no longer supported. Users on those versions must upgrade Python before using this release. github.com - Removed
flask_login.login_manager.LoginManager.header_callback
LoginManager.header_callback was removed in Flask-Login 0.5.0 pypi.org - Removed
flask_login.login_manager.LoginManager.reload_user
LoginManager.reload_user was removed in Flask-Login 0.5.0 pypi.org - Removed
flask_login.login_manager.LoginManager.request_callback
LoginManager.request_callback was removed in Flask-Login 0.5.0 pypi.org - Removed
flask_login.login_manager.LoginManager.user_callback
LoginManager.user_callback was removed in Flask-Login 0.5.0 pypi.org - Renamed
remember
The remember key in the Flask session is now stored as _remember. Code that reads or writes the session key directly must use the new name. github.com - Renamed
remember_seconds
The remember_seconds key in the Flask session is now stored as _remember_seconds. Code that reads or writes the session key directly must use the new name. github.com - Renamed
user_id
The user_id key in the Flask session is now stored as _user_id. Code that reads or writes the session key directly must use the new name. github.com - Behavior changed
Calling logout clears the session identifier. Code that relies on the session identifier surviving logout may need to change. github.com - Signature changed
flask_login.decode_cookie
Was def decode_cookie(cookie); now def decode_cookie(cookie, key=None). pypi.org
And 1 more in this version. Sign up to see every change
flask-login 0.4.0 breaking changes
- Removed
flask_login.LoginManager.token_callback
LoginManager.token_callback was removed in Flask-Login 0.4.0 pypi.org - Removed
flask_login.LoginManager.token_loader
LoginManager.token_loader was removed in Flask-Login 0.4.0 pypi.org - Removed
login_manager.token_handler
The token_handler function was removed to prevent insecure auth implementations. Use the Alternative Tokens example from the docs instead. github.com - Removed
User.get_auth_token
The get_auth_token method on the User class was removed to prevent insecure auth implementations. Use the Alternative Tokens example from the docs instead. github.com - Removed
utils.make_secure_token
The utils.make_secure_token function was removed to prevent insecure auth implementations. Use the Alternative Tokens example from the docs instead. github.com - Renamed
flask_login.LoginManager
Use flask_login.login_manager.LoginManager instead. pypi.org - Behavior changed
Internal hashing now uses SHA512 instead of MD5, so values produced by the previous algorithm may no longer match. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.