Skip to content

3.5.1 - Adds autocapture settings, array operatores, fixes react memo and layer exposures

Compare
Choose a tag to compare
@tore-statsig tore-statsig released this 16 Nov 03:50
· 23 commits to main since this release
3492b1c

Fixes:

  • fixes a bug in @statsig/react-bindings where memoization on react hooks was applied per options object, which would have a separate reference even with the same values
  • fixes a bug where layer exposures were not deduplicated
  • uses statsig cdn for on device evaluation sdk initialization

Features:

  • Adds support for array comparison operators to the on device evaluation sdks
  • Adds support for custom auto capture filtering via an option:
const client = new StatsigClient(
  'client-key',
  { userID: 'a-user' },
  {
    plugins: [
      new StatsigAutoCapturePlugin({
        eventFilterFunc: (event) =>
          event.eventName !== AutoCaptureEventName.PAGE_VIEW,
      }),
    ],
  },
);