Skip to content

v0.66.0

Choose a tag to compare

@Teloz1870 Teloz1870 released this 04 Nov 00:24
· 1 commit to main since this release

A security release: upgrade if your site is a webshop. Anyone could read a customer's last delivery name
and address through the storefront chat by typing their email or phone number (CW-2026-013, High). A shop
whose Stripe keys could not be read gave its goods away in test mode; it now refuses the order. Also in
this release: a return refund on an order charged in another currency converts the amount, next moves
to 16.4.3, which ends a random build failure, and most of the road to moving a WooCommerce shop onto
Cartwright, which still writes nothing. Run pnpm db:push before deploying (see Upgrading).

Known and not fixed in this release: two overlapping returns on one order line can still put more stock
back than was ordered. next 16.4.5 (seven moderate advisories, two of them for shops that serve
themselves with next start) follows in the next release.

🔒 Security

  • A shop whose Stripe keys cannot be read no longer gives its goods away (CW-2026-014, Moderate). If the keys were stored but could not
    be decrypted, for example after AUTH_SECRET was rotated, or if the database could not be read, or if only some of
    the three keys were set, checkout fell back to its test mode: the order was created paid and no card was asked for.
    Such an order is now refused with the payment error, and the next request reads the keys again. A shop with no
    Stripe keys at all still uses test mode. The checkout page can still show its test-mode notice in this state.
  • Anyone could read a customer's name and home address through the storefront chat (CW-2026-013, High). The
    chat and the voice shop take anonymous callers, and two of their tools answered for any email or phone number
    with that customer's last delivery name and address, plus their email on a phone lookup. Every version since
    v0.1.0-beta is affected on a webshop with an AI key, and the voice shop too if an admin has turned the lookups
    on for it, so upgrade to v0.66.0. Both tools are gone from the chat and voice shop; an admin API key with
    customer:read can still call them. A returning
    customer who is signed in or has the cookie still gets their own address. A visitor who only types an email or
    phone number is no longer offered a saved address.

Added

  • The configurator contract can now be parsed, hashed and patched, and nothing calls it yet (BOM2-a2).
    No page, tool, flag or table reaches it, so a shop owner or an agency notices nothing, and the WooCommerce
    importer's fingerprints are unchanged.

  • The engine has a small expression language for the rules of configurable products
    (lib/configurator/expr.ts), and nothing reads it yet (BOM2-a1).
    It is the first code of the
    configurator contract: a parser and evaluator with a closed list of 18 functions, so a price rule
    stored as data can do arithmetic but cannot run code or read __proto__, and budgets bound both
    parsing and evaluation, so it cannot hang a request. No page, tool, flag or table reaches it, so a
    shop owner or an agency notices nothing; --profile site leaves it out.

  • An owner moving a shop can see on /admin/migration whether the new mail sender authenticates
    and whether the domain kept its mail records (dns.mail).
    A freeze now keeps a copy of the old
    domain's SPF, DKIM, DMARC and MX, and migration.run_checks holds live DNS against it and against
    what the sender needs, by default Resend's. An old record that is gone is a named fail; DMARC at
    p=none is a warn, which keeps the row out of the counter. It sends no mail: a test delivery and
    its spam score are the owner's sign-off (migration.attest), so the row cannot go green on DNS
    alone. A project frozen before this release reads inconclusive until frozen again. Behind
    migrationDashboard, off by default.

  • docs/domain-model.md says where each table belongs and which code should write it. It places
    every Prisma model in one of seven aggregates (catalogue, sales, money, customer, content, settings,
    agent/audit), names each aggregate's write door and the four points where a shop meets an outside
    system, and marks what is not built yet as planned. An agency or an AI working in a shop can read it
    before adding a table or a write path. It is only a document: nothing changes at runtime.

  • An owner moving a shop can now see whether the saved redirects work on the new site, not only
    that they are saved (MIGD-2).
    migration.run_checks runs three new checks, with the runtime flag
    migrationDashboard on (off by default); none writes a redirect. redirect.imported, required for
    "Ready for DNS switch", asks the new site for each saved source: it passes when the row answers its
    saved status once, to its saved target, then 200, and names each row with a chain, a loop, a wrong
    status or target (another locale than the saved one is another target), or a target not answering
    200. A target on another site, or on another scheme than the new site's (an http:// row on the
    domain that moves), reads inconclusive. It reads skip with no redirect saved, inconclusive until
    its last chunk, and a redirect saved after
    a pass makes that pass stale. redirect.active compares the saved rows with what the proxy reads
    (the Redis map with UPSTASH_* set, else the table) and the site's own answer for a sample, and a
    row that fails reads "saved but not active", a warning. redirect.legacy-shadow lists frozen paths
    the engine's old slug redirects (/produkt/, /kurv/ …) answer first, unless a permalink stored at
    that moment does.
    On the default URL shape every relative redirect is two hops, 301 then the locale's 307, so it reads
    as a chain. /admin/migration shows each check's latest status; the rows are in the tool's answer.

  • The database gains the columns and the one table that the WooCommerce import, before-prices,
    shipping classes, option snapshots and other payment providers will build on (schema batch B).

    All nullable: ProductVariant.externalId/source, Product.compareAtDkk/shippingClass,
    stockPolicy on both of those (whether a part is drawn from stock, backordered or not counted),
    Page and Post .permalink/externalId/source, OrderItem.optionSelections and
    Order.paymentProvider/paymentRef/cvr/ean/reference, plus the table MediaAlias with one
    row per old image URL of a migrated site, and an index on Order.paymentRef. Nothing uses them yet, so a shop looks and behaves as it
    did; each arrives with its own change. Only orders.get and gdpr.export_user, the two agent tools
    that return a whole order, show them: their answers list the new columns, all null. The public
    tools and the JSON-LD do not. Run pnpm db:push first (see Upgrading).

  • An owner can preview a WooCommerce import from the terminal: pnpm woo:import prints what an import
    would do to this catalogue, and writes nothing (W21-live-2a-2b).
    The shop is the migration project's
    sourceUrl. It prints the counts per verdict and the first 50 rows, those to act on first; --json gives
    them all. --scope and --only category:<id>,product:<id> narrow it, and a typo, a repeated flag or an id
    the shop does not list stops it. A wc/v3 key (WOO_AUTH_USER, WOO_AUTH_PASS) adds exact stock for new
    products. No project, half a key, a key over http, another shop's baseline or another live run stops it
    before any request, and --apply answers that it is not in this version. Measured on a local file database
    with a fake shop: the file's bytes do not change. It has not run against a live shop or on Turso.

  • The WooCommerce importer can read a product's exact stock with a wc/v3 key, and the catalogue as one
    point in time (W21-live-2a-2a).
    pnpm woo:import calls both.

  • The WooCommerce importer has the ledger, lease and lock its writes will run under (W21-live-2a-3).
    lib/woo/ledger.ts keeps the last run's baseline beside the rest of MigrationProject.settings, refuses
    another shop's baseline and a second live run, and stops a run that lost its lease. pnpm woo:import and
    migration.woo_plan read it; nothing writes it yet, so no baseline exists on any shop.

  • The WooCommerce importer has its verdict core: one pure decide() that its dry run and every write
    will share, and a product without a usable price now maps to no price instead of 0 (W21-live-2a-1).

    Nothing is written yet: migration.woo_plan (W21-live-2a-1b, under Changed) and pnpm woo:import call
    decide(), and nothing has a write. Once a run does, a product that is not simple is skipped, a
    row deleted here stays deleted, a slug, sku or permalink another row holds is a conflict, a local edit
    is kept, only the field group the source changed is updated, and an update never carries stock. A
    missing price blocks a create, while a name or description change to a product the source sends no
    price for still lands and keeps the price here; a negative stock count is created as 0 with a warning. Mapping version 2 drops a product's
    WordPress status and Yoast title and description (W21-live-4 brings them back), maps a category with no
    description to none, in the form it is written and read back, and maps a price that is empty, not in
    whole minor units or above what the price column holds (2,147,483,647 øre) to null with a noPrice
    warning. Text maps as a column reads it back: a short description cut at 500 characters, counted as the
    admin form counts them, never splits a character, though an emoji built from several, such as a flag,
    can be cut between them; a lone surrogate or a NUL becomes U+FFFD. The mapping shows in migration.woo_plan
    in three ways: mappingVersion reads 2; a product priced above that limit, which used to map without a
    word, now adds a noPrice mapping warning; and a sku or relative permalink holding such a character is
    compared in that form, so a row colliding with another only there is a conflict.
    Not covered yet: every write (W21-live-2a-4 and 2a-5).

  • The migration board's required check seo.product-jsonld now runs: each old product page's
    Product structured data is held against what the new product page emits (MIGD-4b).

    migration.run_checks reads the JSON-LD on both pages of every frozen product URL that url.parity
    found on the new site, in whatever shape it comes (one object, an array, Yoast's @graph, an
    AggregateOffer, a ProductGroup with its variants inside it or beside it). It compares the SKU, the
    price in integer minor units (a variable product's lowest), the currency (a page naming none is in the
    shop's own), the availability (http, https and the short form read the same) and how many different
    images are named, never their URLs, since those change until the media import lands. A difference fails
    with its old and new value, and so does a new page with no Product or no offer. An old page with no
    Product, or a variant URL (?attribute_*), reads skip. An old page that cannot be read, one price on
    it that is not a number, or offers on it in two currencies read inconclusive, because the lowest price
    is then not known. So does a row with no difference when either page is cut at the size cap or holds a
    JSON-LD block that does not parse, because what was not read could hide a cheaper variant. An old offer
    with no price against a new page that names one is a warning, like no old offer at all, because a
    product imported without a price would otherwise show Google 0.00. So a run passes, and counts toward
    "Ready for DNS switch", only when every product row passes. A product marked
    attributes.leadOnly or attributes.catalogOnly is left out and counted apart, but nothing sets those
    marks yet. It runs only through the tool, with the default-off migrationDashboard on, after
    url.parity and before the switch, because it reads the old page live.

    A pass means the check found nothing against the new page in what it read, not that everything was
    compared. A variable product is held by its lowest price and one availability (in stock when any offer
    is), not variant by variant. These known cases also pass with a value not compared, though no measured
    shop was shown to write them:

    • Both pages make an offer naming no price.
    • A value written where the reader does not look counts as none, such as a price only in highPrice or
      a SKU only on an offer.
    • An offer naming no currency takes the one another offer on its page names, so on a DKK shop an old
      10 USD beside an old 5 reads as 5 USD and agrees with a new 5 USD.
    • An image that is a number or a nested list reads as no image, and an image node naming nothing
      reads as one image.
    • An offers entry that is not a node, or refers to nothing, is left out.
    • Nesting past 32 levels and a JSON-LD block never closed on a page that was not cut are not read, and
      not counted as unread.
    • A node described twice under one @id is not merged, so one description goes unread.
  • A quote is now an order status, behind a new quotes flag that is off by default (TIL1-a). With
    the flag off nothing changes for a shop: the orders.* tools publish the same 12 statuses, and
    /admin/ordrer has the same tabs and the same status form. The one difference in the published tool
    catalogue is quotes in features.get's list of flag names, as with any new flag. Set
    quotes: true in brand.config.ts and redeploy, and /admin/ordrer gets a Quotes tab, on the
    workspace and on the plain list, and quote joins the status enum of orders.list and
    orders.update_status. An order in quote is not paid: a late Stripe payment on it is refused and
    written to the audit log, as on any status not awaiting payment, and the reconcile cron does not look
    at it. An operator can move it to awaiting payment or cancelled, and no move leads into it. It counts
    as revenue nowhere, and the dashboard, analytics.summary and the customer list do not count it as an
    order or its lines as units sold. A status move on it mails nobody and moves no stock, and a receipt,
    a shipping mail, a supplier's packing slip, a return and a refund are refused on it. A customer does
    not see it in their account, on the receipt page, over UCP or in the address lookups; a GDPR export
    still holds it. There is nothing to use yet: nothing creates a quote until TIL1-b and OPS-11, which is
    why /built-with-cartwright and llms.txt do not claim it. Moving a quote to awaiting payment draws
    no stock, so until TIL1-c draws it, a cancel from there gives back stock it never took.

  • An agent can now ask a shop which order statuses it has and what each one means, with
    orders.list_statuses (ORD1-a2).
    With an orders:read key, over REST or MCP, it returns every
    status in the shop's order: key, label, colour, the statuses the operator state machine allows a move
    to it from, and the meaning its row declares (paid, final, counts as revenue, effect on stock, mails
    the customer, shown to the customer). On an empty table and on one seeded 1:1 the answer is the same
    12 statuses in the same order, byte for byte. A status a shop's row adds shows with its declared
    meaning, no moves and usableByUpdateStatus: false, because orders.update_status keeps its fixed
    list and refuses it; no screen can add such a row yet. A key or a label decides nothing: a row called
    paid that declares isPaid: false reads isPaid: false, and its moves stay the machine's. The tool
    writes nothing and leaves no audit row. It is not on the anonymous allowlist, not in the storefront
    chat and not offered to the /admin/ai chat. The one visible change on a shop that does not call it,
    the three canaries included: the public tool catalogue (GET /api/v1/tools, /openapi.json) lists
    one more tool, 96 in all.

Changed

  • migration.woo_plan and data.counts read the catalogue and the stored import baseline as one point in
    time (W21-live-2a-2b).
    With no baseline stored, which is every shop until the importer's writes land, the
    plan is what it was: update stays 0, and the tool's description, input and output do not change, so a shop
    with the default-off migrationDashboard off serves the same text. A baseline of another shop, or one this
    version cannot read, stops migration.woo_plan before any request and data.counts with no run recorded. One limit: data.counts reads its imported ids just before that transaction, so an import committing between the two can turn a warning into a false failure; a rerun clears it.

  • migration.woo_plan now shows the verdict the importer's writes will run: what the source alone says,
    then the one decide() over this catalogue's rows (W21-live-2a-1b).
    The dry run holds no verdict of its
    own any more, and it still writes nothing. It is reached through migration.woo_plan, the /admin/migration
    card and data.counts, behind the default-off migrationDashboard. Its output schema is unchanged. What
    it now shows:

    • A product that is not simple is a skip (unsupportedType) whatever else holds, where it was planned
      like any other. Skips are listed after the rows to act on, so they cannot push a conflict past the cap.
    • A slug, sku or permalink two source rows share is a conflict (keyDuplicated) on both rows, where the
      first row listed kept its plan and only the second was a conflict. A row counts as a claimant even when it
      is itself held back, and this comes before a key taken here. What the first row carried, if it is not here,
      is now blocked too.
    • A simple product with no usable price is blocked (noPrice), where it was a create.
    • A row already here is compared with the source: unchanged when they match, conflict (noBaseline)
      when they differ, where every such row was a conflict. update stays 0 until the importer keeps a
      baseline, since without one nothing says which side changed.
    • A product soft-deleted here is a skip (deletedHere), where it was a conflict or blocked.
    • A row's own key taken here (keyTaken) comes before a parent or category that will not exist, so such a
      row is a conflict where it was blocked. A row already here is compared before that gate too.
    • A row whose parent or category exists here is no longer blocked by a conflict further up that chain, where
      the reason wrongly said the parent did not exist.
    • A category under a parent loop in this catalogue is blocked (parentLoop), where it was a create, and
      so is what it carries.
    • A row already here names its id (dbId) whatever its verdict.
    • Reasons carry their code: keyTaken: slug "x" is taken by…, keyDuplicated: slug "x" is also claimed by…,
      dependencyMissing: parent 10 does not exist here (was "parent 10 conflicts and does not exist here"). A
      product with no usable price under a category that will not exist here says noPrice.
    • extraCategoryDropped reads "category 12 does not exist here" whatever the cause. A secondary category is
      dropped only when it will not exist here, so one the source calls an orphan or does not list stays linked
      if it is here. The warning is no longer given for a row that stops first (not simple, a key conflict,
      deleted here), and is now also given for a product blocked by its primary category.
    • data.counts reads the same plan. A row the plan now holds back is skipped with its reason where it was
      missing, so a run that failed only on those no longer fails: it is a warn, or inconclusive when a list
      is incomplete, and neither counts toward the DNS switch. A product deleted here is skipped under the code
      skip. A row the plan no longer blocks, as above, and that is not imported, is missing.

    Nothing else differs, measured side by side with the previous plan over 14,400 snapshot and database states:
    the order of the rows, every other mapping warning, the snapshot warnings, the variations and the rows gone
    from the source are identical. Not covered yet: every write (W21-live-2a-4 and 2a-5).

    The flag refuses the call; it does not hold back the tool's description, which this rewrites to say the above.
    So a shop with the webshop module and the flag off gets one change: that text, which anyone can read at
    GET /api/v1/tools and GET /api/v1/tools/migration.woo_plan while mcpPublic is on, and at /openapi.json
    and /api/openapi.json whatever that flag says. A key with settings:read reads it in MCP tools/list, and
    the admin chat's model is told it. Measured on a local server with the flag off, against the previous build:
    those listings differ in that text alone, and the home page, /developers, /built-with-cartwright, the
    sitemap, llms.txt, /.well-known/mcp.json and an anonymous MCP tools/list came back the same.

  • next moves to 16.4.3, whose font fix ends the random next/font/google queries have exactly one entry build failure in our measurement. It carries "Fix extensionless Google font URLs in
    both bundlers" (vercel/next.js#100277). Measured on two fresh --profile full scaffolds, each built
    alternately: 16.4.2 failed 6 of 20 builds, 16.4.3 failed 0 of 20. eslint-config-next moves with
    it. 16.4.3 was public for a week. To take it in your own shop:
    pnpm add -E next@16.4.3 && pnpm add -D -E eslint-config-next@16.4.3.

  • vitest moves to 4.1.12, which closes two moderate advisories in @vitest/mocker
    (GHSA-qxg6-89mg-rqv8, GHSA-xp26-3454-mjgp).
    It is a dev dependency, so pnpm audit --prod was
    already clean; plain pnpm audit now lists none too. 4.1.12 was public for two weeks.

  • A cart line's unit price now comes from one function, unitPriceDkk in lib/pricing.ts, and
    nothing a customer sees changes.
    The rule, the variant's price or else the product's, was written
    out at 22 places. If your fork writes it out again in app/, lib/, components/, plugins/,
    designs/, scripts/ or prisma/, pnpm test goes red and names the line; call the function
    instead. A default (?? null), a validation (!variant.priceDkk || …) or a comment does not trip it.

  • What follows an order becoming paid now fires from one function, lib/orders/on-paid.ts
    (ORD0-a).
    The Stripe webhook, the reconcile cron, mock-mode checkout and ACP each had their own
    copy of the receipt and the owner mail. Nothing a customer or a shop owner sees changes: a replay
    of signed, repeated and late events gives the same mails on every path as before, once each.

  • Agent tools now carry a gate saying which shops and callers they are for, and nothing reads it
    yet (SURF1-a).
    It sits on 78 of the 95 tools; the other 17 are there for every shop. lib/surface
    holds the rule and the table of which modules a shop's flags leave active. Nothing an agent or a shop
    sees changes: tools/list, /api/v1/tools, /openapi.json and /.well-known/mcp.json were compared
    byte for byte before and after on four shop profiles and are identical, and the field is never
    published.

Fixed

  • Refunding a return on an order charged in another currency now sends the right amount. The amount typed in the
    shop's base currency went to Stripe unconverted, so 100 kr on a EUR order refunded €100. The return, the order note and
    the customer's mail now record the base-currency amount too. Shops without multiCurrency notice nothing.

  • A real person's phone number, email and name are gone from the engine's comments and test fixtures.
    They were never used at runtime, and invented values took their place. Older tags still contain them. A shop owner
    or an agency notices nothing.

  • A return can no longer put back stock that cancelling an unpaid order already put back. The admin
    still let an operator create and receive a return on such an order, which counted the units twice,
    and a refund or dispute landing after the cancel did not change that. A return is now refused on an
    order awaiting payment and on one cancelled before it was paid, and the message says why. A paid order
    an operator cancelled keeps its return, because that cancel gives no stock back.

  • The Crema homepage's agent-readiness score now belongs to the shop showing it. It asked about the
    address in brand.config.ts, so a shop that set its domain in the setup wizard could show the score
    and report of another address. It now asks about the same runtime address as the sitemap and the
    canonical tags.

  • A mail scanner opening a supplier's packing-slip link no longer marks the goods shipped. The
    link now opens a page with one button, and only pressing it marks the fulfilment order shipped.
    Pressing twice is safe, and the press lands in the audit log. The old receipt said the shop "has been
    notified"; nothing sends that, so the text is gone. The token still never expires, and no admin page
    shows the mark yet; it can be read in the audit log.

  • content.import_site now obeys the siteImport switch in /admin/features. It read
    brand.config.ts, so a shop that switched the flag on in the admin still got "Site-import is
    disabled. Enable the 'siteImport' feature flag (/admin/features) first", and a shop with it on in
    brand.config.ts that switched it off in the admin could still run it. It now reads the same merged
    flags the admin shows. Reachable today, with a settings:write key; a shop that never touched the
    switch sees no difference.

  • Order statuses can now be read from data, and nothing a shop sees changes yet (ORD1-a1). The
    12 statuses are now also rows that each declare what they mean: paid, final, counts as revenue,
    effect on stock, mails the customer, shown to the customer. The admin's order list and order page
    read labels, colours and order through getOrderStatuses(), which falls back to the built-in rows
    when the OrderStatus table is empty, missing or unreadable. Measured on both pages, with
    orderWorkspace on and off, for all 12 statuses and a legacy string: the HTML is byte for byte what
    it was, on an empty table and on one seeded 1:1. pnpm db:setup writes the 12 rows on a fresh
    database and never overwrites a row; an existing shop keeps its empty table and has nothing to do.
    There is no way to add or edit a status yet. A row that changes the order moves the options in a
    status select, never the one it opens on: that stays the state machine's first step. The money path
    does not read the table: the Stripe webhook, the reconcile cron, order creation and checkout keep
    their literals, an ESLint rule and a test hold them to it, and a row called paid with
    isPaid: false changes no payment, stock or revenue.

  • Every status change on an existing order now goes through one function, transitionOrder in
    lib/orders/lifecycle.ts (ORD0-b), and nothing a customer or a shop owner sees changes.
    If your
    fork writes Order.status itself, pnpm test goes red and names the line; call the function instead.

  • url.parity, required for "Ready for DNS switch", no longer passes a page answering another 2xx
    than 200.
    A 202 with a page in it read same and passed, while url.content, seo.head and
    seo.product-jsonld said the same page no longer answers 200. It now reads error with the status
    named. The check runs only through migration.run_checks, with the default-off migrationDashboard on.

  • seo.product-jsonld no longer passes a row whose old SKU, currency or availability it could not read
    (MIGD-4c).
    Written as a list, an object or a value it does not read, such a field counted as none, so
    an old USD 999 passed as the new page's DKK 999. It now reads inconclusive. On the new page it is a
    fail wherever the old page has a value to hold it to; a SKU or availability the old page does not name
    has none, so such a row can pass. No measured shop writes these shapes. The known cases that still pass
    are named in the MIGD-4b entry above. It runs only through the tool, with the default-off
    migrationDashboard on.

  • gdpr.erase_user now clears an order's billing address too. It anonymized the e-mail, shipping
    address and phone number but left the billing* columns. Nothing writes those yet, so no customer's
    billing address was left behind. It also clears the new cvr, ean and reference, and keeps the
    amounts and payment references as before. A test now goes red for any Order column that
    lib/gdpr/pii-map.ts has not classified as erased or kept.

  • /.well-known/ucp no longer tells agents a shop negotiates prices. governance.agent_negotiation
    was true whenever the a2a flag was on, yet POST /api/negotiate takes the seller's floor price
    from the buyer's own request and commits to nothing, so no negotiated price could be honoured. The
    field is now always false. The ACP capability description and the ACP paragraph in llms.txt stop
    mentioning negotiation too. The a2a endpoints themselves are unchanged.

  • npm run build works on a machine without pnpm (INST1-a). On such a machine
    npx create-cartwright picks npm, and scaffold, seed, typecheck and tests all pass, but the build
    script called pnpm for its two prebuild steps and stopped with pnpm: command not found. It now
    runs them directly with tsx, so it needs no particular package manager, and pnpm build behaves
    as before. Node 26 ships no corepack, so corepack enable is no longer a way around it there.

  • A container image builds on Node 26, as docs/self-hosting.md has said since v0.65.1.
    docker build --build-arg NODE_VERSION=26 failed with corepack: not found, because Node stopped
    shipping corepack in v25. The Dockerfile now installs pnpm with npm install --global. Measured
    with this Dockerfile: the image builds, turns healthy and answers 200 on Node 26 and on Node 24;
    the default stays 22. On v0.65.1, use 22 or 24, or change that one RUN line yourself.

  • tests/setup/env.ts no longer makes storage recurse in Vitest's VM pools, or ignore a test's own
    fake.
    v0.65.1's Node 26 fix redefined localStorage and sessionStorage as getters that read
    jsdom.window. With pool: "vmThreads" or "vmForks" that window is globalThis, so the getter
    called itself and jsdom tests that touch storage failed with Maximum call stack size exceeded,
    on every Node version. The setup now leaves those keys alone in a VM pool. In the default pool,
    a test's globalThis.localStorage = fake was silently ignored; it holds again. Other tests still
    fail in a VM pool, with or without this, for reasons of their own.

  • v0.65.0's notes said every product page fails the migration board's SKU check. It does not.
    Since v0.59.1 a product page's JSON-LD carries the product's own SKU. url.content fails on sku
    only when the old page carries a SKU and the page here carries a different one or none. A product
    with no SKU here counts as different, because its JSON-LD falls back to the id. The v0.65.0 block
    below is corrected.

  • v0.65.1's notes said a Vercel project's Node setting can hold a shop on Node 24. It cannot.
    With engines.node at >=22 <27, the next deployment on Vercel runs on Node 26 whatever that
    setting says, as measured on 2026-10-30. To stay on 24, set engines.node to 24.x in
    package.json. The v0.65.1 block below is corrected.

  • Fraunces and Crema's three fonts are self-hosted, so a build no longer asks Google for them
    (FONT1-c-A1).
    Editorial Ink, Fable, Nocturne and Stillwater load Fraunces from
    app/fonts/fraunces/ (one font.ts with the weights 400–600, upright and italic, that the
    four packs used between them), and Crema loads its own Fraunces cut (the optical-size axis),
    Instrument Sans and IBM Plex Mono from designs/crema/fonts/<family>/, inside the pack, since
    the webshop module owns Crema. Sixteen next/font/google calls are gone, among them Fraunces, one
    of the families that failed builds at random on 24/10 ("next/font/google queries have exactly
    one entry"). Measured against the previous build: the same 216 @font-face rules (family,
    weight, style, range, metrics, file sha256), the same 21 preloaded files, and on the Crema,
    Editorial Ink, Nocturne, Stillwater and Fable homepages every text element renders with the
    same font instance (Crema's large headings keep its optical-size cut) at the same width. Fable
    and Stillwater's header brand name now reads --font-fraunces (was --font-fable-chrome /
    --font-stillwater-chrome), and Fable's metamorphosis frame titles too (was
    --font-fable-fraunces); a customised copy that reads an old name falls back to Georgia.
    cremaFontVars (in designs/crema/fonts/index.ts, was fonts.ts) is now a function — call
    cremaFontVars() — and the module no longer exports cremaDisplay/cremaSans/cremaMono.
    Still on Google: Hanken Grotesk, Manrope, Montserrat, Bricolage Grotesque, Sora, Oswald, Inter,
    Plus Jakarta Sans and JetBrains Mono. A pack installed with cartwright design install that
    imports app/fonts/fraunces needs that folder too; create-cartwright fetches it from 2.9.17.

Upgrading

Run pnpm db:push before deploying this version. It adds the columns and the table under Added;
every column is nullable, so no row changes and no table is rebuilt. Prisma names every column in its
queries, so on a database without them every read and write that takes a whole product, page, post or
order fails with no such column. On an existing database db push first warns about five new unique
constraints and asks "Do you want to ignore the warning(s)?", because it cannot tell that the columns
they cover are new and empty: permalink and (source, externalId) on Page and on Post, and
(source, externalId) on ProductVariant. Answer yes, or pass --accept-data-loss where it cannot
ask (an agent's or CI's shell). If the warning lists anything else, your database has drifted from the
schema: stop and look. On Turso, which prisma db push cannot reach, apply the same change with
prisma migrate diff and turso db shell. Nothing uses the new columns yet.