v0.16.0
NewLatestImprovement round. No migration; existing rules and settings behave as before.
Changed
- Block, closed and maintenance page redesigned in the shared HULO e-mail/page design: a centred 600px white card on
#f3f4f6, the channel logo or the newstoreNameabove a 3px accent bar, a 22px heading, the channel's message, an optional Continue button, the support e-mail and a reference footer. Accessible markup: one<main>landmark and one<h1>(the card was wrongly analertdialog), the logo's alt text is the store name, visible focus rings, AA contrast for text, links and the button. The page's colour is the newaccentColor(default#155dfc, was a fixed amber); per-reason page titles ("Closed", "Back soon").
Added
storeNameandaccentColorinit options, also editable in the Settings tab (SuperAdmin), with a "Preview it" link to the block page.
Fixed
javascript:/data:URLs from the plain Channel form. The block redirect and logo custom fields can be edited in Vendure's own Channel form, which does not validate them; ajavascript:redirect then reached the storefront helper (window.location.replace) and the soft-block banner link. Onlyhttp(s)URLs now leave the server (/check,/site-config, the block page), and the helper also refuses anything else.- The block page no longer echoes URL text.
?reason=was shown as the page reference (40 characters of attacker-chosen text on a store-branded page) and?country=accepted any 4 characters. Unknown reasons now show asgeo; the country must be a two-letter code. - Retry-After during the install-wide maintenance window now counts down to the window's end (it was always 3600 seconds unless the channel had its own window).
- The subdivision map saved over REST is bounded (ISO country keys, short codes, at most 250 × 200); it was stored unbounded and read on every
/check. - The page escapes single quotes as well.
Dependencies
- devDependencies to the latest minor/patch:
@nestjs/common^12.5.0,typeorm^0.3.31,typescript^5.9.3,nodemailer^6.10.1. Held: TypeScript 7, TypeORM 1.x and nodemailer 10 (majors; Vendure 3.x is on TypeORM 0.3 and the peer rangenodemailer >=6is unchanged).