plain.auth 0.18.0__py3-none-any.whl → 0.19.0__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.19.0](https://github.com/dropseed/plain/releases/plain-auth@0.19.0) (2025-09-30)
4
+
5
+ ### What's changed
6
+
7
+ - Updated imports to use the renamed `Request` class instead of `HttpRequest` ([cd46ff2](https://github.com/dropseed/plain/commit/cd46ff2003))
8
+
9
+ ### Upgrade instructions
10
+
11
+ - Replace any imports of `HttpRequest` from `plain.http.request` with `Request` (e.g., `from plain.http.request import HttpRequest` becomes `from plain.http.request import Request`)
12
+
3
13
  ## [0.18.0](https://github.com/dropseed/plain/releases/plain-auth@0.18.0) (2025-09-19)
4
14
 
5
15
  ### What's changed
plain/auth/test.py CHANGED
@@ -1,6 +1,6 @@
1
1
  from http.cookies import SimpleCookie
2
2
 
3
- from plain.http.request import HttpRequest
3
+ from plain.http.request import Request
4
4
  from plain.runtime import settings
5
5
  from plain.sessions import SessionStore
6
6
 
@@ -9,7 +9,7 @@ from .sessions import get_user, login, logout
9
9
 
10
10
  def login_client(client, user):
11
11
  """Log a user into a test client."""
12
- request = HttpRequest()
12
+ request = Request()
13
13
  if client.session:
14
14
  request.session = client.session
15
15
  else:
@@ -30,7 +30,7 @@ def login_client(client, user):
30
30
 
31
31
  def logout_client(client):
32
32
  """Log out a user from a test client."""
33
- request = HttpRequest()
33
+ request = Request()
34
34
  if client.session:
35
35
  request.session = client.session
36
36
  request.user = get_user(request)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.auth
3
- Version: 0.18.0
3
+ Version: 0.19.0
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,13 +1,13 @@
1
- plain/auth/CHANGELOG.md,sha256=F4k3Q0JOaIcyhaCiCcp0pSJNJzMuNZwIoWlRk4Cpn5g,2548
1
+ plain/auth/CHANGELOG.md,sha256=ViLkVHkmNYuFEAeTUQzrS9QxSIPAuo7QS7Mr7LPXNnk,3009
2
2
  plain/auth/README.md,sha256=zPG1AY8pTREu0clHVZDul1fdnv2eqXhMOdwxlnE85sI,3998
3
3
  plain/auth/__init__.py,sha256=Id4ON6caLuZoZhu_kL6aMrwnN3Y8gPGVrVGs_V3ofAE,142
4
4
  plain/auth/default_settings.py,sha256=65VzDn3j61OMn78Lg6Zuds4A8QKzJJ_0G9KoFqAOIRo,466
5
5
  plain/auth/middleware.py,sha256=yiuJ6jg4PW5FpGFEzOzg5SLTjcheRTVPvo4NlmeBKws,1186
6
6
  plain/auth/sessions.py,sha256=yd9iBOrfSvqo-Q5352Yb78WTY0Q38rJ1988UgUmJw3o,5572
7
- plain/auth/test.py,sha256=KfZSiX9S0p3AtCFAS4dUz4ctGIpOmLAGR-8nxAtM2TY,1163
7
+ plain/auth/test.py,sha256=tPAVQfKxbbqUMjQM_sTIXTNWY-xaYEuboOvygf-jUTo,1151
8
8
  plain/auth/utils.py,sha256=eEON0Mo928l-aW5tqBuoTdVke8aP4majxVtAFoLroSE,1280
9
9
  plain/auth/views.py,sha256=_igztEBQKSM4CZro2lvlK0m01eIksqbmyux4w8gY1ks,4095
10
- plain_auth-0.18.0.dist-info/METADATA,sha256=t9W_4Pq_qkBeyY6FJzTfwKoxDo13sprneKMgbQuyDhw,4358
11
- plain_auth-0.18.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
- plain_auth-0.18.0.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
13
- plain_auth-0.18.0.dist-info/RECORD,,
10
+ plain_auth-0.19.0.dist-info/METADATA,sha256=AgXQNgwVcrO3qQ_-c_fTK94g44PE3uiDgUeVGF6OEAI,4358
11
+ plain_auth-0.19.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
+ plain_auth-0.19.0.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
13
+ plain_auth-0.19.0.dist-info/RECORD,,