---
title: "flask-login 0.6.2 Breaking Changes on PyPI | Since.dev"
description: "What each flask-login release removed, renamed or changed: 29 breaking changes in 5 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/flask-login
last_updated: 2026-12-04
---

# 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

Latest version `0.6.3`, released October 30, 2023. 

Its 0.6.0 release requires [Python 3.7](https://since.dev/calendar/python/3.7.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.4.0](#v-0-4-0) to [0.6.2](#v-0-6-2): 22 breaking changes in 4 versions.

## flask-login 0.6.2 breaking changes

flask-login 0.6.2, released July 25, 2022: 1 breaking change.

- **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](https://pypi.org/project/Flask-Login/0.6.2/)

## flask-login 0.6.1 breaking changes

flask-login 0.6.1, released May 2, 2022: 1 breaking change.

- **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](https://github.com/maxcountryman/flask-login/blob/0.6.1/CHANGES.md)

## flask-login 0.6.0 breaking changes

flask-login 0.6.0, released March 30, 2022: 9 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](https://github.com/maxcountryman/flask-login/releases/tag/0.6.0)
- **Removed** `flask_login.login_manager.text_type`  

flask_login.login_manager.text_type was removed in Flask-Login 0.6.0 [pypi.org](https://pypi.org/project/Flask-Login/0.6.0/)
- **Removed** `flask_login.mixins.PY2`  

flask_login.mixins.PY2 was removed in Flask-Login 0.6.0 [pypi.org](https://pypi.org/project/Flask-Login/0.6.0/)
- **Removed** `flask_login.mixins.text_type`  

flask_login.mixins.text_type was removed in Flask-Login 0.6.0 [pypi.org](https://pypi.org/project/Flask-Login/0.6.0/)
- **Removed** `flask_login.utils.text_type`  

flask_login.utils.text_type was removed in Flask-Login 0.6.0 [pypi.org](https://pypi.org/project/Flask-Login/0.6.0/)
- **Removed** `flask_login.utils.urlparse`  

flask_login.utils.urlparse was removed in Flask-Login 0.6.0 [pypi.org](https://pypi.org/project/Flask-Login/0.6.0/)
- **Removed** `flask_login.utils.urlunparse`  

flask_login.utils.urlunparse was removed in Flask-Login 0.6.0 [pypi.org](https://pypi.org/project/Flask-Login/0.6.0/)
- **Configuration changed**  

The release requires Werkzeug 1.0.1 or later. Projects pinned to older Werkzeug versions must upgrade Werkzeug. [github.com](https://github.com/maxcountryman/flask-login/releases/tag/0.6.0)
- **Configuration changed**  

The release requires Flask 1.0.4 or later. Projects pinned to older Flask versions must upgrade Flask. [github.com](https://github.com/maxcountryman/flask-login/releases/tag/0.6.0)

## flask-login 0.5.0 breaking changes

flask-login 0.5.0, released February 9, 2020: 11 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](https://github.com/maxcountryman/flask-login/blob/0.5.0/CHANGES)
- **Removed** `flask_login.login_manager.LoginManager.header_callback`  

LoginManager.header_callback was removed in Flask-Login 0.5.0 [pypi.org](https://pypi.org/project/Flask-Login/0.5.0/)
- **Removed** `flask_login.login_manager.LoginManager.reload_user`  

LoginManager.reload_user was removed in Flask-Login 0.5.0 [pypi.org](https://pypi.org/project/Flask-Login/0.5.0/)
- **Removed** `flask_login.login_manager.LoginManager.request_callback`  

LoginManager.request_callback was removed in Flask-Login 0.5.0 [pypi.org](https://pypi.org/project/Flask-Login/0.5.0/)
- **Removed** `flask_login.login_manager.LoginManager.user_callback`  

LoginManager.user_callback was removed in Flask-Login 0.5.0 [pypi.org](https://pypi.org/project/Flask-Login/0.5.0/)
- **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](https://github.com/maxcountryman/flask-login/blob/0.5.0/CHANGES)
- **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](https://github.com/maxcountryman/flask-login/blob/0.5.0/CHANGES)
- **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](https://github.com/maxcountryman/flask-login/blob/0.5.0/CHANGES)
- **Behavior changed**  

Calling logout clears the session identifier. Code that relies on the session identifier surviving logout may need to change. [github.com](https://github.com/maxcountryman/flask-login/blob/0.5.0/CHANGES)
- **Signature changed** `flask_login.decode_cookie`  

Was def decode_cookie(cookie); now def decode_cookie(cookie, key=None). [pypi.org](https://pypi.org/project/Flask-Login/0.5.0/)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## flask-login 0.4.0 breaking changes

flask-login 0.4.0, released October 26, 2016: 7 breaking changes.

- **Removed** `flask_login.LoginManager.token_callback`  

LoginManager.token_callback was removed in Flask-Login 0.4.0 [pypi.org](https://pypi.org/project/Flask-Login/0.4.0/)
- **Removed** `flask_login.LoginManager.token_loader`  

LoginManager.token_loader was removed in Flask-Login 0.4.0 [pypi.org](https://pypi.org/project/Flask-Login/0.4.0/)
- **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](https://github.com/maxcountryman/flask-login/blob/0.4.0/CHANGES)
- **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](https://github.com/maxcountryman/flask-login/blob/0.4.0/CHANGES)
- **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](https://github.com/maxcountryman/flask-login/blob/0.4.0/CHANGES)
- **Renamed** `flask_login.LoginManager`  

Use flask_login.login_manager.LoginManager instead. [pypi.org](https://pypi.org/project/Flask-Login/0.4.0/)
- **Behavior changed**  

Internal hashing now uses SHA512 instead of MD5, so values produced by the previous algorithm may no longer match. [github.com](https://github.com/maxcountryman/flask-login/blob/0.4.0/CHANGES)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
