plain.auth 0.18.0__tar.gz → 0.19.0__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.
@@ -15,3 +15,4 @@ plain*/tests/.plain
15
15
  .plain
16
16
 
17
17
  .vscode
18
+ /.claude
@@ -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,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
@@ -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
  [project]
2
2
  name = "plain.auth"
3
- version = "0.18.0"
3
+ version = "0.19.0"
4
4
  description = "Add users to your app and decide what they can access."
5
5
  authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
6
6
  readme = "README.md"
File without changes
File without changes