This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
Releases: growthbook/growthbook-react
Releases · growthbook/growthbook-react
v0.4.0
Breaking Changes
- Rename
onExperimentViewed
totrackingCallback
- User ids and groups are now passed into the client constructor instead of requiring a separate call to a
user
method - The tracking callback now receives two arguments: the Experiment object and the Result object
- Renamed the
user.experiment
function togrowthbook.run
- Remove the
enableQueryStringOverride
setting. It's always true now - Experiment's
url
property is now a RegExp instead of a string - The
inExperiment
flag is now set to false if a user was forced into a variation. It is only true when randomly assigned. - Renamed
randomizationUnit
tohashAttribute
- Client overrides are now just a simple JSON object and no longer a Map
Non-Breaking Changes
- Renamed default export from
GrowthBookClient
toGrowthBook
- The client
url
setting is now evaluated at runtime, so it works for SPA out-of-the-box now - Two new properties in an experiment result:
hashAttribute
andhashValue
- Dependabot security updates
v0.3.0
v0.2.7
v0.2.6
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
Initial public release