plain.auth 0.20.2__tar.gz → 0.20.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {plain_auth-0.20.2 → plain_auth-0.20.3}/PKG-INFO +1 -1
- {plain_auth-0.20.2 → plain_auth-0.20.3}/plain/auth/CHANGELOG.md +11 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/pyproject.toml +1 -1
- {plain_auth-0.20.2 → plain_auth-0.20.3}/.gitignore +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/LICENSE +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/README.md +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/plain/auth/README.md +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/plain/auth/__init__.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/plain/auth/default_settings.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/plain/auth/requests.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/plain/auth/sessions.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/plain/auth/templates.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/plain/auth/test.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/plain/auth/utils.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/plain/auth/views.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/tests/app/settings.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/tests/app/urls.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/tests/app/users/migrations/0001_initial.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/tests/app/users/migrations/__init__.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/tests/app/users/models.py +0 -0
- {plain_auth-0.20.2 → plain_auth-0.20.3}/tests/test_views.py +0 -0
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# plain-auth changelog
|
|
2
2
|
|
|
3
|
+
## [0.20.3](https://github.com/dropseed/plain/releases/plain-auth@0.20.3) (2025-10-07)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- Updated 0.20.0 changelog with additional upgrade instructions about `login_required` default ([221591e](https://github.com/dropseed/plain/commit/221591e48a))
|
|
8
|
+
|
|
9
|
+
### Upgrade instructions
|
|
10
|
+
|
|
11
|
+
- No changes required
|
|
12
|
+
|
|
3
13
|
## [0.20.2](https://github.com/dropseed/plain/releases/plain-auth@0.20.2) (2025-10-06)
|
|
4
14
|
|
|
5
15
|
### What's changed
|
|
@@ -33,6 +43,7 @@
|
|
|
33
43
|
|
|
34
44
|
- Remove `plain.auth.middleware.AuthenticationMiddleware` from your `MIDDLEWARE` setting
|
|
35
45
|
- In views, use `AuthViewMixin` for access to `self.user` instead of `self.request.user`
|
|
46
|
+
- The default for `login_required` in `AuthViewMixin` is now `False`, so explicitly set `login_required = True` if needed
|
|
36
47
|
- Replace `request.user` with `get_request_user(request)` in code outside of `AuthViewMixin` views
|
|
37
48
|
- In templates, replace `{{ request.user }}` with `{{ user }}` (from `AuthViewMixin`) or with `{{ get_current_user() }}`
|
|
38
49
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|