Skip to content
Playground(another site)

v0.403.3

Released on 24 October 2026 as v0.403.3, with the increments from v0.377.3 to v0.403.3. See Upgrading for what to change when you move to it.

VersionHighlights
v0.403.3A registry client refuses an index line whose toolchain or withdrawn is present but not a string (or, for toolchain, null) — a serialiser’s tagged Option included — instead of reading it as absent, so bynk registry conformance fails such a registry rather than passing read.withdrawn for want of a withdrawn line
v0.403.2The first-party registry service takes versions down (R5a.2, #2397): an operator token that can withdraw tombstones a version through POST /_operator/withdraw/<org>/<package>/<version>, deleting its archive from the store and the backup, refunding the quota and logging it; an operate token restores an organisation from the export; and index lines are written in the protocol’s shape, so clients see withdrawn
v0.403.1Editor tooling and docs for embed: hover shows the declaration, that it is private, and its doc; completion offers embed names wherever they are in scope (a unit’s own and its usesd commons’); go-to-definition, references, rename and doc links reach them; embed names get their own embed semantic token and the VS Code extension an embed snippet; and a reference page and a guide cover embedded text (embedded text, slice 3)
v0.403.0A raw-body 201 for HTTP handlers (first-party registry L6, #2403): RawCreated(body, contentType) answers 201 with author-owned bytes under its own content-type and no codec, as Raw does for 200
v0.402.2A provider that calls an agent handler must list the handler’s given capabilities, transitively, in its own given (bynk.provider.agent_call_undeclared_capability). Before, bynk check passed and tsc failed later (#2402)
v0.402.1bynk fmt lays a pipe-form sum type out one `
v0.402.0An embed is built: its file’s text, read from the project’s embeds/ folder, is an exported string constant of the declaring module, with UTF-8, line-ending and size rules checked and a unit-tier suite case able to name it; a single-file build is bynk.embed.needs_project (embedded text, slice 2)
v0.401.0A context or commons declares a project file’s text with embed name = "path", a String constant that is never served; declarations are checked, and a build refuses them with bynk.embed.not_yet_emitted until they can be emitted (embedded text, slice 1)
v0.400.3The first-party registry service has its deploy workflow (R5.3, #2392): deploy-registry.yml deploys a release tag on main only, with that release’s checked bynk and admission module, to staging first (held to full conformance and a real OIDC exchange) and then, after an approval, to production
v0.400.2The first-party registry service exports itself every day (R5.2, #2391): an hourly cron copies the bucket, each package’s authoritative lines and each organisation to a backup bucket, GET /_status/export reports progress, and CI restores a fresh bucket from the backup alone
v0.400.1The first-party registry service takes abuse limits (R5.1, #2390): writes are rate-limited per token, the account API per IP, the trusted-publishing exchange per repository, with a per-IP flood guard on writes; each organisation has a 1 GiB storage quota, raised by REGISTRY_QUOTAS; the protocol page lists the optional 429 rate_limited and 413 quota_exceeded refusals
v0.400.0Per-organisation publish tokens (first-party registry R3.2, #2383): bynk publish and bynk yank prefer the credentials file’s [registries.<name>.organisations.<org>] token for the organisation they act for, falling back to [registries.<name>] token; BYNK_REGISTRY_<NAME>_TOKEN still overrides both; bynk org token mint --save writes the organisation’s own slot; a 401 or 403 names where the refused token came from
v0.399.1The first-party registry service takes trusted publishing (R4, #2381): a GitHub Actions job exchanges its OIDC token for a 15-minute publish token, when the organisation’s owner has trusted that repository (by its stable id), workflow file and, optionally, environment
v0.399.0An Oidc actor’s binder exposes the verified token’s claims (first-party registry L5, #2380): who.claims.get("repository"), a read-only TokenClaims; trustFrom = "<ENV>" overrides the actor’s trust roots from the environment, and a test passes claims with by Workload("id", TokenClaims.of([…]))
v0.398.0The account client (first-party registry R3.1, #2378): bynk login signs in to a registry’s accounts through GitHub’s device flow and keeps the account token in the credentials file’s [accounts.<name>]; bynk logout signs out; bynk org claims, shows, blocks and unblocks an organisation, adds and removes members, and mints and revokes publish tokens, with token mint --save writing the new token where bynk publish reads it
v0.397.7bynk publish and bynk yank refuse a registry read through a mirror (bynk.registry.publish_refused), as the account commands do: the mirror’s config.json names the publish API, so an upload and its token would go where the mirror says
v0.397.6The tree-sitter grammar accepts trace and advance as ordinary identifiers outside trace(Cap.op) and advance Clock by …, matching the compiler — editor highlighting no longer breaks on a let trace = … binding
v0.397.5The first-party registry service has accounts (R3, #2363): people sign in with GitHub’s device flow, claim organisations, add members, block names, and mint expiring, revocable publish tokens; operator tokens remain for bootstrap and CI
v0.397.4vscode-bynk Test Explorer: a refused step of a failed history adds a line naming the handler it called, opening that handler (Test Explorer depth track, Slice F follow-up)
v0.397.3On the Workers target, requiring another context’s capability whose provider constructs that context’s agents is now a compile error (bynk.capability.provider_agent_cross_context), not a type error in tsc or a silent fallback to in-isolate agent state under bynk dev
v0.397.2vscode-bynk Test Explorer: a failed test names the invariant or transition that refused it, and a failed history names the declaration that refused each step, each line opening the declaration (Test Explorer depth track, Slice F)
v0.397.1The first-party registry service takes publishes (R2, #2336): bynk publish and bynk yank work against it, it signs with an online delegate it checks against config.json, and it passes the full bynk registry conformance run; bynk-registry-core now owns index lines’ signing payload and rendering
v0.397.0on rejected (first-party registry L4, #2341): a from http service can render the router’s own 400, 405, 413 and 415 (and a Signature seam’s 401) in its contract’s shape, as a RawError of the rejection’s status
v0.396.0Request headers and author-owned error bodies (first-party registry L4, #2341): an HTTP handler may take headers: RequestHeaders (get, bearer, clientIp), and RawError(status, body, contentType) answers a 4xx/5xx ErrorStatus with a body you choose; tests build headers with RequestHeaders.of
v0.395.2A failed history names the invariant or transition that refused each step in its shrunk sequence
v0.395.1A context-local provider that calls one of its context’s agents now reaches it — on workers the provider receives the Worker’s env through its deps, where it used to fault with ReferenceError: deps is not defined
v0.395.0Withdrawn versions (first-party registry R5a.1, #2330): an index line may carry an unsigned withdrawn reason; the client never chooses a withdrawn version, and a locked one whose tree isn’t in the store fails as bynk.registry.withdrawn; bynk registry withdraw performs the takedown; the publish API answers 410/409 withdrawn; conformance gains read.withdrawn. Older toolchains see a withdrawn version as yanked, and fail on its fetch as bynk.registry.unavailable
v0.394.2A failed case names the invariant or transition it violated, with that declaration’s kind and path:line:col
v0.394.1A registry at http://localhost is reached on IPv4 first, so on Windows each request no longer waits about two seconds for ::1 to refuse it
v0.394.0bynk.cloudflare gains RateLimit, Cloudflare’s Rate Limiting binding as an instance-only derived capability (capability PublishLimit = RateLimit @limit(20) @period(60.seconds)) with one operation, allow(key) -> Effect[Bool]; bynk deploy allocates each limiter’s namespace_id in the ledger; per-instance test doubles count on the harness clock (standard-library P3, #2342)
v0.393.2The first-party registry service begins (#2308, R1): a Bynk project at services/registry/ serves the registry protocol’s read paths — config.json, index files and archives — from an R2 bucket owned by one context, seeded from a bynk registry directory built and signed offline, and held to the protocol in CI by bynk registry conformance --read-only against bynk dev. Nothing in the toolchain changes
v0.393.1A property that violates an invariant shrinks to a counterexample and reports its seed, and a failed property or history links to the failing expect
v0.393.0Caching raw responses (first-party registry L3, #2335): a Raw GET body of at most 1 MiB gets the automatic weak ETag and 304, the new RawTagged(body, contentType, etag) variant sends a handler-supplied ETag, and @cache(…, immutable: true) appends immutable to Cache-Control
v0.392.0bynk.crypto (experimental) — effectful Web Crypto digests, HMAC, constant-time comparison and sign/verify with non-storable key handles, and Random.bytes(n) (standard-library K4)
v0.391.1The registry’s admission rules move into the I/O-free bynk-registry-core crate, which bynk registry add and serve link and which also builds to a standalone wasm32 module
v0.391.0Raw HTTP request bodies (first-party registry L1, #2320): @raw(contentType:) takes a handler’s body: Bytes as the octets sent, a 415 answers another Content-Type, a raw route must have a body cap, and every capped body (JSON too) is now counted as it is read
v0.390.0bynk.cloudflare gains R2, object storage as Bytes objects, used only through derived instances (capability Archives = R2), with metadata, conditional writes, paged listing, per-instance test doubles and ledger-provisioned buckets (#2323)
v0.389.1vscode-bynk Test Explorer: a Watch toggle reruns the watched tests when a .bynk file or bynk.toml changes, and Run with Coverage on a single case measures that case alone, named for it (Test Explorer depth track, Slice E)
v0.389.0An adapter binding can includes [ "./x.wasm" ] a WebAssembly module, loaded through a compiler-generated shim and loadWasm, on Workers and under bynk test
v0.388.1bynk test --format ndjson reports each case as it finishes, with its durationMs, and suite-begin.tests is known before the suite runs; the Test Explorer shows results case by case with durations (Test Explorer depth track, Slice D stage 2)
v0.388.0First-party registry R5b — registry key delegation and revocation. A registry’s chain key can delegate line signing to another key and later revoke it (delegations and revoked in config.json, which then speaks protocol 2), and a line’s signature may be re-signed. Clients accept lines signed by the chain or a valid, unrevoked delegate, refuse a revoked delegate’s lines naming the revocation, and ignore (and report) a delegation or revocation no chain key signed. A leaked delegate is replaced without clients re-pinning. New bynk registry rotate, delegate, revoke and resign; serve and add sign with a delegate; conformance gains config.delegations, publish.signer and read.revoked
v0.387.1The VS Code Test Explorer runs and debugs a multi-item selection as one bynk test process with the repeatable --case and --suite, instead of one process per case or the whole project (Test Explorer depth track, Slice A follow-up)
v0.387.0First-party registry R0 — bynk registry conformance <index-url> checks any registry against the protocol, from config.json and its key chain through publish, read-back, refusals, auth, the upload cap, yank and a fresh client’s resolution, each check citing the protocol section it holds the registry to (bynk.registry.nonconformant on a failure; --format json for CI; --read-only publishes nothing). A publish retried with the same tree is now idempotent — 200 with the existing line, where bynk registry serve used to answer 409 — and bynk registry add of an identical package changes nothing
v0.386.3bynk test --format ndjson streams the run as one pinned JSON event per line, each suite as it finishes, and the VS Code Test Explorer shows results suite by suite as they arrive (Test Explorer depth track, Slice D stage 1)
v0.386.2A WebSocket on open that transfers its connection to an agent in another file of a split context is now a compile error on the Workers target (bynk.ws.open_transfer_cross_file), not a silent 404
v0.386.1bynk test takes a repeatable --case and a new --suite, so one process runs a chosen set of tests, and a --case or --suite value that selects nothing now fails the run instead of passing with nothing run
v0.386.0Packaging slice 5 — approving a dependency’s npm packages. An npm package that a git or registry dependency’s adapter requires enters the build only once the project approves it in bynk.lock (approved = true on its [[npm]] row); until then a build reaching the adapter fails with bynk.requires.unapproved, naming the chain that brought it in. bynk approve reviews and approves (<package>, --all, --list), and bynk add, fetch and update offer it on a terminal. An approval is one package at one range, so a changed range asks again; path dependencies and the project’s own adapters need none. Upgrading: a lock written before this has no approvals, so run bynk approve (or bynk approve --all) once
v0.385.3bynkc test --coverage anchors a WebSocket-hosted lifecycle method’s header, and the agent’s dispatch code after it, to the right .bynk lines
v0.385.2The type-system spec names its primitives Float and Instant, as the compiler does, in place of Decimal and Timestamp
v0.385.1The VS Code Test Explorer shows a failed property’s seed and counterexample as data, re-runs it with that seed, and can pin the seed per test (held back when the suite’s property tests change); bynk test --format json gives a failed property or history property kind, seed and counterexample, and --no-run marks generative cases with kind
v0.385.0Packaging slice 4c — publishing over HTTP. A registry’s config.json may name a publish api; bynk publish checks and packs a package, uploads it there with the registry’s token, and verifies the line the registry signed by reading it back, and bynk yank yanks or un-yanks through the same API (bynk.registry.publish_refused carries a refusal’s reason). bynk registry serve puts the API in front of a registry directory, signing uploads with a key publishers never hold and authorising them with hashed tokens from bynk registry token, scoped to organisations and to publish or yank
v0.384.1bynkc test --coverage anchors a provider op’s header, and the code after the last op, to the right .bynk lines
v0.384.0bynk fmt always breaks braced declaration bodies: record types, fn/handler bodies and multi-field record literals go one item per line, however short; match arms and if branches stay compact; a suite header gets a blank line and case/property keep their order
v0.383.3The VS Code Test Explorer tags each test with its tier (unit, integration, system) and adds Run against…, which runs the system tests against dev or a [test.targets] entry; bynk test --format json gains an optional per-case tier
v0.383.2bynk migrate sweep no longer raises a class’s floor until each swept Worker’s code was deployed at least 30 minutes earlier, because Cloudflare’s objects listing can lag a newly stored instance by about 10 minutes. A run inside that window still migrates, and says how long to wait. A rename an earlier deploy already applied now reads as applied in later bynk deploy plans.
v0.383.1The VS Code Test Explorer runs and reports exactly the tests you select (a suite, several tests, or all but an excluded few), shows a test a remote run skipped as skipped rather than failed, debugs the selected test, links a suite to its file, and adds Bynk: Run Tests in This File
v0.383.0Packaging slice 4a — registries. A { package, version } dependency resolves on the registry its organisation routes to in [registries], at the highest version every semver range admits; bynk verifies each index line’s ed25519 signature (bound to the registry id and the package name) against a pinned key or one trusted on first use and recorded in bynk.lock, follows key rotation, fetches the archive into the store only when its tree checksum is the signed one, and refuses a misrouted organisation (bynk.registry.source_mismatch). Tokens go only to the registry’s own origin. bynk add writes a registry dependency; bynk registry init/add/yank build a static registry any file host can serve, or that a project reads as file://. The first-party registry isn’t live yet
v0.382.2bynkc test --coverage anchors a service handler’s header, and the code after the last handler, to the right .bynk lines
v0.382.1bynkc test --coverage no longer reports an executed line as uncovered next to an uncalled agent handler
v0.382.0Packaging slice 3 — a dependency’s adapter can wrap an npm library. When a project reaches that adapter, its binding … requires { … } packages install with the project’s own in the generated package.json (pinned ranges only; two adapters, in any packages, requiring one npm package at different ranges is bynk.requires.conflicting_range, naming both as org/package:adapter), and bynk.lock gains [[npm]] rows recording every npm package a dependency may bring in and the adapters requiring it, so --locked stops a build when a dependency adds one
v0.381.1A cross-context call whose callee faulted is reported as CalleeFaulted, naming the callee’s context and service, instead of Transport; the callee’s 500 carries X-Bynk-Fault, and the caller logs CalleeFaulted <caller> -> <callee> call <service> before it faults in turn (#2193)
v0.381.0bynk migrate status shows each agent class’s version, floor, migrate steps and the versions they cover, and where it is deployed. bynk migrate sweep wakes every stored agent instance in the deployed Workers so each migrates, then raises a class’s floor when one run covered every environment it is deployed to; a step below the floor warns bynk.agent.migrate_below_floor and can be deleted.
v0.380.1An HTTP route whose path parameter is a refined or opaque type from a consumed context no longer faults with a 500 on every request; the entry validates it with the context’s own codec for that type, so a bad value gets the usual 400 RefinementViolation (#2252)
v0.380.0An agent class can now be renamed with agent New replaces Old (its stored data and schema history move) or removed with removed agent Old (its stored data is deleted). Each emits a Cloudflare exports tombstone. bynk deploy plans both, and refuses a deletion until each class is confirmed by name (--confirm-delete <context>.<Class>); --yes alone never deletes. New diagnostics: bynk.agent.replaces_unknown, replaces_live, removed_live, class_conflict.
v0.379.3The release check on the extension’s pin also requires the bynk and bynkc binaries from v0.379.2 on
v0.379.2The VS Code extension downloads bynk and bynkc beside the language server, so no cargo install is needed to check, test, run or deploy
v0.379.1A Worker now reports each fault it catches to Cloudflare as well as logging it, so with --upload-source-maps the exception wrangler tail shows is mapped to .bynk lines; the 500 and a queue message’s per-message retry() are unchanged, and fetch and queue take an optional ctx (#2192)
v0.379.0Packaging slice 2b — git dependencies ({ package, git, rev }) are fetched by the user’s own hardened git into a per-user content-addressed store, and bynk.lock pins each to a commit and a sha256 checksum of its files; bynk fetch and bynk update are new, --locked and --offline make check, test, dev and deploy refuse a lock change or a fetch, a workspace shares one lock, and [dev-dependencies] resolve for suites only and never reach a deployable build. bynkc and the editor read the lock and the store and never fetch
v0.378.0An agent can declare migrate from N (old: T) { … } steps that carry a stored record from schema version N to its current shape. A step makes a non-additive store change buildable, runs when an older record loads (covering older versions whose path to N was additive too), and faults as MigrationFailed if it throws. New diagnostics: bynk.agent.migrate_shape_mismatch, migrate_unknown_version, migrate_duplicate, migrate_duplicate_assignment, migrate_incomplete, migrate_impure, and the version_without_path warning.
v0.377.4bynkc-lsp exits after exit even if the client sends another message; it used to stay running for good (#2239)
v0.377.3bynkc test now heads a system suite’s results system · <suite>: rather than integration · <suite>:; suites still run in heading order, so in a project with unit suites too a system suite can now sort among them differently, in the human output and in the --format json suites array (#2185)