Repository navigation
Releases
v0.1.4
What's Changed
- docs: complete GitHub and package entry points by @gedouluhui in #2
- Keep closed stdout failures controlled by @gedouluhui in #3
Full Changelog: v0.1.3...v0.1.4
stream-contract 0.1.3
Streaming event contracts with linear aggregation and strict JSON handling. Local verification is documented in the repository; no external real-world certification is claimed.
v0.1.2 — CI build-environment fix
StreamContract 0.1.2 — CI build-environment fix
- No runtime behavior changes. This release fixes the one failing CI job: Windows + Python 3.10 shipped a preinstalled setuptools older than 77, so
python -m build --no-isolationrejected the PEP 639license = "MIT"string. - CI now installs the build backend with
--upgrade, so every matrix job builds with the same required setuptools generation. - Verification on this commit: 32 tests pass locally, the sdist content/byte contract passes, and the wheel/sdist hashes are recorded in SHA256SUMS-0.1.2.
The v0.1.1 artifacts remain immutable. A fresh independent review of the 0.1.1 quality changes is still outstanding; see the README for scope limits.
v0.1.1 (alpha)
Corrective alpha release of StreamContract. v0.1.0's regression test used a dotted mock target that Python 3.10 could not resolve, so its 3.10 CI job errored while product code was unaffected. This release patches the encoder object directly.
Verified locally: 32 tests, 3 named mutation controls, sdist content/byte contract, clean-venv wheel install and synthetic demo from outside the repository, and the recorded OpenAI SDK 2.36.0 decoder observation. CI covers Ubuntu and Windows on Python 3.10/3.12/3.13; see the run for this tag.
Boundaries: SSE framing plus a narrow Chat Completions TEXT profile; tool calls, Responses API streams and non-text deltas are unsupported. No network use. Real users and other SDK versions remain unverified. Python 3.10+.
v0.1.0 (alpha)
Note: use v0.1.1 instead. This release's test suite fails on Python 3.10 due to a mock patch path; product code and wheel behavior are unaffected. v0.1.0 is retained for history.
Alpha release of StreamContract: reproduce client-side SSE and Chat Completions text streaming boundary behavior offline.
Verified locally: 32 unit/integration tests, 3 named mutation controls, source-distribution content/byte contract, clean-venv wheel install with the demo running from site-packages outside the repository, and an actual OpenAI SDK 2.36.0 decoder observation (BOM handling differs; recorded, not generalized to other versions).
Boundaries: SSE framing plus a deliberately narrow Chat Completions TEXT profile. Tool calls, Responses API streams, named SSE events and non-text deltas are unsupported and reported as such. Passing means the declared profile completed, not that a model answer or connection was correct. No network access, no API keys. Real users and other SDK versions are not verified. Python 3.10+.