Skip to content

Releases

v0.68.0

Choose a tag to compare

@Teloz1870 Teloz1870 released this 27 Nov 22:53

Shops that ship parcels get the first half of a real delivery step: with shippingZones on, checkout charges the
zone's rates and lets the customer choose between them. Semantic product search works again on a shop with a
Gemini key (Google shut down the old default embedding model in January). With Resend configured in production, a
mail Resend refuses is no longer counted as sent, and a refused sign-in or password-reset link is no longer written
to a file on the server. API keys get tighter discount powers. This release
changes the schema: run pnpm db:push
(three columns on ShippingRate, seven on Order), then
pnpm embeddings:backfill once if the shop uses semantic search.

🔒 Security

  • hono and @hono/node-server move to patched lines (seven advisories published 2026-11-12). Both
    arrive only through @modelcontextprotocol/sdk, and the engine never loads them: /api/mcp uses the
    SDK's web-standard transport (server/webStandardStreamableHttp.js), and only the SDK's Node transport,
    which the engine does not import, pulls in @hono/node-server. The overrides in pnpm-workspace.yaml
    raise the hono floor from 4.13.5 to 4.13.16 and add one for @hono/node-server at 2.1.6; the lockfile
    resolves hono 4.13.18 and @hono/node-server 2.1.8, each public for at least three days.

    • hono below 4.13.16: GHSA-4m76-xfj5-7975 (mount() could forward a path past middleware scoped inside
      the mount prefix), GHSA-h7mg-cq63-vhpq (RegExpRouter skipped wildcard middleware for some routes),
      GHSA-46wx-v44x-9hh2 (csrf() did not check text/ping requests), GHSA-4h7h-rv7c-7m2v
      (validator('form') skipped multipart/form-data with extra parameters), all moderate, and
      GHSA-3gg2-335m-rxc6 (the css helper could be made to inject HTML), low.
    • @hono/node-server 2.x below 2.1.6: GHSA-qv5m-9pm6-hqp3 (an ECONNRESET during a WebSocket upgrade
      crashed the process) and GHSA-jpvv-r467-5p4w (a backslash in the path was read as a separator, past a
      reverse proxy's path rules), both moderate.

    pnpm audit --prod goes from nine findings to two; the two left are the build-time glob and minimatch
    advisories under @sentry/nextjs named under Changed. To fix it in your own shop: copy the two selectors
    into your pnpm-workspace.yaml overrides and run pnpm install.

Added

  • Checkout's delivery step: the customer chooses how the order is sent (SHIP0-b, part 2a). When the
    zone for the shop's country has more than one rate that fits the parcel, checkout lists them (name,
    delivery time, price) and the order summary follows the choice; the cart shows "Shipping from X". The
    order records the choice (rate, name, carrier, shipment template) and Shipmondo gets the chosen rate's
    template, else the shop's default. A choice that is no longer an option is refused, never swapped.
    Pickup rates are held back (neither offered nor charged) until the pickup-point picker (part 2b).
    Needs pnpm db:push (seven new columns on Order).
  • A shipping rate now says how the parcel reaches the customer. Each rate in /admin/shipping has a
    delivery type (to the door, or a pickup point), an optional carrier code and an optional shipment
    template id. A pickup rate needs a carrier, because it names whose pickup points to offer. The delivery
    step above reads these fields: checkout offers the delivery rates and records the chosen rate's carrier
    and shipment template; pickup rates are held back until the pickup-point picker (part 2b). Needs
    pnpm db:push
    (three new columns on ShippingRate).
  • Shipmondo: orders can carry a default shipment template (SHIPMONDO_SHIPMENT_TEMPLATE_ID). A first
    run against Shipmondo's sandbox showed that a sales order without a shipment template cannot be booked
    in one click or by an automation: Shipmondo answers "Shipment template is not set up". With the id set,
    every sales order is created with that template; /admin/shipmondo lists the account's templates with
    their ids and says when the chosen one does not exist. Unset, nothing changes.
  • Shipmondo: sending by hand (SHIPMONDO_SEND_MODE="manual"). A shop that sends some orders
    another way (a supplier ships them, the customer collects them) can keep every order out of
    Shipmondo until someone sends it from /admin/shipmondo: then neither payment nor the sweep
    sends anything, while tracking for the orders that were sent still comes back. Unset, the
    plugin sends at payment as before. /admin/shipmondo says which mode the shop is in.
  • Bounded API-key discounts (apiDiscountBounds, runtime flag, default off). With it on, a
    discount code an API key creates (discounts.create, marketing.create_campaign, over REST or
    MCP) must set usageLimit and validUntil, or nothing is created. A code above
    policies.apiDiscountCaps (default 50 % and 50000 øre = 500 kr) is created switched off, and the
    response says so; a campaign with such a code leaves the banner and preview mail alone, and the
    key cannot switch the code on with discounts.toggle. The admin chat and /admin are unchanged.
    marketing.create_campaign also takes an optional usageLimit, stored when given. Off, nothing
    changes.

Changed

  • The API-key discount bounds refuse with a 4xx and a code, not a 500 (TOOL-REFUSAL-4XX-b). With
    apiDiscountBounds on, an API key's discounts.create or marketing.create_campaign without usageLimit
    or validUntil now answers 409 discount_limit_and_expiry_required, and a key that tries to switch on
    (discounts.toggle) or re-price (a campaign on a live code) a code above the caps answers 409
    discount_above_cap, each with its message in detail; they used to be a 500 "internal service error".
    409, not 422: the body is valid against the published schema, and 422 stays validation_failed. The
    toggle's message now names the cap instead of the code's stored value. A campaign's draft code that
    collides with one created a moment earlier is 409 discount_code_exists, as in discounts.create. Both
    tools now cap the code at 64 characters (after the trim), so a refusal cannot echo an arbitrarily long
    string; a longer code is a 422. discounts.toggle keeps no cap, so a longer existing code stays reachable.
  • A tool's business refusal is a 4xx, not a 500 (TOOL-REFUSAL-4XX). Over REST (POST /api/v1/tools/<name>)
    and MCP, discounts.create on a code that already exists now answers 409 with code: "discount_code_exists",
    marketing.create_campaign on a switched-off code 409 with code: "discount_code_switched_off", and
    discounts.toggle on an unknown code 404 with code: "discount_not_found". Each keeps its own message in
    detail (MCP: the isError text and structuredContent.error), where it used to be a 500
    tool_execution_failed with the generic "internal service error" text and "Retry later". A caller that
    matched on 500 for these refusals must match the new status or code; retrying them unchanged is refused
    again. Every other handler failure is still a 500 with the generic text, so no handler, database or provider
    detail crosses the boundary. The OpenAPI document now lists 404 and 409 for every tool. Tools raise it with
    ToolRefusal (lib/tools/refusal.ts); other tools' refusals still answer 500 until they are converted.
  • Node 22.12 is the floor (engines.node is now >=22.12 <27). Tailwind 4.3.4 and later require()
    an ES-only package as it loads, which Node 22.11 and earlier cannot do: there Tailwind's PostCSS plugin fails
    to load with ERR_REQUIRE_ESM, so the CSS cannot build, while engines still allowed those versions. Only a shop building on Node 22.0–22.11 is affected;
    it needs a later 22, or 24 or 26. Vercel and the container image already ran a newer Node.
  • Checkout charges the shop's shipping rates (SHIP0-b, part 1). With shippingZones on in Features and a
    zone for the shop's country (policies.country), an order pays that zone's cheapest rate for the parcel's
    weight, and the cart, checkout, agent quotes and ACP sessions show the same price (checkout names the rate); once a
    customer picks another rate in checkout's delivery step (under Added), the order pays that one.
    With zones off, or no zone for the country, nothing changes: the flat rate, byte for byte. Zones that cannot
    be read now refuse the order instead of silently charging the flat rate (PAY1). The flag reads its runtime
    value, not the build-time one. Choosing between rates is the delivery step under Added.
  • Dependencies moved to their newest releases inside the current majors, each public for at least
    three days.
    ai 7.0.164 with @ai-sdk/anthropic 4.0.98, @ai-sdk/google 4.0.113,
    @ai-sdk/openai-compatible 3.0.86 and @ai-sdk/react 4.0.168, @modelcontextprotocol/sdk 1.32.2,
    @sentry/nextjs 10.78.0, @upstash/redis 1.41.0, botid 1.5.12, lucide-react 1.70.0, resend
    6.37.0, tailwindcss and @tailwindcss/postcss 4.3.5, postcss 8.5.32, vite 8.3.6,
    @playwright/test 1.65.0 and @typescript-eslint/parser 8.72.1. No schema change and no code
    change: a shop picks them up with pnpm install after pulling. next 16.4.5 is now older than
    the three-day cutoff, so its exception in pnpm-workspace.yaml is gone.
    Two moderate advisories stay open, both in build-time code: glob 13 (GHSA-3g3m-2fjr-6pw4) and
    minimatch 10 (GHSA-g3hv-75wg-m249) come in through @sentry/nextjs's source-map upload plugin,
    and the fixes exist only in the next majors (glob 14, minimatch 11), which no @sentry/nextjs 10
    release accepts yet. minimatch 10 is also in the development-only ESLint toolchain
    (@typescript-eslint/typescript-estree), so it leaves the lockfile only when both move.
  • The media library records the Gemini model that actually wrote an image's alt text. With
    altTextAi o...
Read more

v0.67.0

Choose a tag to compare

@Teloz1870 Teloz1870 released this 09 Nov 00:04

Upgrade if you host your shop yourself: next moves to 16.4.5, which fixes seven moderate Next.js
advisories, two of which reach a self-hosted shop (CW-2026-015). Also in this release: an agent can save
an order's tracking and tell the customer (orders.set_tracking), the first slices of a Shipmondo plugin
(default off, not yet confirmed against a live Shipmondo account), and returns on one order line can no
longer add up to more than was ordered. No schema change: no pnpm db:push is needed.

🔒 Security

  • next moves to 16.4.5, which fixes seven moderate Next.js advisories (CW-2026-015). Two reach a self-hosted
    shop, whether it runs next start or the Dockerfile's standalone node server.js; a shop on Vercel is not
    exposed to them. The image optimiser at /_next/image, which the engine serves
    through images.remotePatterns, could be made to process an SVG even with SVG support off, which is the default
    (GHSA-7qx7-33qx-rqx2). A route that returns a fetched response unchanged could mix up responses behind an
    HTTP/1.1 proxy (GHSA-pc58-hwjq-p385); no engine route does that. The other five concern use cache, Cache
    Components and Edge routes, which the engine does not use. eslint-config-next moves with it. 16.4.5 was less than a
    day old when it was taken in, so pnpm-workspace.yaml exempts its exact versions from the three-day cooldown until 2026-11-06 18:01 UTC. To
    take it in your own shop: copy that minimumReleaseAgeExclude block, then
    pnpm add -E next@16.4.5 && pnpm add -D -E eslint-config-next@16.4.5. Every next below 16.4.5 is affected,
    even where pnpm audit is clean: GitHub's advisory data lists four of the seven as fixed in earlier versions,
    but the release notes put all seven in 16.4.5.

Added

  • An agent can now save an order's tracking: orders.set_tracking. After booking a label outside
    the shop — at a carrier, or through Shipmondo's own MCP server — Claude can write the carrier, tracking
    number, link and expected delivery days back on the order, and with notifyCustomer: true email the
    customer that it has shipped. Before this, only the admin order page could, so a label booked by an
    agent left the customer without a tracking number. It writes through the same code as the admin
    tracking form, replaces the whole tracking as that form does, refuses a quote, and is confirmed
    first in the admin chat.
  • Shipmondo plugin, first slice (plugins/shipmondo, flag shipmondo, default off, not implemented
    yet).
    Shipmondo becomes the engine's shipping aggregator, on the model of Shipmondo's WooCommerce
    plugin: a paid order goes to Shipmondo as a sales order, the shop books the label there for 50+
    carriers, and the tracking comes back to the order. This slice holds the parts every later one needs:
    a typed client for the Shipmondo API v3 (types generated from Shipmondo's own OpenAPI spec by
    pnpm gen:shipmondo-types, cut to the endpoints the plugin calls), the order → sales-order mapping,
    and HS256 verification of Shipmondo's signed webhooks. Nothing calls it yet, so no shop changes; the
    flag says so in /admin/features and claims nothing in llms.txt. Credentials: SHIPMONDO_API_USER
    / SHIPMONDO_API_KEY (see .env.example).
  • Shipmondo: paid orders reach Shipmondo (/admin/shipmondo, still behind the shipmondo flag). The
    page shows whether Shipmondo is connected and the last 30 days of paid orders with their state there;
    an order is sent one at a time or all at once. /api/cron/shipmondo-orders sends what has not gone
    yet (CRON_SECRET; not scheduled in vercel.json, because Vercel's Hobby plan runs crons only daily, so
    call it from a scheduler every few minutes). An order is sent once: one run claims it at a time, its
    timeline records it, and a sales order already in Shipmondo is adopted only when it carries this
    order's own tag (cartwright:<order id>). Orders an operator marked paid are sent too.
    A refused send by hand is written on the order with Shipmondo's reason.
  • Shipmondo: a paid order goes to Shipmondo the moment it is paid. lib/orders/on-paid.ts, the one
    door every paid order passes, now schedules the paid-order hooks of optional modules
    (lib/orders/paid-hooks.ts), and the shipmondo plugin provides that seam. The work runs after the
    response (after()), so a slow or failing Shipmondo can neither delay the Stripe webhook's answer nor
    fail the payment; a refusal is written on the order once, and the sweep retries. A scaffold without the
    plugin gets paid-hooks.static.ts, a no-op, in its place.
  • Shipmondo: a label booked in Shipmondo brings its tracking back. POST /api/shipmondo/webhook
    takes Shipmondo's "Shipments: create" webhook, registered from /admin/shipmondo and signed with
    SHIPMONDO_WEBHOOK_KEY (HS256; nothing unsigned reaches the database). Shipmondo wants a 200 within
    3 seconds and documents no retries, so the route answers at once and applies the shipment after the
    response; the sweep then asks Shipmondo for the shipments of every sent order still awaiting one, so a
    delivery that was missed is fetched rather than lost. The tracking is saved through
    the same code as the admin tracking form, a paid order moves to shipped through the operator door, and
    the customer gets the shipping email. A Shipmondo account often holds other webshops' orders too, so a
    shipment is applied only when Shipmondo itself lists it as an outbound fulfilment, not cancelled, on
    the sales order this shop created (a return label never replaces the tracking). Each applied shipment is remembered by its id, so a repeated delivery changes nothing, even a
    late one after a newer parcel; a second parcel updates the tracking without a second email. The flag stays "not implemented" until a live Shipmondo
    sandbox run has confirmed the webhook's envelope.

Fixed

  • orders.set_tracking no longer tells a customer of a cancelled, refunded or unpaid order that it is on
    its way.
    notifyCustomer: true is refused for those orders (the tracking alone can still be saved),
    and an expected delivery window that ends before it starts is refused.
  • The shipping email escapes what it shows. The carrier, tracking number, tracking link, the
    customer's name and the product names went into the email's HTML as they were; they are now
    escaped, and a tracking link that is not http(s) is left out.
  • Returns on the same order line can no longer add up to more than was ordered. Each return was
    checked only against the ordered quantity, so two returns of 3 on a line of 3 put 6 back in stock. A
    new return may now name only what is left of the line, and a rejected one gives its units back. Two
    overlapping returns that already exist restock no more than the line: the one that would go over is
    refused when it is received, and the message says how many can still come back.
    Because a return now holds its units, the panel offers Reject on an approved return and Receive on one
    refunded before the goods arrived, which stays refunded. From an old tab, a rejected return can no
    longer be received or refunded, and a received or refunded one can no longer be rejected.
    A refunded return that would put back more than was ordered is told so, and that it cannot be
    rejected, so the stock is corrected by hand.

Upgrading

No schema change: no pnpm db:push is needed. The Shipmondo plugin is off, and /admin/features offers no switch
for it until it has been tested against a live Shipmondo account (docs/shipmondo.md).

v0.66.0

Choose a tag to compare

@Teloz1870 Teloz1870 released this 04 Nov 00:24

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 ...
Read more

v0.65.1

Choose a tag to compare

@Teloz1870 Teloz1870 released this 29 Oct 10:51

A security patch: upgrade. pnpm audit --prod on v0.65.0 lists one critical, nine high, ten
moderate and two low findings, all in dependencies (CW-2026-012), and v0.65.1 lists none. The audit
counts one finding per advisory and vulnerable version range, so an advisory that hits both
undici 6.x and 7.x counts twice; below, each advisory is named once. The
critical one, a middleware bypass in @sentry/nextjs's tunnel route, needs a webpack build, and
the engine builds with Turbopack. None of the others is known to be reachable from a request in a
shipped shop. Also in this release: Node 26, the new LTS, is supported, and an order cancelled
before it was paid gives its discount-code use back. No schema change: no pnpm db:push is needed.

🔒 Security

  • Dependency advisories closed (CW-2026-012). @sentry/nextjs moves to ^10.76.2, and the
    overrides in pnpm-workspace.yaml raise the floors of packages below our direct dependencies.
    Every version was public for at least three days.

    • @sentry/nextjs below 10.75.2 (GHSA-mchm-gjx6-7h55, critical): with tunnelRoute set, the SDK
      skipped middleware for every path under the tunnel path, not only the requests it forwards to
      Sentry. The engine sets tunnelRoute: "/monitoring", and app/[locale] matches any first path
      segment, but the advisory only affects webpack builds, and pnpm build uses Turbopack. A shop
      that builds with next build --webpack is affected for routes whose only authorization check
      is in proxy.ts (Next 16's name for middleware).
    • undici 6.x below 6.29.1 and 7.x below 7.30.1 (under @vercel/blob, jsdom and the AI SDK):
      four high advisories (TLS certificate validation bypass GHSA-2m5v-pch6-74hx, cache poisoning
      GHSA-4w7w-5xrc-9h26, and the denial-of-service advisories GHSA-qrxm-fqhp-jwvm and
      GHSA-xjj6-f33q-929c) and four moderate ones.
    • body-parser below 2.4.0 (GHSA-27r3-jxmh-p828, high) and qs up to 6.16.0
      (GHSA-6pq8-jhm2-2vcw, moderate), both under the MCP SDK's express, which the engine never
      imports.
    • zod below 4.6.6 (GHSA-mrhx-c7xc-m3w5, high): only the older copy inside
      @vercel/cli-config; the engine's own zod was already 4.6.7.
    • fast-uri below 3.1.9 under ajv (two moderate, two low) and ip-address up to 10.7.3 under
      the MCP SDK's express-rate-limit (GHSA-rxp7-6hxx-x8q5, moderate).

    To fix it in your own shop without upgrading, see CW-2026-012 in the advisory index.

Upgrading

Pull and run pnpm install: the dependency changes arrive through package.json,
pnpm-lock.yaml and pnpm-workspace.yaml. No schema change and no required new environment
variable. Node 22, 24 and 26 are supported (22 and 24 for the container image). On Vercel, the next deployment of this release runs on
Node 26; set engines.node to 24.x in package.json to stay on 24 (the project's Node setting
does not hold it back; see Node 26 under Changed). tsconfig.json now excludes **/agent-replays, and
eslint.config.mjs ignores **/agent-replays/**. If your own project has a directory of that name
that you want typechecked or linted, remove the entries.

Changed

  • Node 26 is supported (NODE26-READY). Node 26 became the active LTS on 2026-10-28, and
    engines now reads >=22 <27 instead of turning it away. The unit suite was red on Node 26:
    Node ≥ 25 puts its own localStorage/sessionStorage on the global object (on 26.13, without
    --localstorage-file, localStorage reads as undefined and sessionStorage is an empty
    store), and that shadowed jsdom's storage in jsdom tests
    (client-admin-prefix-welcome, 9 of 9). tests/setup/env.ts now points both at jsdom's in a
    jsdom file, and the PR gate runs the unit suite on Node 26 next to the Node 22 floor. .nvmrc
    and the Dockerfile default stay on 22. One exception: in this release the container image fails
    on Node 26 (corepack: not found), so use 22 or 24 there; the next release fixes it. On Vercel, this release moves production to Node 26:
    Vercel made 26 generally available on 2026-10-29, and a range that allows it builds and runs on
    26 from the next deployment, whatever the project's Node setting says (measured: Vercel's
    record for a deployment of a project set to 24.x reads nodeVersion: 26.x). A prebuilt
    deployment needs Vercel CLI 65.8.0 or later. To stay on 24, set "engines": { "node": "24.x" }
    in package.json. Node 26's built-in fetch uses HTTP/2 by default; set the Vercel environment
    variable VERCEL_FETCH_DISABLE_H2=1 and redeploy to keep HTTP/1.1 in Functions. A build on Node
    26 prints Prisma's notice that it supports Node 20.19+, 22.12+ and 24.0+; the build still
    succeeds. There is no data or schema to migrate.
  • A local copy of replayed projects no longer breaks typecheck, lint or the ownership tests. A
    locally ignored agent-replays directory holding whole replayed scaffolds was picked up by
    tsconfig.json's **/*.ts (tsc ran out of memory at 4 GB), by pnpm lint (37 errors from
    those projects) and by the ownership walk in tests/helpers/claims.ts. All three now skip it. A
    fresh clone has no such directory, so CI was never affected.

Fixed

  • An order cancelled before it was paid gives its discount-code use back (DRØM103-a).
    Checkout counts one use of a discount code when it creates the order, but cancelling an unpaid
    order only returned its stock, so every order cancelled before payment used up one use of a
    limited code for good. The cancel that wins the order's status write now also takes one off
    usageCount (never below 0) in the same transaction: an operator cancel, the
    payment_intent.canceled webhook, the reconcile cron and checkout's own rollback all count it
    once between them. Paid and already-cancelled orders are untouched, and past counts are not
    recalculated.

v0.65.0

Choose a tag to compare

@Teloz1870 Teloz1870 released this 28 Oct 23:55

No security advisory in this release. A magic link for an account saved with ASCII capitals now
signs in to that account instead of making a second, password-less one (on SQLite and Turso a
capital outside ASCII, such as Ö, still is not matched). A storefront page such as
/administration keeps its storefront buttons (/admin and /admin/… still hide them), a
signed-in visitor is no longer refused a page whose address only contains /account/login or
/account/signup, a homepage vibe page no longer renders blank in a language whose vibe tab was
saved empty, and a Vibe Sandbox save that leaves the HTML as it is keeps the German and Spanish
vibe HTML that Translate made. In the shared header, product cards and footers, the cart count,
product badges and footer links now grow with the visitor's own text size, as do the AI order
flow's right-of-withdrawal notice, the first-run welcome screen and the small text in the reviews,
blog and phone-widget plugins; at the default size they look
the same, and the crema design and other px text are later slices. For a move from WooCommerce,
the migration board (behind migrationDashboard, default off) gains checks for catalogue counts,
page content and head tags (counts and a few fields, not a full comparison; a product page fails the
SKU test only when the old page carries a SKU and the page here a different one or none), and the web DNS and its TTL, reads a WordPress
installed in a subdirectory, and a new library function writes the redirect CSV for the old
shop's system pages and feeds (no tool or screen calls it yet). Claude Haiku 5.5 can be picked as the AI model; the default stays Haiku 4.5. Each
entry below says where its fix stops.

Upgrading

Nothing to run: no dependency, schema or environment variable changes. pnpm lint has a new
rule, cartwright/no-module-scope-local-font-read: a design pack of your own that reads a
self-hosted font's .variable, .className or .style at module scope now fails lint — move the
read inside the component (see FONT-LOCAL-ROUTE-DROP under Added). A customer whose earlier
magic link already made a lowercased second account keeps signing in to that account; joining the
two is a data change this release does not make (see REG-EMAIL-CASE-c under Fixed).

Added

  • pnpm lint now fails when a design pack reads a self-hosted font's .variable, .className or
    .style at module scope (FONT-LOCAL-ROUTE-DROP).
    In the route-handler layer
    (/api/admin/designs/[slug]/export imports every pack) Turbopack drops the import of a
    next/font/local module with a single importer, so such a read failed pnpm build minutes in
    with "<font> is not defined", on a route nobody was editing. The new rule
    cartwright/no-module-scope-local-font-read names the line and the fix — read it inside the
    component, or wrap it in a function — and a unit test runs it over every pack and font module on
    disk. It covers files under designs/ and app/fonts/, and it recognises a font by its import
    path (…/font, the app/fonts/<family>/font.ts convention, including a namespace import and a
    font destructured out of one), a localFont(…) call in the same file, or a plain alias of either.
    It follows each binding through scope analysis, so a local variable that happens to share a font's
    name is not flagged, and an import written below the read is still seen. Destructuring
    (const { variable } = display) counts as a read, and so does a read that runs while the module
    loads even though it sits in a function or class: an immediately invoked function (also through
    .call/.apply), a static field, a static {} block or a computed member key. A font passed
    into an immediately invoked function as an argument is not followed. A local font re-exported under another module
    name, and next/font/google fonts (not seen to be dropped), are not covered. Nothing a shop owner or customer sees changes.
  • An opt-in Playwright project checks the WebMCP tools in a real Chromium, with no fake browser API
    (TREND36-a).
    pnpm test:e2e:webmcp-real launches Chromium with --enable-features=WebMCP and asks
    the browser itself, through Playwright's page.webmcp, which tools the storefront registered; it
    expects search_products, get_cart and navigate, checks that Chromium reports search_products
    as read-only, and calls it once. A browser or Playwright without the WebMCP API makes it fail, not
    skip. pnpm test:e2e does not run it (the project is default: false), it needs a webshop brand
    with webMcp on, and it is engine-only: tests/e2e/ and playwright.config.ts do not ship to the
    template. It does not cover the per-page tools, the cart-changing tools or checkout; the fake-based
    webmcp.spec.ts still covers those.
  • The migration board can now check that the imported catalogue holds as many categories and
    products as the WooCommerce shop (MIGD-5a).
    migration.run_checks with checkIds: ["data.counts"]
    reads the shop the way migration.woo_plan does (its public Store API, GETs only, about 45 seconds)
    and holds every category and product it lists against the rows imported here under their
    WooCommerce id. It is a pass only when every one is here and nothing imported is gone from the shop.
    A row the import leaves out on purpose is on a skip list with the importer's own reason — a variable
    or grouped product until schema batch B, or a row the import plan holds back as a conflict, orphan
    or blocked — and makes the check a warn, which does not count toward "Ready for DNS switch"; a
    missing row nothing explains, or an imported row the shop no longer lists, is a fail; a shop that
    cannot be read whole is inconclusive. The run keeps the first 50 differing ids. A product
    soft-deleted here does not count as imported. Behind the runtime flag migrationDashboard, and only
    on a site with the webshop module. It does not count pages, posts, variations or stock, and
    data.ids is not a check of its own yet: the id list lives in the data.counts run.
  • The migration board reads the web DNS and its TTL before the switch, and proves the DNS after it
    (MIGD-6a).
    migration.run_checks now runs dns.web and dns.ttl, one check per call, each
    finished in that call. dns.web looks up the domain that moves (settings.expectedHost, else the
    old site's host) and its www twin, and holds them against the new site: a CNAME to its host, or
    only its addresses (plus settings.targetResolve.ip when set, or the new site's own IP when its
    address is one) is a pass, with an IPv6 address matched in any spelling; a new-site host that resolves to no address reads inconclusive, so a
    CNAME to a host that does not exist is never a pass. Before the owner signs
    off the switch, a domain still on the old host reads skip with what it resolves to today —
    information, not a failure; after the sign-off it is a fail. A new site on a *.vercel.app alias
    is the exception, because Vercel answers a custom domain from other addresses than the alias
    (measured: demo.cartwright.app and demo-cartwright.vercel.app share none): a CNAME to Vercel's
    edge (cname.vercel-dns.com, *.vercel-dns-NNN.com) or its documented apex A 76.76.21.21 passes,
    though DNS cannot tell which Vercel project answers, and any other difference after the sign-off
    reads inconclusive, not fail — so a domain on Vercel's own nameservers stays inconclusive
    until settings.targetResolve.ip lists the addresses Vercel gave it. dns.ttl asks each name's own zone
    nameservers (a www delegated to a zone of its own is asked there), so the TTL is the one the zone
    sets, not what is left in a cache, and warns above
    300 s. A lookup that errors or takes longer than 3 seconds reads inconclusive. Neither check is
    required for "Ready for DNS switch". Behind the runtime flag migrationDashboard (default off);
    nothing on a storefront changes. Not covered: dns.mail (it needs the owner's DKIM selectors), a
    CNAME's own TTL (node:dns cannot read it, so such a name reads inconclusive), a tool to set
    settings.targetResolve, and requests to the new site under the production host name.
  • A WooCommerce migration can now produce the redirect CSV for the old addresses that get no
    page of their own (W21-live-6a).
    lib/woo/redirects-csv.ts reads the shop's wp/v2 pages,
    posts and shipping classes (GET only, through the existing read-only client) and, with the
    catalogue snapshot, writes the from,to,status file the Redirects import already takes: the
    checkout, my-account and shop pages (found by WooCommerce's own slugs — kasse, min-konto,
    butik, or the English ones — or the owner's) to /checkout, /account and /produkter;
    shipping-class archives to /produkter; /feed/ and its variants to the blog feed, the shop's
    feed to the Google product feed (or the homepage when that feed is off), and each product,
    category and post feed to its own page. Products, categories, tags and content pages are never
    a row: they answer at their own address. It never guesses: a role two pages claim, a query
    address (?p=, a shipping class without a pretty URL), a dotted path, another host and an
    address the engine already answers (/kurv/, which the engine sends to /cart itself) are
    listed as skipped with the reason — as are a shop page set as the site's front page (the
    importer refuses / as a source), a child page that only shares a system page's slug
    (/om-os/butik/) or sits on another host or outside the install's path, any address that
    keeps answering at itself (every page of a role two pages claim stays one), any path the engine
    answers at as a destination (/checkout/ as a shipping class), and a row whose destination is
    another row's source. A shop page already at /produkter/ needs no row, but its feed still gets
    one. A destination given with a locale prefi...
Read more

v0.64.0

Choose a tag to compare

@Teloz1870 Teloz1870 released this 25 Oct 09:38

No security advisory in this release. Six admin saves no longer erase a field: the category,
product and page edit forms no longer delete other languages or blank the stored English text, and
a page save, a Vibe Sandbox save, a service save and the translations screen no longer empty a page's
vibe HTML, a page's hero image, a service's translations or the English fields the screen does not
list (the Vibe Sandbox still sets the page body to its placeholder, as before). A password reset now
finds an account saved with capitals, by the rule login uses. The proxy reads whole path segments,
so a migrated /heron-hegn/x/ reaches the proxy and /en/administration is an ordinary storefront
path instead of the sign-in page. For a move from WooCommerce, migration.woo_plan (behind
migrationDashboard) plans what importing a live shop's catalogue would do without writing to the
catalogue. The retired agent checkout is removed, as v0.63.0 announced. Each entry below says where
its fix stops.

Upgrading

Nothing to run: the eight commits change no dependency, schema or environment variable. A value an
earlier admin save erased — a translation, a page's vibe HTML or hero image, a service's
translations — is not brought back; restore it from a backup if you need it.
/api/commerce/agent-checkout is removed, as v0.63.0 announced: it now answers 404 (see Removed).
Agents use the ACP checkout (/api/acp/v1/checkout_sessions) on a shop that has turned on ACP and
its payment step (ACP_PAYMENT_COMPLETION=1); without the payment step, completing a session
answers 501.

Removed

  • /api/commerce/agent-checkout is gone (B84). v0.63.0 made it answer 410 Gone, because it
    took a card payment without creating an order, and announced its removal (Deprecated). The file
    is deleted, so the path now gets the /api catch-all's answer, as any API path the shop does not
    have: 404 problem+json with code: "endpoint_not_found". Nothing in the engine links to it;
    /api/products/search stopped naming it in v0.63.0. An agent that still calls it should use the
    ACP checkout (/api/acp/v1/checkout_sessions) on a shop that has turned ACP and its payment step
    on (ACP_PAYMENT_COMPLETION=1), or send the buyer to the product's url.

Added

  • See what a WooCommerce import would do before anything is written (W21-live-7-a). The new
    migration.woo_plan tool reads the migration project's source shop over its public Store API and
    wp/v2 (GET requests only) and plans its categories and products against this site's catalogue. It
    returns the counts per action (how many rows an import would create, and how many it would hold
    back as a conflict, an orphan or blocked) with the first 50 of the rows held back, orphan
    variations among them; a row to create is only counted. It adds the first 20 of the rows here that
    are gone from the source and of what the mapping had to change (a rewritten slug, a missing
    price). The plan has update, unchanged and skip columns too, but until the importer exists
    (W21-live-2) they stay 0: a row already here from an earlier import plans as a conflict. On a
    fresh site, the migration case, there is no such row. It writes nothing to the catalogue; it keeps
    a summary that /admin/migration shows in a "WooCommerce import plan (dry run)" card: the counts,
    and the first 20 of the rows that need a look, of the rows gone from the source and of the mapping
    warnings. The tool sits behind the runtime flag migrationDashboard, has scope settings:read,
    and is one of the commerce tools that a scaffold without the webshop module leaves out. Prices are
    never converted: until you pass sourcePricesIncludeVat, every product reads as blocked, and so
    does every product when the value you pass differs from this shop's own pricesIncludeVat.
    budgetSeconds (10–240, default 60) bounds the read. The shop is read at the root of the
    project's address: a WordPress installed in a subdirectory (https://example.com/shop/) is not
    supported yet, because the project keeps only the address's origin. A shop that redirects (say,
    from the bare domain to www) is not followed: the tool stops and asks you to set the address the
    shop answers on as the source. Nothing imports the plan yet.

Changed

  • An anonymous /api/mcp tool call may carry at most 1,000 array elements and object members in its
    arguments (TREND30-a).
    The count is recursive and does not measure bytes. A larger call gets an
    isError: true result, and the tool never runs. No public tool takes an array, so no real anonymous
    call comes near the limit. Calls with an API key, and the 404 a shop with mcpPublic off sends,
    are unchanged. This is hardening only: it closes no known hole.

Fixed

  • Saving a category, product or page from its edit form no longer erases its translations
    (CAT-FORM-TRANSLATIONS-WIPE).
    The forms at /admin/kategorier/<id>, /admin/produkter/<id> and
    /admin/sider/<id> were never given the stored translations, so their English fields opened
    empty, and saving wrote those empty fields over the whole translations value: the English text
    was blanked and every other language was deleted — on a page, also the English Vibe Sandbox HTML.
    The forms now open with the stored English text, and a save changes only the translation fields
    the form shows; other languages and any other stored translated fields are kept. A Vibe Sandbox
    save, which goes through the same page save, now merges too; its new HTML replaces the older vibe
    HTML of every language, as mockup.set does, so a language the Sandbox does not edit falls back
    to the new design rather than an old one. Translations an earlier save already erased are not
    brought back.
  • Four admin saves no longer erase a field their screen has no input for: a page's vibe HTML, a
    page's hero image, a service's translations, and the English fields /admin/translations does not
    list (ADMIN-SAVE-KEEPS-UNSHOWN-FIELDS).
    Saving any page in /admin/sider emptied its
    vibeHtml, so saving the homepage there removed its mockup (from mockup.set, or the Danish HTML
    set in the Vibe Sandbox); the page form has no such field and now leaves it alone. Saving a page
    in the Vibe Sandbox emptied its hero image; the Sandbox has no such field and now leaves it alone.
    Each still writes the field it does show, and clears it when you empty it there. Saving a service
    in /admin/services emptied its translations, so the English copy made for it in
    /admin/translations was gone after the next edit; the service form has no translations field and
    now leaves them alone. Saving in /admin/translations replaced the whole English entry with the
    fields that screen shows, so it dropped a category's English long description and a page's English
    Vibe Sandbox HTML; it now changes only the fields it shows, and one you empty there is still
    cleared. To remove a page's vibe HTML, empty its Danish and its English HTML in the Vibe Sandbox
    and save — the Sandbox also sets the page's Danish and English body to its Vibe Page Layout
    placeholder, so write them again in /admin/sider — or, for the homepage, run mockup.clear,
    which keeps the body.
  • The proxy's path checks read whole path segments (PROXY-SEGMENT-BOUNDARIES). A path that only
    began like one of the proxy's own names was handled as that name. An address beginning /hero —
    /heroes/, /hero-sale/, a migrated /heron-hegn/x/ — never reached the proxy, so its stored
    permalink, its redirect row and the language redirect did not apply and it answered 404; now only
    the /hero folder itself is skipped (/hero and /hero/…, where the hero videos live), along
    with Next's files, favicon.ico, the opengraph-image, twitter-image and apple-icon routes
    and every path with a dot, as before. /en/administration, /da/admin-old/, /en/accounting
    and a path with /account/ further down (/x/account/y) were sent to the sign-in page, and a
    signed-in customer on /da/administration to the homepage; they are now ordinary storefront
    paths, answered by a page or by the 404. /apiary was treated as the API — no redirect row, no
    language, a 404 — in the site profile's proxy as well; it is now routed by language like any
    page. A redirect row on /apiary never fired, and one on /administration only after the
    language redirect (under localePrefix: "never" not at all); both answer the first request now.
    /admin and /account and everything below them, with or without the language, and /api and
    everything below it, are gated and routed exactly as before.
  • A password reset finds an account saved with capitals (REG-EMAIL-CASE-b). v0.63.0 made
    sign-up and login treat Ada@Example.com and ada@example.com as one account, but a password
    reset still looked the address up lowercased only, so for an account a shop holds as
    Ada@Example.com — every account signed up before v0.63.0 with a capital in it — a reset
    requested as ada@example.com sent nothing. It now finds the account whatever case it was saved
    in, by the rule login uses: an account spelled exactly as typed, otherwise the account a password
    login with that address signs in to, otherwise the only account there is. Where several accounts
    differ only in case and the rule cannot pick one, nothing is guessed and nothing is sent, as a
    login with that spelling is refused. The reset form now hands on the address as typed, so a
    customer who types it the way their account was saved gets that account's link, and the link is
    mailed to the address the account holds, not to the spelling typed. The lookup reads the accounts
    once for every address, after the form's rate limits and after the answer is sent. On SQLite and
    Turso a capital outside ASCII (JÖRG@…) still has to be typed the way it was saved, as for
    login. A magic link still looks the address ...
Read more

v0.63.0

Choose a tag to compare

@Teloz1870 Teloz1870 released this 24 Oct 13:58

Two moderate security fixes — upgrade: the public agent checkout no longer takes a payment without
creating an order (CW-2026-010), and a password-reset link no longer leaves its token in the address
bar, where GA4 sent it to Google (CW-2026-011). A deleted product can no longer be bought, and
sign-up, password reset and the login link are harder to script against. For a move from WordPress
or WooCommerce, the engine adds a migration board whose agent tools freeze the old sitemap and check
that every old URL answers on the new site; it serves a stored permalink at its own address once
urls.permalinks is on, lets a parent category list its subcategories' products and a product show
in each of its categories, and can plan — without writing anything — what importing a live
WooCommerce catalogue would do.

🔒 Security

  • The agent checkout no longer takes a payment without an order (CW-2026-010, B84; moderate).
    /api/commerce/agent-checkout — public, behind no flag, and named as checkoutEndpoint on every
    /api/products/search row — opened a Stripe payment page for a product and created no order. The
    buyer could pay, the Stripe webhook skipped the payment because no order was attached to it, the
    shop recorded nothing, and the buyer landed on "page not found". The route now answers
    410 Gone to every request before it reads the product or contacts Stripe, with a problem+json
    body (code: "agent_checkout_retired"). On a shop where the ACP checkout can take the payment —
    acp.enabled on and ACP_PAYMENT_COMPLETION=1 set — that body points to it
    (POST /api/acp/v1/checkout_sessions, which creates the order with the payment and refunds the
    payment if the order fails); on any other shop, to the product page. The search
    rows no longer carry checkoutEndpoint. If your shop has Stripe connected, look in the Stripe
    dashboard for Checkout Sessions whose metadata has source: agentic_commerce and a productId:
    each paid one is a payment with no order in the shop.
  • A password-reset link no longer leaves its token in the address bar, where GA4 sent it to Google
    (CW-2026-011, RESET-TOKEN-URL-LEAK; moderate).
    The emailed link opened
    /account/reset-password?token=…, and the page ran with the token in its URL — in a browser
    signed in to the shop, since a signed-out visitor was sent to the login page without it
    (PASSWORD-RESET-GATE below opens the page to everyone). Every script on the page can read that,
    and with analyticsGa4 on, GA4's page view sends the whole URL to Google — Consent Mode's
    cookieless ping carries it even when the visitor refused analytics. The token sets a new password
    on any account, an admin's included, for an hour, so anyone who could read the GA property could
    have used it. Now the page answers a ?token= visit with a server-side redirect before any HTML
    exists; a new route, /api/account/reset-password, moves the token into an httpOnly,
    SameSite=Lax cookie (Secure in production) that is sent only to the reset page and lives 30
    minutes; and the browser lands back on the page with no query. The form no longer carries the
    token in a hidden field: the server action reads it from the cookie, answers an expired or used
    token exactly as before, and drops the cookie after a successful reset. The emailed link is
    unchanged, so links already sent keep working, under either urls.localePrefix. Once the cookie
    has expired the page asks for a new link, as it does for a link without a token; the emailed link
    still works for its hour and can be clicked again. Not closed here: the server's own request log
    still sees the token, as it did before — the proxy logs every full URL.
  • A product the shop deleted can no longer be bought (CART-DELETED-PRODUCT; low). Deleting a
    product hid it from the catalogue but did not take it out of sale. The storefront's add-to-cart
    action takes a product id from the browser and never asked whether that product was deleted; a line
    already in a cart stayed in the cart page's total; and checkout created the order and the Stripe
    payment for it. Anyone holding a deleted product's id — a cart from before the deletion, a product
    page left open in a tab — could still pay for it at the price it had, also when it was deleted
    because that price was wrong. Listed under Security because deleting is how a shop stops a sale, and
    a visitor with no account could get past it. Now adding a deleted product, or an id no product has,
    is refused with the answer the customer chat tool already gave for one (Product not found: …; the
    cart action returns code: "not_found"), and the add-to-cart button says "No longer available"
    instead of "Added to cart". A deleted line already in a cart drops out of the cart page, the
    checkout summary, the header count, the agent cart tools and the cart-recovery mail. It stays in the
    database, so restoring the product brings it back. Checkout refuses a cart that still holds one
    before it creates the order or contacts Stripe (code: "PRODUCT_UNAVAILABLE"), names the product,
    takes the line out of the cart, and the next attempt charges the cart the customer sees; when nothing
    is left, the empty checkout page says the products were removed instead of only "Your cart is
    empty". The stock
    decrement inside the order transaction also requires a live product, so a product deleted in the
    moment between is refused there, still before Stripe, as sold out. ACP checkout completion
    (ACP_PAYMENT_COMPLETION=1) checks the session's products before it charges the shared payment
    token and answers 409 acp_line_item_not_found; a deletion after that check rolls the order back
    and refunds the payment. Not changed: an order placed before the product was deleted is paid and
    fulfilled as usual, and the Stripe webhook does not check again, because the order was valid when it
    was placed.
  • Customer sign-up is guarded against bots, and its answer no longer says who is a customer
    (AUTH-REG1; low).
    /account/signup had no rate limit and no bot check, and answered a known
    address with "A user with this email already exists" — so anyone could script accounts or ask the
    form which addresses shop at you. Now a hidden field that only a bot fills gets the normal success
    answer and creates nothing; a form sent less than three seconds after it appeared is refused with a
    message, and the person simply sends it again; and a known address gets exactly the answer a new one
    gets, after the same password-hashing work — both land on the login page. On top, sign-up allows five
    attempts per client IP and then one every five minutes; a typo or a too-quick send does not use one
    up. The IP is the one trustedClientIp resolves: on Vercel, or self-hosted with
    CARTWRIGHT_TRUST_PROXY_IP_HEADERS set behind a proxy that overwrites the header. Without either the
    client cannot be told apart, and the per-IP limit stays off rather than throttle every customer
    through one shared bucket. The limit is held in memory per server instance, like the contact form's.
    Not closed here: with no email verification, someone can still sign up with an address and try to log
    in with the password they chose — the limit slows that down. The sign-up and login forms also now
    post: a click that landed before the page had finished loading used to submit them natively as
    GET, which put the password in the address bar, the browser history and the server's access log.
  • A CRON_SECRET of nothing but whitespace no longer counts as set (CRON-AUTH-d; low). The cron
    gate, the setup guide and the two machine-only admin routes (/api/admin/run-pending-migrations,
    /api/admin/reset-demo-data) only checked that the variable was not empty. A secret of spaces or
    tabs therefore matched no request — HTTP strips them from the end of a header — so production
    answered every call, Vercel Cron's included, with 401 instead of the 503 that says the secret is
    missing, the jobs never ran, and the admin said "CRON_SECRET is configured". A secret of
    non-breaking spaces (or of U+0085, which String#trim leaves) was worse: that character survives
    the wire, so Bearer followed by one was a bearer anyone could send — to the cron jobs and to the
    two admin routes, one of which wipes and reseeds the catalogue. The value is now trimmed wherever it
    is read, and a blank one is unset: a production deploy refuses its cron calls with 503 and logs
    why, the two admin routes answer 500 "not configured", and the setup guide lists the secret as
    missing. A real secret with a stray space, tab or newline around it is compared by its trimmed
    value, and so is the token a caller sends after Bearer : a job that sends the variable exactly as
    it is set keeps working, and so does one that sends it without the pad. For a secret made with
    openssl rand -hex 32 the one difference is that whitespace around the token is ignored. The
    token is the caller's own input, read before any auth, so an Authorization header longer than
    1,024 characters is refused with 401 without being trimmed or hashed.
  • The forgot-password form no longer says with its response time who is a customer
    (AUTH-FORGOT-TIMING; low).
    Its answer was already the same for every address, but it came back
    only after the work: an unknown address straight after the account lookup, a known one after a
    reset token was written and the email was handed to the mail provider — a delay anyone could
    measure. Now the lookup, the token and the email run after the answer has been sent (after()), so
    every address is answered once the form is checked and the request limits are counted. A failed
    send is still only logged, as before. The form's per-IP limit keys on the trusted client address,
    as sign-up's does (INQ-IP-TRUST below).
  • **The admin chat gives a local or unknown model only the tools its tier allows
    (...
Read more

v0.62.0

Choose a tag to compare

@Teloz1870 Teloz1870 released this 19 Oct 22:09

🔒 Security

  • next 16.4.1 closes two critical and one high upstream advisory (CW-2026-009). Next.js'
    security release of 2026-10-14 fixes remote code execution in use cache functions that return
    typed arrays (GHSA-673q-mjm6-r5xr, critical), remote code execution in Image Optimization when SVG
    files are used (GHSA-2464-fhr4-w9xw, critical) and a denial of service in the App Router through
    Server Actions (GHSA-p3m5-59mp-jv5r, high). The engine itself writes no use cache function and
    does not set images.dangerouslyAllowSVG, so the two critical ones are not known to be reachable
    in an unchanged shop — but a shop may add either, and the App Router enables Server Actions by
    default, so the denial of service is treated as reaching every Cartwright shop. next and
    eslint-config-next move to 16.4.1. It was younger than the three-day cooldown when it landed on
    main, so its twelve exact versions sat in minimumReleaseAgeExclude; 16.4.1 is older than three
    days now, so this release drops that block again and the cooldown applies to every package.
  • A production deploy without CRON_SECRET refuses its cron calls (CW-2026-008, CRON-AUTH-b;
    moderate — an insecure default closed).
    Until now every route under /api/cron ran for any caller while no
    CRON_SECRET was set, because Vercel Cron sends its Authorization header only once the secret
    exists: anyone who knew a path could start a backup, delete expired tokens and old audit-log
    rows, send cart-recovery mail, refresh FX rates or take the SEO snapshot. v0.60.0 announced the
    change for the next release (Deprecated); v0.61.0 did not carry it. Now verifyCronRequest
    (lib/cron/auth.ts) answers such a call in production with 503 and
    {"error":"CRON_SECRET not configured on this deploy"}, and the job does not run. It is a 503,
    not a 401, because no header could pass: the deploy lacks configuration, and the Vercel Cron log
    should say that rather than look like a wrong secret. Production is what the v0.60.0 warning
    already called it, VERCEL_ENV=production or NODE_ENV=production: a Vercel production deploy,
    next start, a container — and a Vercel preview, which runs as a production build (Vercel Cron
    never calls a preview, so no scheduled job stops there). next dev and the test suite still let
    the call through. With the secret set, a wrong or missing bearer is a 401 as before. All eleven
    routes go through the helper, eight in app/ and three mounted from the reviews and
    google-workspace plugins; the two machine-only admin routes that take the same bearer
    (/api/admin/run-pending-migrations, /api/admin/reset-demo-data) already refused without it.
    The admin bar on every page and the setup guide's CRON_SECRET item now say the jobs are
    refused, and each server instance logs the refusal once. A test calls every handler it finds
    under app/api/cron in production and fails unless it answers 503 without the secret and 401
    with a wrong or missing one, before it reaches the database or the network.

Upgrading

Set CRON_SECRET in your production environment before you deploy this release, if you have
not: generate one with openssl rand -hex 32, add it as CRON_SECRET to the production
environment (Vercel → Settings → Environment Variables) and redeploy. Vercel Cron sends
Authorization: Bearer <CRON_SECRET> only when that variable exists, so without it every
scheduled job — backup, Stripe reconciliation, token clean-up, audit retention and the rest — is
refused and stops running. A shop on its own server or in a container schedules its crons with the
same header (docs/self-hosting.md).

Fixed

  • Admin-managed redirects work without Upstash Redis (RED1). Until now the proxy read the
    redirect map from Redis only, so on a shop without UPSTASH_REDIS_REST_URL /
    UPSTASH_REDIS_REST_TOKEN — the default scaffold — a redirect saved in /admin/redirects, or
    imported from CSV through redirects.import, was stored and never served. Now
    lib/redirects/load.ts reads the map from Redis when it is configured (unchanged) and otherwise
    from the Redirect table, cached for 60 seconds per server instance, so a new or deleted
    redirect takes effect within about a minute. A failing read means no redirect, as before. Nothing
    is built at import. The admin page and the tool description no longer say Redis is required.
  • The review-request mail links to the shop's own language (URL2-d). It hardcoded /da/review/…,
    so on a shop whose base language is not Danish the link led to a route that does not exist. It now
    uses brand.defaultLocale, and keeps the language in the address even under
    localePrefix: "never" (the signed token has a dot, so only the prefixed address reaches the review
    page). The abandoned-cart mail links /<defaultLocale>/cart instead of a bare /cart that needed a
    redirect.
  • The last hand-built storefront links go through lib/urls.ts (URL2-d): the four shared chrome
    parts (minimal/centered headers, slim/mega footers), the Flux, Halo, Aerospace and Drive 404 pages,
    Halo's catalogue link on the product page, the blog index cards and its JSON-LD, and the wishlist
    and review pages. With brand.urls unset every link is the same string as before; with
    trailingSlash or localePrefix: "never" they answer without a redirect. The design packs' own
    headers and footers are the next slice.

Changed

  • Dependencies moved to their newest releases inside the current majors, each public for at least
    three days.
    next 16.4.0 with eslint-config-next 16.4.0, ai 7.0.137 with
    @ai-sdk/anthropic 4.0.78, @ai-sdk/google 4.0.93, @ai-sdk/openai-compatible 3.0.67 and
    @ai-sdk/react 4.0.140, @modelcontextprotocol/sdk 1.32.1, @google/genai 2.28.0,
    @vercel/blob 2.8.1, lucide-react 1.54.0, resend 6.32.1, and the dev packages
    @playwright/test 1.64.0, vite 8.3.4, postcss 8.5.29 and @typescript-eslint/parser 8.71.1.
    No direct dependency moved a major, and no code changed: nothing in the engine used the
    experimental options Next 16.4 removed (experimental.appNewScrollHandler, unstable_eager).
    pnpm audit --prod reports no known advisory. The one dev-only advisory stays open, because its
    fixed release does not exist on npm yet (braces 3.0.3, GHSA-vfj7-8cjw-p6xm, which lists 3.0.4 as
    patched; reached only through eslint-config-next at lint time).
  • A product or category stored with a permalink is linked at it on every surface once
    urls.permalinks is on (URL5-a).
    Before, the option changed nothing: every call site handed
    lib/urls.ts the slug alone. Now each one hands over the slug and the permalink of the same entity
    — the product and category pages' canonical, language alternates and BreadcrumbList, the sitemap,
    /pricing.md, the catalog feed, the product-search API's url, the product card (rendered without
    a locale it links the permalink in the locale the page is rendered in), the design packs' homepage and card links,
    the footer, the cart, the review pages and the PLP's WebMCP url — and
    tests/unit/no-raw-product-href.test.ts fails on a call that passes one without the other, or that
    takes them from two entities where the slug is written x.slug (a slug held in a local variable is
    checked by reading the call site). DesignProduct and DesignCategory gain an optional permalink. With the
    option off — the default, every shop today — the stored column is ignored and every link is the
    same string as before. The shop does not serve a permalink yet (URL5-b), so leave the option
    unset on a live shop. Still on the pattern, listed in docs/urls.md: the header and mobile-menu
    category navigation, the category page's "Explore more" list, the shopping assistant's product
    cards, the IndexNow ping, the coffee pack's brew-recommendation tool and the agent checkout's
    cancel_url.

v0.61.0

Choose a tag to compare

@Teloz1870 Teloz1870 released this 11 Oct 07:09

A shop can now run as a Node container on any host: the repo ships a Dockerfile, and
CARTWRIGHT_OUTPUT=standalone pnpm build writes a standalone server with no .env file left in it
(docs/self-hosting.md). On a single-language shop that sets urls.localePrefix: "never", the
pages answer without the language in front, and the engine's footer, trust badges, cookie banner,
breadcrumbs and 404s link straight to the address the shop serves with either URL option.
Cancelling an order that was never paid puts its items back in stock exactly once, and an operator
status change that a cancel or a payment beats to the order — landing between the change's read and
its write — is refused instead of overwriting it.

Upgrading

No schema change: no pnpm db:push is needed, no flag was added and no dependency changed. The
URL options stay off unless you set them; trailingSlash and localePrefix now steer routing,
while a stored permalink is still not served at its address, so keep permalinks at false on a
live shop (docs/urls.md). The cron change announced in v0.60.0 — a production deploy without
CRON_SECRET refusing its cron calls — is not in this release; it is still the next one, so set
CRON_SECRET now if you have not.

✨ Added

  • A shop can run as a Node container on any host (HOST2-1). The repo now ships a Dockerfile
    (Node 22 as .nvmrc names it, pnpm through corepack, a non-root runtime with a health check) and
    a .dockerignore that keeps .env files, credentials, SQLite databases, backups/ and
    .mail-previews/ out of the image at any depth — prisma/dev.db and data/prod.db included.
    CARTWRIGHT_OUTPUT=standalone pnpm build writes .next/standalone/server.js and traces the same
    local data out of it. Next itself copies the root .env and .env.production into that
    directory after tracing, so the build deletes every .env* file there as it exits, and the
    server reads its variables from the environment it starts in. Without the variable
    next.config.ts has no output key and adds no exit step, so a Vercel build is unchanged; any
    other value stops the build. One Dockerfile is written for every profile and never runs Prisma
    itself (an image of a site scaffold is untested). docs/self-hosting.md covers build
    arguments, runtime variables, Turso or a SQLite file on a volume, and what still needs a Vercel
    service: the cron jobs (a runner is HOST2-2) and Vercel Blob storage (an S3 adapter is HOST2-3).
  • urls.localePrefix: "never" now steers routing as well as links, on a single-language shop
    that opts in: / and /contact answer directly (200, no redirect to /da), and an address
    with the language in front (/da/contact) answers with a permanent redirect (308) to
    /contact. next-intl decides the route; the proxy only makes its redirect permanent. The
    proxy's own redirects (trust-page aliases, legacy Danish paths, merchant redirects) and the
    /om-os alias land on the unprefixed page in one hop, also with urls.trailingSlash. Every
    canonical and og:url the engine writes, both sitemaps, the page links in llms.txt and the
    JSON-LD addresses of the catalogue, service, blog and breadcrumb data drop the prefix. /api,
    /admin, /oauth, /icon, /og and files are not touched. A single language alone never
    drops the prefix — the option must be set — and the build now refuses "never" with more than
    one locale. The locale patterns in both proxies and in the merchant-redirect matcher are now
    built from brand.locales instead of a hardcoded da|en, and the cart's WebMCP
    go_to_checkout no longer reads /cart as a locale. Links the engine still writes by hand
    (/da/… in e-mails, for one — the footer, trust badges, cookie banner, breadcrumbs and 404 page
    moved, see Fixed) reach their page through that one 308 until they adopt the helper. With the
    option unset next-intl receives exactly the config it did before (docs/urls.md).

🛠 Fixed

  • The engine's footer (including the trust badges), cookie banner, announcement bar, breadcrumbs
    and 404s link where the shop answers with urls.trailingSlash or
    urls.localePrefix: "never" (URL2-c).
    Their links were written by hand (/da/contact), so on
    a shop with either option every click on one took a 308 to the address the shop serves. They now
    go through lib/urls.ts (localeHref(path, locale)): the footer in both profiles, the trust
    badges wherever they render (the footer, the product, category and checkout pages, the
    aurora-shop, hoptify and webshop-classic homepages), the cookie banner's policy link on every
    page, the announcement bar's audit-feed link, the visible breadcrumbs and their steps in the
    product, category, catalogue, service and blog-post JSON-LD, and the recovery links on both 404s
    (the not-found page, and the catch-all for an address nothing serves, in markdown and HTML). Each
    is already the address the shop serves (/contact/, /info/terms/, /produkter/). With the
    options unset every link is the same string as before. A design pack that brings its own header
    and footer (apex, which Solbrillen runs, is one) shows its own links instead of the engine
    footer's, and those are not converted. Still written by hand on the storefront, so still one 308
    away: every link in the chrome-parts headers and footers; the headers and footers of the 17
    packs that bring their own, the packs' own 404 pages, the fixed-route links on pack homepages
    (/produkter, /contact, /about, /services, /info/… — the default aurora-shop and
    Northbound's crema among them) and the crema and halo product-page crumb; the catalogue's
    filter links, its empty-grid link and its WebMCP navigation; the AI stylist panel's cart,
    checkout, order and returns links; the login form's forgot-password link; the services index's
    links to each service; the order page's "Continue shopping"; the blog index's post links; the
    wishlist and order-review pages and their sign-in redirects, the wishlist button's sign-in
    redirect and the review page's home link; and links in e-mails. docs/urls.md lists the files.
  • Cancelling an order that was never paid puts its items back in stock. Checkout takes the
    stock when the order is placed, but cancelling an order still awaiting payment never gave it
    back: the admin status form, the bulk action and orders.update_status only changed the status,
    and so did Stripe's "payment cancelled" notification — which, since cancelling an order now
    cancels its Stripe payment, arrives for every such cancel. Those items stayed out of stock for
    good. Now the stock comes back exactly once, whichever gets there first — your cancel, Stripe's
    notification, the nightly check, or checkout's own rollback when the payment could not be set
    up — and a variant's stock goes back to that variant. The admin status form, the bulk action and
    orders.update_status note "items returned to stock" on the order timeline, and the tool also
    reports restocked: true in its result. Stripe's notification no longer
    overwrites an order that has moved on: a paid, flagged, shipped or refunded order stays as it is.
    An order you cancel after it was paid gets no stock back here — a return does that. A cancel
    reads the order's status when it runs: if the customer has paid by then, it is an ordinary cancel
    of a paid order (no stock back), and if Stripe's notification or the nightly check cancelled the
    order first, your cancel is refused. A payment that lands after the cancel read the order but
    before it wrote refuses the cancel too (see RACE-MARKPAID below), and the order stays paid.
  • The agent rules files no longer name CSS the engine does not use (SKILL-INTERPOLATE). The
    cartwright-guidance skill said <details> animates with interpolate-size and honours reduced
    motion there; no stylesheet has ever used interpolate-size or calc-size(), so that line is
    gone, and the Cursor, Windsurf and Gemini rules no longer offer them as the engine's CSS
    animation tools (@starting-style, which the mobile menu uses, stays). The skill's
    lib/shipping/ line now says what .claude/CLAUDE.md says: zones are stored, but every order
    pays the flat rate. A unit test fails if AGENTS.md, its sibling rules files or a project skill
    names passkeys before WebAuthn exists, or interpolate-size/calc-size() before a stylesheet
    uses it.
  • A status change no longer overwrites a change that landed while it ran (RACE-MARKPAID).
    Every operator status change — the admin status form, the bulk action and orders.update_status —
    read the order and then wrote the new status unconditionally, so a cancel, a payment or another
    operator landing in the moment between that read and the write was overwritten: a "mark paid"
    racing a cancel could leave a paid order whose items had already gone back to stock, so the same
    units could be shipped and sold a second time. Now the write lands only if the order is still in
    the status it was read in; otherwise nothing is written and the change is refused with "it changed
    while it was being updated — reload the order and try again". A change clicked on a page opened
    earlier is still checked against the order's status when it runs, as before (a cancelled order
    refuses "mark paid" as an illegal move). The same holds for the flag Stripe's
    notification and the nightly check set when a payment's amount does not match: an order
    cancelled in the meantime stays cancelled. Refunds and disputes Stripe reports still always
    land, since they record money that moved. orders.update_status now also writes the
    order-timeline note the admin status form writes, so a change made through the AI or REST tool
    shows on the order page, and the audit entry of an admin cancel that returned stock records
    restocked: true.

v0.60.0

Choose a tag to compare

@Teloz1870 Teloz1870 released this 10 Oct 15:58

Two high dependency advisories below next close (CW-2026-007: sharp, source-map-js) —
upgrade. A shop's product and category links now come from one helper with three URL options, all
off by default, and urls.trailingSlash steers routing too: a storefront page asked for without its
slash gets a permanent redirect to the slash form, while /api, /admin and a POST are never
redirected; links still written by hand (the footer's contact and info links, for example) take
that one redirect until they move to the helper. /built-with-cartwright and llms.txt stop
claiming zone shipping (checkout charges the flat rate) and passkeys (there are none), and
/admin/features marks zone shipping as not implemented. The root layout's Geist pair, Brutalist's
three fonts and the Space Mono of Editorial Ink and Meridian are self-hosted, so a build no longer
asks Google for them. Every cron route checks CRON_SECRET through one constant-time helper, and a
production deploy without the secret now says so — the next release refuses its cron calls (see
Deprecated). Cancelling an unpaid order cancels its Stripe payment, and the nightly Stripe check
gets multi-currency orders and variant restocks right. Every WebMCP browser tool states Chrome's
three annotations, the AI model picker offers Sonnet 5.5 and Opus 5.5, "Translate" on a vibe page
works again, and an unknown chat model says it runs read-only. No schema change: no
pnpm db:push is needed (see Upgrading).

🔒 Security

  • sharp and source-map-js move to their patched releases (CW-2026-007). Two high
    pnpm audit --prod advisories, both below next: sharp 0.35.5 fixes GHSA-wq5f-xc86-pv6w
    (librsvg, the SVG decoder in Next's optional image optimiser) and source-map-js 1.2.2 fixes
    GHSA-68fv-2mgg-jv7q (denial of service through indexed source-map sections; reached through
    postcss at build time). Neither is known to be reachable from a request in a shipped shop:
    next.config.ts does not set dangerouslyAllowSVG, and on Vercel image optimisation runs
    outside your functions. A shop that runs next start itself (a container or its own server) does
    run sharp, so upgrade regardless. Two overrides selectors in pnpm-workspace.yaml carry the
    fix; pnpm audit --prod now reports no known advisory. The twelve next 16.3.8 entries leave
    minimumReleaseAgeExclude, because that release is now older than the three-day cutoff.
  • Every cron route checks its secret through one helper, in constant time (low — hardening).
    The eleven scheduled-job handlers under /api/cron (eight in app/, three mounted from the
    reviews and google-workspace plugins) each carried their own copy of the CRON_SECRET check and
    compared the Authorization header with !==, whose running time depends on how much of a guess
    matches. They now all call verifyCronRequest (lib/cron/auth.ts), which hashes both sides and
    compares them with timingSafeEqual; the two machine-only admin routes that take the same bearer
    (/api/admin/run-pending-migrations, /api/admin/reset-demo-data) compare through the same
    cronBearerMatches it uses. No exploit is known, so there is no advisory id. What stays open:
    without CRON_SECRET these routes answer anyone — backups, audit-log and token deletion,
    cart-recovery mail, FX refresh, the SEO snapshot. That is unchanged in this release (see
    Deprecated), so set CRON_SECRET in your production environment now. A production deploy
    without it now says so on every admin page and in the setup guide (/admin/integrations), and
    each server instance logs a warning on its first cron call. A test fails if a route under
    app/api/cron does not carry one verifyCronRequest guard per handler or reads CRON_SECRET
    itself, or if ===/!== compares against a Bearer ${…} template literal anywhere in app/,
    lib/, plugins/ or components/ (a bearer built any other way, or held in a variable first,
    is not caught by that scan).

✨ Added

  • A shop gets one place its public links are built from (lib/urls.ts) and three URL
    options in brand.config.ts — keep an imported address, end every path in /, drop the
    language prefix on a single-language shop — all off by default, so every existing link is
    unchanged; the engine's product and category links and the design packs adopt the helper
    below, and links still written by hand follow in later releases (docs/urls.md).
  • The engine's product and category links now go through that helper — product page, category
    page, product card, footer, cart, sitemap, catalogue feed, /pricing.md, the search API,
    IndexNow and the review pages — so the URL options reach them. With the options unset every
    link is the same string as before; permalinks does not reach them yet (they pass the slug
    alone until the release that serves a permalink). A stored permalink is the path without the language prefix,
    and one with a . or .. segment is ignored for the pattern. A test now fails on a
    product or category link built by hand outside the helper.
  • The shipped design packs link products and categories through the same helper — every
    homepage's product and category tiles, and the Halo and Crema product cards — and the test
    that refuses a hand-built link now reads designs/ as well. With the options unset every link
    is the same string as before. The test also refuses a helper call that hands over more than
    the slug ({ slug, permalink } or a spread), so a permalink cannot reach one link early.
  • urls.trailingSlash: true now steers routing as well as links: a storefront page asked for
    without its slash (GET /da/product/x) answers with a permanent redirect to /da/product/x/,
    the way a migrated WordPress address is written. proxy.ts does it rather than Next, whose own
    redirect (next.config.ts now sets skipTrailingSlashRedirect beside trailingSlash) would
    also have sent every /api path to its slash form — and Vercel Cron, Stripe's webhooks and an
    OAuth callback do not follow a redirect. So /api, /admin, /oauth, /icon, /og,
    /.well-known and files answer with or without the slash, and nothing registered elsewhere
    has to change; a POST is never redirected. Merchant redirects match a source in either form
    and the engine's own redirects (/da/om-os, the trust-page aliases, the legacy Danish paths)
    give their destination the slash, so each lands in one hop; the sitemap's entries carry it too,
    the --profile site sitemap's included. A slug with a dot (v1.2-noter) is linked, redirected
    to and listed without the slash, like a file, because the proxy never sees a dotted path.
    Off — the default — Next receives exactly the config it did before (docs/urls.md).

Changed

  • /built-with-cartwright, llms.txt and /admin/features stop promising what the engine does
    not do: shipping zones are marked not implemented and leave the tour, because checkout still
    charges the flat rate (which /admin/shipping now says above the zone editor, with the fee every
    order pays), the passkey line is gone, and the logo generator is described by what it does rather
    than by a model id.
  • The model picker for the AI assistant (/admin/integrations → AI) now offers Claude Sonnet 5.5
    and Claude Opus 5.5 instead of Sonnet 4.5 and Opus 4.5; Haiku 4.5 stays the default. Both new
    models get the full admin tool set and are priced in the usage meter (a model id the engine does
    not know still falls back to read-only tools, so every listed model is now pinned against both
    tables). A shop that saved a model the list no longer offers keeps it, shown as "saved — not in
    the current list" until someone picks a current one and saves.
  • Dependencies moved to their newest releases inside the current majors, each public for at least
    three days.
    ai 7.0.127 with @ai-sdk/anthropic 4.0.71, @ai-sdk/google 4.0.87,
    @ai-sdk/openai-compatible 3.0.62 and @ai-sdk/react 4.0.130, @modelcontextprotocol/sdk
    1.32.0, next-intl 4.14.9, @google/genai 2.27.0, @upstash/ratelimit 2.2.0 with
    @upstash/redis 1.39.0, lucide-react 1.50.0, resend 6.32.0, and the dev packages tsx
    4.23.15, vite 8.3.2 and @typescript-eslint/parser 8.71.0. No direct dependency moved a major.
    The lint-time copy of brace-expansion 1.x that eslint pulls is pushed to 1.1.21, which the
    three brace-expansion advisories now also cover. pnpm audit --prod reports no known
    advisory; one dev-only advisory stays open, because no fixed release exists yet (braces 3.0.3,
    GHSA-vfj7-8cjw-p6xm, reached only through eslint-config-next at lint time).
  • The root layout's Geist and Geist Mono are self-hosted. They load through next/font/local
    from app/fonts/ instead of next/font/google, so a build no longer asks Google for them — that
    fetch failed builds at random (three red builds in one day, each green on retry with the same
    code). Every file Google served is kept: the latin face is preloaded as before, and the other
    subsets (latin-ext, Cyrillic, Vietnamese, symbols — №, ł, box-drawing) sit in a faces.css
    next to it and load only when a page shows one of their characters. The family names stay Geist
    and Geist Mono (design packs name them in their tokens), and pages render the same — the
    fallback faces carry the metrics next/font/google used. Each font directory carries its licence
    and a fonts.json with the source URL and a sha256 per file. node scripts/fonts/fetch.mjs <Font> '<options>' <dir> [families] fetches another family the same way, with Next's own option rules;
    the remaining design packs move over in later releases.
  • Every WebMCP browser tool now states Chrome's three annotations. Chrome's registerTool
    reads readOnlyHint, consequentialHint (the action is significant, real-world or
    non-reversible, so the browser may ask the human first) and `...
Read more