Skip to content

chore(shared): upgrade GrowthBook SDK to 1.6.2 - #7552

Merged
idoshamun merged 1 commit into
mainfrom
growthbook-1x
Dec 2, 2026
Merged

idoshamun merged 1 commit into
mainfrom
growthbook-1x

Conversation

@idoshamun

@idoshamun idoshamun commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Changes

  • Bumps @growthbook/growthbook from 0.26.0 to 1.6.2, the version daily-api runs, and @growthbook/growthbook-react from 0.17.0 to 1.6.2. 1.5.0 was the first React wrapper with React 19 in its peer range.
  • The lockfile now holds one core version. Before, the app used 0.26.0 while the React wrapper pulled 0.27.0.
  • The 1.x React hooks throw "Missing or invalid GrowthBookProvider" without a provider, where 0.17 returned the fallback. AuthContext and our useFeature / useFeatureIsOn wrappers now read GrowthBookContext directly, so trees without a provider (tests, Storybook) still get default values.
  • The Storybook @growthbook/growthbook mock gets the named exports that growthbook-react 1.x re-exports from core.

Checked in the 1.x source: setFeatures still sets ready, getFeatures, setAttributes (now returns a promise) and trackingCallback(experiment, result) keep their behavior, and per-experiment tracking dedup is unchanged. Bucketing uses the same hashing, so existing users keep their variations.

Events

Did you introduce any new tracking events?

No

Experiment

Did you introduce any new experiments?

No

Manual Testing

Caution

Please make sure existing components are not breaking/affected by this PR

  • Typecheck passes for shared, webapp and extension.
  • Full Jest suites pass: shared 4,803 tests, webapp 705, extension 62.
  • To check on the preview: experiment exposure (POST /e/x) fires once per experiment and the app shell still waits for flags.

Generated by Claude Code

Preview domain

https://growthbook-1x.preview.app.daily.dev

Bumps @growthbook/growthbook to 1.6.2 (the version daily-api runs) and
@growthbook/growthbook-react to 1.6.2, the first line with React 19 in its
peer range. The lockfile now holds a single core version; before, the app
used 0.26.0 while the React wrapper pulled 0.27.0.

The 1.x React hooks throw without a GrowthBookProvider, where 0.17 returned
the fallback. AuthContext and our useFeature/useFeatureIsOn wrappers read the
context directly so trees without a provider (tests, storybook, early shell)
keep getting default values.

The storybook mock gains the named exports growthbook-react 1.x re-exports
from core.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FodmVtyvRGwavusAekpEXw
@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
daily-webapp Ready Ready Preview Dec 2, 2026 12:51pm UTC

Request Review

@idoshamun
idoshamun merged commit 2b3832a into main Dec 2, 2026
12 checks passed
@idoshamun
idoshamun deleted the growthbook-1x branch December 2, 2026 13:10

This branch was successfully deployed

1 active deployment
Preview — c62bb64f Deployed Dec 2, 2026 by vercel[bot]
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