From ec513ab70fe5b71fc1f72142a2558e95c8d6fb6c Mon Sep 17 00:00:00 2001 From: wadii Date: Wed, 9 Sep 2026 10:40:21 +0200 Subject: [PATCH 1/2] docs: point Node.js SDK versions and migration note to @flagsmith/nodejs --- docs/docs/integrating-with-flagsmith/sdks/server-side.mdx | 7 +++++++ docs/plugins/flagsmith-versions/index.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/docs/integrating-with-flagsmith/sdks/server-side.mdx b/docs/docs/integrating-with-flagsmith/sdks/server-side.mdx index aba0a014c33c..f42edccd96c9 100644 --- a/docs/docs/integrating-with-flagsmith/sdks/server-side.mdx +++ b/docs/docs/integrating-with-flagsmith/sdks/server-side.mdx @@ -151,6 +151,13 @@ pip install flagsmith npm install @flagsmith/nodejs ``` +:::warning + +The Node.js SDK moved from `flagsmith-nodejs` to `@flagsmith/nodejs` in version 9.0.0. The `flagsmith-nodejs` package is +deprecated and no longer receives updates. Replace it in your `package.json` and update your imports. + +::: + diff --git a/docs/plugins/flagsmith-versions/index.js b/docs/plugins/flagsmith-versions/index.js index ab3c78d82589..14d98b8a669c 100644 --- a/docs/plugins/flagsmith-versions/index.js +++ b/docs/plugins/flagsmith-versions/index.js @@ -88,7 +88,7 @@ export default async function fetchFlagsmithVersions(context, options) { const [js, nodejs, java, android, swiftpm, cocoapods, dotnet, rust, elixir, flutter] = await Promise.all( [ fetchNpmVersions('@flagsmith/flagsmith'), - fetchNpmVersions('flagsmith-nodejs'), + fetchNpmVersions('@flagsmith/nodejs'), fetchJavaVersions(), fetchAndroidVersions(), fetchSwiftPMVersions(), From c45daf7a7099e8f28044bce91091871005eeb6fe Mon Sep 17 00:00:00 2001 From: wadii Date: Wed, 9 Sep 2026 10:42:13 +0200 Subject: [PATCH 2/2] docs: resolve Node.js SDK version against ^9 --- docs/src/components/SdkVersions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/components/SdkVersions.js b/docs/src/components/SdkVersions.js index c4a8e9d71c99..c2c76228bd7f 100644 --- a/docs/src/components/SdkVersions.js +++ b/docs/src/components/SdkVersions.js @@ -27,5 +27,5 @@ export const DotnetVersion = ({ spec = '~8' }) => Version({ sdk: 'dotnet', spec export const ElixirVersion = ({ spec = '~2' }) => Version({ sdk: 'elixir', spec }); export const RustVersion = ({ spec = '~2' }) => Version({ sdk: 'rust', spec }); export const JsVersion = ({ spec = '^12' }) => Version({ sdk: 'js', spec }); -export const NodejsVersion = ({ spec } = { spec: '~6' }) => Version({ sdk: 'nodejs', spec }); +export const NodejsVersion = ({ spec = '^9' } = {}) => Version({ sdk: 'nodejs', spec }); export const FlutterVersion = ({ spec = '~6' }) => Version({ sdk: 'flutter', spec });