FastStore v3.100.13 includes the changes released from v3.100.11 through v3.100.13. These updates raise the minimum Node.js version to 20.9.0 and fix how FastStore handles an empty api.subDomainPrefix configuration. See the sections below for details and upgrade instructions.
⚠️ Follow the instructions in Updating the CLI package version to upgrade to
v3.100.13and keep your store up-to-date with the following improvements. Update@faststore/coreand@faststore/clito the same version.
Bug fixes
Node.js 20.9 or later is now required for the image processing security update (PR: #3569)
Starting with FastStore v3.100.11, @faststore/core includes an image processing security update that requires Node.js 20.9.0 or later.
Installing @faststore/core v3.100.11 or later with Node.js 18 fails with the following error:
The engine "node" is incompatible with this module. Expected version ">=20.9.0"Before upgrading, check that your build and local development environments meet this requirement:
- FastStore WebOps: Stores already building with Node.js
20.9.0or later require no Node.js configuration changes. - Legacy pipeline: Set nodeVersion:
20indiscovery.config.js. Use the number20, not the string'20'. This pipeline accepts only14,18, or20; setting22results in an "Unsupported Node version" error. - Local development: Update environments running Node.js
18to Node.js20.9.0or later.
Empty api.subDomainPrefix configuration respected to avoid duplicate Checkout cookies (PR: #3578)
FastStore now respects api.subDomainPrefix: [] in discovery.config.js, allowing Checkout cookies to use the configured storefront host consistently.
Previously, the configuration merge retained the default value, ['www'], even when an empty array was configured. As a result, FastStore stripped www. from the host sent to Checkout, which could cause duplicate Checkout cookies across the root domain and the www subdomain, increasing the Cookie header size.
With this fix, an empty array overrides the default. FastStore preserves www. in the host sent to Checkout, allowing Checkout cookies to be set on the www subdomain. Non-empty arrays continue to extend the default configuration. For example, ['shop'] results in ['www', 'shop'].
The next build and next dev commands also display a warning when api.subDomainPrefix is empty and secureSubdomain uses a different host, because Checkout cookies won't be sent to that host.
This change affects only stores configured with api.subDomainPrefix: []. Existing cookies on the root domain remain in the browser until they expire or are removed.