workers-runtime-sdk 1.1.1__tar.gz → 1.1.2__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.
@@ -2,6 +2,15 @@
2
2
 
3
3
  <!-- version list -->
4
4
 
5
+ ## v1.1.2 (2026-04-21)
6
+
7
+ ### Bug Fixes
8
+
9
+ - Make top level asgi import work with snapshots
10
+ ([#93](https://github.com/cloudflare/workers-py/pull/93),
11
+ [`3dd4115`](https://github.com/cloudflare/workers-py/commit/3dd41151d201aca4e1b895638fd3926eb1c68756))
12
+
13
+
5
14
  ## v1.1.1 (2026-03-18)
6
15
 
7
16
  ### Bug Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: workers-runtime-sdk
3
- Version: 1.1.1
3
+ Version: 1.1.2
4
4
  Summary: Python SDK for Cloudflare Workers
5
5
  Project-URL: Homepage, https://github.com/cloudflare/workers-py
6
6
  Project-URL: Bug Tracker, https://github.com/cloudflare/workers-py/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "workers-runtime-sdk"
7
- version = "1.1.1"
7
+ version = "1.1.2"
8
8
  description = "Python SDK for Cloudflare Workers"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -7,7 +7,7 @@ from typing import Any
7
7
 
8
8
  import js
9
9
 
10
- from workers import Context, Request, wait_until
10
+ from workers import Context, Request
11
11
 
12
12
  ASGI = {"spec_version": "2.0", "version": "3.0"}
13
13
  logger = logging.getLogger("asgi")
@@ -221,6 +221,9 @@ async def process_request(
221
221
 
222
222
  # Create task to run the application in the background
223
223
  app_task = create_proxy(create_task(run_app()))
224
+
225
+ from workers import wait_until
226
+
224
227
  wait_until(app_task)
225
228
 
226
229
  try: