2.5
An AI migration skill upgrades a project end to end, version report shows what a project runs, and Connect Admin gains workflows and sign-in
Showing every integration. Set your stack in Preferences and this page hides what isn't yours.
20.* || >=22.14.0Most of 2.5 is optional. You have to act only if one of these applies to your project:
- You run the Connect Admin editor in production. Set up sign-in before you deploy, or the editor answers
404. - You have an OpenAPI integration generated with the axios client. Annotate
createRequestFunction, or the middleware stops building. - You use Nuxt, SmartEdit or Compass, or your loading spinner doesn't rotate. Each needs a small hand edit, because the package bump alone doesn't deliver the fix.
Highlights
An AI agent skill migrates a project to a target Alokai version in one run
@alokai/ai-toolkitUpgrading across several releases meant reading every release's steps, picking the ones for your stack, and applying them by hand.
@alokai/ai-toolkit 1.2.0 ships the alokai-migration skill. Ask your AI agent to upgrade the project to the latest Alokai version, or to a version you name.
The skill finds out which version each package is on and applies only the steps that match your stack. It then runs lint, typecheck, build and tests, and fixes what the upgrade broke. A step that needs a credential or a decision from your team is handed back to you, not guessed. The final report lists every step as applied, skipped with the reason, or left for you.
Run yarn alokai ai sync, then ask your agent for the upgrade. The skill works in Claude Code, Cursor, Codex, Gemini CLI and GitHub Copilot.
version report shows which Alokai packages your project runs
@alokai/cliThere was no read-only way to see which Alokai packages a project runs. version check worked out the release but also wrote to package.json, and it couldn't tell apart two releases that pin the same core package versions.
yarn alokai version report in @alokai/cli 2.9.0 lists your Alokai packages grouped by area - Connect, framework, commerce, CMS and search - with the detected Alokai version. It never changes package.json. Add --json to get output you can paste into the documentation preferences, so the docs show only what applies to your stack.
When two releases pin the same core package versions, the version commands now read the version field in your root package.json to tell them apart. If it names neither, they assume the newer release and warn you.
Run yarn alokai version report to see your stack. It needs @alokai/ai-toolkit, which yarn alokai ai sync installs. Keep the version field in your root package.json set to the release you're on.
Workflows in Connect Admin run multi-step jobs with review gates
@alokai/connect-adminJobs such as refreshing a curation or pushing a configuration ran outside Connect Admin, with no way for a person to approve the result before it went live.
@alokai/connect-admin 1.1.0 adds a workflows view kind. A workflow is a list of steps: task steps run your code, and review steps pause the run until a person approves or rejects the result.
defineFeature({
enabled: true,
id: "merchandising",
name: "Merchandising",
views: [
{
id: "jobs",
kind: "workflows",
label: "Jobs",
workflows: [
{
id: "refresh-curation",
label: "Refresh curation",
steps: [
{ id: "fetch", kind: "task", label: "Fetch candidates", run: async (ctx) => ({}) },
{ id: "approve", kind: "review", label: "Approve the list" },
{ id: "publish", kind: "task", label: "Publish", run: async (ctx) => ({}) },
],
},
],
},
],
});A person starts a run with Run workflow, or your code starts it by calling the workflow's webhook. There's no built-in scheduler. Runs are parallel by default, and concurrency: "single" allows one run at a time. See Workflows for the full API.
Nothing changes unless you add a workflows view. If you do, set concurrency: "single" on workflows that write data, and start timed jobs by calling the webhook from a scheduler you already run. To try the feature, open the bundled playground under dev-module, which has six demo workflows and needs no commerce backend.
Connect Admin requires a sign-in
@alokai/connect-adminAnyone who could reach the middleware in production could change the configuration through the editor.
In @alokai/connect-admin 1.1.0 the editor asks for a FusionAuth email and password. CONNECT_ADMIN_FUSIONAUTH_APPLICATION_ID names the application whose users may sign in, and CONNECT_ADMIN_FUSIONAUTH_CLIENT_SECRET holds its secret if it needs one.
In production, with the editor on and no application id set, every editor route answers 404. Locally, without an application id, nothing changes. Storefront reads through getFormValues never require a sign-in.
CONNECT_ADMIN_ROLE=admin marks a dedicated admin deployment, which serves the editor but not getFormValues. It replaces CONNECT_ADMIN_FEATURE_EDITOR, which still works.
If you run the editor in production, ask Alokai for your own FusionAuth application and set the variables before you deploy 1.1.0. If you installed the module at an earlier release, your .env files don't have the variables yet. Don't use the demo application that the installer writes into .env.example in production - anyone registered for it can sign in.
All changes by area
Every change in 2.5 has one entry here, grouped by area. The highlights, from above and from the patch sections, are here too, marked with a star. Open an area to see its changes, and open a change to read why it changed and what changed. The upgrade guide from 2.4.2 to 2.5.6 collects the migration steps for the whole line.
Alokai Connect3 changes
fixed A streaming middleware request that fails carries the server's status and message
You handle errors from streaming calls, such as the Compass assistant, the same way as errors from ordinary requests.
What changedWhy, and what changed ▸
When a streaming request failed on the server, the caller got a generic stream error with no status code.
The SDK in @alokai/connect 2.5.1 fails such a request with an SdkHttpError that carries the status code and the server's message.
@alokai/connectfixed The middleware and storefront servers keep idle connections open for 65 seconds highlight 2.5.1
Nothing to do behind the Istio ingress gateway. Behind a proxy whose idle timeout is longer than 65 seconds, set KEEP_ALIVE_TIMEOUT above that timeout.
What changedWhy, and what changed ▸
Node closed idle keep-alive connections after 5 seconds, shorter than the Istio ingress gateway idle timeout in front of it. The gateway occasionally returned 503 on a connection Node had already closed.
The middleware, Nuxt and Next.js servers keep idle connections open for 65 seconds, with headersTimeout 5 seconds above that, and KEEP_ALIVE_TIMEOUT, in milliseconds, overrides the 65 seconds. The middleware gets this from createServer in @alokai/connect, and a Next.js server started without the SIGTERM preload keeps Node's 5 seconds.
@alokai/connect@vue-storefront/next@vue-storefront/nuxtfixed Circuit breaker timeouts are reported as timeouts and stop their retries 2.5.1
Nothing in your code has to change. An errorHandler that matched the old open-breaker message for these calls now sees the timeout wording, and a breaker that really is open keeps its message.
What changedWhy, and what changed ▸
A middleware call that ran longer than the circuit breaker timeout reached the integration errorHandler with an error saying the breaker was open, even though it was closed. With retry enabled, the remaining retries kept calling the upstream after the storefront already had the error, and the circuit breaker neither counted nor blocked those calls.
A call that exceeds the circuit breaker timeout, 20 seconds for the default BALANCED preset, is reported as a timeout. The error is still a CircuitBreakerError for the same breaker key, and its message says the breaker stopped waiting and the upstream request wasn't cancelled and may still complete. With retry enabled, no further retry attempt starts once the breaker has timed a call out. An attempt already in flight isn't cancelled.
@alokai/connectStorefrontAction needed6 changes
fixed CMS-authored links in Hero, Banner and Card follow the store's category and product routes
The upgrade doesn't change your components. If your CMS links break on a store with different routes, copy the helper - helpers/cms/resolve-cms-link.ts in Next.js, utils/cms/resolveCmsLink.ts in Nuxt - and use it in those three components.
What changedWhy, and what changed ▸
Demo CMS content links to /category and /product/.... On SAP Commerce Cloud stores those pages are at /c and /p, so the hero buttons returned 404.
New projects include a resolveCmsLink helper that maps these links to your store's category and product routes. The Hero, Banner and Card components use it.
performance CMS media components load the LCP image first and pass the video accessibility audits
The upgrade doesn't change your files. Each item is a one-attribute edit in the CMS page components and next.config.mjs, if you want the same Lighthouse and accessibility scores.
What changedWhy, and what changed ▸
In new projects, banner images above the fold load with high priority, videos load only their metadata first and include a captions track, and the Next.js image sizes include 1440 px.
changed Product and list JSON-LD carry ratings, every gallery image and the item count
The upgrade doesn't change your json-ld.ts and useSeo* files. Copy the changes if you want search engines to see ratings and the full gallery.
What changedWhy, and what changed ▸
In new projects, the product JSON-LD includes ratings and every gallery image, and leaves out empty fields. The product list JSON-LD includes each product's rating and image, and the number of items.
fixed The circular loading spinner rotates again Action needed
The upgrade doesn't change packages/tailwind-config/package.json, so bump the Storefront UI versions there yourself.
What changedWhy, and what changed ▸
After the Tailwind 4 migration, SfLoaderCircular and anything using animate-spin-slow stopped rotating.
The fix is in @storefront-ui/react 4.0.2 and @storefront-ui/vue 3.1.3. New projects pin 4.0.3 and 3.1.4.
added Storefront servers finish in-flight requests when they receive SIGTERM highlight Action needed 2.5.1
With the defaults a pod can stay up for 20 seconds after SIGTERM, so keep ALOKAI_SHUTDOWN_DELAY_MS plus ALOKAI_SHUTDOWN_DRAIN_TIMEOUT_MS below the pod's terminationGracePeriodSeconds. A Next.js image you build from your own Dockerfile keeps the built-in handler until it loads the preload.
What changedWhy, and what changed ▸
A pod that receives SIGTERM during a rollout has to keep serving until the load balancer stops routing to it, then finish what's in flight. The built-in Next.js handler has no drain timeout and exits with code 143.
On SIGTERM the Next.js and Nuxt servers keep serving for ALOKAI_SHUTDOWN_DELAY_MS (default 5000), then stop accepting connections and let in-flight requests finish, closing any still open after ALOKAI_SHUTDOWN_DRAIN_TIMEOUT_MS (default 15000), and exit with code 0. SIGINT keeps stopping the server immediately. Nuxt gets this from a Nitro plugin in @vue-storefront/nuxt, and Next.js from a preload in @vue-storefront/next that alokai deploy images start with node --require; the middleware server isn't part of this change.
@alokai/cli@vue-storefront/next@vue-storefront/nuxtsecurity The storefront middleware runs on a body-parser with the security fix highlight Action needed 2.5.5
The upgrade doesn't edit your middleware manifest or your lockfile. Your middleware stays on the affected version until you move both pins and refresh the body-parser entries in yarn.lock, then deploy it again.
What changedWhy, and what changed ▸
A vulnerability was identified in body-parser (CVE-2026-111181) and fixed in body-parser 1.20.9 and 2.4.0. Every version earlier Alokai releases pinned or resolved is affected.
New projects pin body-parser at 1.20.9 and express at 4.22.3 in apps/storefront-middleware/package.json, and no published package changes. express moves too, because the 4.21 line requires an older body-parser exactly.
CLI & toolingAction needed11 changes
added An AI agent skill migrates a project to a target Alokai version in one run highlight
Run yarn alokai ai sync, then ask your AI agent to upgrade the project.
What changedWhy, and what changed ▸
Upgrading across several releases meant reading every release's steps, picking the ones for your stack, and applying them by hand.
@alokai/ai-toolkit 1.2.0 ships the alokai-migration skill. It applies the migration steps that match your stack, validates the project with lint, typecheck, build and tests, and hands back any step that needs your decision.
@alokai/ai-toolkitadded version report shows which Alokai packages your project runs highlight
Run yarn alokai version report to see your stack, and keep the version field in your root package.json current.
What changedWhy, and what changed ▸
There was no read-only way to see which Alokai packages a project runs, and the CLI couldn't tell apart two releases that pin the same core package versions.
yarn alokai version report in @alokai/cli 2.9.0 lists your Alokai packages by area with the detected Alokai version, and never changes package.json. When two releases pin the same core versions, the version commands read the version field in your root package.json to tell them apart.
@alokai/clichanged store lint runs your eslint directly and prints one line per store
Your CI logs name the store that failed. Pass --silent to keep a multistore log short.
What changedWhy, and what changed ▸
When several stores were linted in parallel, the CI log didn't show which store had failed.
store lint in @alokai/cli 2.9.0 runs your project's eslint directly and prints one line per store when it starts and finishes. alokai lint and alokai store lint accept --silent, which hides eslint's output for stores that pass.
@alokai/clifixed The axios OpenAPI client needs a return type on createRequestFunction from axios 1.19 Action needed
If you generated an OpenAPI integration with the axios client, add two type annotations to its common.ts, and redo them after every integration generate. Don't pin axios below 1.19 to avoid the edit - that leaves the advisory open.
What changedWhy, and what changed ▸
From axios 1.19, a client generated by the OpenAPI generator for axios fails tsc with TS2527 in createRequestFunction, so the middleware doesn't build.
This release moves to axios 1.20.0, which also closes the security advisory GHSA-542g-h47m-68v8. @vsf-enterprise/sap-commerce-webservices-sdk 7.0.4 fixes its own generated client. The integration generator still produces the unfixed client.
@vsf-enterprise/sap-commerce-webservices-sdkadded someSibling matches a JSX element by what sits next to it
If you write module installers, you can check whether an element already sits next to {children} before you insert it, so your installer doesn't overwrite other modules' changes.
What changedWhy, and what changed ▸
jsxElementMatches in @vsf-enterprise/file-modifier 4.1.0 accepts a someSibling selector. It matches an element when at least one of its siblings matches the nested selector.
@vsf-enterprise/file-modifierchanged The AI review plugin moves to 0.3.1 only when you install it
Staying on 0.3.0 is fine.
step →What changedWhy, and what changed ▸
@alokai/cli-plugin-review 0.3.1 is 0.3.0 rebuilt against this release's dependencies. It works the same.
@alokai/cli-plugin-reviewsecurity Move to Node.js 22.23.4 and undici 6.29.1 highlight Action needed 2.5.1
Update Node.js to 22.23.4 or newer wherever your project runs on the 22 line, including .nvmrc, CI and the base image of any container you build yourself, and raise undici in your lockfile to 6.29.1. Nothing forces either.
What changedWhy, and what changed ▸
Node.js published security advisories on October 21, 2026, and undici has three high-severity issues of its own. A project stays exposed until its Node.js and its lockfile move.
Node.js 22.23.4 fixes the advisories Node.js published on October 21, 2026, and undici 6.29.1 closes the three high-severity issues. A project generated from this release starts on both, but the upgrade doesn't change your existing project's .nvmrc, lockfile or resolutions. @vsf-enterprise/storefront-cli 3.3.8 now declares Node.js >=22.23.4, while your project's range stays 20.* || >=22.14.0.
@vsf-enterprise/storefront-clichanged This release moves no core package, so the version commands see nothing to install Action needed 2.5.2
Running the upgrade command moves nothing except the label, and what it prints depends on your label. A label that names neither release makes the CLI assume this one. It can then propose the release after this one and skip the steps here.
step →What changedWhy, and what changed ▸
The CLI identifies your release by the versions of @alokai/connect, @alokai/cli, @vue-storefront/next and @vue-storefront/nuxt. This release leaves all four where the previous one put them, so the CLI can't tell the two apart by packages alone.
The four core packages stay at @alokai/connect 2.5.2, @alokai/cli 2.9.1, @vue-storefront/next 10.1.1 and @vue-storefront/nuxt 13.0.2. The CLI settles the tie by the version label in your root package.json, and without a matching label it assumes the newest release that fits.
changed Release 2.5.3 moves no core package, so the version commands see nothing to install Action needed 2.5.3
Running the upgrade command moves nothing except the label, and what it prints depends on your label. A label that names none of 2.5.1, 2.5.2 or 2.5.3 makes the CLI assume this one. It can then propose the release after this one and skip the steps here.
step →What changedWhy, and what changed ▸
The CLI identifies your release by the versions of @alokai/connect, @alokai/cli, @vue-storefront/next and @vue-storefront/nuxt. This release leaves all four where 2.5.1 put them, so three releases now share one signature and the CLI can't tell them apart by packages alone.
The four core packages stay at @alokai/connect 2.5.2, @alokai/cli 2.9.1, @vue-storefront/next 10.1.1 and @vue-storefront/nuxt 13.0.2, the same versions 2.5.1 and 2.5.2 ship. The CLI settles the tie by the version label in your root package.json, and without a matching label it assumes the newest release that fits.
changed Release 2.5.5 moves no core package, so the version commands see nothing to install Action needed 2.5.5
Running the upgrade command moves nothing except the label, and what it prints depends on your label. A label that names neither 2.5.4 nor 2.5.5 makes the CLI assume this one. It can then propose the release after this one and skip the steps here.
step →What changedWhy, and what changed ▸
The CLI identifies your release by the versions of @alokai/connect, @alokai/cli, @vue-storefront/next and @vue-storefront/nuxt. This release leaves all four where 2.5.4 put them, so the two releases share one signature and the CLI can't tell them apart by packages alone.
The four core packages stay at @alokai/connect 2.5.2, @alokai/cli 2.9.1, @vue-storefront/next 10.1.2 and @vue-storefront/nuxt 13.0.2, the same versions 2.5.4 ships. The CLI settles the tie by the version label in your root package.json, and without a matching label it assumes the newest release that fits.
changed Release 2.5.6 moves no core package, so the version commands see nothing to install Action needed 2.5.6
Running the upgrade command moves nothing except the label, and what it prints depends on your label. A label that names none of 2.5.4, 2.5.5 and 2.5.6 makes the CLI assume this one. It can then propose the release after this one and skip the steps here.
step →What changedWhy, and what changed ▸
The CLI identifies your release by the versions of @alokai/connect, @alokai/cli, @vue-storefront/next and @vue-storefront/nuxt. This release leaves all four where 2.5.5 and 2.5.4 put them, so the three releases share one signature and the CLI can't tell them apart by packages alone.
The four core packages stay at @alokai/connect 2.5.2, @alokai/cli 2.9.1, @vue-storefront/next 10.1.2 and @vue-storefront/nuxt 13.0.2, the same versions 2.5.5 ships. The CLI settles the tie by the version label in your root package.json, and without a matching label it assumes the newest release that fits.
CompassAction needed14 changes
fixed A cached tool schema validates calls the same way as the first call Action needed
If an earlier module install set an older resolutions.zod in your root package.json, move it to 4.2.1. Otherwise the schema cache does nothing and every cache hit logs an error.
What changedWhy, and what changed ▸
A tool with a cache.key failed with "Received tool input did not match expected schema" when a call left out a field that has a default value.
@alokai/compass 7.1.0 fixes the cached schema and requires zod 4.2.1. The Compass module installer now sets resolutions.zod to 4.2.1.
@alokai/compasschanged ALOKAI_COMPASS_API_URL defaults to the Alokai LLM gateway
You can remove the variable if it points to the gateway. A value you set still takes priority.
What changedWhy, and what changed ▸
@alokai/compass 7.1.0 defaults ALOKAI_COMPASS_API_URL to https://llm-gateway.alokai.cloud. ALOKAI_COMPASS_API_KEY is still required.
@alokai/compassadded Workflow and action prompts can be functions of the request
You can build a prompt per request, for example from a Connect Admin form. The shipped chatbot workflow does this with the search-assistant feature.
What changedWhy, and what changed ▸
A prompt was a string fixed at middleware start, so a change to it needed a restart.
prompt on an action and workflowPrompt on a workflow in @alokai/compass 7.1.0 accept a function (context) => string | Promise<string>, which runs on every request. String prompts work as before.
@alokai/compassadded Eval variants select a middleware configuration by configId
Nothing changes until you declare configurations. If you installed the Compass module before this release, add the switcher file and the turbo.json entries by hand.
What changedWhy, and what changed ▸
To compare two prompts, models or toolsets in an eval, you had to start the store twice with different code.
The Compass module files add a config switcher to the Compass integration. You declare named configurations in extensions/configSwitcher/index.ts, or as JSON in ALOKAI_COMPASS_CONFIG_SWITCHER_PROFILES. A variant in eval-config.json selects one with configId, and the eval report records which one ran.
@alokai/compassadded Evals use matchers, declared datasets and a simulated shopper
The module files register the matchers and include the datasets. If you installed the module before this release, your evals use helpers that no longer exist, so take this release's module files to run them.
What changedWhy, and what changed ▸
@alokai/compass 7.1.0 adds:
evalMatchers(): thetoPassLlmJudgeandtoCallToolsassertions for the test runner'sexpect.scenario()andscenarios(): run a test several times and pass it on a minimum pass rate.defineDataset(): declare eval data in a typed.tsfile.createShopper(): a simulated shopper that writes each user message from the conversation so far.
You can also configure the LLM judge in code, a scenario stopped on timeout shows as failed in the report, and evals run prints a summary table per variant.
@alokai/compassfixed The shopping assistant stops repeating widget contents and filters brands as facets
Replies are shorter and brand searches return products. The brand filter lives in module files, which the upgrade doesn't change. Re-running the module install adds it, but overwrites your edits under sf-modules/compass.
What changedWhy, and what changed ▸
After the assistant showed products or the cart in a widget, it repeated the same list as text. Brand names were searched as free text, so a search for "Burton" found nothing.
In @alokai/compass 7.1.0 the model gets a short summary after a widget renders and is told not to repeat it. In the module files, searchProducts filters brands through the catalog's brand facet, and the assistant reads extra instructions from the search-assistant Connect Admin feature.
@alokai/compasschanged Compass analytics can authenticate with Application Default Credentials
A deployment with all three variables works as before. A deployment with only the database id, where analytics was off, now sends analytics with the runtime's default credentials.
What changedWhy, and what changed ▸
In @alokai/compass 7.1.0 analytics is on when ALOKAI_CLOUD_ANALYTICS_DATABASE_ID is set. It uses ALOKAI_CLOUD_ANALYTICS_CLIENT_EMAIL and ALOKAI_CLOUD_ANALYTICS_PRIVATE_KEY when both are set, and Google's Application Default Credentials otherwise.
@alokai/compasschanged The Compass CLI plugin moves to 1.2.0 only when you install it
If you run Compass evals, install it with yarn alokai plugins install @alokai/cli-plugin-compass@1.2.0. The upgrade doesn't move it, because CLI plugins aren't in package.json.
What changedWhy, and what changed ▸
@alokai/cli-plugin-compass 1.2.0 reads storeId, configId and a judge block from eval-config.json, so one eval run can compare stores, configurations and judge models.
@alokai/cli-plugin-compassfixed Compass storefront files import their types from @/types Action needed 2.5.1
If your typecheck or build already fails with TS2307 on @vsf-enterprise/unified-api-sapcc in a Compass file, make the same one-line edit in each file. If both pass, leave the files alone. Re-running the module install overwrites edits you made under sf-modules/compass.
What changedWhy, and what changed ▸
The Compass checkout and product-listing files imported types from @vsf-enterprise/unified-api-sapcc, which the storefront doesn't depend on. yarn typecheck and next build then failed with TS2307 in freshly generated projects.
The Compass module files under sf-modules/compass import SfCart, SfCartLineItem, SfMoney, SfShippingMethod, SfCustomerAddress and SfProductCatalogItem from @/types. The fix lives in module source, not in a package, so the upgrade doesn't touch your copy and a project that adopts the module later gets it.
changed @alokai/compass 7.1.1 requires @alokai/connect 2.5.2 Action needed 2.5.1
The upgrade moves @alokai/connect to 2.5.2 and leaves @alokai/compass where your manifests pin it. At 7.1.0 it keeps asking for 2.5.1, the version you just left, so pin 7.1.1 in the manifests that declare it.
What changedWhy, and what changed ▸
@alokai/compass declares @alokai/connect as an exact peer, so every Connect release needs a matching Compass release.
@alokai/compass 7.1.1 declares @alokai/connect 2.5.2 as its peer, where 7.1.0 declared 2.5.1. It also takes @vue-storefront/next 10.1.1 and @vsf-enterprise/redis-sdk 6.0.2. No source file in the package changed.
@alokai/compasschanged The Compass CLI plugin moves to 1.2.1 only when you install it 2.5.1
If you run Compass evals, install 1.2.1 so the plugin sits on the same @alokai/compass and @alokai/connect as your project. If you adopted the module, the installer appended an unpinned plugins install @alokai/cli-plugin-compass to your root postinstall, which reinstalls the newest published plugin on every yarn install.
What changedWhy, and what changed ▸
The plugin lives in the CLI's own plugin store, not in package.json, so neither the upgrade command nor a dependency install moves it.
@alokai/cli-plugin-compass 1.2.1 moves its dependency ranges to @alokai/compass 7.1.1 and @alokai/connect 2.5.2. Nothing else in the plugin changed.
@alokai/cli-plugin-compassfixed Compass structured outputs work again with zod pinned in the storefront middleware highlight Action needed 2.5.2
The upgrade doesn't edit your middleware package.json, so add the pin yourself if you use Compass and its structured-output workflows fail with schema must have a 'type' key. A project generated from this release already has it.
What changedWhy, and what changed ▸
A fresh install could nest a second, newer zod copy under @langchain/core and @langchain/openai. With two copies, Compass structured-output schemas lost the type of described fields. The LLM gateway then rejected the request with schema must have a 'type' key. Compass workflows that use structured outputs, such as Smart order in Quick Order, failed.
The storefront middleware package.json pins zod to 4.2.1 in resolutions, so the install keeps one zod copy. The fix lives in the generated app manifest and in no published package.
changed @alokai/compass 7.1.2 depends on the fixed @vue-storefront/next 2.5.4
The upgrade moves @vue-storefront/next to 10.1.2 but leaves @alokai/compass where your manifests pin it. A project that keeps 7.1.1 runs the same Compass code with a second copy of @vue-storefront/next 10.1.1 in its lockfile. The deploy still copies the fixed preload from the storefront app's own copy. Pin 7.1.2 to keep one copy.
What changedWhy, and what changed ▸
@alokai/compass declares @vue-storefront/next as an exact dependency, so every release that moves @vue-storefront/next needs a matching Compass release to keep one copy in the project.
@alokai/compass 7.1.2 depends on @vue-storefront/next 10.1.2, where 7.1.1 depended on 10.1.1. It still requires @alokai/connect 2.5.2 as its peer. No source file in the package changed, and the package itself imports nothing from @vue-storefront/next.
@alokai/compasschanged The Compass CLI plugin moves to 1.2.2 only when you install it 2.5.4
If you run Compass evals, install 1.2.2. A project that adopted the module has an unpinned plugin install in its root postinstall, which a pin can't override.
What changedWhy, and what changed ▸
The plugin lives in the CLI's own plugin store, not in package.json, so neither the upgrade nor a dependency install moves it.
@alokai/cli-plugin-compass 1.2.2 moves its dependency range to @alokai/compass 7.1.2. Nothing else changed.
@alokai/cli-plugin-compassConnect AdminAction needed9 changes
added Workflows in Connect Admin run multi-step jobs with review gates highlight
Nothing changes unless you add a workflows view. If you do, set concurrency: "single" on workflows that write data.
What changedWhy, and what changed ▸
Jobs such as refreshing a curation or pushing a configuration ran outside Connect Admin, with no way for a person to approve the result before it went live.
@alokai/connect-admin 1.1.0 adds a workflows view kind. A workflow is a list of task steps that run your code and review steps that wait for a person's approval. A run starts from Run workflow or from the workflow's webhook. See Workflows.
@alokai/connect-adminchanged Connect Admin requires a sign-in highlight Action needed
If you run the editor in production, ask Alokai for your own FusionAuth application and set the variables before you deploy 1.1.0. Locally, nothing changes until you set an application id.
step →What changedWhy, and what changed ▸
Anyone who could reach the middleware in production could change the configuration through the editor.
In @alokai/connect-admin 1.1.0 the editor asks for a FusionAuth sign-in, configured with CONNECT_ADMIN_FUSIONAUTH_APPLICATION_ID and CONNECT_ADMIN_FUSIONAUTH_CLIENT_SECRET. In production, without an application id, every editor route answers 404. CONNECT_ADMIN_ROLE=admin replaces CONNECT_ADMIN_FEATURE_EDITOR, which still works.
@alokai/connect-adminadded Connect Admin keeps its data in Firestore when you configure it
Configure Firestore, including its TTL policies, for every production deployment. You don't need it for local development.
step →What changedWhy, and what changed ▸
Connect Admin stored authored configuration in Redis, which is a cache in Alokai Cloud. A cache flush could erase it without warning.
When you set CONNECT_ADMIN_FIRESTORE_PROJECT_ID, CONNECT_ADMIN_FIRESTORE_CLIENT_EMAIL and CONNECT_ADMIN_FIRESTORE_PRIVATE_KEY, @alokai/connect-admin 1.1.0 keeps its data in Firestore: configuration versions, workflow runs and sign-in sessions. Data already in Redis moves over on the first read, with no migration script. Without the variables, Connect Admin uses Redis as before, and a production deployment shows a warning banner.
@alokai/connect-adminchanged Every form view keeps its own version history, and the open version belongs to your browser Action needed
Your saved versions and live versions survive the upgrade. If your middleware calls getFeatureVersions or reads currentId, pass { featureId, viewId } and remove currentId, or the typecheck fails. Evals that pin a version should set initialVersions[].id.
What changedWhy, and what changed ▸
All forms of a feature shared one version list, so saving one form changed the others. Opening a version also moved every colleague's editor to it.
In @alokai/connect-admin 1.1.0 each form view has its own version history. Your existing versions, labels and live version are split per form the first time each form opens. The version you have open is stored only in your browser, so colleagues no longer affect each other's saves. Drafts are gone: every version is a saved version with a name you choose.
Download all and Upload in the sidebar export and import the history of every form. An import only adds versions. It never overwrites a version or changes which one is live.
@alokai/connect-adminadded Sentence rules, dependent dropdowns, ordered pick lists and server-only views
Existing fields work as before. Put settings that visitors must never see, such as internal merchandising rules, in a serverOnly view.
What changedWhy, and what changed ▸
@alokai/connect-admin 1.1.0 adds:
sentenceRulefield kind: the operator builds a rule that reads as one sentence, with inputs between fixed words.dependsOnonselect,multiSelect,multiSelectDropdownandstringList: the list of options depends on the value of another field.optionsonstringList: an ordered list limited to known values.serverOnly: trueon a form view: the publicgetFormValuesroute returnsnullfor it, and your middleware still reads it throughcontext.getApiClient("connect-admin").
A selected value that is no longer in a dropdown's list stays selected and is marked as unavailable.
@alokai/connect-adminchanged A view's prepare data refreshes instead of living for the whole process
Opening a view now runs prepare every time. Use it for data that's expensive to fetch and rarely changes, and load data that changes often in the field's options callback.
What changedWhy, and what changed ▸
prepare ran once per process, so a new category or attribute in your backend appeared in the editor only after a middleware restart.
In @alokai/connect-admin 1.1.0 prepare runs again each time an operator opens or reloads a view. On storefront servers it refreshes data older than a minute; CONNECT_ADMIN_PREPARE_MAX_AGE_MS changes the interval. With the config switcher, each store keeps its own copy.
@alokai/connect-adminadded Installing the Connect Admin module registers the storefront SDK module
After a fresh install you can call sdk.connectAdmin.getFormValues(...) without manual setup. If you installed the module earlier, nothing changes.
What changedWhy, and what changed ▸
The module installer adds a connectAdmin SDK module to the storefront, in sdk/modules/connect-admin.ts in Next.js and sdk-modules/connect-admin.ts in Nuxt.
added store deploy deploys Connect Admin as its own application
Installing the module is enough. Storefront reads still go to your storefront middleware.
What changedWhy, and what changed ▸
A dedicated Connect Admin deployment had to be set up by hand in the Alokai Console.
When your middleware's package.json lists @alokai/connect-admin, store deploy in @alokai/cli 2.9.0 also deploys a Connect Admin app under /connect/, from the same middleware image, with CONNECT_ADMIN_ROLE=admin.
@alokai/clichanged @alokai/connect-admin 1.1.1 requires @alokai/connect 2.5.2 Action needed 2.5.1
The upgrade moves @alokai/connect to 2.5.2 and leaves @alokai/connect-admin where your manifest pins it. At 1.1.0 it keeps asking for 2.5.1, the version you just left, so pin 1.1.1 in the manifest that declares it.
What changedWhy, and what changed ▸
@alokai/connect-admin declares @alokai/connect as an exact peer, so every Connect release needs a matching Connect Admin release.
@alokai/connect-admin 1.1.1 declares @alokai/connect 2.5.2 as its peer, where 1.1.0 declared 2.5.1, and takes @vsf-enterprise/redis-sdk 6.0.2. No source file in the package changed.
@alokai/connect-adminNext.jsAction needed7 changes
added Server errors are logged with their route the moment Next.js captures them
Add onRequestError to the re-export in apps/storefront-unified-nextjs/instrumentation.ts.
What changedWhy, and what changed ▸
Some server errors in next dev and preview deployments weren't logged, or were logged without their route.
@vue-storefront/next 10.1.0 exports an onRequestError hook from @vue-storefront/next/instrumentation. Next.js calls it on every server error, and the hook logs the error once, with its route.
@vue-storefront/nextfixed The Next.js Tailwind entry no longer declares an @source path above the project root
Nothing fails on the Next.js version this release pins. Delete the longer path now, in per-store overrides too, so a later move to Next.js 16.3 doesn't break your build.
step →What changedWhy, and what changed ▸
app/tailwind.scss declared an @source path that points above the project root. Next.js 16.3 stops next build on it when the project sits inside another repository.
New projects keep only the correct path. The compiled CSS is the same.
changed The Next.js app pin moves to 16.2.12 and holds back 16.3
The upgrade doesn't change your next version. Move it to 16.2.12 for the patch fixes, and stay below 16.3 for now.
What changedWhy, and what changed ▸
New projects pin next at 16.2.12. Next.js 16.3 is held back because of a prefetch bug that can hang the page. @vue-storefront/next 10.1.0 works with any Next.js 16.
added Load the graceful-shutdown preload in Next.js images you build yourself 2.5.1
If you build the Next.js image yourself and want both behaviours, copy the preload next to server.js and add --require to the entrypoint. If you don't, your server runs as it did before.
What changedWhy, and what changed ▸
alokai deploy images load the shutdown preload, but an image built from your own Dockerfile starts server.js directly. It keeps the built-in SIGTERM handler and Node's 5-second idle timeout.
@vue-storefront/next 10.1.1 exports @vue-storefront/next/graceful-shutdown, a single self-contained CommonJS file meant for node --require. It replaces the built-in SIGTERM handler with the drain described by ALOKAI_SHUTDOWN_DELAY_MS and ALOKAI_SHUTDOWN_DRAIN_TIMEOUT_MS, and applies the 65-second idle connection timeout, which KEEP_ALIVE_TIMEOUT overrides.
@vue-storefront/nextsecurity Next.js security fixes land with the next pin at 16.4.3 highlight Action needed 2.5.3
The upgrade doesn't edit your storefront manifest, so your project stays on its current next version until you move the pin to 16.4.3. A project without the Next.js app has nothing to do.
What changedWhy, and what changed ▸
Next.js identified and fixed several critical vulnerabilities in the versions earlier Alokai releases pinned, and no fix exists on the 16.2 line.
New projects pin next at 16.4.3 in apps/storefront-unified-nextjs/package.json, and no published package changes. Next.js 16.4.0 also fixes the prefetch loop that kept the 2.5.0 pin below 16.3, so that hold is lifted.
fixed Next.js storefront images from alokai-cli store deploy start again highlight 2.5.4
Once @vue-storefront/next is at 10.1.2, build and deploy the Next.js storefront again. Containers from an image built on 2.5.1, 2.5.2 or 2.5.3 keep crashing until the new image replaces them. A copy of the preload kept in your repository has to be replaced by hand.
What changedWhy, and what changed ▸
The Docker image that alokai-cli store deploy builds for a Next.js storefront starts the server with node --require ./graceful-shutdown.cjs server.js. On 2.5.1, 2.5.2 and 2.5.3 that preload still required @alokai/connect/logger at run time, and the image holds no copy of that package next to it. Every container built from those releases exited at start with Cannot find module '@alokai/connect/logger', before server.js loaded.
@vue-storefront/next 10.1.2 ships graceful-shutdown.cjs as a single file that requires nothing outside itself, and alokai-cli store deploy keeps copying it from the installed package. The SIGTERM drain and the 65-second idle timeout are unchanged.
@vue-storefront/nextsecurity The Next.js storefront runs on a next version with the security fix highlight Action needed 2.5.6
The upgrade doesn't edit your storefront manifest or your root resolutions, so your storefront stays on the affected version until you move both pins. Deploy the storefront again afterwards.
What changedWhy, and what changed ▸
Vulnerabilities were identified in Next.js and fixed in next 16.4.5. Every earlier version that Alokai releases pinned is affected. The default storefront doesn't use the features involved, but a project that enabled any of them is exposed.
New projects pin next at 16.4.5 in apps/storefront-unified-nextjs/package.json and in the root resolutions. The change lives in those generated manifests and in no published package.
NuxtAction needed1 change
fixed ProductSlider and the CMS Scrollable forward a normalized class to SfScrollable Action needed
Your copies of the two components build until your lockfile resolves Vue 3.5.30 or newer. Make the same edit before that happens.
step →What changedWhy, and what changed ▸
Vue 3.5.30 changed the type of the class attribute, so nuxt build fails with TS2322 in ProductSlider and cms/page/Scrollable.
New projects pass the class through Vue's normalizeClass() in both components.
SAP Commerce Cloud3 changes
added SAP Commerce Cloud signUserIn forwards extra parameters to the login request
Pass additionalParams only if your SAP instance expects the fields. Upgrade @vsf-enterprise/sapcc-api, @vsf-enterprise/sapcc-types and @vsf-enterprise/unified-api-sapcc together. The unified API's major version change needs no code change.
What changedWhy, and what changed ▸
A SAP customization that expects an extra login field, such as a CAPTCHA token, couldn't receive it from the storefront.
signUserIn in @vsf-enterprise/sapcc-api 14.1.0 accepts an optional additionalParams object and sends it with the login request. It can't override the fields the OAuth flow itself uses.
const tokenResponse = await sdk.commerce.signUserIn({
username: "test@example.com",
password: "test123!",
additionalParams: { recaptchaToken },
});@vsf-enterprise/sapcc-api@vsf-enterprise/sapcc-types@vsf-enterprise/unified-api-sapccchanged The SAP Commerce packages no longer pull in jsdom
Nothing to do.
What changedWhy, and what changed ▸
@vsf-enterprise/sapcc-api 14.1.0 and @vsf-enterprise/smartedit-api 10.0.0 drop the unused jsdom dependency, and with it the ws package and its security advisory.
fixed The SAP ASM installer inserts its panel without overwriting the layout wrapper
If you already installed the module, nothing changes. Only fresh installs behave differently.
What changedWhy, and what changed ▸
The Next.js installer replaced root-layout-content-wrapper.tsx, which deleted edits made to it by you or by other modules.
The installer now adds <AsmPanelClient /> to the file and leaves the rest unchanged.
Magento 22 changes
fixed The Magento middleware connects to a GraphQL endpoint served over plain http:// 2.5.6
Nothing is asked of you. An https:// endpoint behaves as before.
What changedWhy, and what changed ▸
Pointing the middleware at a Magento GraphQL endpoint that uses http://, such as a local or internal instance, made every request fail with Protocol "http:" not supported. Expected "https:".
@vsf-enterprise/magento-api now sends requests through an HTTP agent for http:// endpoints and an HTTPS agent for https:// ones.
@vsf-enterprise/magento-apifixed Items in a guest cart carry over into the customer's cart when they sign in on Magento 2.5.6
Nothing is asked of you. Shoppers who sign in with items in their guest cart now see them in the customer cart.
What changedWhy, and what changed ▸
A shopper who added items to the cart before signing in found them missing afterwards.
loginCustomer in @vsf-enterprise/unified-api-magento now merges a non-empty guest cart into the customer's cart. An empty guest cart, or one that can't be read, is skipped and the login goes through.
@vsf-enterprise/unified-api-magentoContentful1 change
changed The Contentful SDK moves to @contentful/live-preview 4
Move your app's @contentful/live-preview version to ^4.10.20. If you keep ^3, two copies of the library are installed.
What changedWhy, and what changed ▸
@vsf-enterprise/contentful-sdk 10.0.1 depends on @contentful/live-preview ^4.10.20, up from ^3.3.7.
@vsf-enterprise/contentful-sdkContentstack1 change
fixed Contentstack previews read the preview parameters from the page URL 2.5.6
Nothing is asked of you. Visual Editor and Timeline previews pick the parameters up without any change on your side.
What changedWhy, and what changed ▸
Contentstack adds live_preview, preview_timestamp and release_id to the preview URL, and getPage ignored them. The Visual Editor didn't show unsaved edits on first load, and Timeline previews didn't show content for the selected date or release.
getPage in @vsf-enterprise/contentstack-api now reads those three search params. Where vsf-live-preview-query is also present, its values win. Preview stays off unless a live_preview value is present.
@vsf-enterprise/contentstack-apiSmartEditAction needed3 changes
fixed SmartEdit live preview survives client-side navigation and keeps hidden components visible Action needed
The SDK bump fixes the disappearing components. The navigation fix is in sf-modules/cms-smartedit files your project owns, so you apply it by hand.
What changedWhy, and what changed ▸
Switching pages inside SmartEdit lost the preview content and the editing overlay until a full refresh. Some components, such as the category navigation bar, also disappeared in the preview.
initLivePreview in @vsf-enterprise/smartedit-sdk 6.1.0 can run after every page change, and it keeps Tailwind's responsive hidden classes working in the preview. The module files store the preview ticket in a session cookie, so it survives navigation.
@vsf-enterprise/smartedit-sdkfixed SmartEdit preview renders multi-column page templates like the live storefront Action needed
The module files are in your project, so apply the fix to your copies by hand.
step →What changedWhy, and what changed ▸
In the SmartEdit preview, multi-column template sections such as Section2A and Section2B collapsed into one column. In Nuxt, regular pages were affected too.
The module's slot wrappers keep their contents class in preview mode, in render-cms-content.tsx and RenderSlot.vue.
changed @vsf-enterprise/smartedit-api moves to 10.0.0 in lockstep with the SAP Commerce API
Upgrade it together with @vsf-enterprise/sapcc-api 14.1.0. Your code doesn't change.
What changedWhy, and what changed ▸
@vsf-enterprise/smartedit-api 10.0.0 has no API change. Its major version moved because it pins @vsf-enterprise/sapcc-api exactly.
@vsf-enterprise/smartedit-apiCI / deployment workflows1 change
added Generated CI and CD workflows cap every job at 30 minutes
The upgrade doesn't change your workflow files. Add timeout-minutes: 30 to the run-ci, chooseStoresToDeploy and deploy jobs if you want the same limit.
What changedWhy, and what changed ▸
A hanging step kept a CI runner busy until GitHub's six-hour default stopped it.
New projects set timeout-minutes: 30 on the jobs in .github/workflows/continuous-integration.yml and .github/workflows/continuous-delivery.yml.
Patches in 2.5.x
2.5.6
9 Nov 2026 · Patch · 7 of 84 packages moved
A vulnerability in Next.js has been identified and fixed. The upgrade doesn't
edit your storefront package.json or your root resolutions, so move the
next pin yourself. No core package moves in this release, so the version
commands see nothing to install. Magento and Contentstack projects also get
one fix each.
The Next.js storefront runs on a next version with the security fix
Vulnerabilities were identified in Next.js and fixed in next 16.4.5. Every earlier version that Alokai releases pinned is affected. The default storefront doesn't use the features involved, but a project that enabled any of them is exposed.
New projects pin next at 16.4.5 in apps/storefront-unified-nextjs/package.json and in the root resolutions. The change lives in those generated manifests and in no published package.
The upgrade doesn't edit your storefront manifest or your root resolutions, so your storefront stays on the affected version until you move both pins. Deploy the storefront again afterwards - running instances keep the old version until a new build replaces them.
2.5.5
2 Nov 2026 · Patch · 2 of 84 packages moved
A vulnerability in body-parser, which the storefront middleware uses, has
been identified and fixed. The upgrade doesn't edit your middleware
package.json or your lockfile, so move the body-parser and express pins
and refresh the lockfile yourself. No core package moves in
this release, so the version commands see nothing to install.
The storefront middleware runs on a body-parser with the security fix
A vulnerability was identified in body-parser (CVE-2026-111181) and fixed in body-parser 1.20.9 and 2.4.0. Every version earlier Alokai releases pinned or resolved is affected.
New projects pin body-parser at 1.20.9 and express at 4.22.3 in apps/storefront-middleware/package.json. The change lives in that generated app manifest and in no published package. express moves too, because the 4.21 line requires an older body-parser exactly.
The upgrade doesn't edit your middleware manifest or your lockfile. Your middleware stays on the affected version until you move both pins and refresh the body-parser entries in yarn.lock. Other packages bring in their own copies of body-parser, and the lockfile keeps those on their old versions until you refresh it. Deploy the middleware again afterwards - running instances keep the old version until a new build replaces them.
2.5.4
29 Oct 2026 · Patch · 5 of 84 packages moved
A Next.js storefront image built by alokai-cli store deploy on 2.5.1, 2.5.2 or 2.5.3 crashed at start with Cannot find module '@alokai/connect/logger'. @vue-storefront/next 10.1.2 fixes the preload the image loads, so once the upgrade moves that package, deploy again. If you use Compass, move its two packages yourself - the upgrade doesn't pin them.
Next.js storefront images from alokai-cli store deploy start again
@vue-storefront/nextThe Docker image that alokai-cli store deploy builds for a Next.js storefront starts the server with node --require ./graceful-shutdown.cjs server.js. On 2.5.1, 2.5.2 and 2.5.3 that preload still required @alokai/connect/logger at run time, and the image holds no copy of that package next to it. Every container built from those releases exited at start with Cannot find module '@alokai/connect/logger', before server.js loaded.
@vue-storefront/next 10.1.2 ships graceful-shutdown.cjs as a single file with everything it needs inside it. It requires nothing outside the file, so it loads wherever the image puts it. alokai-cli store deploy keeps copying the preload from the installed @vue-storefront/next next to server.js, so the fix reaches the image through the package move alone. The drain on SIGTERM and the 65-second idle timeout the preload applies are unchanged.
Once @vue-storefront/next is at 10.1.2, build and deploy the Next.js storefront again. Containers from an image built on 2.5.1, 2.5.2 or 2.5.3 keep crashing until the new image replaces them. A project that never deployed on those three releases has nothing to repair. If you build the Next.js image from your own Dockerfile and copy the preload from node_modules at build time, a rebuild picks up the fixed file; a copy of the file kept in your repository has to be replaced by hand. If you worked around the crash by listing @alokai/connect and its dependencies in outputFileTracingIncludes in next.config.mjs, that entry is no longer needed.
2.5.3
27 Oct 2026 · Patch · 2 of 84 packages moved
Next.js has fixed critical vulnerabilities in the versions earlier releases pinned, and this release moves new projects to 16.4.3. The upgrade doesn't edit your storefront package.json, so if you have the Next.js app, move the pin yourself in the same pass. No core package moves in this release, so the version commands see nothing to install.
Next.js security fixes land with the next pin at 16.4.3
Next.js identified and fixed several critical vulnerabilities in the versions earlier Alokai releases pinned, and no fix exists on the 16.2 line.
New projects pin next at 16.4.3 in apps/storefront-unified-nextjs/package.json. The change lives in that generated app manifest and in no published package. @vue-storefront/next 10.1.1 accepts any Next.js 16, so nothing else moves with it. Next.js 16.4.0 also carries the upstream fix for the prefetch loop that kept the 2.5.0 pin below 16.3, so that hold is lifted.
The upgrade doesn't edit your storefront manifest, so your project stays on its current next version until you move the pin to 16.4.3. Do it in the same pass as this release's package versions so one install covers both. A project without the Next.js app has nothing to do.
2.5.2
23 Oct 2026 · Patch · 2 of 84 packages moved
The storefront middleware now pins zod to 4.2.1, which fixes Compass workflows that use structured outputs. The upgrade doesn't touch your package.json files, so if you use Compass, add the pin yourself. No core package moves in this release, so the version commands see nothing to install.
Compass structured outputs work again with zod pinned in the storefront middleware
A fresh install could nest a second, newer zod copy under @langchain/core and @langchain/openai. With two copies, Compass structured-output schemas lost the type of described fields. The LLM gateway then rejected the request with schema must have a 'type' key. Compass workflows that use structured outputs, such as Smart order in Quick Order, failed.
The storefront middleware package.json pins zod to 4.2.1 in resolutions, so the install keeps one zod copy. The fix lives in the generated app manifest and in no published package.
The upgrade doesn't edit your middleware package.json, so your project keeps the unpinned install until you add the entry. If you use Compass and its structured-output workflows fail with schema must have a 'type' key, add the pin. A project generated from this release already has it.
2.5.1
23 Oct 2026 · Patch · 55 of 84 packages moved
The Next.js and Nuxt servers now finish in-flight requests when they get SIGTERM, and the middleware and both storefront servers keep idle connections open for 65 seconds. Node.js 22.23.4 and undici 6.29.1 fix security issues, and the upgrade doesn't touch your .nvmrc or lockfile, so moving to them is on you. If you use Compass or Connect Admin, move their packages to the versions that require @alokai/connect 2.5.2 - the upgrade doesn't do it. A middleware call that outruns the circuit breaker timeout is now reported as a timeout and stops retrying.
Move to Node.js 22.23.4 and undici 6.29.1
@vsf-enterprise/storefront-cliNode.js published security advisories on October 21, 2026, and undici has three high-severity issues of its own. A project stays exposed until its Node.js and its lockfile move.
Node.js 22.23.4 fixes the advisories Node.js published on October 21, 2026, and undici 6.29.1 closes the three high-severity issues. A project generated from this release starts on both: its .nvmrc names 22.23.4 and its lockfile resolves undici to 6.29.1. Your existing project's .nvmrc, lockfile and resolutions are yours, so the upgrade doesn't change them.
@vsf-enterprise/storefront-cli 3.3.8, the CLI that create and add-module run, now declares Node.js >=22.23.4, up from >=22.14. The range your own project declares stays 20.* || >=22.14.0.
Update Node.js to 22.23.4 or newer wherever your project runs on the 22 line - your machine, .nvmrc, CI and the base image of any container you build yourself - and raise undici in your lockfile to 6.29.1. Nothing forces either, so the update happens only if you make it.
Storefront servers finish in-flight requests when they receive SIGTERM
@alokai/cli@vue-storefront/next@vue-storefront/nuxtA pod that receives SIGTERM during a rollout has to keep serving until the load balancer stops routing to it, then finish what's in flight. The built-in Next.js handler has no drain timeout and exits with code 143.
On SIGTERM the Next.js and Nuxt servers keep serving for ALOKAI_SHUTDOWN_DELAY_MS (default 5000) so the load balancer stops routing to the pod. They then stop accepting connections, let in-flight requests finish and exit with code 0. Requests still open after ALOKAI_SHUTDOWN_DRAIN_TIMEOUT_MS (default 15000) are closed. SIGINT keeps stopping the server immediately.
Nuxt gets this from a Nitro plugin that @vue-storefront/nuxt registers. For Next.js, @vue-storefront/next ships a preload that replaces the built-in handler. alokai deploy copies it next to server.js in the image, and the Dockerfile it uses starts the server with node --require. The middleware server isn't part of this change.
With the defaults, a pod can stay up for 20 seconds after SIGTERM, so keep the sum of the two variables below the pod's terminationGracePeriodSeconds. Nuxt and images built by alokai deploy need nothing else. A Next.js image you build from your own Dockerfile keeps the built-in handler until it loads the preload.
The middleware and storefront servers keep idle connections open for 65 seconds
@alokai/connect@vue-storefront/next@vue-storefront/nuxtNode closed idle keep-alive connections after 5 seconds, shorter than the Istio ingress gateway idle timeout in front of it. The gateway occasionally returned 503 on a connection Node had already closed.
The middleware, Nuxt and Next.js servers keep idle connections open for 65 seconds, with headersTimeout set 5 seconds above that. KEEP_ALIVE_TIMEOUT, in milliseconds, overrides the 65 seconds; a value that isn't a positive integer logs a warning and falls back to the default.
The middleware gets this from createServer in @alokai/connect and Nuxt from a Nitro plugin that @vue-storefront/nuxt registers. Next.js gets it from the same preload that handles SIGTERM, so a Next.js server started without the preload keeps Node's 5 seconds.
Nothing to do behind the Istio ingress gateway. Behind a proxy whose idle timeout is longer than 65 seconds, set KEEP_ALIVE_TIMEOUT above that timeout, because the server has to stay the last side to close.