Skip to content
Playground(another site)

v0.562.0

Released on 12 November 2026 as v0.562.0, with the increments from v0.525.23 to v0.562.0. See Upgrading for what to change when you move to it.

VersionHighlights
v0.562.0A MySql instance kind reaches an existing MySQL or MariaDB database through Hyperdrive over mysql2 (capability Legacy = MySql, ? placeholders, MySqlValue and MySqlError, an @tls("…") option), with the same typed reads, transactions, deploy path and schema.sql statement check as Postgres
v0.561.0A Postgres instance can run on PGlite in tests ([test] postgres = "pglite"), and a schema.sql switches on a syntax and placeholder-count check of each literal statement (bynk.postgres.sql_invalid as a warning, bynk.postgres.sql_param_count as an error)
v0.560.1examples/sessions reads its __Host-sid cookie through a typed @name("__Host-sid") record, and the HTTP reference shows both ways to read a prefixed cookie (#3343, closing slice)
v0.560.0bynk deploy makes, syncs or adopts the Hyperdrive config of a Postgres instance from a connection string in an environment variable bynk.toml names, and bynk dev wires the local one
v0.559.1bynk explain gains thirty-three entries under the actor, adapter, capability, consumes, exports and generics codes (#3163)
v0.559.0The request readers apply @name("…"): a renamed cookies, query or @form/@multipart body field is read from, and written to, its wire key (#3343, slice 2)
v0.558.2bynk explain covers eighteen more codes across package, requires, lambda, record_spread, json, duration, namespace, messages, given, cell and resolve (#3163)
v0.558.1bynk explain covers nineteen more codes under test and project
v0.558.0A Postgres instance has typed reads select[T] and firstAs[T], which write the column list from T and decode the rows (an int8 into an Int, a timestamptz into an Instant), and transaction, which runs a fixed list of PgStatements all or none
v0.557.3bynk explain covers twenty-two more codes under the types, embed, asset and d1 prefixes
v0.557.2bynk explain covers twenty-four more codes under invariant, transition, within, race, send, par, index, store, query, cron and queue (#3163)
v0.557.1bynk explain covers twenty-two more codes under the http and cloudflare prefixes
v0.557.0A record field may carry @name("…") before it, naming the key the field has on a request where that is not an identifier; this slice adds the syntax and its checks, and the request readers follow (#3343, slice 1)
v0.556.0An experimental Postgres instance kind in bynk.cloudflare reaches an existing Postgres database through Hyperdrive over postgres.js, with all, first and run, typed PgValue parameters and PgError outcomes
v0.555.1bynk explain explains twenty more codes under contract, fixture, observe, property, stub, suite and test (Refs #3163)
v0.555.0Form.decode[T](s) and Form.encode(v) expose the @form mapping as a codec, so a @raw handler, a webhook or a test reads and writes form text with DecodeErrors rooted at $ (#3276, slice 3; closes #3276)
v0.554.2bynk explain covers twenty more codes under the resolve, uses, exports and generics prefixes
v0.554.1bynk explain covers 26 more parse and lex diagnostics, each with a compiled bad and good example
v0.554.0A handler reads a __Host-/__Secure- cookie through a raw cookies: RequestCookies view, and examples/sessions sets and reads __Host-sid (#3277, closing slice)
v0.553.4The bynk explain example gate checks each example’s layout as printed, so a block body printed flush left fails it
v0.553.3bynk explain covers twenty-two more codes under the actor and event prefixes
v0.553.2bynk explain covers 22 more http diagnostics, from request shape and cookies to CORS and caching
v0.553.1bynk explain covers twenty-two more types codes, on patterns, is, refinements and comparison
v0.553.0Inbound email on Workers (from email, #3328 slice 2): the email() export parses the message with postal-mime, dispatches by envelope recipient, mints the Sender identity from Cloudflare’s DMARC verdict, applies the verdict, and routes via wrangler addresses; the first-party npm dependency mechanism of ADR 0799 C lands
v0.552.0A bare variant name that two sums in scope declare (two enums a consumed unit exports, say) builds the sum the expected type names, from an annotated let, a parameter, a return type or a stub’s operation, and is bynk.resolve.ambiguous_variant only when nothing picks one; the message names each qualified form, and a stub value no longer reports it as bynk.stub.rhs_type (#3344)
v0.551.1bynk explain covers eighteen more codes under the adapter, asset, capability, embed and messages prefixes
v0.551.0A handler reads cookies through a typed cookies: T parameter and sets them with Cookie, SameSite, withCookie, clearCookie and cookies() on an HttpResult (#3277, slices 1 and 2; #3181 stays open for signing and the actor scheme)
v0.550.8bynk explain explains twenty more codes for writing tests, under expect, stub, suite, test and val (Refs #3163)
v0.550.7bynk explain explains eighteen more codes under cron, held, queue, record_spread, send and store (Refs #3163)
v0.550.6bynk explain covers twenty more codes (lex and parse prefixes)
v0.550.5bynk explain explains 27 more codes across effect, provider, consumes, exports, resolve and generics (Refs #3163)
v0.550.4bynk explain explains twenty-four more types codes (if, ?, constructors, patterns, opaque types, inference) (Refs #3163)
v0.550.3bynk explain covers fifteen more codes, in the service, event and ws families
v0.550.2bynk explain explains sixteen more codes under actor and agent (Refs #3163)
v0.550.1bynk explain explains eighteen more http codes (routes, path and query parameters, request bodies, @cache, @limit, cors, on rejected) (Refs #3163)
v0.550.0A service can receive email, service support from email("[email protected]"), with an on message(mail: InboundEmail) -> Effect[EmailVerdict] handler tested in a suite; the Workers mapping follows (#3328 slice 1)
v0.549.4Every emitted Worker now targets compatibility date 2026-08-04, with Node.js compatibility on by default, and the minimum wrangler is 4.120.1 (#3317)
v0.549.3bynk explain covers twelve more codes (agents, effect, given, par, resolve, send and store prefixes)
v0.549.2bynk explain explains eleven more codes that cross a unit boundary (boundary, capability options, consumes, context, exports, val, visibility) (Refs #3163)
v0.549.1bynk explain covers fifteen more bynk.types.* codes (patterns, lambdas, regexes, refinements, ordering and boundary types)
v0.549.0bynk.cloudflare.Email (experimental) sends mail through Email Service from a named instance, with typed send errors; bynk deploy checks each @allowedSenders domain and never configures one
v0.548.5bynk explain examples may span several files, and four more codes are explained with them (uses.name_conflict, visibility.private_item, opaque_inspection, capability.invalid_option)
v0.548.4The language server’s per-file reuse digest hashes each shared declaration once per analysis round instead of once per file, trimming a warm editor round by about 9% on a 200-context project
v0.548.3bynk explain gains compiled explanations for the held-value leak and use-after-consume, par statement, constant initialiser and cycle, reserved built-in type name, store operation and plain-JSON nested Option errors
v0.548.2bynk explain covers twelve more bynk.types.* codes, among them comparison and ordering, arity, patterns, field defaults and regexes
v0.548.1bynk explain now explains seven more codes (the effect, generics and given rules), each with a compiled bad/good example, and the unknown_constraint summary lists all four constraints (#3163)
v0.548.0bynk.cloudflare.StoredSecret (experimental) reads one Secrets Store secret through a named instance; bynk deploy links the store and the secret and never creates them
v0.547.0An agent’s store Map, Set, Cache and Log fields are read from storage as a handler touches them, and written back as the entries it changed, so a handler’s storage cost no longer grows with the size of a collection (per-entry storage, lazy-read slice, part 2b)
v0.546.7The language server keeps each file’s checked output between analysis rounds and replays it when nothing the check read has changed, cutting edit-to-diagnostics latency on large projects (linked 200 contexts about 17% faster) for about 20% more server memory, linear in the number of files; bynk check and builds are unchanged
v0.546.6bynk explain gains compiled-example explanations for the generics bound, inference and mismatch codes and the name-resolution codes (unknown function, static member, name conflict, duplicate type)
v0.546.5bynk explain gains compiled explanations for the agent state-zero, derived-capability instance and held-borrow errors
v0.546.4bynk explain covers eight everyday type errors, among them bynk.types.type_mismatch, bynk.types.method_not_found and bynk.types.unreachable_arm
v0.546.3Design record for Hyperdrive (H0), covering the Postgres driver, the compatibility date and the surface; no surface ships yet
v0.546.2Closes a gap where rebinding a writing lambda’s name in an inner block let a store write through a parTraverse closure
v0.546.1Each bynk explain example is backed by a compiled before-and-after pair, and the examples that had drifted from the language are corrected
v0.546.0bynk.cloudflare.Version (experimental) reports the running Worker version, the first one-per-Worker platform capability, bound as [version_metadata] only when reached
v0.545.0A closure passed to parTraverse, parTraverseAll or parTraverseTry may not write a store (bynk.par.store_write_in_closure), extending the par block’s rule that store writes stay sequential
v0.544.1The project analysis shares each context’s agent declarations with the sequence and boundary info it retains instead of deep-copying them twice per context, which shaves editor edit latency on projects with many agents
v0.544.0Store collection operations and store queries in emitted agents are written so a handle backed by storage can serve them, with no change to an agent’s behaviour (per-entry storage, lazy-read slice, part 2a)
v0.543.1A ratcheted maximum function length: cargo xtask fn-lengths lists the non-test functions over 300 lines, and a test fails when one grows past its committed ceiling or a new one crosses the threshold (#3167)
v0.543.0The runtime gains storage-backed handles for an agent’s Map, Set, Cache and Log fields that read one entry, one posting list or one key range at a time, inert until wired in (per-entry storage, lazy-read slice, part 1)
v0.542.2A store Map, Set, Cache and Log field is held in an agent’s state as an insertion-ordered handle, so a Map’s keys, values and entries enumerate in insertion order for integer-like keys too, on both targets, in a handler and, for state written in the per-entry layout, after a reload (#3254)
v0.542.1Internal refactor of the emitter, with no change to emitted TypeScript. The test-case, system-tier and agent-invocation branches of a method call now lower in six functions, so lower_method_call is a short dispatcher (#3167).
v0.542.0@multipart decodes a multipart/form-data request body into a typed record with File parts, under maxBody, maxFile and maxParts caps; BoundaryRejection gains MalformedForm (#3276, slice 2)
v0.541.4Internal refactor of the emitter, with no change to emitted TypeScript. The derived-D1 select, cross-context, Events.emit, capability and declared-type static calls of a method call now lower in five functions instead of inline in lower_method_call (#3167).
v0.541.3Internal refactor of the emitter, with no change to emitted TypeScript. The intrinsic static calls of a method call (HttpResult, List/Map/Set constructors, the numeric parses, Bytes, Decimal, Stream and the rest) now lower in two functions instead of inline in lower_method_call (#3167).
v0.541.2Internal refactor of the emitter, with no change to emitted TypeScript. The persisted-store receivers of a method call (held Map, Map, Set, Cache, Log, Cell) now lower in one function per kind instead of inline in lower_method_call (#3167).
v0.541.1The runtime gains insertion-ordered in-memory handles for an agent’s store collections, StoreMap, StoreSet, StoreCache and StoreLog, the first step of keeping a store Map/Set in insertion order for integer-like keys too; nothing emits them yet (#3254)
v0.541.0@form decodes an application/x-www-form-urlencoded request body into a typed record at the boundary, with the refinements, defaults and Options of a JSON body (#3276, slice 1; #3180 stays open for streaming)
v0.540.1The emitter lowers a built-in method call’s kernel dispatch in lower_kernel_method_call and its UFCS fallback in lower_ufcs_method_call, the first step of splitting lower_method_call per receiver kind (#3167)
v0.540.0Expired Cache entries are deleted when an agent commits, no longer only hidden, so a Cache no longer grows without bound (per-entry storage, slice 4)
v0.539.5The emitter declares an agent’s construction factory in emit_agent_factory and its history-property driver in emit_agent_history_driver, completing the split of emit_agent (#3167)
v0.539.4The project analysis collects each file’s diagnostics, references, hints, locals, expression types and requirements into per-file scratch sinks before folding them together, the unit of output a later slice can reuse between editor rounds; no behaviour changes
v0.539.3cargo xtask bench also times a body-only edit (lsp_body_edit), the edit an incremental analysis is meant to make cheap, next to the signature-level one
v0.539.2cargo xtask bench also measures a “linked” project shape (contexts that consume each other, larger handler bodies) and checks the scheduler yardstick, p95 over 250 ms at 200 contexts on either shape, in each release record
v0.539.1A differential oracle for the language server’s coming analysis memo: a canonical report of a project analysis, a stateful analyse_project_memoised entry point that delegates for now, and a CI test comparing it with a fresh analysis over the examples and seeded random edit sequences
v0.539.0bynk check --each and bynk test --each run each project directly inside a directory with no bynk.toml, as a workspace root runs its members
v0.538.1cargo xtask bench also measures a “linked” project shape (contexts that consume each other, larger handler bodies) and checks the scheduler yardstick, p95 over 250 ms at 200 contexts on either shape, in each release record
v0.538.0A Yaml.decode[T](text) static reads a safe YAML 1.2 subset through the same typed decode as Json.decode, with positioned refusals and DecodeError paths
v0.537.0On a held Map[K, Connection], put over a key that already holds a connection now closes the displaced connection first, as remove does, on both Workers and bynk test; putting back the connection the key already holds closes nothing (#3261)
v0.536.1BYNK_PHASE_TIMING=1 makes an analysis round report its time by R3.13 query level (file, unit, definition, project), and cargo xtask bench records it per release from the language server
v0.536.0The decode error type is renamed from JsonError to DecodeError; JsonError stays as a deprecated alias with an auto-fix
v0.535.0An agent’s Map, Set, Cache and Log entries, and their @indexed postings, are stored under a key of their own, so a handler’s storage work no longer grows with the size of the state (per-entry storage, slice 2)
v0.534.7The emitter writes an agent class’s Workers dispatch and websocket-open dispatch in emit_agent_dispatch, as part of splitting emit_agent (#3167)
v0.534.6The checker registers a project’s files for error attribution once instead of once per unit, removing a units-times-files cost (500 contexts: 18% fewer instructions in bynk check)
v0.534.5The language server remembers each file’s owning unit for the doc-link hint scan instead of re-parsing every file on every round, about 7% off a 200-context edit
v0.534.4The checker shares a unit’s parsed declarations and agents by reference instead of deep-cloning them for every agent and handler, so a project check is up to a third faster (500 contexts: a language-server edit 521 ms to 344 ms)
v0.534.3The editor-latency budget (language-server edit-to-diagnostics p95 under 100 ms on the 50-context project) is stated in the benchmark README and the keystroke_latency row, and cargo xtask bench warns when a record breaches it
v0.534.2cargo xtask check-pending rejects a pending file whose changelog is wrapped in quotes, which the stamp would have copied into the changelog row
v0.534.1The emitter lowers an agent class’s handler methods in emit_agent_handlers, as part of splitting emit_agent (#3167)
v0.534.0bynk deploy revert refuses a rollback to a build that writes an older storage layout over stored data (per-entry storage, slice 5b)
v0.533.0A system case can drive an Oidc route as by WrongAlgorithm (an alg: none token and an HS256 token keyed with the public key) and by NoSubject (an empty and a missing sub), each expected to read Rejected(Unauthorized)
v0.532.4Under bynk test, remove on a held Map[K, Connection] now closes the connection the entry held before deleting it, as the Workers build does, so a case can observe the close with TestConnection.closed() (#3224)
v0.532.3The emitter declares an agent’s rehydration, encode and migration functions in emit_agent_state_persistence, as part of splitting emit_agent (#3167)
v0.532.2bynk check, bynk test and bynk compile treat a subdirectory with its own bynk.toml as a separate project, skipping it with a note, and refuse a directory that is no project but holds one or more, naming them and suggesting a [workspace] root (#3242)
v0.532.1bynk explain gains written explanations for bynk.generics.polymorphic_recursion and bynk.generics.recursive_generic_at_boundary
v0.532.0An agent instance runs one handler at a time, so a handler that awaits another agent is no longer interleaved with a second handler and no longer loses updates; re-entrant calls fault ReentrantAgentCall, long waits fault AgentBusy
v0.531.3bynk dev honours an explicit --inspect-port for a single context, gives a lone worker a free inspector port so sessions started together no longer collide on 9229, and reports a taken inspector port itself
v0.531.2cargo xtask bench-runtime measures compiled Bynk against hand-written TypeScript twins (bundle size, start-up, request latency) under workerd, and records the results per release
v0.531.1The emitter builds an agent’s state record in emit_agent_state_record and writes its loadState and commitState methods together in emit_agent_load_commit_state, as part of splitting emit_agent (#3167)
v0.531.0by is a contextual keyword: an ordinary name (a parameter, a binding, a field) everywhere except its clause positions, so on call bump(by: Int) parses
v0.530.1bynk check and the language server build the cross-context views once per project instead of once per context, so checking is roughly linear in project size (500 contexts: 7.5 s to 0.47 s per edit)
v0.530.0A recursive generic type declares and works inside a context; it is refused only where a codec is required (bynk.generics.recursive_generic_at_boundary, now at the use with the field path), and polymorphic recursion is refused at the declaration (bynk.generics.polymorphic_recursion)
v0.529.0bynk migrate sweep reports storage-layout progress once a deployed Worker writes a layout beyond the original one (per-entry storage, slice 5a)
v0.528.4bynk explain gains a written explanation for bynk.parse.bare_expression_statement
v0.528.3bynk test --against dev gives its bynk dev session its own inspector port, so concurrent sessions no longer fight over 9229
v0.528.2cargo xtask bench measures bynk check and the language server’s edit-to-diagnostics time on a synthetic project, recorded per release in design/benchmarks/
v0.528.1The emitter classifies an agent’s store fields once, in a named AgentStoreLayout, as the first step of splitting emit_agent (#3167)
v0.528.0The runtime gains the per-entry storage primitives (batched, ranged and transactional storage, the key layout, a staged write-set and the wholesale split); nothing emitted uses them yet (per-entry storage, slice 1)
v0.527.7The emitter annotates every lambda parameter with its checked type, so a lambda handed to a kernel method (append, map, filter, flatMap, any) no longer fails tsc --strict with an implicit any (#3228)
v0.527.6A system-tier suite that names a declaration the parser skipped after a syntax error no longer reports it as unknown
v0.527.5An expression written as a statement gets bynk.parse.bare_expression_statement, with a machine-applicable let _ <- (effectful call) or let _ = fix that bynk check --fix and the editor apply, instead of “expected }”
v0.527.4An attached fn of a generic type resolves the receiver’s type variables when its signature is lowered
v0.527.3The emitter lowers a built-in method call by its typed KernelOp, not by the method’s spelling, as the second slice of the typed built-in dispatch (#3164)
v0.527.2The checker’s built-in method typing matches on the typed KernelOp exhaustively, so a method listed for completion without a typing rule, or the converse, no longer compiles, and the registry drift tests are retired (#3164)
v0.527.1bynk explain gains written explanations for six common newcomer diagnostics
v0.527.0A direct self tail call runs in constant stack, emitted as a loop, for pure and Effect functions alike; requires is re-checked on each iteration, a function with ensures is not rewritten, and mutual and non-tail recursion keep a host-defined depth (#3193, #3176)
v0.526.3An increment can declare breaking: in its pending file; the stamp collects it into the Book’s upgrading page and each release body gains an “Upgrading from vX” section
v0.526.2bynk check prepares a literal D1 batch’s statements in order, each against the schema the earlier statements leave, so a batch that drops then recreates a table, or creates a table and then uses it, is no longer refused (#3197)
v0.526.1An unresolved type in lowering now stops with an internal error instead of becoming ()
v0.526.0An agent that meets a stored __layout marker it does not know faults NewerLayout instead of zero-merging (per-entry storage, slice 0)
v0.525.26A suite that names a declaration the parser skipped after a syntax error no longer reports it as an unknown function; an unknown agent construction’s note no longer talks of a commons
v0.525.25The checker resolves a built-in method call to a typed KernelOp, and the editor’s completion tables are generated from it, as the first slice of the typed built-in dispatch (#3164)
v0.525.24The Book’s types reference now documents generic sums, and bynk.generics.recursive_generic_at_boundary names a recursive generic sum as a sum rather than a record
v0.525.23A gated explained_codes probe ratchets bynk explain coverage upwards, and the increment checklist asks a new error code to ship with an explanation