Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Releases: growthbook/growthbook-react

v0.4.0

11 Jun 17:33
Compare
Choose a tag to compare
  • Update growthbook-js to v0.11.0 (#2) 7b1c5db

Breaking Changes

  • Rename onExperimentViewed to trackingCallback
  • 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 to growthbook.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 to hashAttribute
  • Client overrides are now just a simple JSON object and no longer a Map

Non-Breaking Changes

  • Renamed default export from GrowthBookClient to GrowthBook
  • 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 and hashValue
  • Dependabot security updates

v0.3.0...v0.4.0

v0.3.0

13 May 20:03
Compare
Choose a tag to compare
  • Use latest growthbook-js version a66f681

Breaking Changes

  • Replace user.attributes with user.groups
  • Replace experiment.targeting with experiment.groups and experiment.include
  • Replace experiment.anon with experiment.randomizationUnit

v0.2.7...v0.3.0

v0.2.7

13 Apr 15:09
Compare
Choose a tag to compare
  • Add link to demo in Readme, update quick start example. 92a3350
  • Dev Mode - Fix bug where toggle button gets hidden on mobile. b3bfcb6
  • Dev Mode - z-index fixes 2e94c72

v0.2.6...v0.2.7

v0.2.6

12 Apr 20:37
Compare
Choose a tag to compare
  • Add z-indexes to dev mode. Hide screenshot button on mobile. Add demo page. 13283fb

v0.2.5...v0.2.6

v0.2.5

12 Apr 19:33
Compare
Choose a tag to compare
  • Remove extra code from example page. Update dependencies. 4d7d5ed

v0.2.4...v0.2.5

v0.2.4

08 Apr 18:06
Compare
Choose a tag to compare
  • Dev mode - allow testing a user not being included in an experiment 4477ba1

v0.2.3...v0.2.4

v0.2.3

08 Apr 14:37
Compare
Choose a tag to compare
  • Code refactor for easier maintenance. Remove extraneous console logs. 92ae6dd

v0.2.2...v0.2.3

v0.2.2

07 Apr 20:43
Compare
Choose a tag to compare

v0.2.1...v0.2.2

v0.2.1

01 Apr 23:13
Compare
Choose a tag to compare
  • Add withRunExperiment HoC for class components. f9a61a6
  • Disable dev mode when NODE_ENV is production. Default dev mode to true otherwise. f9a61a6
  • Simplify readme e058da6

v0.2.0...v0.2.1

v0.2.0

31 Mar 18:41
Compare
Choose a tag to compare

Initial public release

1762cc2...v0.2.0