Skip to content
Playground(another site)

v0.111.0

Released on 1 July 2026 as v0.111.0, with one increment, v0.111.0. See Upgrading for what to change when you move to it.

VersionHighlights
v0.111.0Raw — an author-owned HTTP body: Raw(body: Bytes, contentType: String) (language/compiler; ADR 0143). One new HttpResult payload shape and one 200-only variant, in the Streaming idiom (ADR 0129) — a single HTTP_VARIANTS row that the resolver, LSP completion, and emitter dispatch pick up for free, plus the construction-check arm, the variants_of binding, and the runtime case. The service-tier escape hatch for non-JSON bodies (robots.txt, sitemap.xml, .well-known, RSS/Atom, a CSV download, a QR-code PNG): the runtime writes the Bytes straight into the Response under the declared content-type, bypassing serialiseValue — no codec runs; the name warns that the typed-wire guarantee is deliberately off (the author owns the encoding). Carries the Bytes primitive (v0.110): a PNG flows in directly, text goes through Bytes.fromUtf8 so the UTF-8 charset is an explicit author decision. Raw is the first two-argument payload shape and the first two-field variant payload; the content-type is an opaque, unvalidated String (a refined MediaType is a named follow-on). 200-only, like Streaming — service-tier raw bodies are overwhelmingly 200; a custom-status raw body (a 404 HTML error page) is a presentation concern held out of scope (that is the frontend tier — Bynk serves bytes + a content-type, it does not template HTML), and the boundary is re-openable by one registry row. Not the workers wire boundary (ADR 0142 D8): the runtime writes the Uint8Array with no cross-context erasure, so no base64 hop and no bynk.types.bytes_at_workers_boundary interaction. Additive — no rename or removal; construction reuses the existing arity/mismatch diagnostic codes. No parser/grammar/tree-sitter change; emission is tsc-clean.