Skip to content
Playground(another site)

v0.492.1

Released on 3 November 2026 as v0.492.1, with the increments from v0.448.0 to v0.492.1. See Upgrading for what to change when you move to it.

VersionHighlights
v0.492.1A system case can call a service whose result is a refined type from a commons the context under test uses; the call was typed as () and rejected with bynk.effect.bind_on_non_effect because the suite’s uses replaced the target’s (#2832)
v0.492.0% is a targeted error, bynk.parse.no_remainder_operator, that points at Int.rem and Int.mod and fixes simple operands to .rem; Bynk still has no % operator (#2804)
v0.491.2A cross-context call’s result now type-checks in the emitted TypeScript when its type is a usesd commons type both contexts rebrand, or a record or sum whose field is such a type; the cast of #2825 covers both (#2828)
v0.491.1The boundary refinement entailment fixture also covers a returned value, a provider’s stronger Reply into the consumer’s weaker one (#2802)
v0.491.0A context boundary admits a strictly stronger refinement where a weaker one is expected (MaxLength(4) into MaxLength(8), Positive into NonNegative), decided by one entailment engine shared with the deploy gate, with Decimal ranges now decided by value (#2802)
v0.490.1A service’s refined or opaque return value now type-checks in the emitted TypeScript when the calling context declares a type of the same name; the call result is cast to the caller’s declaration (#2825)
v0.490.0List and Query gain sortByDescending: the exact reverse of sortBy’s order, stable on ties (#2805)
v0.489.1A lexical error no longer hides the rest of its file’s diagnostics (#2807)
v0.489.0List[Result[T, E]] gains sequenceAll() (every error) and sequenceTry() (first error) (#2806)
v0.488.2return_mismatch and argument_mismatch suggest <Type>.of(…) for a refined or opaque type over the value’s base, and + on a String suggests string interpolation, with a machine-applicable fix for simple operands (#2808)
v0.488.1Fixtures for explicit type arguments on a built-in or call-result receiver, and for Query sortBy/min/max over Option, NaN, opaque and generic Ord keys (#2817)
v0.488.0Breaking: a context can no longer decode a type another context owns and exports opaque: Json.decode, Json.decodeSql, a T: Codable instantiation and an HTTP or queue handler input that reaches one are bynk.context.external_decode. Decoding created a value from the base type alone (the owner’s predicate is not re-checked in the consumer), which the language otherwise forbids (bynk.context.external_construction). Migration: take the value from a service of the owning context, which returns it already validated, instead of decoding it; to accept raw input, take the base type and pass it to a service of the owner that builds the value. A reply from the owner’s own service decodes as before (#2794)
v0.487.0A Query’s sortBy, min and max keys take any Ord type, as a List’s do
v0.486.0bynk.cloudflare Queue gains sendValueWith(message, options) and sendValueBatch(messages), the Codable counterparts of sendWith and sendBatch: the same messages, delay and all-or-none rule as the untyped calls with Json.encode, encoded at the call site. Analytics.write[T] is not added (#2793)
v0.485.0A generic instance method takes explicit type arguments, b.cast[String](), naming the method’s own parameters
v0.484.0A Query’s distinct, distinctBy, groupBy and join keys take any Key type, as a List’s do
v0.483.0A user generic record or sum over a Codable type parameter (Box[T] in fn f[T: Codable]) now encodes and decodes, with the JSON and error paths of the codec for a concrete Box[Order]; bynk.generics.codec_generic_at_rigid is retired (#2792)
v0.482.2String interpolation holes accept only String, Int, Float, Bool, Decimal and refinements of them, as ADR 0075 and 0698 specify — Bytes, Duration and Instant holes are now bynk.types.interpolation_non_scalar errors (use toHex()/toBase64(), toString(), toIso()) (#2799)
v0.482.1A negative fixture pins Query.distinct over a record with a Float field as bynk.types.not_keyable
v0.482.0Breaking: a bynk.crypto SigningKey or VerifyKey is no longer Codable, at any depth: Json.encode, Json.decode, a T: Codable bound and Queue.sendValue refuse one (bynk.types.json_uncodable / bynk.types.not_codable, with a note naming the key), so a key can no longer be encoded and sent. A program that encoded or decoded a key must keep the key bytes in Secrets and import the key again where it is used. The declaration-position check (bynk.types.key_at_boundary) and in-process uses such as Crypto.sign(key, …) are unchanged (#2784)
v0.481.6An unannotated let, <- binding whose type is or contains the bottom type (a value that only faults, including a faulting lambda bound that way) (unreachable, todo) is refused with bynk.types.never_inferred, and no inlay hint offers never returns
v0.481.5consumes bynk { TimedOut } is accepted — a consumes U { … } list may name a type U exports, as the timed_out_not_in_scope note recommends
v0.481.4A test module that calls a Codable-bounded generic (or generic static) with a base type such as Int now imports the JsonValue/BoundaryError/Result names the inline witness codec uses, instead of failing tsc with Cannot find name '__JsonValue'
v0.481.3A bare Val of a refined Int with a wholly negative InRange lands inside the range instead of at 0
v0.481.2The tree-sitter-bynk npm package declares the tree-sitter runtime it can load. Its parser is generated at ABI 15, but the peer dependency still said ^0.21, and that runtime only loads ABI 14 and below, so parser.setLanguage threw. The peer range is now ^0.25 (#15).
v0.481.1Regression tests pin the recursive-type nesting bound on /_bynk/call/ arguments, on a subscriber’s event payload decoder, and on cycles that cross files, a commons and a context boundary, and check that a codec and its callers agree on the depth parameter (#2704)
v0.481.0Static methods on generic types, and the expected type as the last source of type arguments (constrained-generics slice 4): fn Box.of(value: T) -> Box[T], fn Box.empty() -> Box[Option[T]], fn Sorted.fromList(xs: List[T]) -> Sorted[T]. A static on a generic type is generic over the type’s parameters, then its own. They come from the arguments (Box.of(5)), from the expected type (let b: Box[Option[String]] = Box.empty()), or from explicit type arguments (Box.empty[String](): the type’s parameters, then the method’s own, all or none). A bound the type declares adds the usual hidden witness at the call site (Sorted.fromList(names) passes the String comparator). The expected type now also grounds a parameter the arguments leave open for every generic call except a capability operation, so let o: Option[Int] = none() works for fn none[T]() -> Option[T]; let o = none() is still bynk.generics.uninferable_type_arg. bynk.generics.method_on_generic_type is narrowed to a static that never mentions one of its type’s parameters. Opt.None[Int] and explicit type arguments on an instance method stay rejected. Code that uses no static on a generic type is emitted unchanged
v0.480.23A context calling a used commons’ method on a record or sum type no longer emits Tag.label(t) against a type-only binding that fails tsc; the commons’ value is re-exported alongside the rebranded type (#2751)
v0.480.22bynk-contracts.json provides, provides_shapes and the foreign-client hash for a service naming a consumed context’s exported type now come from the table the Worker’s index.ts enforces (a lock entry pinned from the old, unresolved provides_shapes is re-evaluated); the generated client declares such a type under its plain name
v0.480.21A module whose via schema(...) subscribers are all bare handlers imports EventEnvelope, so its emitted TypeScript type-checks
v0.480.20An effectful method that awaits is emitted async, so its TypeScript compiles
v0.480.19a parenthesised match-arm guard such as n if (flag) => n now parses as a guard rather than a lambda
v0.480.18bynk-wasm’s bynk_compile returns a source map with each user module, so the playground can match compiled JS lines to Bynk lines
v0.480.17bynk test --smoke gives a bare String, Int or Bool parameter a literal instead of Val, and skips a case whose parameter Val cannot fabricate (#2706)
v0.480.16The Map[K, V] boundary decoder rejects a repeated key as StructuralMismatch (“a distinct map key”) instead of keeping the last entry; Decimal keys compare by value, so 1.20 and 1.2 collide
v0.480.15A name ending a requires/ensures clause no longer parses as a record construction when the function body’s { follows it, e.g. on the next line
v0.480.14Test scaffolds no longer resolve a name to a used commons’ or consumed context’s private declarations, so Json.decode[T] and stub signatures bind the visible T (#2702)
v0.480.13tree-sitter grammar - a match arm ending in a field access no longer needs a comma before a [-led arm
v0.480.12Names bound by an is pattern are recorded as locals, so hover, go-to-definition, references and rename resolve them in the branch the test guards
v0.480.11bynk-wasm exports bynk_reference(), the standard library catalogue (built-in methods and statics, first-party capabilities and modules, with signatures, docs, experimental and deprecated marks); Duration and Instant statics now complete
v0.480.10Regression fixtures pin that a flattened Locale.current() types as LocaleTag without uses bynk.locale.types (#2697, resolved by #2634)
v0.480.9A handler parameter named like its service no longer shadows the service in the generated __makeSurface method; the surface renames the parameter to __id_<name>
v0.480.8bynk_compile reports each service’s on call handler signature (entries) from the checker’s resolved types, so the playground can build a run’s arguments without its own source scanner
v0.480.7bynk test --smoke warns (bynk.test.smoke_undeclared_status) when a route answers a non-5xx status its handler does not declare, on stderr and as a warnings array on the case in json and ndjson
v0.480.6A troubleshooting page for bynk.agent.non_additive_state_change
v0.480.5Agent schema lock: tests pin the gained-default version bump and the unexplained-difference refusal, and the path backfill is guarded on a snapshot with no recorded paths
v0.480.4A parameter named body, result, request, surface or the like no longer collides with the Workers wrapper’s own locals
v0.480.3bynk-wasm diagnostics carry the registry summary and a docs href, and a new bynk_explain(code) export returns the curated blurb, example and link
v0.480.2A system-tier case that calls an on call service is refused with bynk.test.call_needs_in_process, not lowered to invalid TypeScript (#2649)
v0.480.1for all over a record whose field carries an inline where Matches(…) is refused with bynk.val.needs_pin, as a declared Matches type already was
v0.480.0A built-in exact Decimal base type for money and fractional arithmetic: 1.20d literals, exact +/-/*, div and round with a stated scale and rounding mode, ordering by value, and a canonical JSON string on the wire
v0.479.2A flattened capability (consumes U { Cap }) whose operation names a type U declares but does not export now resolves that type, as the qualified form does, instead of silently typing the call as (); calling an operation whose signature names a type the consumer declares with a different shape is refused with bynk.boundary.structural_mismatch
v0.479.1A workers handler (call, http, queue) whose parameters name a consumed adapter type such as R2Upload now type-checks
v0.479.0unreachable(message) and todo(message) fault deliberately: ambient built-ins of a bottom type that fits any position; todo warns with bynk.fault.todo
v0.478.0Codable: generic code that crosses the boundary, and typed capability writes (constrained-generics slice 3): fn roundTrip[T: Codable](v: T) -> Result[T, JsonError] { Json.decode[T](Json.encode(v)) }. Codable is automatic and means exactly what Json.decode accepts. A Codable type parameter takes a hidden codec witness built at the call site from the concrete type’s generated codecs, so refinements are re-validated as at any boundary. List, Option, Set, Map and Result over a type parameter work; a user generic type over one is bynk.generics.codec_generic_at_rigid. A capability operation may take Codable parameters: the call site encodes them, so a provider receives plain JSON and the ABI does not grow (a Codable type parameter in a return type is bynk.generics.codable_op_return). Json.encode/Json.decode[T] on an unbounded type parameter is now bynk.generics.missing_codable_bound (machine-applicable, bynk check --fix) instead of bynk.types.json_uncodable. New bynk.types.not_codable. bynk.cloudflare gains Queue.sendValue, which sends the same message as send(Json.encode(v)). Unbounded code is emitted unchanged
v0.477.0Int gains the bitwise methods and, or, xor, andNot, shl and shr, exact over the whole safe-integer range, faulting on a negative operand, a shift count outside 0..52, or a shl result past the safe range (standard-library, #2621)
v0.476.0String literals gain \r, \0 and \u{…} escapes, raw strings (r"…", r#"…"#) and multi-line strings ("""…""", r"""…""") that strip the closing delimiter’s indentation; a raw or multi-line literal is accepted wherever a string literal is required, so regex patterns and SQL statements read as written (proposed in #2619)
v0.475.0The execution context reaches effectful functions: ~>, e.within(d) and a.race(b) are legal in an effectful fn or method, which takes the context as a hidden trailing parameter the compiler infers (a fixed point over the build) and every call passes on; a call from an agent handler, a WebSocket handler or a provider operation to a function that needs it is bynk.exec.unavailable, with the chain to the construct; fixes the ~> in a fn that checked clean and failed tsc (#2719, #2682)
v0.474.0Record patterns as lambda parameters: items.fold(0, (total, Item { qty, price, .. }) => total + qty * price) takes an irrefutable record pattern in place of a lambda parameter’s name, mixed freely with name parameters, with the parameter’s type from the expected function type or the record’s own name; a refutable or non-record pattern, or an annotation, is a parse error (patterns track slice 6, #2712)
v0.473.0a.race(b): the first of two Effect[T] to succeed wins, and the loser is handed to waitUntil, not cancelled, so it suits idempotent reads; if every side faults the first fault in source order is raised with the rest as suppressed; a same-instant tie goes to the receiver; legal where within is, and tested on virtual time with latency stubs; reopens track Q7 and adopts its option (b) (concurrent effects, slice 4, #2711)
v0.472.0Key: structural Map keys and Set members (constrained-generics slice 2, breaking for generics over maps and sets): records, sums, enums, Bytes, and Option/List of a key are now legal Map keys, Set members and distinct/groupBy/join keys (Map[OrderId, Int], Set[Status], Map[Bytes, V]); a Float never is, at any depth. Key is automatic, implies Eq, and is a bound (fn index[K: Key, V](…)); it is the one bound a capability operation may carry. A type parameter in a Map key or Set element position must now be declared K: Key: run bynk check --fix to migrate (the stdlib’s bynk.map and bynk.set are migrated). New diagnostics bynk.types.not_keyable (replaces unkeyable_map_key, unkeyable_set_element and unkeyable_distinct) and bynk.generics.missing_key_bound (machine-applicable). Store Map/Set/Cache and @indexed keys, Query keys and agent keys are unchanged
v0.471.0Integer range patterns: lo..hi, lo.. and ..hi (inclusive, bounds optionally negative) match an Int in a match, nested in variant, record and list patterns, in or-patterns and in let … else. Exhaustiveness is by interval, so ..-1 and 0.. need no _, and a missing interval is reported as a pattern (13..17). via schema(...) takes the same ranges and _ (events slice 4b, #990), through one shared production. [..9] in a list pattern is now a range element, which retires bynk.parse.range_pattern_unsupported. New diagnostics: bynk.types.range_pattern_on_non_int, bynk.types.empty_range_pattern and bynk.types.is_range_pattern (patterns track slice 5, #2699)
v0.470.1A named constant is emitted as an exported, hoisted TypeScript function that caches its value, and each reference is a call, so constants in sibling files that import each other (through a constant, a function or a type) no longer risk reading a constant before it is initialised; bynk.resolve.const_file_cycle is retired (#2617)
v0.470.0e.within(d) (the unit consumes bynk { TimedOut }): a general timeout on any Effect[T] yielding Effect[Result[T, TimedOut]]; the abandoned effect is handed to waitUntil, not cancelled; service handlers only; tests drive it on virtual time with stub … returns v after d and stub … never (concurrent effects, slice 3, #2683)
v0.469.0private now applies to const: a private const is visible across its own unit’s files and to its suites, never through uses. A reference from another unit is bynk.visibility.private_item (“a private constant”), and a public constant whose type annotation names a private type of its unit is bynk.visibility.private_in_public
v0.468.0List patterns: [], [p, …], [p, …, ..] and [p, …, ..rest] match a List by its length and elements in a match, an or-pattern, after is and in let … else. Exhaustiveness is by length, so [] and [x, ..rest] need no _, and a missing length is reported as a pattern ([_, _, ..]). ..rest binds the remaining elements (a copy, unless the rest is the whole list). A .. followed by a literal is reserved for range patterns (patterns track slice 4, #2680). New diagnostics: bynk.parse.list_rest_not_last, bynk.parse.range_pattern_unsupported and bynk.types.list_pattern_on_non_list
v0.467.1A boundary codec bounds the nesting of a recursive type at 256 levels: decoding a value nested more deeply is a StructuralMismatch (an HTTP 400, an Err from Json.decode) instead of a stack overflow the Worker answered as a fault, and encoding one faults (#2656)
v0.467.0A private modifier on a commons or context fn (including a method), type, messages, asset or embed keeps it within its own unit: visible across the unit’s files and to its suites, never through uses. A reference from another unit is bynk.visibility.private_item, a public signature naming a private type is bynk.visibility.private_in_public, private on any other declaration is bynk.visibility.private_not_allowed, and private on a messages block warns (bynk.visibility.private_messages), since negotiation reads only the @reference block’s visibility. private is a contextual keyword, so @cache(scope: private) is unchanged (#2618)
v0.466.1bynk.par.question_in_join is now permanent rather than a placeholder: ? takes a Result, not an effect, so a Result bound in a par block is unwrapped with ? after the block, where the first Err in source order propagates. The diagnostic’s notes show that pattern and how to compute a ? on an argument before the block. Concurrent-effects slice 1 is dropped (#2615)
v0.466.0bynk.schema.lock now counts a record field added with a default inside an agent’s stored state as an additive change, at any depth (a Cell’s record, a Map’s value, a List’s element, a Log’s entry), so it needs no migrate step: an instance stored before the field existed loads it as its default. Each stored field’s lock entry gains the list of positions in its value (paths), which the first unchanged build after upgrading fills in; until then a change inside a value is judged as before. bynk.agent.non_additive_state_change now names each position that broke, such as prefs.size added without a default, prefs.theme removed or prefs.size lost its default. See Changes that need no migration.
v0.465.0Ordering your own types (constrained-generics slice 1): type Priority = enum { Low, Medium, High } derives Ord opts a record, sum, enum or opaque type into an order by declaration order, and Ord is a bound (fn top[T: Ord](xs: List[T]); Ord implies Eq). < <= > >= accept any Ord type, List sortBy/min/max accept any Ord key, and bynk.list gains sort/min/max. Bytes is now Ord (unsigned lexicographic), and Float keys of the ordering kernels use a total order (NaN last and equal to itself, -0 equal to 0; the operators keep IEEE), so a NaN no longer makes a sort inconsistent. New diagnostics: bynk.generics.missing_ord_bound (machine-applicable fix), bynk.generics.redundant_eq_bound, bynk.generics.ambiguous_instantiation, bynk.types.not_orderable, bynk.types.derives_field_not_orderable, bynk.types.derives_automatic; a bounded generic takes hidden comparator arguments (internal, not ABI)
v0.464.1for all over a record draws a field with an inline where (qty: Int where Positive) from that refinement’s domain, boundary value included, as it does a declared refined type; it drew over the whole base type before (#2667)
v0.464.0Precise exhaustiveness and reachability: a Maranget usefulness engine replaces the conservative coverage rules, so a multi-field variant payload or a record is exhaustive when its arms cover every case between them (no _ needed), every uncovered case is reported as a pattern you can paste as an arm (Pair(false, false), Order { status: Cancelled, .. }), and redundancy spread across several earlier arms is now bynk.types.unreachable_arm (patterns track slice 3, #2665)
v0.463.0parTraverse, parTraverseAll and parTraverseTry (on lists and on query/broadcast receivers) now settle all: when an element faults the call waits for every element to settle, then raises the first fault in input order, instead of the first fault to arrive with its siblings left running; no source change (concurrent effects, slice 0b, #2662)
v0.462.0A commons or context declares a named constant with const Name: Type = <static expression>, usable wherever an expression of its type is and imported through uses like a function. The type is required, the name is upper-camel, and the initialiser is a literal, a constructor over static values, T.unsafe(lit), an empty collection, a Duration literal or another constant, with no cycles; it is emitted as an exported TypeScript const (#2617)
v0.461.1bynk test --smoke smoke-tests every from http route without a test written for it: each route is called with arguments Val fabricates and must not answer a 5xx or a body that doesn’t decode as its declared type, a route with a JSON body must reject a malformed one, and a route behind an actor must refuse a call with no credential. It runs in process, against dev, or against a named target (GET routes only unless --smoke-unsafe); a route Val can’t fill is skipped and named, and --print prints the synthesised suites. Also fixed: bare Val[T] of a record now honours an inline where on a field, so qty: Int where Positive is 1, not 0, and a field where Matches(…) needs a pin (bynk.val.needs_pin) as a Matches type does (#2658)
v0.461.0A record type’s fields may now declare defaults (field: T = expr), as an event’s could. A record literal may leave a defaulted field out and takes its default, a spread still takes unwritten fields from its base, and a body decoded without the field’s key (an HTTP body, a queue message, a service call, Json.decode, agent-state rehydration) takes it too. A default is a static value with a wire form, now including Map.empty() and Set.empty(); in a generic record it must hold for every instantiation. FetchOptions, QueueSend, KvGet, KvPut and R2Put give every field the default that reproduces the plain operation, so Fetch.sendWith(req, FetchOptions {}) is send(req). bynk.event.bad_field_default is now bynk.types.bad_field_default, bynk.event.default_outside_event is retired, and a default on a variant payload field is bynk.types.field_default_on_variant. See Field defaults and Add an option without breaking callers.
v0.460.0Record destructuring in let: let Item { sku, qty, .. } = item binds a record’s fields for the rest of the block, with = or <-, and needs no else when every field is matched by a name, _ or a nested pattern of the same kind; a refutable record pattern still takes its else (patterns track slice 2, #2654). A record let … else that cannot fail now offers a one-click fix that removes its else
v0.459.0Breaking: a generic that compares a type parameter now declares it, fn same[T: Eq](a: T, b: T), or where A: Eq for a method’s receiver type parameter, in place of ADR 0430’s inferred bound (constrained-generics slice 0); bynk.generics.missing_eq_bound carries a machine-applicable fix, and bynk.generics.no_bounds is retired; apply the fixes with source.fixAll.bynk or bynk check --fix (#2642), see the migration note
v0.458.0bynk.cloudflare.D1 is stable: it no longer needs an [unstable] allow entry, and a leftover "bynk.cloudflare.D1" entry is a bynk.project.unstable_not_experimental warning (standard-library P4d, #2652)
v0.457.0par { let a <- e1 let b <- e2 }: a concurrent binding block that issues every effect, in source order, before awaiting any of them, and completes when all have settled; the first fault in source order is raised after the rest have settled (concurrent effects, slice 0, #2640)
v0.456.0bynk check --fix and bynkc check --fix apply the compiler’s machine-applicable fix suggestions from the command line, repeated to a fixpoint and written only when the whole run is sound; the selection rule moves into bynk-syntax and is shared with the editor’s fix all
v0.455.1bynk --help lists its commands under five headings (Project, Run and deploy, Dependencies, Publishing, Help and tooling), each with a one-line summary; the longer description moves to bynk <command> --help
v0.455.0Record patterns: TypeName { f1, f2: pattern, .. } matches a record by its fields in a match arm, nested in a variant payload, or after is (parenthesised, x is (T { .. })). They are always open, so the trailing .. is required and adding a field to a record never breaks a pattern. A record pattern covers its type only when every field is matched irrefutably (patterns track slice 1, #2641). New diagnostics: bynk.parse.record_pattern_without_rest, bynk.parse.record_pattern_in_is_unparenthesised, bynk.types.record_pattern_on_non_record and bynk.types.duplicate_pattern_field, the two parse errors with one-click fixes
v0.454.0bynk.cloudflare’s R2 gains streamed reads and writes: getStream gives an R2Body (the object’s metadata and its body as a single-pass Stream[Bytes], served with RawStreamed), and putStream/putStreamWith write a stream of a declared size, a mismatch faulting with nothing stored. Multipart uploads (createUpload, uploadPart, completeUpload, abortUpload) build one object from whole-Bytes parts across requests, through a plain R2Upload handle (standard-library P5b, #2626)
v0.453.0bynk.Fetch gains receiveStream(req, options) and sendStream(req, body, options), which stream a body as Stream[Bytes] in a StreamResponse rather than buffering it, so a Worker can proxy or upload what doesn’t fit in memory (both experimental). Their timeout bounds the response head only, and sendStream returns a redirect as it is (standard-library K5c, #2627)
v0.452.0D1 call sites close their two gaps: Json.decodeSql[T] decodes a SQL row (or a List of rows) as Json.decode does, but also reads SQLite’s 0/1 at a Bool field, and a D1 statement’s SQL must be a string literal (the first argument of all/first/run, and every SqlStatement’s sql), so data only reaches it as bound SqlValue parameters. SqlStatement is now non-storable and non-boundary. New diagnostics: bynk.types.sql_not_literal, bynk.types.sql_statement_at_boundary and bynk.types.sql_row_shape (standard-library P4c, #2628)
v0.451.0A Stream may now appear in a capability operation’s signature and as a record or sum field (the type is then non-boundary like the stream, with no JSON codec). Streams are read once: reading one again faults. RawStreamed(body: Stream[Bytes], contentType) serves a 200 whose raw body is written chunk by chunk, with no ETag. A system-tier test reads a non-JSON 200 back as Ok with its text (standard-library K-streams, #2623)
v0.450.0D1 databases get schema migrations: migrations/<database>/NNNN_<name>.sql in the project, copied beside each Worker’s wrangler.toml and named by migrations_dir. bynk deploy applies pending ones before the push (a d1 migrate plan line), bynk dev applies them locally before serving and when one is added, and every test database starts with them applied. New diagnostics: bynk.d1.migration_name, bynk.d1.migration_unreadable and the warning bynk.d1.migrations_unused (standard-library P4b, #2608)
v0.449.0bynk.Fetch gains receiveBytes(req, options) and sendBytes(req, body, options), which return a BytesResponse whose body is Bytes, so binary downloads and uploads keep every byte (both experimental). FetchError gains InvalidBody: two bodies, or a body on a Get or Head, is refused with nothing sent. That includes send and sendWith, where a Get or Head with a body used to come back as Err(Network) (standard-library K5b, #2604)
v0.448.0Bynk’s minimum Node.js version is now 22.13. bynk.cloudflare gains D1, a D1 (SQLite) database as an instance-only derived capability (capability Orders = D1) with all, first, run and batch over SQL text and positional SqlValue parameters; rows come back as JSON text for Json.decode, blobs as base64, and every failure is a SqlError value (Constraint or Failed), never a fault; bynk deploy creates each database, records its minted id in the ledger and binds it, and tests run on in-memory SQLite (standard-library P4a, #2602)