Unreleased
The increments merged since v0.639.1, the latest release. They ship in the next one. Each increment’s row is added here when it merges.
| Version | Highlights |
|---|---|
| v0.652.0 | A Cron refinement predicate and the CronSchedule type admit exactly Cloudflare’s cron syntax; a schedule’s fields are now checked, with bynk.cron.numeric_weekday and bynk.cron.uneven_step warnings |
| v0.651.0 | A Duration literal uses the singular unit with 1 and the plural otherwise (1.hour, 5.hours), and an unknown unit is bynk.duration.unknown_unit |
| v0.650.0 | A refinement over Caller (actor Admin = Caller where IsContext(shop.admin)) admits named calling contexts, checked at compile time (bynk.actor.caller_not_admitted, bynk.actor.unknown_context) and again at the callee (403) |
| v0.649.0 | A consumed context’s service is a stub seam at unit and integration: stub Pay.authorise(_) returns Ok(…) substitutes it, expect Pay.authorise called once observes it, and bynk.tier.cross_context_needs_system names only the services left unstubbed |
| v0.648.1 | A Bearer, Oidc or Signature route’s handler no longer sees the credential its seam verified in RequestHeaders |
| v0.648.0 | Map gains remove, contains, getOrElse, isEmpty, entries, filter, mapValues, fold and Map.of, Set gains union, intersect, difference, isSubsetOf, isEmpty, filter, map and fold, and bynk.map and bynk.set are deprecated in favour of the methods |
| v0.647.1 | Events.emit(e) infers its event type from the argument, as Idempotency.remember infers T |
| v0.647.0 | String orders and its length predicates count by code point, agreeing with storage, SQL and OpenAPI |
| v0.646.0 | List.parTraverse now returns the steps’ values in input order and the old unit-returning form is parForEach, completing the grid forEach/traverse/traverseAll/traverseTry and parForEach/parTraverse/parTraverseAll/parTraverseTry |
| v0.645.0 | .of on a named type with no predicate is total and returns the type; “alias” is renamed “named type” |
| v0.644.0 | A cron handler’s scheduled time is an Instant, not an Int; svc.schedule(expr, at) takes an Instant |
| v0.643.0 | List gains reverse, find, contains, last, lastOrElse, isEmpty, traverse and keyless sort(), min() and max(), so every bynk.list function now has a method and bynk.list is fully deprecated |
| v0.642.0 | An on call handler must state its actor, by Caller at least (bynk.actor.missing_by_on_call), as an HTTP route must; bynk check --fix=bynk.actor.missing_by_on_call inserts it |
| v0.641.0 | bynk test builds its JavaScript into <output>/out-js, inside the output directory, and the emitted tsconfig.json follows (outDir is ./out-js, and out-js is excluded from the project), so concurrent runs whose --outputs share a parent no longer overwrite one another’s compiled tree |
| v0.640.100 | Internal restructuring: the project-mode module builder moves out of emitter.rs into project.rs, boundary.rs and consumed.rs; no output changes |
| v0.640.99 | Internal restructuring: emit.rs is now a thin facade over one file per declaration kind (agent handlers and dispatch, the agent class and the suite declarations move out); no output changes |
| v0.640.98 | bynk test --format json, --format ndjson and --coverage now exit non-zero when the report ends in an error, so a runner that ends before run-end can no longer leave an incomplete report (a suite with no cases) behind an exit status of 0 |
| v0.640.97 | Internal restructuring: emit.rs splits further by declaration kind (the agent state persistence and history driver move out); no output changes |
| v0.640.96 | Internal restructuring: emit.rs splits further by declaration kind (the agent store layout and the agent migration steps move out); no output changes |
| v0.640.95 | Internal restructuring: the boundary-codec generator’s refined, record, sum, generic and factory codecs move into their own modules |
| v0.640.94 | Internal restructuring: the project-mode import and rebrand family moves out of emitter.rs into emitter/imports.rs, the module header joins runtime_header.rs, and the runtime-module tests move beside their code; no output changes |
| v0.640.93 | Internal restructuring: emit.rs splits further by declaration kind (the WebSocket dispatch moves out); no output changes |
| v0.640.92 | Internal restructuring: the boundary-codec generator’s shared vocabulary, field codecs and value codecs move into their own modules |
| v0.640.91 | Internal restructuring: the Worker entry generator’s inline blocks (route collection, WebSocket upgrade, events delivery, CORS preflight and the method fall-through) become named functions; no output changes |
| v0.640.90 | Internal restructuring: emit.rs splits further by declaration kind (services and contexts move out); no output changes |
| v0.640.89 | Internal restructuring: the call dispatchers move out of lower.rs into their own module, which completes the lower.rs split |
| v0.640.88 | Internal restructuring: the Worker entry generator’s HTTP family (route dispatch, request field specs and CORS and security policy) moves into modules of its own; no output changes |
| v0.640.87 | Internal restructuring: the literal, record and identifier lowering move out of lower.rs into their own modules |
| v0.640.86 | Internal restructuring: the Worker entry generator’s call, admin, scheduled, queue and email families move into modules of their own; no output changes |
| v0.640.85 | Internal restructuring: bynk dev’s dev.rs splits into its run, events, stand-ins, bindings, serving, supervision and watch helpers; no output changes |
| v0.640.84 | Internal restructuring: the ?/control-flow and operator lowering move out of lower.rs into their own modules |
| v0.640.83 | Internal restructuring: emit.rs splits further by declaration kind (handler names, messages and capabilities move out); no output changes |
| v0.640.82 | Internal restructuring: the deploy plan.rs splits into its run, plan model, keys, contract-skew policy and messages; no output changes |
| v0.640.81 | Internal restructuring: bynk-ts’s printer (printer.rs) is split into modules by concern, with its tests in their own file; no output changes |
| v0.640.80 | Internal restructuring: the mock, expect and claim-scope lowering move out of lower.rs into their own modules |
| v0.640.79 | Internal restructuring: the pattern and is lowering move out of lower.rs into their own modules |
| v0.640.78 | Internal restructuring: the driver’s project.rs loses its pipeline, per-unit work and output assembly to child modules; no output changes |
| v0.640.77 | Internal restructuring: the driver’s project.rs loses its options, entry points, deps plan and tests to child modules; no output changes |
| v0.640.76 | Internal restructuring: emit.rs starts to split by declaration kind (types and functions move out); no output changes |
| v0.640.75 | Internal restructuring: bynk-ts’s tree (program.rs) is split into modules by node family; no output changes |
| v0.640.74 | Accessibility and usability fixes from a review of the site. The Diagnostic index lists each category’s codes instead of a table that overflowed the page, marks warnings with a badge and gains a filter box, and each code’s page names the grammar rules it governs. The in-page editor takes focus when it opens and announces it. Symbols are no longer read aloud in link names. The home page’s blog cards link only their titles, which are headings. The footer and site map move out of <main> (site theme 0.4.0), and search labels each result with its section and can be filtered by it. A missing page now has its own 404 page with links back into the site. The Book and Releases say plainly that v0.640 can be ahead of the latest release. |
| v0.640.73 | Internal restructuring: one spelling for each emitter node builder, and param becomes TsParam::new; no output changes |
| v0.640.72 | Internal tooling: a module-size ratchet for the back-half crates |
| v0.640.71 | Internal restructuring: a generated test module takes its imports from the tree it builds, as every other generated module does, so it imports what its code uses and no more; the identifier audit and the import-shadow equality now cover those modules too |
| v0.640.70 | Internal restructuring: the per-Worker emission moves from bynk-driver into bynk-emit, rendered from the binding model; no output changes |
| v0.640.69 | Internal restructuring of how bynk deploy, bynk revert and bynk migrate call Cloudflare’s API; one REST client per run with typed errors and shared pagination, with no change to messages, requests or bynk.deploy.lock |
| v0.640.68 | Internal restructuring of bynk deploy, bynk revert, bynk migrate, bynk dev and bynk tail; every wrangler call goes through one Cloudflare module, with no change to plans, messages, provisioning or bynk.deploy.lock |
| v0.640.67 | Internal restructuring: the test harness builds the system suites’ http, cron, queue and email drivers, their request-init objects, credentials and tokens as typed nodes instead of text, so a request’s options object prints without a trailing comma and a driver’s credential statements each print on their own line; no behaviour changes |
| v0.640.66 | Internal restructuring: bynk deploy and bynk dev read each Worker’s bindings from the build’s binding model instead of parsing them back out of wrangler.toml and its sidecars; no output changes |
| v0.640.65 | The pages for contributors and for following the project leave the Book for a small Project section, linked from the footer — Versioning & roadmap and Contributing, with their own sidebar — and Why Bynk exists becomes a section of What is Bynk?; every old URL redirects. With this the web presence track (#3861) is retired (slice 13, #4082). |
| v0.640.64 | Internal restructuring: bynk deploy and bynk dev take each Worker’s binding model from the compile they run, and check it against the configuration it wrote; no output changes |
| v0.640.63 | Internal restructuring of bynk deploy; the resource kinds reach Cloudflare through one operation trait, with no change to plans, provisioning, messages or bynk.deploy.lock |
| v0.640.62 | Learn Bynk has its last new chapter, 10. Deploy it — read the plan with bynk deploy --dry-run, deploy the two-context URL shortener to Cloudflare, watch it with bynk tail and undo a release with bynk revert — and the six older chapter files lose their numbers (/book/tutorials/01-first-program/ is now /book/tutorials/first-program/), with a redirect from each old URL. The Book’s bynk,project=<name> fence now refuses a project of one block and a project block marked ignore, fail or include-only (web presence track, slice 12, #4077). |
| v0.640.61 | Internal restructuring: the test harness builds a stub class and the platform capability doubles of a generated test module as typed nodes instead of text, so a stub class’s methods are separated by a blank line; no behaviour changes |
| v0.640.60 | Internal restructuring: the [env.*] block of a named-environment deploy is rendered by the emitter from one table of wrangler.toml keys; wrangler.toml is unchanged |
| v0.640.59 | Internal restructuring: the test harness builds the property generators’ Decimal values, canonical literals and branded boundaries as typed nodes instead of text, so a zero-field record prints as an empty object; no behaviour changes |
| v0.640.58 | Internal restructuring: the test harness builds each case, property, history and contract-attack runner of a generated test module as typed nodes instead of text, so a property runner’s statements now print at the function’s own indent and a test module’s source map points a nested statement at its own source line; no behaviour changes |
| v0.640.57 | Internal restructuring: the test harness builds more of a generated test module as typed nodes (the commons barrel’s helpers, the harness memo, __bynkEnv, fixture and asset tables, the snapshot table, event delivery helpers, __bynkCases, the PGlite teardown), and four fixed snippets become type-checked test-runtime modules; a generated tests/main.ts now puts the detached-effect report statements on their own lines |
| v0.640.56 | Internal restructuring: the test harness decides which participant types a case names from the statements it built, and builds a SignedCookie actor’s Cookie header as a value, instead of lexing and patching emitted TypeScript; no emitted output changes |
| v0.640.55 | Internal restructuring: the last predicate, call and cast text in the emitter is built as nodes; no behaviour changes |
| v0.640.54 | Internal restructuring: the integration-test doubles (makeIntegration*) are no longer in the shipped storage, agent and vectorize runtime modules, so a build’s storage module is about 670 lines smaller; the doubles are imported from testing/bindings and testing/pglite, and no production emission changes |
| v0.640.53 | Internal restructuring: a record field’s wire default is built from its DefaultValue tree and the empty deps object prints as {}; no behaviour changes |
| v0.640.52 | Internal restructuring: the test runtime and the client runtime are authored as type-checked runtime modules and generated into the files bynk-emit embeds; no emitted output changes |
| v0.640.51 | Internal restructuring: the duplicate-binding check, the Workers build and the events fan-out read one binding model, and the old derivations are deleted; no emitted output changes |
| v0.640.50 | Internal restructuring: the codec emitter builds field subscripts and error paths as expression nodes, not text; no emitted output changes |
| v0.640.49 | Learn Bynk has a new chapter 8, Split into contexts — the URL shortener becomes a commons links, a registry context that owns the links and codes, and an HTTP-only shortener that consumes registry, built as two Workers — and “Test it” now tests the registry context. The Book’s example gate gains a bynk,project=<name> fence that compiles a page’s files together as one project (web presence track, slice 11, #4062). |
| v0.640.48 | Internal test-harness change; the parallel test processes that run wrangler through npx provision it once per machine, under a lock, instead of racing on a cold npx cache |
| v0.640.47 | Learn Bynk has a new chapter 6, Reach out with capabilities — the URL shortener consumes Bynk’s own Random and Logger, wraps code generation in a CodeGen capability of its own with a provider over Random, and lists every effect in given — so its links get random codes; “Add a stateful agent” and “Test it” build on it (web presence track, slice 10, #4057). |
| v0.640.46 | Internal restructuring: bynk-emit gets one definition of each small TypeScript node builder (ident, str_lit, member, call and the rest), in ts_build; no emitted output changes |
| v0.640.45 | Internal restructuring: the test harness and the case lowering share one spelling for each generated name, and bynk_ts gains a bigint literal node; no emitted output changes |
| v0.640.44 | Internal restructuring: one typed binding model, WorkerBindings, is derived once per build from the composition plan, beside the old derivation it is checked against; no emitted output changes |
| v0.640.43 | Learn Bynk has a new chapter 5, Handle failure with Result — the URL shortener gets a rule of its own, composes its fallible steps with ? and .mapErr, and turns every LinkError into an HTTP response in one function — and “Add a stateful agent” now builds on it. Chapters link to each other by title, not number (web presence track, slice 9, #4041). |
| v0.640.42 | Internal restructuring: bynk-emit no longer depends on bynk-driver, not even for its tests, and the test-harness lowering entries move into bynk-emit::testgen; no emitted output changes |
| v0.640.41 | Internal restructuring of bynk deploy; no change to plans, provisioning or bynk.deploy.lock |
| v0.640.40 | bynk-lang.org has a new home page, built to the site mockup — the hero beside a checked program, “Four ways in” to the Book, Examples, Reference and Blog, “What Bynk checks for you”, and the blog’s newest posts — and both sites share one header and footer from @bynk-lang/site-theme 0.3.0. The documentation’s prose is now licensed CC BY 4.0 and its code snippets MIT, as the blog’s are; Bynk itself stays MIT or Apache-2.0 (web presence track, slice 8, #4025). |
| v0.640.39 | Internal restructuring of bynk deploy; no change to plans, provisioning or bynk.deploy.lock |
| v0.640.38 | Internal restructuring: test-harness generation moves from the driver into bynk-emit::testgen; no emitted output changes |
| v0.640.37 | Internal restructuring of bynk deploy; no change to plans, provisioning or bynk.deploy.lock |
| v0.640.36 | The docs site deploys a merge within minutes, from the merge queue’s passed run, instead of waiting for the next CI run on main to pass |
| v0.640.35 | Internal restructuring of the code generator; events, the envelope rule and subscriber failure isolation are decided once, and the Bundle root’s event dispatch is laid out by the printer |
| v0.640.34 | Search on bynk-lang.org now covers the blog as well as the docs, with blog posts marked “Blog · …” and ranked after the docs; the blog’s search covers the docs the same way. The docs site’s pages now declare British English (lang="en-GB"), as the blog’s do (web presence track, slice 7, #4022). |
| v0.640.33 | Internal restructuring: npm, pnpm, bun, yarn, tsc, tsx, node and git are spawned from one module; no lookup, message or fetched package changes |
| v0.640.32 | The Book’s diagrams wear the Bynk design system. Hairline panels, muted lines and Instrument Sans replace Mermaid’s lilac default, in light and dark, and they follow the site’s theme toggle. |
| v0.640.31 | bynk revert refuses a version bound to a Hyperdrive config that the ledger has since replaced or pruned, as it already did for KV, D1 and rate limiters (#3970) |
| v0.640.30 | The docs site now wears the Bynk design system, from the same @bynk-lang/site-theme package as the blog — amber and teal in place of the indigo accent, Instrument Sans and JetBrains Mono, the bento-blocks wordmark, and the blog’s header — in light and dark, following the reader’s setting (web presence track, slice 6, #4006). |
| v0.640.29 | Internal restructuring: the BYNK_* names the toolchain shares with generated TypeScript have one Rust definition; no name or emitted output changes |
| v0.640.28 | Internal restructuring of the code generator; the Bundle and Workers composition roots now read one composition plan, with no change to generated output |
| v0.640.27 | The Book’s explanation pages moved to /book/concepts/, one folder per topic, with a Concepts front page; their old /book/guides/… and /book/about/… URLs redirect. Each topic’s hub page, which gathers its explanations and how-tos, stays in Guides under “By topic” (web presence track, slice 5b, #4002). |
| v0.640.26 | Internal restructuring of bynk deploy; no change to plans or bynk.deploy.lock |
| v0.640.25 | Internal restructuring of the code generator; the Bundle and Workers composition roots now live together in bynk-emit, with no change to generated output |
| v0.640.24 | The Reference is one surface at /reference/, with its own contents and sidebar, in seven sections — Language, Architecture, Adapters, Tooling, Diagnostics, Specification and Releases. The Book’s reference and specification and the Developer Docs moved there as folders (/book/reference/ → /reference/, /book/spec/ → /reference/spec/, /docs/ → /reference/tooling/), and every old URL redirects. The header reads Book, By Example, Reference; bynk book searches the Reference too; and the links the toolchain prints (a generated client’s header comment, the first-party capabilities link, the manifest schema’s documentation link, the diagnostic index) take the new form (web presence track, slice 5, #3935). |
| v0.640.23 | Internal restructuring of bynk deploy; no change to plans or bynk.deploy.lock |
| v0.640.22 | Internal hardening in the code generator; the last text identifiers and text-built types in the emitter become syntax-tree nodes, and a corpus audit now checks every identifier in the built trees |
| v0.640.21 | Internal restructuring of bynk deploy; bynk deploy --prune now lists and deletes orphans in the plan’s kind order (KV, Vectorize, Hyperdrive, then queues); plans and bynk.deploy.lock are unchanged |
| v0.640.20 | Internal restructuring of bynk deploy; no change to plans or bynk.deploy.lock |
| v0.640.19 | Internal hardening in the code generator; the last print-then-splice round trips in the emitter become syntax-tree nodes |
| v0.640.18 | Internal restructuring of bynk deploy; no change to plans or bynk.deploy.lock |
| v0.640.17 | The Book’s troubleshooting pages are folded into each code’s explanation, which bynk explain, the editor’s Explain panel and the code’s page at /d/<code> all show, and /book/troubleshooting/ redirects to the Diagnostic index. bynk.property.restates_refinement gains an explanation, eleven others gain the fixes only the troubleshooting pages gave, and the index sorts actors, adapters, deployment, events, generics, history properties, packages, npm requirements, agent storage, stubs, tests and test tiers into categories of their own (web presence track, slice 4b, #3907). |
| v0.640.16 | Internal hardening in the code generator; bynk-emit now denies wildcard enum arms, so a new enum variant fails the build at each emitter match that has to handle it |
| v0.640.15 | Every diagnostic code now has its own page on the site, and every tool links a code as https://bynk-lang.org/d/<code>, which redirects to it. The editor’s code link, bynk explain, the MCP tools and the playground show it for every registered code, explained or not. The Book pages that explain a code are listed on its page from site/src/data/diagnostic-links.json, in place of Explain’s page and anchor (web presence track, slice 4, #3876). |
| v0.640.14 | The Book’s changelog is now one page per release under Releases, with an Unreleased page that each increment’s row is added to when it merges. cargo xtask release-page --apply cuts Unreleased into the current version’s page before it is tagged, and release.yml refuses a tag whose page is missing (web presence track, slice 3, #3868). |
| v0.640.13 | Internal hardening in the code generator; a new enum variant now fails the build at each emitter match outside lowering that has to handle it |
| v0.640.12 | Docs: the Book is reorganised by kind, then by concern. Its sidebar reads Start, Learn Bynk, Concepts (the explanation pages, by concern) and Guides (the how-to pages, by what you are building), then Reference, Specification and Troubleshooting. No page moves. How these docs are organised is retired in favour of a shorter front page (web presence track, slice 2, #3865). |
| v0.640.11 | Generated modules and Worker entry files no longer import names they do not use; each import list now follows from the module’s code |
| v0.640.10 | Generated modules no longer import runtime names they do not use; each module’s runtime import now follows from its code |
| v0.640.9 | Groundwork for deriving each generated module’s imports from its code instead of predicting them; the generated code and its source maps are byte for byte unchanged |
| v0.640.8 | The state-migration step functions the compiler writes into an agent’s module are built as trees, not text, so each statement of a step prints on its own line and its catch is braced; their tokens are unchanged; a foreign client whose decoders return a consumed type now imports Result and __BoundaryError, which it used without importing |
| v0.640.7 | The generated TypeScript client’s conversions, route constants, contract table and createClient are built as trees, not text, so the client’s layout is regular (one blank line between declarations, each route function on one line after its parameters); its tokens and source maps are unchanged apart from the one-line doc comment on Client becoming a block, and the contract table of a foreign-caller client (bynk-client.ts) gaining its trailing comma |
| v0.640.6 | The serialisation codecs, the Worker group entry, the email handler and the extra imports are built as trees, not text, and the codec guards that sat one level shallow now sit at their true depth; only indentation in the generated code changes, and its source maps are unchanged |
| v0.640.5 | The code generator’s lowering returns trees only: the text bridge, its constructors, its counters and the string type renderer are deleted, and the generated code and its source maps are byte for byte unchanged |
| v0.640.4 | With CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID set, the bynk deploy plan (--dry-run included) checks what it would create against the account, so an R2 bucket, D1 database, Vectorize index or queue already there is planned as reuse instead of create, and a KV namespace whose title is already taken is a warning; without them the plan stays offline and says so |
| v0.640.3 | The closure a service or agent handler body runs in, the contract-guard closure and the subscriber and schema prologue guards are typed nodes instead of text lines; the generated code is unchanged apart from indentation, the body of an events-emitting service handler now sitting one step deeper inside its closure |
| v0.640.2 | The bynk driver’s own messages on stderr carry a label after who is speaking, so they take the colour palette: error: (red) when the command then fails, as in bynk: error: not inside a Bynk project, warning: (amber) when it carries on in a degraded state, and note: (blue) when you need to act; a coded error[…]: label and a workspace member’s messages (bynk: packages/ok: error: …) are coloured too. The wording of these messages changed, so a script or CI filter that matches one may need the label added; exit codes and machine-readable output are unchanged |
| v0.640.1 | Lowering builds the generic-function-as-value closure, the Form.decode and Form.encode call and the hoisted async-tail if as typed nodes, and nothing in lowering builds text any more; the generated code is unchanged apart from layout, and a lowering step that lacks a checker fact for a receiver namespace or a store operation is reported as an internal fault instead of emitting a placeholder, and no such fault is added to a project that already has errors |
| v0.640.0 | *, { and } are reserved in an HTTP route, in a literal segment or inside a :name, and refused with bynk.http.reserved_route_syntax, so a rest-segment form can be added later without changing what an existing route means |
| v0.639.62 | bynk dev serves each Worker from a copy of its config that is replaced only once the development bindings are in it, so a rebuild never briefly binds the deploy’s Vectorize index, and a Worker with stand-ins gets its development index too; bynk migrate status and bynk migrate sweep find the agent classes of a context in a [deploy.workers] group in the group’s Worker |
| v0.639.61 | bynk explain explains 20 more error codes, among them the [deploy.workers] group rules, [package] exports, [unstable] allow and D1 migration file names |
| v0.639.60 | A test suite of 500 or more cases now type-checks, instead of failing bynk test with bynk.codegen.tsc_failed (TS2563) because the generated runner was too large for tsc to analyse; and a trace(Cap.op) list or call record can be encoded, by Json.encode or as a bynk eval value, instead of failing with bynk.codegen.tsc_failed |
| v0.639.59 | The rust examples in the crate READMEs are self-contained, and CI compiles and runs them as doctests so they cannot fall out of date |
| v0.639.58 | Completion and hover show joinOn and leftJoin with their left and right key functions, as the checker checks them, instead of an on predicate |
| v0.639.57 | A system case’s is test on a handler result whose type comes from a commons is checked again, so a wrong variant such as r is Created(_) on an HttpOutcome[Note] is bynk.types.is_unknown_variant instead of a failure in tsc; and a service with two on call handlers, where the second silently replaced the first, is now bynk.service.duplicate_call_handler |
| v0.639.56 | A record literal that leaves out a field now fills in its default correctly when the field is a refined type (the value is a value of that type) or a Decimal (the value is a decimal number, not its text), so such programs type-check and Decimal arithmetic on the field no longer crashes (#3759, #3801) |
| v0.639.55 | Five fixes. Log.since, before and between no longer throw once a window holds more than 512 entries (#3747). bynk test now removes build output it did not write from its output directory (out/ by default), as bynk build does, so it no longer fails with bynk.codegen.tsc_failed on files a Workers build or bynk test --against left in out/workers/ (#3748). bynk deploy --dry-run no longer rewrites bynk.schema.lock or writes .bynk/deploy (#3796). A build that records stored positions in an older bynk.schema.lock now says so and asks for the lock to be committed (#3749). Bundle builds emit the events-dispatch cases in the same order every time, so the output is reproducible (#3815) |
| v0.639.54 | Lowering builds labelled loops and blocks, while loops, multi-declarator lets, sequence expressions, generators with yield, for-await, array-pattern parameters, the claim-scope declaration, the witness claims and the regex and stream helpers as typed nodes instead of text; the generated code is unchanged apart from layout (and one multi-declarator const split in two), and the source maps of the changed files gain finer statement anchors |
| v0.639.53 | Lowering builds the typeof and indexed-access casts, tail-call temporaries, or-pattern dispatch and several constructor and snapshot helpers as typed nodes instead of text; the generated code is unchanged apart from layout, and ten source maps gain finer statement anchors |
| v0.639.52 | The generated code now brackets the operand of Duration.millis, toMillis, Instant.fromEpochMillis, toEpochMillis and Int.toFloat, so Duration.millis(s.length() + 1).toMillis() * 2, unary minus and subtraction over them compute the right value instead of binding the operand’s + or - to the surrounding operator |
| v0.639.51 | A checker fact the code generator needs and does not find is reported as an internal-error diagnostic, bynk.internal.missing_checker_fact, at the source span instead of being written as any, undefined or a panic; no program the checker accepts is affected and the generated TypeScript and source maps are unchanged |
| v0.639.50 | The checker records each call’s resolution as closed typed values (a static operation, a store operation, a test address, a first-party capability, a call-site principal) and the emitter reads them instead of comparing names; generated TypeScript and source maps are unchanged. One behaviour tightens: a same-named capability that is not bynk’s own Events no longer counts as an Events.emit. Two first-party decisions now key on the capability’s identity rather than a name: locale negotiation goes to any external provider of bynk’s own Locale (today only LocaleProvider), and an Idempotency call inside the bynk unit itself counts as first-party (no such call exists today); neither changes any output |
| v0.639.49 | bynk colours by one palette (blue information, green success, red error or failure, amber warning, bold headings), now also for bynk test --mutate (each mutant by its outcome, and the report’s counts, labels and score), the bynk revert plan (ok, refused and the verdict), and the error:, warning: and note: labels of messages on stderr |
| v0.639.48 | The agent state-persistence functions (__hydrate<A>State, __rehydrate<A>State, __encode<A>State) are built as statement nodes rather than text, so their checks are laid out one statement per line (a ruled layout change in 149 generated files) and an if over a for gains braces (ruled, 69 files, 150 sites, semantically identical TypeScript); source maps are unchanged apart from the extra lines; what the emitted code does is otherwise unchanged |
| v0.639.47 | Eight more pieces of generated TypeScript are built as declaration and statement nodes rather than text, so a lazily read agent’s loadState branch, a WebSocket agent’s frame-decode try/catch and its close handler’s void statements are laid out one statement per line (a ruled layout change in 46 generated files), and the lazy-read branch’s last call now ends in a ; (ruled, 38 files, semantically identical TypeScript); source maps are unchanged apart from the extra lines; what the emitted code does is otherwise unchanged |
| v0.639.46 | A global `—color auto |
| v0.639.45 | The agent class and its history-property driver are built as TypeScript declaration nodes rather than text, so a generated agent class no longer ends with a blank line before its closing brace (a ruled layout change in 149 generated files); the four generated files that carry a history driver also lay it out one statement per line and separate the members of its object types with ; instead of , (ruled, semantically identical TypeScript); source maps are unchanged apart from the driver’s extra lines; what the emitted code does is otherwise unchanged |
| v0.639.44 | Provider classes and service objects are built as TypeScript declaration nodes rather than text, so a generated provider class prints a blank line between its operations and its constructor over three lines (a ruled layout change in 35 generated files, token-identical); each statement in a type’s method body now maps to its own source line in the source map instead of the commons or context header (586 lines in 48 generated files, TypeScript unchanged); what the emitted code does is otherwise unchanged; a consumed multi-file context’s bundle namespace import now targets its smallest file path deterministically instead of the first in hash order (#3807) |
| v0.639.43 | A record literal that leaves a defaulted field out is built as a TypeScript node rather than text, so two generated files print an enclosing closure on several lines instead of one (a ruled, whitespace-only change); no change to what the emitted code does |
| v0.639.42 | The built-in Option, Result, Set and Map kernel methods in generated code are built as TypeScript nodes rather than text, so redundant brackets round receivers are gone and several generated files, among them the standard-library string.ts and locale.ts, print an enclosing closure with different layout; no change to what the emitted code does |
| v0.639.41 | The built-in Int, Float, Decimal, Duration, Instant, Bytes and String kernel methods in generated code are built as TypeScript nodes rather than text, so redundant brackets round receivers are gone and several generated files, among them the standard-library string.ts, print an enclosing closure with different layout; no change to what the emitted code does |
| v0.639.40 | The built-in kernel methods on connections, request views, cookies, within, race, detach and Effect[Result] combinators in generated code are built as TypeScript nodes rather than text, so redundant brackets round receivers are gone and twelve generated files print an enclosing closure with different layout; no change to what the emitted code does |
| v0.639.39 | Agent construction and agent calls in generated code are built as TypeScript nodes rather than text, so four generated test and demo files print an enclosing closure with different layout; no change to what the emitted code does |
| v0.639.38 | Test-case and system-tier service calls in generated test harnesses are built as TypeScript nodes rather than text, so a few expressions print with different layout and six redundant brackets ((x).url) are dropped; no change to what the emitted code does |
| v0.639.37 | Cross-context service calls, on the bundle and the Workers target, are built as TypeScript nodes rather than text, so a call with no arguments sends {} rather than { }; no change to what the emitted code does |
| v0.639.36 | Capability calls, Events.emit, the session and typed cookies and the derived-D1 select are built as TypeScript nodes rather than text, so an event emission and a D1 read are laid out as indented blocks; no change to what the emitted code does |
| v0.639.35 | An expect predicate and an observation’s with predicate may not hold an effectful call (bynk.expect.impure_predicate, bynk.observe.impure_with), and an expect comparison evaluates each operand once, so a capability call can no longer be recorded twice by a claim about it |
| v0.639.34 | The persisted-store operations (held Map, Map, Set, Cache, Log, Cell) are built as TypeScript nodes rather than text, so each operation’s statement IIFE is laid out as an indented block; no change to what the emitted code does |
| v0.639.33 | The Query operations over a store (filter, sortBy, distinctBy, groupBy, the joins, the terminals) are built as TypeScript nodes rather than text, so a statement-bodied step is laid out as an indented block; no change to what the emitted code does |
| v0.639.32 | The Json, Yaml and Form codec calls and the typed decoders are built as TypeScript nodes rather than text, so a typed decoder is laid out as an indented block; no change to what the emitted code does |
| v0.639.31 | Intrinsic and type statics (List.empty(), Int.parse, Bytes.*, a static on a declared type and others) are built as TypeScript nodes rather than text, so a match expression passed to one is indented by the printer; no change to what the emitted code does |
| v0.639.30 | The List kernel’s statement-bodied operations are built as TypeScript nodes rather than text, so each prints as a multi-line arrow function; no change to what the emitted code does |
| v0.639.29 | The List kernel’s lowering moves into its own module and its expression-bodied operations are built as TypeScript nodes rather than text; no change to emitted code beyond indentation |
| v0.639.28 | The test-domain constructs (expect, advance, Val, observations, trace and fault claims) are built as TypeScript nodes rather than text; no change to emitted code beyond layout in test modules |
| v0.639.27 | Comparator and codec witnesses are built as TypeScript nodes rather than text; no change to emitted code beyond possible layout |
| v0.639.26 | Service and agent handler bodies reach the TypeScript printer as statements, and IIFE and lambda bodies are now source-mapped, so bynk test --inspect can step into them; output differs only in indentation |
| v0.639.25 | The code generator hands function and method bodies to the TypeScript printer as statements, and the printer records their source-map checkpoints, with output unchanged |
| v0.639.24 | The code generator builds is, &&, ` |
| v0.639.23 | The code generator builds match in tail and value position as switch, if-chain and arrow nodes where it can, with tail-position output and source maps unchanged |
| v0.639.22 | The code generator builds value-position if, block and lambda bodies as arrow nodes where it can, printing them at their real nesting depth, with no change to behaviour or source maps |
| v0.639.21 | The code generator carries a unit’s source and hidden-type spellings in its context instead of thread-locals, with no change to the generated output or its source maps |
| v0.639.20 | Statements and the if tail in a function or handler body are built as typed nodes where their expressions are nodes, with no change to the generated output or its source maps |
| v0.639.19 | The statement emitter builds a list of body items and renders it through one adapter, with no change to the generated output or its source maps |
| v0.639.18 | The statement emitter moves out of lower.rs into emitter/lower_stmt.rs, with no change to the generated output |
| v0.639.17 | The ? expansion and the value-position ternary if now lower to typed TypeScript statement nodes |
| v0.639.16 | Interpolated strings, record construction and spread, and the expression form of expect now lower to typed TypeScript nodes |
| v0.639.15 | Function calls, variant and constructor calls, unreachable/todo, and the plain method call now lower to typed TypeScript nodes |
| v0.639.14 | Value binary operators (arithmetic, comparison, equality, and the Decimal, Int division, structural-equality and Ord helper forms) now lower to typed TypeScript nodes; the printer brackets them by a precedence table |
| v0.639.13 | Identifiers, constant reads, old/new records, nullary HttpResult/QueueResult/sum-variant names and plain field access now lower to typed TypeScript nodes, so wrappers over them are nodes too |
| v0.639.12 | The bynk tests write their stand-in wrangler, npm and git-hook scripts from a child sh, so parallel test runs no longer fail intermittently with ETXTBSY (Text file busy) |
| v0.639.11 | Wrapper and simple composite expressions (Paren, unary operators, Ok/Err/Some, list literals) now lower to typed TypeScript nodes; a negated negation keeps the -(-x) bracketing #3698 introduced, on both the node and the text path |
| v0.639.10 | A negated negation such as - -x now emits -(-x), not --x, which TypeScript read as a pre-decrement (and - -5 as a syntax error) |
| v0.639.9 | Expression lowering gains a counted node-or-text bridge and literals lower to typed TypeScript nodes, with no change to emitted output |
| v0.639.8 | The lowering context and TypeScript type rendering move out of emitter.rs into their own modules, with no change to emitted output |
| v0.639.7 | The back-half paydown track is settled, and a feature freeze on bynk is recorded until its Phase 1 exit criteria are met |
| v0.639.6 | bynk-ts and bynk-model deny wildcard enum arms, the workspace_lints probe lists the crates that opt in, and module_lines excludes declaration-gated test modules and reports crate/src/ paths |
| v0.639.5 | A trend probe, module_lines, reports how many source files reach 2,000, 3,000 and 5,000 production lines, and names the largest back-half files |
| v0.639.4 | Two gated growth probes, ts_raw_sites and ts_text_idents, count the raw-text TypeScript escapes (TsStmt::raw( and TsExpr::Ident(format!() that ts_writes and verbatim_sites miss, so neither can grow without a reasoned raises: |
| v0.639.3 | The greenfield-status growth probes (ts_writes, ts_any, emit_abi_shapes, verbatim_sites, span_keyed_maps) can only fall unless a pending file raises them with a reason (raises:), which the stamp records in design/greenfield-status-raises.md |
| v0.639.2 | A weekly workflow refreshes the trend rows of design/greenfield-status.md through a rolling bot PR, via the new cargo xtask greenfield-status --trend-only --apply |