Releases: statsig-io/js-client
Releases · statsig-io/js-client
v4.37.2 - Patch sha256 library bug in some Chrome versions
- Patch sha256 library bug resulting in inconsistent sha256 evaluations in some versions of Chrome. Issue: emn178/js-sha256#40. Workaround provided in issue: https://github.com/NicolasFlamel1/mwcwallet.com/blob/master/public_html/scripts/js-sha256-0.9.0.js#L330
v4.36.1 - Patch sha256 library bug in some Chrome versions
- Patch sha256 library bug resulting in inconsistent sha256 evaluations in some versions of Chrome. Issue: emn178/js-sha256#40. Workaround provided in issue: https://github.com/NicolasFlamel1/mwcwallet.com/blob/master/public_html/scripts/js-sha256-0.9.0.js#L330
v4.35.1 - Patch sha256 library bug in some Chrome versions
- Patch sha256 library bug resulting in inconsistent sha256 evaluations in some versions of Chrome. Issue: emn178/js-sha256#40. Workaround provided in issue: https://github.com/NicolasFlamel1/mwcwallet.com/blob/master/public_html/scripts/js-sha256-0.9.0.js#L330
v4.34.1 - Patch sha256 library bug in some Chrome versions
- Patch sha256 library bug resulting in inconsistent sha256 evaluations in some versions of Chrome. Issue: emn178/js-sha256#40. Workaround provided in issue: https://github.com/NicolasFlamel1/mwcwallet.com/blob/master/public_html/scripts/js-sha256-0.9.0.js#L330
v4.33.7 - Patch sha256 library bug in some Chrome versions
- Patch sha256 library bug resulting in inconsistent sha256 evaluations in some versions of Chrome.
- Issue: emn178/js-sha256#40. Workaround provided in issue: https://github.com/NicolasFlamel1/mwcwallet.com/blob/master/public_html/scripts/js-sha256-0.9.0.js#L330
v4.32.1 - Patch sha256 library bug in some Chrome versions
- Patch sha256 library bug resulting in inconsistent sha256 evaluations in some versions of Chrome.
- Issue: emn178/js-sha256#40. Workaround provided in issue: https://github.com/NicolasFlamel1/mwcwallet.com/blob/master/public_html/scripts/js-sha256-0.9.0.js#L330
v4.29.1 - Patch sha256 library bug in some Chrome versions
- Patch sha256 library bug resulting in inconsistent sha256 evaluations in some versions of Chrome.
- Issue: emn178/js-sha256#40. Workaround provided in issue: https://github.com/NicolasFlamel1/mwcwallet.com/blob/master/public_html/scripts/js-sha256-0.9.0.js#L330
v4.28.2 - Patch sha256 library bug in some Chrome versions
- Patch sha256 library bug resulting in inconsistent sha256 evaluations in some versions of Chrome.
- Issue: emn178/js-sha256#40. Workaround provided in issue: https://github.com/NicolasFlamel1/mwcwallet.com/blob/master/public_html/scripts/js-sha256-0.9.0.js#L330
v4.39.0 - Sticky bucketing storage adapter
- Added an option to provide a custom storage adapter for user-persisted values
UserPersistentStorageInterface
. So far, supports storing sticky experiments on user level
Warning
This is an experimental feature that may be subject to change.
Example usage
class UserPersistentStorageExample implements UserPersistentStorageInterface
{
public store: Record<string, string>;
public constructor() {
this.store = {};
}
load(userID: string): string {
return this.store[userID];
}
save(userID: string, data: string) {
this.store[userID] = data;
}
}
...
await Statsig.initialize(
"client-sdk-key",
{ userID: "some_user_id" },
{ userPersistentStorage: new UserPersistentStorageExample() }
);
Full Changelog: v4.38.0...v4.39.0
v4.38.0 - Better SDK Diagnostics Logging
- Internal diagnostics changes
- Converting diagnostics API to a static instance.
- Adding additional metadata fields such as
sdkRegion
,success
,statusCode
. Removing overloadedvalue
field - Added network request retry diagnostics
- Internal error_logging fixes
Content-Length
has been removed from headers field
Full Changelog: v4.37.0...v4.38.0