Skip to content

docs: write Node SDK guide for new integrations - #807

Merged
roncohen merged 14 commits into
mainfrom
docs/standalone-v2-node-guide
Nov 28, 2026
Merged

roncohen merged 14 commits into
mainfrom
docs/standalone-v2-node-guide

Conversation

@roncohen

@roncohen roncohen commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to the preview review in reflagcom/docs#31.

  • Write the Node SDK README as first-time setup rather than a v1 migration.
  • Rename the reading section to Read flags and describe the current API directly.
  • Remove rollout notices and old-wrapper comparisons; keep upgrade details in the site migration guide.

Only packages/node-sdk/README.md changes. No runtime, package version, publication or release workflow changes. This now targets main after Node SDK v2 (#790) merged. Browser/React/Vue bootstrap requires a compatible v2 consumer; v1 consumers are incompatible.

Verification

  • Canonical docs.sh regeneration succeeds with warnings treated as errors.
  • Scoped formatting, whitespace checks and normal commit hooks pass.
  • Matching declarations and generated-site checks are verified in docs Do not register received event if the prompt was already seen. #31.
  • Review follow-up 64bf707: restored the v2 bootstrap compatibility warning and documented context-only tracking controls.
  • Canonical docs regeneration, three docs-transform tests, 273 Node tests, strict compiler checks for the documented tracking examples and v1 bootstrap rejection, scoped formatting, whitespace checks and commit hooks pass.

@roncohen
roncohen marked this pull request as ready for review November 15, 2026 23:23
Copilot AI balanced review requested due to automatic review settings November 15, 2026 23:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

Copilot AI balanced review requested due to automatic review settings November 16, 2026 18:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

Reviewed the README-only change against the Node SDK implementation and browser bootstrap consumer. Found two newly documented integration paths that do not match the current APIs. No tests were run; review was limited to the supplied immutable snapshots.

Advisory AI review; no code was changed and no tests were executed.

Comment thread packages/node-sdk/README.md Resolved
Comment thread packages/node-sdk/README.md Resolved
Copilot AI balanced review requested due to automatic review settings November 16, 2026 19:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

Reviewed the README-only change against the supplied snapshots and checked the relevant Node and browser SDK implementations. Found two documentation regressions that direct users toward incompatible bootstrap data or an ineffective tracking control. No tests were run.

Advisory AI review; no code was changed and no tests were executed.

Comment thread packages/node-sdk/README.md Resolved
Comment thread packages/node-sdk/README.md Resolved
@roncohen
roncohen added this pull request to stack #808 November 17, 2026 19:52

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

Reviewed the README changes against the SDK implementations. Found one newly documented integration that is incompatible with the current browser bootstrap contract. This was a read-only review; no tests were run.

Advisory AI review; no code was changed and no tests were executed.

Comment thread packages/node-sdk/README.md Resolved
Base automatically changed from feature/node-sdk-v2 to main November 18, 2026 15:04
roncohen and others added 5 commits November 18, 2026 16:04
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Give the Browser, React, Vue and Node guides a shared outline (get started,
read flags, track usage, update context, bootstrap, opt-in, toolbar, type
safety, configuration), plain-language explanations, and restore toolbar and
CSP guidance for browser frameworks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@roncohen
roncohen force-pushed the docs/standalone-v2-node-guide branch from 81297fb to a4e6d19 Compare November 18, 2026 15:04

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

Reviewed the README changes against the Node and Browser SDK implementations. Found one incompatible bootstrap recommendation that can break server-to-browser flag hydration. Review was read-only; no tests were run.

Advisory AI review; no code was changed and no tests were executed.

Comment thread packages/node-sdk/README.md Resolved

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low

no actionable findings

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low

no actionable findings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

1 actionable finding.

Comment thread packages/node-sdk/README.md Resolved
Brings in the SDK v2 CLI type generator (#817).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

no actionable findings

roncohen added a commit to reflagcom/docs that referenced this pull request Nov 28, 2026
Point the Node.js manifest at 4e920f7, which merges main into
reflagcom/javascript#807, and refresh the generated reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low

no actionable findings

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low

no actionable findings

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low

no actionable findings

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low

no actionable findings

@roncohen
roncohen added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit 524f49c Nov 28, 2026
9 checks passed
@roncohen
roncohen deleted the docs/standalone-v2-node-guide branch November 28, 2026 19:19
roncohen added a commit to reflagcom/docs that referenced this pull request Dec 1, 2026
* docs: add v2 SDK pages with linked legacy v1 archive

* fix: preserve SDK heading anchors in GitBook

* fix: keep deep SDK method anchors addressable in GitBook

* fix: preserve public type anchors alongside SDK member links

* docs: make current SDK guides stand on their own

* docs: remove reader-facing SDK provenance notices

* docs: identify SDK v2 in current page introductions

* docs: plain-language pass over SDK guides and shared pages

- Regenerate Browser/React/Vue/Node guides from restructured source READMEs:
  shared task-based outline, implementation internals removed, toolbar and
  CSP guidance restored.
- Lead the migration guide with a summary of what changes.
- Rewrite v1-shaped and spec-like prose in handbook pages and guides.
- Keep the v1 footer on SDK and Next.js pages only; surface the upgrade
  guide at the top of the SDK overview.
- Shorten the scope line to "This page covers SDK v2." and fix bootstrap
  and event anchors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: simplify how SDK guides explain flag reads and defaults

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: separate Multivariate flags from Remote config

* docs: clarify Multivariate flags and remote config migration

* docs: use a portable link to the SDK upgrade guide

* docs: describe upcoming MCP-assisted remote config migration

* docs: present MCP-assisted remote config migration as available

* docs: align SDK guide structure and tighten handbook wording

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: lead remote config migration with agent guidance

* docs: restore numbered get-started steps in SDK guides

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: check remote config usage before planning migration

* docs: show rolling SDK bootstrap migration

* docs: avoid duplicate tracking during bootstrap migration

* docs: make v1 the bootstrap-only client

* docs: require public-only SDKs for dual bootstrap

* docs: ask about older clients before planning an upgrade

* docs: link upgrade prompts and surface uncertain configs

* docs: cover React Native in the SDK v2 upgrade guide

* docs: make the rolling bootstrap link work in GitBook

* docs: keep bootstrap migration focused on protocol compatibility

* docs: clarify React Native flag type generation

* docs: clarify v2 flag values and migration behavior

* docs: prefer app-shaped values in Remote config migrations

* docs: tell the migration agent to update config readers

* docs: re-import SDK guides from #806/#807 and tighten the upgrade guide

Re-import Browser, React and Vue from reflagcom/javascript#806 and Node.js
from #807, so the pages are generated from the PR branches rather than the
pins branches. Name Node.js SDK 1.8.4 as the v1 release for the rolling
bootstrap bridge, shorten the tracking and type-generation explanations,
and say SDK v1/v2 rather than protocol v1/v2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: re-import Node.js SDK from the current #807 head

Point the Node.js manifest at 4e920f7, which merges main into
reflagcom/javascript#807, and refresh the generated reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: explain replacing fallbackFlags in the v1 migration guide

* docs: re-import SDK v2 guides from main and drop the prerelease hint

* docs: import React Native SDK v2 docs and drop beta label

* docs: remove the React Native compatibility banner

* docs: cover setOptIn from useOptInFlags and removed feature-named aliases

* docs: describe opt-in value as Boolean

* docs: re-import v2 SDK docs from main

* docs: re-import v2 SDK docs after the opt-in and OpenFeature changes

* docs: import v2 SDK docs from the 2.0.0 release

---------

Co-authored-by: Ron Cohen <744+roncohen@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants