Skip to content
Playground(another site)

v0.208.2

Released on 19 July 2026 as v0.208.2, with the increments from v0.186.0 to v0.208.2. See Upgrading for what to change when you move to it.

VersionHighlights
v0.208.2The deploy ledger is written atomically and a truncated ledger is rejected rather than re-minting every namespace
v0.208.1fmt now verifies its output round-trips to the same code before writing (refusing with bynk.fmt.roundtrip rather than overwrite a file with mis-rendered or non-parsing output), writes in place atomically via a temp file + rename so an interrupted write can no longer truncate or empty the source, and honours --check on stdin (bynk fmt --check - reports a diff and exits non-zero instead of echoing the reformat and passing green)
v0.208.0HS256 bearer verification requires an exp claim (a token with no expiry no longer verifies)
v0.207.0A match arm or if branch may now produce a refined type where a sibling produces its base (or another refined type over the same base) — the branches join to their least upper bound instead of being rejected for not being byte-identical, so match r { Ok(e: Email) => e, Err(m: String) => m } type-checks at String
v0.206.1The playground wasm installs a panic hook and converts an internal compiler panic to a diagnostic, so adversarial input no longer traps as an opaque RuntimeError (#717)
v0.206.0Unresolvable explicit call type arguments, Json.decode[T] targets, and lambda parameter annotations in handler bodies are now reported instead of silently swallowed
v0.205.1Project-level check/compile diagnostics (consumes cycles, path/name mismatches, the reserved-namespace and adapter-binding checks, uses/consumes/exports validation, provider signature matching, …) now render with ariadne source context in directory mode instead of the plain [category] message fallback
v0.205.0A bundle-mode on call … by c: Caller handler reads a live CallerId — its emitted makeSurface deploy surface threads the calling context’s name into deps.identity, where it previously emitted deps without the field and broke tsc
v0.204.0Reject redeclaring a built-in type name (List, Query, QueueResult, …) with bynk.resolve.reserved_builtin_type; document keywords as three tiers
v0.203.0Record construction in a service/agent handler body now validates the whole field set — a missing required field, an undeclared extra field, a duplicate initialiser, or a shorthand { name } with no binding in scope is rejected (bynk.resolve.missing_field / unknown_field / duplicate_field_init / unknown_name), closing a soundness hole where such a record could cross the HTTP boundary; the checks already governed fn/method bodies (#711).
v0.202.0A Matches refinement that nests unbounded quantifiers is rejected (bynk.types.catastrophic_regex) to close a ReDoS hole on the request boundary
v0.201.1A boundary handler parameter whose name is a JavaScript reserved word (class, void, public, static, delete, …) no longer emits an invalid const class = … binder that breaks the Worker build — the entry-point and compose wrappers now route every such binder through ts_ident, exactly as the surface already did (#723).
v0.201.0A route path containing a backslash, newline, or tab is now escaped through the canonical string escaper at every router emit site — previously only " was escaped, so an internal backslash silently drifted the emitted path (\b read as backspace) and a trailing backslash escaped the closing quote and failed to compile the Worker (#721)
v0.200.0A queue name (from queue("…")) or cron expression (schedule("…")/on cron) is now TOML-escaped in the generated wrangler.toml, so a source literal carrying ", \, or a newline can no longer break out of the queue = "…" / crons = ["…"] string and inject deploy-config keys (#722)
v0.199.0Held-resource linearity (§2.9) is now enforced in fn and method bodies, not only handler bodies: a function that receives a held value (Connection[F]) owns it and must dispose it, so a leaking fn swallow(c) reports bynk.held.leak and a double c.close() reports bynk.held.use_after_consume — previously both compiled silently, leaving held-resource safety unenforced outside handlers (#718).
v0.198.0A doc block containing */ can no longer terminate the emitted JSDoc comment early and inject top-level TypeScript
v0.197.0The held-resource linearity pass now governs match-arm pattern bindings — a Connection bound out of an Option/Result in a match arm must be disposed, closing a leak the pass missed (#719)
v0.196.1A lex error inside a string-interpolation hole ("…\(…)…") is now reported at the offending bytes within the hole instead of at the file’s opening bytes — the hole is re-lexed on its own and the error’s spans were never rebased on the failure path, so an unexpected character, an integer overflow, or any lex error pointed at the wrong location and could split a multi-byte codepoint, tripping the parser’s char-boundary invariant and panicking a source-slicing consumer (#716).
v0.196.0A long operator or member chain (1 + 1 + … + 1, a.b.c…, !!!…) is rejected with bynk.parse.nesting_too_deep instead of overflowing the stack on a valid program (#714)
v0.195.0A system-tier test case drives an existing http path with a method it declares no handler for and observes the router’s 405 fall-through as Rejected(MethodNotAllowed) (#707)
v0.194.0The parser and interpolation lexer bound recursion depth, so pathologically nested source reports a diagnostic (bynk.parse.nesting_too_deep, bynk.lex.interpolation_too_deep) instead of overflowing the stack and aborting the process — the front-end the CLI, LSP, and in-browser playground all share (#713).
v0.193.0An if/match condition ending in a bare identifier no longer swallows a single-identifier brace body as a record construction
v0.192.0The tree-sitter grammar and the compiler parser are held in agreement by a cross-parser conformance test; Bytes joins the grammar’s base types, built-in generic arity is expressed in the grammar, and a lowercase sum/enum variant name is rejected (bynk.parse.variant_name_case)
v0.191.0A system-tier test case drives a secured http route with by Nobody — the no-credential principal — so the real auth seam rejects the unauthenticated request; the call yields Rejected(Unauthorized), decoded by responseToUnauthOutcome (#706)
v0.190.2The LSP no longer panics when a multi-byte non-identifier char (", €, —, an emoji) precedes the receiver/callee it extracts from the line prefix — receiver and callee extraction now advance past the matched char by its UTF-8 length instead of assuming one byte, so completion, signature help, and hover survive a keystroke inside a string literal (#715).
v0.190.1bynk new preserves a hand-written .gitignore instead of overwriting it — a target holding only .git/ and a user .gitignore scaffolds, and the template .gitignore is written only when none is present (#737).
v0.190.0The is operator tests nested variant patterns structurally — r is Rejected(RefinementViolation(_)) checks the inner tag as well as the outer — so a system-tier Wire test can discriminate which boundary rejection occurred (#705)
v0.189.0A system-tier test case drives an http route with a raw Wire(<String>) argument — pre-validation input the type system forbids — and observes the boundary reject it before the handler (Rejected) or handle it (Handled), via a raw driver and the responseToHttpOutcome decoder
v0.188.1A from http route’s boundary-rejection responses (400/401) now carry the service’s security headers (nosniff/HSTS) and CORS, exactly as its handled 200 does — restoring ADR 0164 D6 on the rejection path (#659)
v0.188.0The stamp workflow pushes as a GitHub App with ruleset bypass — main is protected, so the direct GITHUB_TOKEN push ADR 0206 assumed cannot work (amends ADR 0206)
v0.187.0A test case drives an http route at the system tier over a real fetch with a framework-signed credential; system_needs_wire relaxes to a serialisation edge
v0.186.0Increments are stamped on merge, not authored (tooling; ADR 0206, increment-allocation track, #691). Completes the increment-allocation track. A feature PR now lands a design/pending/<slug>.md carrying only its intent — a bump level, a one-line changelog blurb, and any ADR prose — with no version and no ADR number; a per-merge GitHub Actions workflow runs cargo xtask stamp on main to assign both in merge order and materialise them (the version bump, the changelog row, the numbered ADR + index row), deleting the consumed pending file. Two increments developed in parallel no longer touch any shared version or index line, so they stop colliding on the two serial counters — and the loser no longer silently ships a number another increment already took. Built across three slices: the pending-increment format + validator (#688), the cargo xtask stamp command (#690), and the workflow here. This is the last increment stamped by hand. No language, grammar, or runtime change; no author-facing surface beyond the new design/pending/ step.