Repository navigation
Conversation
|
Resolved the three README conflicts and pushed 6055608 plus 185ff69, merging the current framework base (158f36b) and main (604e610) without rewriting history. Kept the first-time integration structure while preserving the newer v2 bootstrap/live-update requirements, missing opt-in metadata behavior, mutation Response/error handling, and main’s removal of the Vue beta label. No SDK runtime, package-version, or release-policy edits were introduced. The current stacked diff also inherits main’s existing #809 test-reporter change; against main plus #791, only the three SDK READMEs differ. Validation: canonical docs regeneration with warnings treated as errors; 3 docs-transform tests; 311 runtime tests (Browser 269, React 27, Vue 15) and their compiler programs; evaluator, Node, Browser, React, Vue, and Native builds; scoped formatting, whitespace checks, and normal merge-commit hooks pass. Left the existing PR target unchanged because #791 remains open. If #791 is squash-merged, sync/rebase onto that actual main merge commit before retargeting; that future sync is not yet complete. |
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>
Replace the Browser, React, Vue and React Native READMEs with task-based guides for new v2 integrations. They share one outline (get started, read flags, track usage, update context, bootstrap, opt-in, overrides, type safety, configuration) and leave implementation details to the reference.
c81c8a0 to
de0c564
Compare
|
Closing in favour of a minimal cleanup that only removes the prerelease wording; the rewrite can be revisited after 2.0.0. |
* 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>
Summary
This PR rewrites the Browser, React, Vue and React Native READMEs as task-based guides for new v2 integrations. npm shows these READMEs, and docs.reflag.com imports them.
This is now a README-only change on current
main. The earlier SDK code on this branch was already merged intomainthrough #791.Docs PR reflagcom/docs#31 imports these READMEs. Its example check compiles all 30 documentation examples against the built SDK declarations with no errors.