From a87c66fe9ddc8e22b32c4bf20cfb62003e9e3c9d Mon Sep 17 00:00:00 2001 From: Jack Pope Date: Mon, 31 Mar 2025 09:37:36 -0400 Subject: [PATCH 1/2] Remove captureOwnerStack canary banner --- src/content/reference/react/captureOwnerStack.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/content/reference/react/captureOwnerStack.md b/src/content/reference/react/captureOwnerStack.md index f8ed21a8c77..a5821051c06 100644 --- a/src/content/reference/react/captureOwnerStack.md +++ b/src/content/reference/react/captureOwnerStack.md @@ -2,12 +2,6 @@ title: captureOwnerStack --- - - -The `captureOwnerStack` API is currently only available in React's Canary and experimental channels. Learn more about [React's release channels here](/community/versioning-policy#all-release-channels). - - - `captureOwnerStack` reads the current Owner Stack in development and returns it as a string if available. From d2326a3ff067cea1c6f52888df99c300763f918a Mon Sep 17 00:00:00 2001 From: Jack Pope Date: Mon, 31 Mar 2025 11:22:02 -0400 Subject: [PATCH 2/2] Update nav and site config --- src/sidebarReference.json | 8 +++----- src/siteConfig.js | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/sidebarReference.json b/src/sidebarReference.json index a044c9f5baf..851b544d022 100644 --- a/src/sidebarReference.json +++ b/src/sidebarReference.json @@ -117,6 +117,9 @@ { "title": "cache", "path": "/reference/react/cache" + }, { + "title": "captureOwnerStack", + "path": "/reference/react/captureOwnerStack" }, { "title": "createContext", @@ -147,11 +150,6 @@ "title": "experimental_taintUniqueValue", "path": "/reference/react/experimental_taintUniqueValue", "version": "canary" - }, - { - "title": "captureOwnerStack", - "path": "/reference/react/captureOwnerStack", - "version": "canary" } ] }, diff --git a/src/siteConfig.js b/src/siteConfig.js index 3a8748fa60c..e731dcec44f 100644 --- a/src/siteConfig.js +++ b/src/siteConfig.js @@ -2,7 +2,7 @@ * Copyright (c) Facebook, Inc. and its affiliates. */ exports.siteConfig = { - version: '19', + version: '19.1', // -------------------------------------- // Translations should replace these lines: languageCode: 'en',