plain.auth 0.20.2__py3-none-any.whl → 0.20.3__py3-none-any.whl

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/CHANGELOG.md CHANGED
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.auth
3
- Version: 0.20.2
3
+ Version: 0.20.3
4
4
  Summary: Add users to your app and decide what they can access.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-File: LICENSE
@@ -1,4 +1,4 @@
1
- plain/auth/CHANGELOG.md,sha256=KEwd7C-ZHFlVY2Rv4G8tm_KFU6iPN-3-ZBs-W479_wA,4864
1
+ plain/auth/CHANGELOG.md,sha256=C0gBGYr2hupTa7mjegRf-sEJahDLuBQZOmSC50jztUY,5304
2
2
  plain/auth/README.md,sha256=I1SeOyrBnF0GAjD7T0k5OlZ2bSHz9---nElinaobewc,4030
3
3
  plain/auth/__init__.py,sha256=CrOsS74CPGN1nPTTfie13mPgdyVLRyZ1YwDPIA77uaA,179
4
4
  plain/auth/default_settings.py,sha256=65VzDn3j61OMn78Lg6Zuds4A8QKzJJ_0G9KoFqAOIRo,466
@@ -8,7 +8,7 @@ plain/auth/templates.py,sha256=bOMPfLrf8SSxOSWrKTkqKGaK3aNBTLxe62HJulghutU,556
8
8
  plain/auth/test.py,sha256=SHawhwarJEMVfaLkjpiuFVSWZoGIMwhzXreU_T1zvCE,1599
9
9
  plain/auth/utils.py,sha256=9kKWh1QqxA8Esct-jBvTCdjBYOHpO_Tg1YeV9WxYmxg,1362
10
10
  plain/auth/views.py,sha256=vWLMeykTrA5LtA179uE7w-BY9Kv25r1VScLHooDvZUA,4792
11
- plain_auth-0.20.2.dist-info/METADATA,sha256=BE1BOkDeM_Nw6Ym8w3VanuGn7uHN8wwnHkmuYhcEVBU,4390
12
- plain_auth-0.20.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
- plain_auth-0.20.2.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
14
- plain_auth-0.20.2.dist-info/RECORD,,
11
+ plain_auth-0.20.3.dist-info/METADATA,sha256=OUbZL8QidYcsulh1gkbQYXtghQtooqusk-n9rZkc7yg,4390
12
+ plain_auth-0.20.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
+ plain_auth-0.20.3.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
14
+ plain_auth-0.20.3.dist-info/RECORD,,