React SDK
React-SDK - 4.1.0
Local Holdouts Added support for Local Holdouts, enabling holdout experiments to be scoped to specific feature flag rules rather than applied globally. Local Holdouts let you measure the true incremental impact of individual features by holding out a subset of users from specific rollouts while still serving them other experiences.
React-SDK - 4.0.0
v4 is a ground-up rewrite of the React SDK. For a detailed upgrade guide, see MIGRATION.
React-SDK - 3.4.0
\#340---mar-9-2026 \#new-features Add a server-safe bundle that is automatically resolved when imported in React Server Components, excluding client-only React APIs ( #318 https //github. com/optimizely/react-sdk/pull/318 ) Add qualifiedSegments prop to OptimizelyProvider for passing pre-fetched ODP segments, enabling synchronous ODP-based decisions during SSR ( #318 https //github.
React-SDK - 3.3.1
\#331---dec-8-2025 \#changed Widen React Native peer dependency version ranges. Improve notification center type definitions with strongly-typed listener payloads.
React-SDK - 3.3.0
\#330---oct-13-2025 \#new-features Added customHeaders option to datafileOptions for passing custom HTTP headers in datafile requests. \#bug-fixes Fix the EventTags type to allow event properties.
React-SDK - 3.2.4
\#324---may-15-2025 \#bug-fixes client. onReady() always returns false when ODP is off and user id is null bug fix.
React-SDK - 3.2.3
\#323---nov-22-2024 \#bug-fixes isClientReady logic adjustment. ( #285 https //github.
React-SDK - 3.2.2
\#322---aug-21-2024 \#bug-fixes Multiple instances of the Logger make the log system unconfigurable - bug fix. ( #276 https //github.
React-SDK - 3.2.1
\#321---aug-15-2024 \#bug-fixes clientReady is true even though internal client promise returns success == false bug fix( #273 https //github. com/optimizely/react-sdk/pull/273 ) useDecision hook set the update listener on overy render bug fix( #273 https //github.
React-SDK - 3.2.0
\#320---july-10-2024 \#new-features The new useTrackEvent hook is now available for tracking events within functional components. This hook offers all the existing track event functionalities provided by the SDK.
React-SDK - 3.1.2
\#changed \#312---july-2-2024 \#changed-1 JS SDK bump up for react native polyfill support ( #266 https //github. com/optimizely/react-sdk/pull/266 ) https //github.
React-SDK - 3.1.1
\#311---may-22-2024 \#bug-fixes ODP integration error. ( #262 https //github.
React-SDK - 3.1.0
\#310---april-9-2024 \#bug-fixes Error initializing client. The core client or user promise(s) rejected.
React-SDK - 3.0.1
\#301---february-27-2024 \#changed Updated @optimizely/optimizely-sdk to version 5. 0.
React-SDK - 2.9.2
We updated our README. md and other non-functional code to reflect that this SDK supports both Optimizely Feature Experimentation and Optimizely Full Stack.
React-SDK - 2.9.1
Fixed Redundant activate calls in useExperiment hook for one scenario. https //github.
React-SDK - 2.9.0
addresses issues #152 https //github. com/optimizely/react-sdk/issues/152 and #134 https //github.
React-SDK - 2.8.1
March 7, 2022 \- fixed issue \[#49]\( https //github. com/optimizely/react-sdk/issues/49 https //github.
React-SDK - 2.8.1
March 7, 2022 \- fixed issue \[#49]\( https //github. com/optimizely/react-sdk/issues/49 https //github.
React-SDK - 2.8.0
January 26, 2022 Add a set of new APIs for overriding and managing user-level flag, experiment and delivery rule decisions. These methods can be used for QA and automated testing purposes.
React-SDK - 2.7.1-alpha
October 1st, 2021 \- Fixed the SDK to render the correct decision on first render when initialized synchronously using a datafile (\[#125]\( https //github. com/optimizely/react-sdk/pull/125 https //github.
React-SDK - 2.7.0
September 16th, 2021 Upgrade @optimizely/optimizely-sdk to \[4. 7.
React-SDK - 2.6.3
July 29th, 2021 \- Update VariableValuesObject type to handle JSON type variable and avoid TS compiler error when specifying variable type (\[#118]\( https //github. com/optimizely/react-sdk/pull/118 https //github.
React-SDK - 2.6.2
July 15th, 2021 Upgrade @optimizely/optimizely-sdk to \[4. 6.
React-SDK - 2.6.1
July 8th, 2021 Upgrade @optimizely/optimizely-sdk> to \[4. 6.
React-SDK - 2.6.0
June 8th, 2021 Upgrade @optimizely/optimizely-sdk to \[4. 6.