Skip to content

Update flask-login to 0.6.1 - #445

Closed
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-flask-login-0.4.1-to-0.6.1
Closed

Update flask-login to 0.6.1#445
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-flask-login-0.4.1-to-0.6.1

Conversation

@pyup-bot

@pyup-bot pyup-bot commented May 2, 2022

Copy link
Copy Markdown
Collaborator

This PR updates Flask-Login from 0.4.1 to 0.6.1.

Changelog

0.6.1

-------------

Released on May 1st, 2022

- Only preserve subdomain or host view args in unauthorized redirect 663
- The new utility function `login_remembered` returns `True` if the current
login is remembered across sessions. 654
- Fix side effect potentially executing view twice for same request. 666
- Clarify usage of FlaskLoginClient test client in docs. 668

0.6.0

-------------

Released on March 30th, 2022

- Drop support for Python 2.7, 3.5, and 3.6, which have all reached the
end of their official support. 594, 638
- The minimum supported version of Flask is 1.0.4, and Werkzeug is
1.0.1. However, projects are advised to use the latest versions of
both. 639
- Only flash "needs_refresh_message" if value is set 464
- Modify `expand_login_view` to allow for subdomain and host matching for `login_view` 462
- Add accessors for `request_loader` and `user_loader` callback functions 472
- Change "remember_me" cookie to match Werkzeug default value 488
- Change "remember_me" cookie to `HttpOnly`, matching Flask session cookie 488
- Add example for using `unauthorized_handler` 492
- Fix `assertEqual` deprecation warning in pytest 518
- Fix `collections` deprecation warning under Python 3.8 525
- Replace `safe_str_cmp` with `hmac.compare_digest` 585
- Document `REMEMBER_COOKIE_SAMESITE` config 577
- Revise setup.py to use README.md for long description 598
- Various documentation corrections 484, 482, 487, 534
- Fix `from flask_login import *` behavior, although note that
`import *` is not usually a good pattern in code. 485
- `UserMixin.is_authenticated` will return whatever `is_active` returns
by default. This prevents inactive users from logging in. 486, 530
- Session protection will only mark the session as not fresh if it's not
already marked as such, avoiding modifying the session cookie
unnecessarily. 612

0.5.0

-------------

Released on February 9th, 2020

- New custom test client: `flask_login.FlaskLoginClient`.
You can use this to write clearer automated tests. 431
- Prefix authenticated user_id, remember, and remember_seconds in Flask Session
with underscores to prevent accidental usage in application code. 470
- Simplify user loading. 378
- Various documentation improvements. 393, 394, 397, 417
- Set session ID when setting next. 403
- Clear session identifier on logout. 404
- Ensure use of a safe and up-to-date version of Flask.
- Drop support of Python versions: 2.6, 3.3, 3.4 450
Links

@pyup-bot

Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #470

@pyup-bot pyup-bot closed this Jul 25, 2022
@skytreader
skytreader deleted the pyup-update-flask-login-0.4.1-to-0.6.1 branch July 25, 2022 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant