serve-gateway 1.0.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.
- serve_gateway-1.0.0/CHANGELOG.md +73 -0
- serve_gateway-1.0.0/IMPLEMENTATION_PLAN.md +557 -0
- serve_gateway-1.0.0/LICENSE +21 -0
- serve_gateway-1.0.0/PKG-INFO +49 -0
- serve_gateway-1.0.0/README.md +35 -0
- serve_gateway-1.0.0/SECURITY.md +7 -0
- serve_gateway-1.0.0/docs/README.md +59 -0
- serve_gateway-1.0.0/docs/asgi.md +36 -0
- serve_gateway-1.0.0/docs/baselines/load-macos.json +154 -0
- serve_gateway-1.0.0/docs/browser-qualification.md +35 -0
- serve_gateway-1.0.0/docs/development.md +28 -0
- serve_gateway-1.0.0/docs/distribution.md +50 -0
- serve_gateway-1.0.0/docs/load.md +36 -0
- serve_gateway-1.0.0/docs/native-endpoints.md +85 -0
- serve_gateway-1.0.0/docs/operations.md +78 -0
- serve_gateway-1.0.0/docs/prettynb.md +27 -0
- serve_gateway-1.0.0/docs/qualification-v0.1.md +29 -0
- serve_gateway-1.0.0/docs/relay-qualification.md +87 -0
- serve_gateway-1.0.0/docs/security.md +44 -0
- serve_gateway-1.0.0/docs/sessions.md +64 -0
- serve_gateway-1.0.0/docs/signaling.md +87 -0
- serve_gateway-1.0.0/docs/stability.md +42 -0
- serve_gateway-1.0.0/docs/stun.md +61 -0
- serve_gateway-1.0.0/docs/turn.md +238 -0
- serve_gateway-1.0.0/pyproject.toml +55 -0
- serve_gateway-1.0.0/pyproject.toml.orig +41 -0
- serve_gateway-1.0.0/scripts/check_distributions.py +47 -0
- serve_gateway-1.0.0/scripts/compare_gateway.py +162 -0
- serve_gateway-1.0.0/scripts/load_profile.py +381 -0
- serve_gateway-1.0.0/scripts/prettynb_worker.py +147 -0
- serve_gateway-1.0.0/scripts/probe_native_dtls.py +170 -0
- serve_gateway-1.0.0/scripts/qualify_ipc.py +163 -0
- serve_gateway-1.0.0/scripts/qualify_prettynb.py +114 -0
- serve_gateway-1.0.0/scripts/qualify_relay_network.py +362 -0
- serve_gateway-1.0.0/scripts/qualify_signaling.py +258 -0
- serve_gateway-1.0.0/scripts/relay_profile.py +235 -0
- serve_gateway-1.0.0/scripts/security_profile.py +104 -0
- serve_gateway-1.0.0/scripts/smoke_installed.py +50 -0
- serve_gateway-1.0.0/src/serve_gateway/__init__.py +24 -0
- serve_gateway-1.0.0/src/serve_gateway/__main__.py +3 -0
- serve_gateway-1.0.0/src/serve_gateway/asgi.py +495 -0
- serve_gateway-1.0.0/src/serve_gateway/cli.py +38 -0
- serve_gateway-1.0.0/src/serve_gateway/config.py +65 -0
- serve_gateway-1.0.0/src/serve_gateway/diagnostics.py +49 -0
- serve_gateway-1.0.0/src/serve_gateway/distribution.py +324 -0
- serve_gateway-1.0.0/src/serve_gateway/gateway.py +185 -0
- serve_gateway-1.0.0/src/serve_gateway/models.py +122 -0
- serve_gateway-1.0.0/src/serve_gateway/policy.py +136 -0
- serve_gateway-1.0.0/src/serve_gateway/relay_browser.py +56 -0
- serve_gateway-1.0.0/src/serve_gateway/relay_credentials.py +140 -0
- serve_gateway-1.0.0/src/serve_gateway/runtime_files.py +45 -0
- serve_gateway-1.0.0/src/serve_gateway/sessions.py +316 -0
- serve_gateway-1.0.0/src/serve_gateway/signaling.py +646 -0
- serve_gateway-1.0.0/src/serve_gateway/signaling_demo.py +271 -0
- serve_gateway-1.0.0/src/serve_gateway/stun.py +307 -0
- serve_gateway-1.0.0/src/serve_gateway/stun_server.py +373 -0
- serve_gateway-1.0.0/src/serve_gateway/turn.py +555 -0
- serve_gateway-1.0.0/src/serve_gateway/turn_server.py +409 -0
- serve_gateway-1.0.0/src/serve_gateway/turn_stream.py +326 -0
- serve_gateway-1.0.0/src/serve_gateway/web/signaling.css +26 -0
- serve_gateway-1.0.0/src/serve_gateway/web/signaling.html +43 -0
- serve_gateway-1.0.0/src/serve_gateway/web/signaling.js +381 -0
- serve_gateway-1.0.0/tests/contracts/public-api-v1.json +813 -0
- serve_gateway-1.0.0/tests/test_asgi.py +179 -0
- serve_gateway-1.0.0/tests/test_browser_profile.py +32 -0
- serve_gateway-1.0.0/tests/test_distribution.py +219 -0
- serve_gateway-1.0.0/tests/test_gateway.py +117 -0
- serve_gateway-1.0.0/tests/test_load_profile.py +49 -0
- serve_gateway-1.0.0/tests/test_operations.py +109 -0
- serve_gateway-1.0.0/tests/test_policy.py +180 -0
- serve_gateway-1.0.0/tests/test_public_api.py +55 -0
- serve_gateway-1.0.0/tests/test_relay_credentials.py +51 -0
- serve_gateway-1.0.0/tests/test_relay_profile.py +47 -0
- serve_gateway-1.0.0/tests/test_runtime_files.py +49 -0
- serve_gateway-1.0.0/tests/test_security.py +15 -0
- serve_gateway-1.0.0/tests/test_sessions.py +325 -0
- serve_gateway-1.0.0/tests/test_signaling.py +250 -0
- serve_gateway-1.0.0/tests/test_signaling_asgi.py +157 -0
- serve_gateway-1.0.0/tests/test_signaling_demo.py +137 -0
- serve_gateway-1.0.0/tests/test_stun.py +189 -0
- serve_gateway-1.0.0/tests/test_stun_server.py +239 -0
- serve_gateway-1.0.0/tests/test_turn.py +462 -0
- serve_gateway-1.0.0/tests/test_turn_stream.py +236 -0
- serve_gateway-1.0.0/tests/tls_fixture.py +16 -0
- serve_gateway-1.0.0/tests/turn_client.py +113 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Release notes
|
|
2
|
+
|
|
3
|
+
## 1.0.0 — 2026-12-03
|
|
4
|
+
|
|
5
|
+
First stable release of the documented core API and compatibility policy. CPython 3.14 on Linux/macOS is the qualified platform matrix; base runtime dependencies remain empty. All changes below are included in this release.
|
|
6
|
+
|
|
7
|
+
### First-party relay foundation
|
|
8
|
+
|
|
9
|
+
- Bounded STUN wire codec, standard-library HMAC/fingerprint verification and IPv4/IPv6 address helpers.
|
|
10
|
+
- Published vectors, malformed-input and integrity-boundary regressions; no additional runtime dependency or core export change.
|
|
11
|
+
- Independently owned UDP Binding service with finite source/transaction/rate/output budgets, retransmission/collision handling and cancellation-safe socket/CLI cleanup.
|
|
12
|
+
- Authenticated TURN UDP allocations, temporary account-bound credentials, nonce renewal, permissions/channels and opaque bidirectional forwarding with finite port, byte and packet budgets.
|
|
13
|
+
- Optional TCP/TLS client access to the same UDP relay pool with bounded framing, pre-handshake capacity reservation, certificate verification tests and immediate connection-owned allocation cleanup.
|
|
14
|
+
- Explicit authenticated browser relay credentials with retained account issuance limits and protected PID/readiness/heartbeat/aggregate metric receipts for independent supervision.
|
|
15
|
+
- Isolated Chromium/Firefox relay fallback and bounded parser/traffic/resource profiles with retained sanitized qualification receipts.
|
|
16
|
+
|
|
17
|
+
### Browser qualification
|
|
18
|
+
|
|
19
|
+
- Packaged bounded browser client and private loopback authentication/health fixture with explicit control opt-in.
|
|
20
|
+
- Development-only Chromium/Firefox qualification for timeout/retry, direct data with signaling offline, reconnect and current grant enforcement.
|
|
21
|
+
- Accept direct peer-reflexive ICE evidence learned by native connectivity checks while continuing to exclude relay/server-reflexive paths from the no-server fixture.
|
|
22
|
+
|
|
23
|
+
### Optional browser signaling
|
|
24
|
+
|
|
25
|
+
- Authorized opaque peer discovery and browser-native offer/answer/ICE forwarding through bounded gateway channels.
|
|
26
|
+
- Strict sequence/role/grant checks, finite peer/negotiation/candidate/queue budgets and privacy-preserving expiration/revocation.
|
|
27
|
+
- Independent optional ASGI subprotocol with explicit origins, lifecycle cleanup and unchanged base runtime dependencies.
|
|
28
|
+
|
|
29
|
+
### Core stable contract
|
|
30
|
+
|
|
31
|
+
- Frozen public API/signature and coroutine contract checks from source and installed artifacts.
|
|
32
|
+
- Compatibility/deprecation policy, explicit ordering/delivery/recovery guarantees and private security reporting guidance.
|
|
33
|
+
- Stable qualification review ties independent installation, backend, IPC, security, load and application evidence to its tested source.
|
|
34
|
+
|
|
35
|
+
### Independent operations
|
|
36
|
+
|
|
37
|
+
- Strict optional TOML profiles, immutable redacted aggregate events and separate app liveness/readiness.
|
|
38
|
+
- Explicit adapter failure/reconciliation guidance and installed alternative-server qualification.
|
|
39
|
+
|
|
40
|
+
### Sustained messaging qualification
|
|
41
|
+
|
|
42
|
+
- Checked large-channel fan-out with saturated slow consumers, rotating session resumes and bounded replay.
|
|
43
|
+
- Two-process IPC load/rejoin, peer/session allocation and task/descriptor trends with retained Linux/macOS soak evidence.
|
|
44
|
+
|
|
45
|
+
### Principal security policy
|
|
46
|
+
|
|
47
|
+
- Injectable per-principal connection/session/subscription quotas and finite command/payload token buckets that survive reconnects.
|
|
48
|
+
- Redacted provider failures, seeded envelope/abuse qualification and real-client policy checks across independent servers.
|
|
49
|
+
|
|
50
|
+
### Application shared-state qualification
|
|
51
|
+
|
|
52
|
+
- Installed Pretty Notebook clients across two workers, with checked-write conflicts, optional IPC cache hints, missed-event reconciliation and broker-outage correctness.
|
|
53
|
+
- Private fixture credentials, explicit worker rejoin and retained server/messaging rollback on Linux/macOS.
|
|
54
|
+
|
|
55
|
+
### Worker distribution
|
|
56
|
+
|
|
57
|
+
- Optional authenticated IPC bridge with preserved IDs, bounded deduplication, worker provenance and explicit gap/overflow reconciliation.
|
|
58
|
+
- Injected asynchronous network publication and application-owned version-aware invalidation.
|
|
59
|
+
- Real multi-process runner qualification including worker death/rejoin, authorization and saturation; base runtime dependencies remain empty.
|
|
60
|
+
|
|
61
|
+
### Network messaging
|
|
62
|
+
|
|
63
|
+
- Standalone ASGI WebSocket application with explicit authentication/origin/authorization policy and serialized JSON/binary sends.
|
|
64
|
+
- Bounded envelopes, slow-consumer cleanup, caller-owned lifecycle and independent server interoperability.
|
|
65
|
+
- Identity-bound resumable sessions with rotating credentials, bounded ordered replay, offline presence/expiry and session-wide channel revocation.
|
|
66
|
+
|
|
67
|
+
### Package foundations
|
|
68
|
+
|
|
69
|
+
- Standalone Python >=3.14 package with no external runtime dependencies.
|
|
70
|
+
- Documented process-local fan-out, finite registries/queues, explicit overflow, cancellation and peer/session/connection isolation.
|
|
71
|
+
- Locked build, Linux/macOS checks, isolated wheel/source execution and OIDC publishing workflow.
|
|
72
|
+
|
|
73
|
+
Qualification receipts cover their declared workloads and durations. See the [stable core contract](docs/stability.md) for supported guarantees and limits. Production deployment requires its own application-specific verification and authorization.
|