Skip to content

v0.64.0

Choose a tag to compare

@Teloz1870 Teloz1870 released this 25 Oct 09:38
· 1 commit to main since this release

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 up lowercased only, so for an account saved with
    capitals it signs in to a separate lowercased account; that is the next fix. No schema change,
    and no data is changed.
  • A design that frames the product page — halo, crema — names the product in the page's
    language (ARG2).
    The pack was handed the product's stored row, so on any language but the
    shop's default its breadcrumb printed the base-language name above a translated page. It now gets
    the name and description the page itself renders: the stored translation for that language when
    there is one, else the base copy, and the voiced description when genomeEntityCopy is on.
    translations and attributes are still handed over as stored. The shop's default language
    renders exactly as before, and so does every design without a product-page frame. Neither shipped
    pack prints the description yet. docs/urls.md no longer tells a migrated shop to keep
    urls.permalinks unset: since v0.63.0 the stored permalink is served, and the three links still
    on /product/<slug> — the shopping assistant's cards, the IndexNow ping and crema's brew
    recommendation — open the same product, whose canonical names the permalink.