Repository navigation
docs: doc changes for next release [automated] - #17065
Conversation
There was a problem hiding this comment.
Thanks for the contribution! Initial automated review looks good. Reviewed on 45d93c9.
|
The review above was truncated in submission; here is its full text, unchanged from the automated reviewer (still reviewed on 45d93c9, triggered by: new commit pushed): Thanks for the contribution! Initial automated review looks good. This docs-only PR collects the automated doc updates for the next release. We checked the new content against the source code: - HTTP tracing ( |
Automated Documentation Updates
This PR accumulates automated documentation changes for the next release.
Each entry below corresponds to a merged commit that triggered updates.
1e8b4b6â 2026-09-29No documentation changes were needed. This commit is a security dependency bump of
multerfrom^2.3.0to^2.4.0in@medusajs/medusa. It doesn't change any public API, configuration, or admin dashboard behavior.Affected projects:
fdac7deâ 2026-09-29Updated the Product Index Examples guide (
resources/app/infrastructure-modules/search/product-index-examples) with a new "Changing Price Lists" section. It lists the newprice-list.*events (available since v2.21.3), adds apriceListProductIdsfunction that maps them to affected products throughprice_set_idsor the price list's prices, and adds the events to the complete index definition. The old note that said creating a price list doesn't emit an event now only covers price lists becoming active or expiring by date. The events reference is auto-generated, and the book didn't need changes.Affected projects:
7352313â 2026-09-29Added a "Manage Options" section to the Manage Products with the Admin API guide (
resources/app/commerce-modules/product/guides/manage-with-admin-api). It explains how to add and remove product options withsdk.admin.product.linkOptions, which wasn't documented before. It also has a "Remove an Option from a Product with Variants" subsection for the new behavior (since v2.21.3): Medusa removes the option's values from the product's variants instead of throwing an error, and only fails when two variants would end up with the same option combination. The book didn't need changes.Affected projects:
e6510b1â 2026-10-01No documentation changes were needed. This commit fixes
promiseAllfrom@medusajs/framework/utilsso it no longer crashes when a promise rejects with a non-Errorvalue, such asundefined,null, or a string. The function's signature and documented usage stay the same, so the existing examples in the book and resources still apply.Affected projects:
b561a37â 2026-10-02No documentation changes were needed. This commit adds a
fetchoption to the Search Module'scloudoptions and to the Medusa search provider options, which replaces the HTTP transport used to reach the Cloud search proxy. Both new options are tagged@ignorein their TSDoc, so they're internal and intentionally left out of the docs.Affected projects:
534b829â 2026-10-05Updated the Node.js requirement in the book and resources docs from "v20.19.0+ or v22.12.0+" to "v22.22.0+". Medusa dropped Node.js 20 support and now requires Node.js v22.22.0 or later. The change covers the
Prerequisiteslists in the installation,create-medusa-app, Medusa CLI, lint, Next.js Starter, recipe, tutorial, and integration guides, plus the/startprompt content and the v1-to-v2 migration guide. The Docker installation guide now uses thenode:22-alpinebase image. The user guide didn't need changes because the admin dashboard wasn't affected. The Cloud docs (cloud/app/projects/prerequisitesandcloud/app/projects/clone-locally) still list the old requirement. This workflow can't edit them, so they need a separate update.Affected projects:
09c7800â 2026-10-07No documentation changes were needed. This commit changes the
statusfilter ofBaseProductListParamsin@medusajs/typesso it only accepts an array of statuses, not a single status. No example in the book or resources passesstatusas a filter when listing products, and the HTTP types reference is auto-generated.Affected projects:
c522ce6â 2026-10-08This commit fixes the JS SDK's
setLocalemethod so it logs a warning in server environments instead of throwing aReferenceError. The docs didn't mention thatsetLocaleonly works in the browser, so a note now covers it in the JS SDK guide (resources/app/js-sdk, "Localization with JS SDK" section) and the Localization storefront guide (resources/app/storefront-development/localization). Both notes point to the "Set Locale in Server Environments" section, which explains how to pass thex-medusa-localeheader instead. The book didn't need changes.Affected projects:
b34706aâ 2026-10-09No documentation changes were needed. This commit only fixes a "seperate" typo in a code comment in the design-system toolbox's color token utility (
packages/design-system/toolbox/src/commands/tokens/utils/colors.ts). It doesn't change token generation, component behavior, or any public API.Affected projects:
780a69aâ 2026-10-09Added a "Retry Refunds Safely with an Idempotency Key" section to the Payment Flow guide (
resources/app/commerce-modules/payment/payment-flow). It shows how to pass the newidempotency_key(since v2.21.3) torefundPaymentWorkflowand the Payment Module'srefundPaymentmethod, and to the Refund Payment admin API route. It also explains how a retry behaves when the previous refund succeeded, failed, is still pending, or used a different amount. Notes cover the new refundstatusproperty (pending,succeeded,failed) and thatrefundPaymentWorkflowreturns the payment without the new refund. The book didn't need changes, and the user guide didn't either because the admin dashboard wasn't changed.Affected projects:
06bc7ecâ 2026-10-16No documentation changes were needed. This commit removes an undefined
allowedproperty from the query config of the admin customers export route (packages/medusa/src/api/admin/customers/query-config.ts). It's an internal bug fix that doesn't change the route's public API, and the admin dashboard wasn't changed. The API reference is managed separately.Affected projects:
b3db8ecâ 2026-10-19No documentation changes were needed. This commit fixes the
updatemethod of theAuthIdentityProviderServicethat Medusa passes to auth providers. The method now updates the provider identity whoseentity_idmatches, instead of the first identity from the same provider. Its signature and documented usage stay the same, so the existing examples in the Phone Authentication tutorial and the Okta integration guide still apply, and the auth provider reference is auto-generated.Affected projects:
673d03eâ 2026-10-19Documented the new
projectConfig.http.requireActorAssociationoption. It makes an auth provider, such asemailpass, only authenticate auth identities already associated with the requested actor type. The book's Medusa Configurations chapter (book/app/learn/configurations/medusa-config) has a newhttp.requireActorAssociationsection afterhttp.authMethodsPerActor, and the Auth Providers guide (resources/app/commerce-modules/auth/auth-providers) has a new "Require Actor Association for Auth Providers" section. Both explain the default behavior, the genericAuthentication failederror, and that registration isn't affected. The version notes say v2.22.0 because pending changesets includeminorbumps (for example, the Node.js 20 drop), while earlier entries in this PR use v2.21.3, so confirm the release version before merging. The user guide didn't need changes because the admin dashboard wasn't changed.Affected projects:
3755f0fâ 2026-10-20Documented the HTTP tracing changes in the book's Instrumentation chapter (
book/app/learn/debugging-and-testing/instrumentation). Theinstrument.httpoption ofregisterOtelnow accepts an object with anallowedQueryParamsproperty, and a new "Configure HTTP Tracing" section explains the new behavior: Medusa strips the query string fromhttp.urland span names, reports it in aurl.queryattribute with values of non-allowed parameters replaced byREDACTED, and no longer reports sensitive headers such asauthorizationandcookie. The Sentry integration guide (resources/app/integrations/guides/sentry) links to the new section. The version notes say v2.22.0 to match the previous entry, so confirm the release version before merging. The user guide didn't need changes because the admin dashboard wasn't changed.Affected projects: