Skip to content
Playground(another site)

v0.129.0

Released on 3 July 2026 as v0.129.0, with the increments from v0.121.0 to v0.129.0. See Upgrading for what to change when you move to it.

VersionHighlights
v0.129.0Refinement-family CodeLens (tooling; editor-currency track — the parked refines half of #259). Slice 6 (v0.127) shipped the providers half of #259 (N providers on a capability) and parked the refinements half, which — unlike providers — had no index relation. This adds it. A refined/opaque type (or plain alias) over a builtin base now shows an N refinements of <Base> CodeLens listing its refinement family — every type over the same base across the project (type Email = String where …, type UserId = String, type Slug = String where … all read 3 refinements of String); click to peek the family. Per #259 this is the flat “what refines T” query that fits Bynk’s model (refinement is over the seven builtin base types, which aren’t navigable symbols), not a typeHierarchy tree. Backed by a new index::RefineEdge { base, ty } captured at the type-def walk in bynk-emit (where symbol_modifiers already reads the TypeBody base and discarded it) plus refined_base / refinements_over accessors on ProjectIndex — mirroring the ImplEdge / impls_of pattern the provider lens uses. A lens is emitted only for a family of ≥ 2 (a lone refinement has nothing to navigate to), and its showReferences payload flows through the existing client hydration, so no VS Code change. Closes #259. bynk-lsp + a small bynk-check index edge (one population line in bynk-emit); no grammar, checker-semantics, or emitter-output change.
v0.128.0match-arm pattern completion (tooling; editor-currency track — the deferred half of slice 3). Slice 3 (v0.124) shipped scrutinee-variant completion at an <expr> is <cursor> position and deferred the match-arm half as a named fast-follow; this closes it. At an arm-pattern-start inside a match <scrutinee> { … }, the editor offers the scrutinee sum type’s variants — match order.status { <cursor> and Del<cursor> on a fresh arm both offer Pending/Shipped/Delivered/…. It reuses slice 3’s pieces unchanged: the scrutinee is typed through type_receiver (the expr_types value-member path, so it obeys the same clean-file ceiling and goes silent, never wrong, on a broken buffer), and the candidate set is the shared sum_type_variants; only the arm-position detector (match_scrutinee_offset) is new. It is deliberately conservative — it fires only at the start of an arm’s pattern (after the { or a top-level ,, before any =>), never inside an arm body or a nested constructor pattern (Ok(<cursor>). The one wrinkle over is: a fresh-line or after-comma arm already looks like a keyword/expression position, so the variants are merged in ahead of the keyword/local candidates rather than gated on an empty result — but the expensive scrutinee typing stays gated behind the cheap lexical check, so ordinary keyword-position completion is untouched. bynk-lsp only; no language/compiler change.
v0.127.0Editor-currency slice 6 — codelens depth (tooling; editor-currency track — the optional tail). Two additions widen the “healthy but narrow” codelens surface. A per-case test-run filter: bynkc test gains --case <name>, which runs only cases whose name matches — filtered at execution, not merely in the report (the emitted runner reads BYNK_TEST_CASE and threads it into every suite’s run(only), guarding each case with `only === undefined
v0.126.0Editor-currency slice 5 — the UI surface (tooling; editor-currency track). The VS Code extension’s .bynk-native affordances, absent till now, land as manifest contributions. Menus: run/debug buttons in the editor title bar and right-click menu (editor/title/run, editor/context, scoped editorLangId == bynk); New Context / Open Project Config on a folder in the explorer (explorer/context); and the Command Palette entries for the Bynk commands are now when-gated on a Bynk context, so they no longer clutter unrelated workspaces (the bootstrap New Project stays ungated). Keybindings: a Ctrl/Cmd+; chord — ; t runs the tests, ; d debugs them — scoped to bynk editors so it shadows nothing globally. Since when clauses cannot use the workspaceContains: activation predicate, the extension sets a bynk.hasProject context key (kept live by a bynk.toml create/delete watcher) that the gates read. language-configuration.json gains a wordPattern and onEnterRules (brace-aware auto-indent). No language/compiler change; extension manifest + a small activation hook only.
v0.125.0Editor-currency slice 4 — scaffold refresh (tooling; editor-currency track). The two editor snippet catalogues — the LSP’s completion::SNIPPETS and VS Code’s static bynk.json — are brought current with the language. Between them they now scaffold the constructs that had grown up unrepresented: the testing surface (suite with a case/expect, and property with for all), actor, agent invariant/transition step invariants, function requires/ensures contracts, refined and opaque types, and the uses/consumes/given clauses — alongside the ordinary declaration forms each set had been missing (SNIPPETS gained commons/fn/type record/type enum/provides; bynk.json gained adapter/a bare on call). Per the track’s DECISION A the two sets stay independent — the fill is asymmetric (each construct added to whichever set lacked it, no forced parity), and slice 0’s compile guard proves every entry still parses against the current grammar. A new union-coverage test pins that each refreshed construct is scaffolded by at least one catalogue. No language/compiler change; editor assets only.
v0.124.0Editor-currency slice 3 — completion depth (tooling; editor-currency track). Completion now fires in the non-keyword contexts ADR 0093’s matrix left as amendments. Record field-name completion on construction: Order { <cursor> offers Order’s fields (the field-type position after : stays a type position). Header/clause positions: from <cursor> offers the service protocols (http/cron/queue/WebSocket); on <cursor> the handler kinds (call, the HTTP methods, schedule, message, open, close); by <cursor> the project’s actor names; exports <cursor> the export kinds (capability/transparent/opaque); provides <cursor> the in-scope capabilities. Inside a requires/ensures predicate, the enclosing function’s parameters (and result in an ensures) are offered. And <expr> is <cursor> offers the scrutinee sum type’s variants, resolved from expr_types (subject to the clean-file ceiling; match-arm pattern completion is a named fast-follow). Field/variant/actor enumeration reuses the same project-parse the member/value-receiver cells already run; the lexical clause detectors are word-boundary-tight (a field named from, or the on inside session, does not trigger). No language/compiler change; bynk-lsp only.
v0.123.0Editor-currency slice 2 — hover depth for declarations (tooling; editor-currency track). The LSP hover renderers, which had collapsed to a v0.25-era summary, now show what each declaration actually means: a type renders its record fields, sum variants (with payloads), the refined/opaque where predicate and opaque base (was type X = record/sum/Int); a function renders its requires/ensures contract clauses (v0.115) beneath the signature; a service renders its from <protocol> header and a line per route (on GET("/path"), on schedule("…"), …) (was a bare handler count); an agent renders its store fields and invariant/transition step invariants (v0.116) (was a store-field count). Predicates and where clauses render through bynk-fmt’s own surface renderers (expr_to_string/refinement_to_string, now pub), so hover shows exactly what bynkc fmt would write — one source, no LSP-local copy that can drift (ADR 0156). Settles the track’s DECISION B: hovering a Recv.member name-receiver access (Clock.now) shows the op signature via the same resolve_label path signature help uses, over the project and the embedded bynk surface — no new index. No language/compiler change; bynk-lsp (+ two bynk-fmt functions made public) only.
v0.122.0Editor-currency slice 1 — parameter & local hover (tooling; editor-currency track). Hovering a let binding, a parameter, or self now renders its inferred type, closing the clearest of the hover regressions the track named. The hover handler reads the checker’s already-captured tables — bynk-ide::diagnose_project’s locals (each LocalBinding carrying its surface-rendered type and scope, resolved under the cursor by the same locals_nav machinery go-to-definition uses) and expr_types for self — so hover, inlay hints, and signature help render one surface form (ADR 0156’s single-source principle; the track’s DECISION C). Renders let x: <ty> / param n: <ty> (a new LocalKind on the binding sink, populated at the checker’s existing record sites) and self: <Type> — the receiver type for a method, the agent name for an agent handler (the synthetic __<Agent>Self record is un-synthesised for display). self reads expr_types and so is subject to the clean-file ceiling, degrading to slice 0’s keyword doc on a broken buffer, never to a wrong type. General expression-type hover is deliberately out of scope (a later, separately-motivated addition). No language/compiler change; bynk-lsp (+ a small bynk-check locals-sink field) only.
v0.121.0Editor-currency slice 0 — the guardrail, and its first casualty (tooling; ADRs 0156, 0157). The editor surface (bynk-lsp + vscode-bynk) is now held to a mechanical floor: a coverage test asserts every lowercase-initial keyword has both a completion doc and a hover path, and a scaffold-compiles test lexes and parses the LSP’s declaration snippets and VS Code’s static snippets/bynk.json against the current grammar (each catalogue independently — no cross-set parity requirement, ADR 0157). The first casualty: bynk-lsp’s SNIPPETS scaffold still offered test "…" { }, a container keyword suite/case replaced back in v0.112 — deleted, and the new compile test proves the rest still parse. Hovering a bare reserved keyword (requires, suite, transition, …) now renders its one-line registry doc — the gap the coverage test’s hover clause was red on before this fix, closing hover currency for the whole testing-track vocabulary landed in v0.115–v0.119. No language/compiler change; bynk-lsp/vscode-bynk only.