workers-runtime-sdk 1.6.14__tar.gz → 1.6.15__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.
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/CHANGELOG.md +8 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/PKG-INFO +1 -1
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/pyproject.toml +1 -1
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/asgi.py +23 -8
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi-ws-disconnect/tests/test_ws_disconnect.py +19 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi-ws-disconnect/worker.py +43 -1
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/uv.lock +1 -1
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/.gitignore +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/AGENTS.md +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/README.md +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/_cloudflare_compat_flags.pyi +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/_pyodide_entrypoint_helper.pyi +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/_workers_sdk_entropy_import_context.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/_workers_sdk_package_patches.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/_workers_sdk_patch_loader.pth +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/_workers_sdk_patch_loader.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/asgi.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/__init__.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/blob.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/entrypoints.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/fetch.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/formdata.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/py.typed +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/request.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/response.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/rpc.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/types.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/utils.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/workflows.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/workers/wsgi.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/public/data.json +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/public/hello.txt +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/conftest.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_analytics_engine.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_assets.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_d1.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_do.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_hyperdrive_mysql.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_hyperdrive_postgresql.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_images.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_kv.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_mtls.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_queue.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_r2.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_ratelimit.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_vectorize.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_version_metadata.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_workflow.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/worker_durable_object.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/worker_workflow.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/conftest.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/test_bindings.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/test_fastapi.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/test_in_workerd.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/test_web_frameworks.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/_client.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/conftest.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/__init__.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/api_urls.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/auth_backend.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/drf_auth.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/drf_serializers.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/drf_throttling.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/drf_views.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/forms.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/middleware.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/templatetags/__init__.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/templatetags/custom_tags.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/urls.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/django_app/views.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/templates/base.html +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/templates/context_test.html +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/templates/csrf_form.html +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/templates/hello.html +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_async_utilities.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_auth.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_caching.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_cors.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_csrf.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_drf_auth_permissions.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_drf_content_negotiation.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_drf_serializers.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_drf_throttling.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_drf_versioning.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_drf_views.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_error_handling.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_file_uploads.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_forms.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_middleware.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_pagination.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_request_response.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_sessions.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_signals.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_streaming.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_templates.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_url_routing.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/test_views_basic.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/src/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/django-async/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/public/data.json +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/public/index.html +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/public/style.css +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/_client.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/conftest.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/static/app.css +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/static/data.json +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/static/hello.txt +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/static/index.html +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/test_assets.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/test_error_handling.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/test_platform_lifecycle.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/test_response_types.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/test_routing.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/test_staticfiles.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/test_sync_handlers.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/src/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/web-frameworks-test/fastapi-tests/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi/asgi.wd-test +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi/tests/test_asgi.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi-ws-disconnect/asgi-ws-disconnect.wd-test +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi-ws-disconnect/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi-ws-disconnect/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object/durable-object.wd-test +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-abort/durable-object-abort.wd-test +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-abort/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-abort/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-abort/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-inheritance/durable-object-inheritance.wd-test +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-inheritance/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-inheritance/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-inheritance/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-websocket/durable-object-websocket.wd-test +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-websocket/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-websocket/tester.js +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-websocket/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/durable-object-websocket/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/entropy-patches/entropy-patches.wd-test +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/entropy-patches/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/entropy-patches/tests/test_aiohttp_websocket.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/entropy-patches/tests/test_langsmith.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/entropy-patches/tests/test_numpy.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/entropy-patches/tests/test_pydantic.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/entropy-patches/tests/test_rust_packages.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/entropy-patches/tests/test_ssl_avoidance.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/entropy-patches/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/entropy-patches/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/python-rpc/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/python-rpc/python-rpc.wd-test +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/python-rpc/worker.js +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/python-rpc/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/python-rpc/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/sdk/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/sdk/sdk.wd-test +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/sdk/server.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/sdk/tests/test_sdk.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/sdk/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/sdk/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/wsgi/pyproject.toml +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/wsgi/tests/test_wsgi.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/wsgi/worker.py +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/wsgi/wrangler.jsonc +0 -0
- {workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/wsgi/wsgi.wd-test +0 -0
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- version list -->
|
|
4
4
|
|
|
5
|
+
## v1.6.15 (2026-08-21)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- Handle ASGI WebSocket close events and environment propagation
|
|
10
|
+
([`47cc488`](https://github.com/cloudflare/workers-py/commit/47cc488e2bad1c9f3030a16d73301b80fca90f5c))
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## v1.6.14 (2026-08-19)
|
|
6
14
|
|
|
7
15
|
### Bug Fixes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: workers-runtime-sdk
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.15
|
|
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
|
|
@@ -317,7 +317,9 @@ async def process_request( # noqa: PLR0913
|
|
|
317
317
|
app_task.destroy()
|
|
318
318
|
|
|
319
319
|
|
|
320
|
-
async def process_websocket(
|
|
320
|
+
async def process_websocket(
|
|
321
|
+
app: Any, req: "Request | js.Request", env: Any = None
|
|
322
|
+
) -> js.Response:
|
|
321
323
|
from js import Response, WebSocketPair
|
|
322
324
|
|
|
323
325
|
client, server = WebSocketPair.new().object_values()
|
|
@@ -358,6 +360,10 @@ async def process_websocket(app: Any, req: "Request | js.Request") -> js.Respons
|
|
|
358
360
|
server.onmessage = onmessage
|
|
359
361
|
|
|
360
362
|
async def ws_send(got):
|
|
363
|
+
if got["type"] == "websocket.accept":
|
|
364
|
+
# The Workers WebSocketPair is accepted before the upgrade response
|
|
365
|
+
# is returned, so there is no deferred accept operation here.
|
|
366
|
+
return
|
|
361
367
|
if got["type"] == "websocket.send":
|
|
362
368
|
b = got.get("bytes", None)
|
|
363
369
|
s = got.get("text", None)
|
|
@@ -368,16 +374,23 @@ async def process_websocket(app: Any, req: "Request | js.Request") -> js.Respons
|
|
|
368
374
|
server.send(jsbytes)
|
|
369
375
|
if s is not None:
|
|
370
376
|
server.send(s)
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
377
|
+
return
|
|
378
|
+
if got["type"] == "websocket.close":
|
|
379
|
+
server.close(got.get("code", 1000), got.get("reason", ""))
|
|
380
|
+
return
|
|
381
|
+
logger.warning(" == Not implemented %s", got["type"])
|
|
374
382
|
|
|
375
383
|
async def ws_receive():
|
|
376
384
|
received = await queue.get()
|
|
377
385
|
return received
|
|
378
386
|
|
|
379
|
-
|
|
380
|
-
|
|
387
|
+
run_in_background(
|
|
388
|
+
app(
|
|
389
|
+
request_to_scope(req, env if env is not None else {}, ws=True),
|
|
390
|
+
ws_receive,
|
|
391
|
+
ws_send,
|
|
392
|
+
)
|
|
393
|
+
)
|
|
381
394
|
|
|
382
395
|
return Response.new(None, status=101, webSocket=client)
|
|
383
396
|
|
|
@@ -396,8 +409,10 @@ async def fetch(
|
|
|
396
409
|
return result
|
|
397
410
|
|
|
398
411
|
|
|
399
|
-
async def websocket(
|
|
400
|
-
|
|
412
|
+
async def websocket(
|
|
413
|
+
app: Any, req: "Request | js.Request", env: Any = None
|
|
414
|
+
) -> js.Response:
|
|
415
|
+
return await process_websocket(app, req, env)
|
|
401
416
|
|
|
402
417
|
|
|
403
418
|
def __getattr__(name):
|
|
@@ -140,3 +140,22 @@ async def test_empty_frames_reach_the_client():
|
|
|
140
140
|
assert messages[0] == ""
|
|
141
141
|
assert messages[1].to_bytes() == b""
|
|
142
142
|
assert messages[2] == "done"
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
@pytest.mark.asyncio
|
|
146
|
+
async def test_application_close_reaches_client_with_code_and_reason():
|
|
147
|
+
async with _ws_session("/ws-close") as ws:
|
|
148
|
+
closed = _listen(ws, "close")
|
|
149
|
+
ws.send("close")
|
|
150
|
+
event = await asyncio.wait_for(closed, TIMEOUT_S)
|
|
151
|
+
assert event.code == 4001
|
|
152
|
+
assert event.reason == "application-close"
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
@pytest.mark.asyncio
|
|
156
|
+
async def test_environment_reaches_websocket_scope():
|
|
157
|
+
async with _ws_session("/ws-env") as ws:
|
|
158
|
+
message = _listen(ws, "message")
|
|
159
|
+
ws.send("env")
|
|
160
|
+
event = await asyncio.wait_for(message, TIMEOUT_S)
|
|
161
|
+
assert event.data == "worker-environment"
|
|
@@ -101,16 +101,58 @@ class WSEmptyFrameApp:
|
|
|
101
101
|
await send({"type": "websocket.send", "text": "done"})
|
|
102
102
|
|
|
103
103
|
|
|
104
|
+
class WSCloseApp:
|
|
105
|
+
"""Closes the connection with an application-provided code and reason."""
|
|
106
|
+
|
|
107
|
+
async def __call__(self, scope, receive, send):
|
|
108
|
+
message = await receive()
|
|
109
|
+
assert message["type"] == "websocket.connect"
|
|
110
|
+
await send({"type": "websocket.accept"})
|
|
111
|
+
message = await receive()
|
|
112
|
+
if message["type"] == "websocket.disconnect":
|
|
113
|
+
return
|
|
114
|
+
await send(
|
|
115
|
+
{
|
|
116
|
+
"type": "websocket.close",
|
|
117
|
+
"code": 4001,
|
|
118
|
+
"reason": "application-close",
|
|
119
|
+
}
|
|
120
|
+
)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
class WSEnvApp:
|
|
124
|
+
"""Sends a value supplied through the ASGI WebSocket scope environment."""
|
|
125
|
+
|
|
126
|
+
async def __call__(self, scope, receive, send):
|
|
127
|
+
message = await receive()
|
|
128
|
+
assert message["type"] == "websocket.connect"
|
|
129
|
+
await send({"type": "websocket.accept"})
|
|
130
|
+
message = await receive()
|
|
131
|
+
if message["type"] == "websocket.disconnect":
|
|
132
|
+
return
|
|
133
|
+
await send({"type": "websocket.send", "text": scope["env"]["marker"]})
|
|
134
|
+
|
|
135
|
+
|
|
104
136
|
ws_app = WSWatchApp()
|
|
105
137
|
echo_app = WSEchoApp()
|
|
106
138
|
empty_frame_app = WSEmptyFrameApp()
|
|
139
|
+
close_app = WSCloseApp()
|
|
140
|
+
env_app = WSEnvApp()
|
|
107
141
|
|
|
108
142
|
|
|
109
143
|
class Default(WorkerEntrypoint):
|
|
110
144
|
async def fetch(self, request):
|
|
111
145
|
if (request.headers.get("upgrade") or "").lower() == "websocket":
|
|
112
146
|
path = urlsplit(request.url).path
|
|
113
|
-
|
|
147
|
+
if path == "/ws-env":
|
|
148
|
+
return await asgi.websocket(
|
|
149
|
+
env_app, request, {"marker": "worker-environment"}
|
|
150
|
+
)
|
|
151
|
+
app = {
|
|
152
|
+
"/ws-close": close_app,
|
|
153
|
+
"/ws-echo": echo_app,
|
|
154
|
+
"/ws-empty": empty_frame_app,
|
|
155
|
+
}.get(path, ws_app)
|
|
114
156
|
return await asgi.websocket(app, request)
|
|
115
157
|
import json
|
|
116
158
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/_pyodide_entrypoint_helper.pyi
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/_workers_sdk_entropy_import_context.py
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/src/_workers_sdk_package_patches.py
RENAMED
|
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
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/public/data.json
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/public/hello.txt
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/pyproject.toml
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/conftest.py
RENAMED
|
File without changes
|
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_assets.py
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_d1.py
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_do.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_images.py
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_kv.py
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_mtls.py
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_queue.py
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_r2.py
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_ratelimit.py
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_vectorize.py
RENAMED
|
File without changes
|
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/test_workflow.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/src/worker_workflow.py
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/bindings-test/wrangler.jsonc
RENAMED
|
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
|
|
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
|
|
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
|
|
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
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi/asgi.wd-test
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi/pyproject.toml
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi/tests/test_asgi.py
RENAMED
|
File without changes
|
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/asgi/wrangler.jsonc
RENAMED
|
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
|
|
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
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/python-rpc/worker.js
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/python-rpc/worker.py
RENAMED
|
File without changes
|
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/sdk/pyproject.toml
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/sdk/sdk.wd-test
RENAMED
|
File without changes
|
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/sdk/tests/test_sdk.py
RENAMED
|
File without changes
|
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/sdk/wrangler.jsonc
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/wsgi/pyproject.toml
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/wsgi/tests/test_wsgi.py
RENAMED
|
File without changes
|
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/wsgi/wrangler.jsonc
RENAMED
|
File without changes
|
{workers_runtime_sdk-1.6.14 → workers_runtime_sdk-1.6.15}/tests/workerd-test/wsgi/wsgi.wd-test
RENAMED
|
File without changes
|