Releases: statsig-io/js-client
v4.15.1 - [internal patch] Add missing export for EvaluationReason
To be used in React/React Native
v4.15.0 - evaluation details and increase user object size limit
- added a
getEvaluationDetails()
function toDynamicConfig
(Experiment) andLayer
classes. It has information on the reason for you to get the specific result. - increase the size limit on user object from 1kb to 2kb.
v4.14.3 - Patch local storage exception
v4.14.2 - [Internal] Patch optional error/performance logging
This could cause a crash when window
is undefined
v4.14.1 - [Internal] Patch layer constructor for react SDK usage
v4.14.0 - Moves layer exposure logging to parameter level
Also includes fixes for:
localMode
exceptions thrown onupdateUser
initializeValues
not setting up auto metrics logging- limiting the
app_error
metrics logging
Full Changelog: v4.12.3...v4.14.0
v4.13.0 - Adds auto performance metrics logging
Adding support for automatically logging performance metrics. This behavior can be disabled with the disableAutoMetricsLogging
flag.
These metrics will show in console metrics tab. Console work pending.
Also fixes a bug with bootstrapping via initializeValues
v4.12.3 - Fixing bug around null object types in Layer
- Layer was defaulting to
null
which has typeof "object", leading to issues around {} default values.
v4.12.1 - Adds support for bootstrapping the js sdk with initializeValues
You can now provide initializeValues
in the StatsigOptions, or call setInitializeValues
to update the internal store of gates/configs/experiments/layers/etc.
This is primarily meant to be used for server side rendering - you can generate the values to bootstrap the statsig SDK from the server side, and then pass them in so the client is already initialized and usable. Support for generating these values is coming to the statsig-node
server SDK in v4.11.0
v4.12.0 - Add support for Layers
Introduces getLayer API to Statsig, adding the ability to get values via a Layer configuration set on the Statsig Console. See docs.statsig.com/layers