This repository has been archived by the owner on May 30, 2024. It is now read-only.
Releases: launchdarkly/node-server-sdk-redis
Releases · launchdarkly/node-server-sdk-redis
2.1.0
2.0.0
[2.0.0] - 2021-07-22
Added:
- Added support for Big Segments. An Early Access Program for creating and syncing Big Segments from customer data platforms is available to enterprise customers.
- Added a new way of calling
RedisFeatureStore()
using named properties in an options object, rather than positional parameters. This is the new preferred usage. For instance:
// OLD:
const redisStore = RedisFeatureStore({ port: 7000}, 15, 'env1');
// NEW:
const redisStore = RedisFeatureStore({
redisOpts: { port: 7000 },
cacheTTL: 15,
prefix: 'env1',
});
Changed:
RedisFeatureStore
is now a named export, not a default export. This breaking change was made because the package now has an additional named export (RedisBigSegmentStore
). There are no other backward-incompatible changes in the package.
To update existing code for this version, change your imports like so:
// BEFORE:
// CommonJS style
const RedisFeatureStore = require('launchdarkly-node-server-sdk-redis');
// or ES6 style
import RedisFeatureStore from 'launchdarkly-node-server-sdk-redis';
// AFTER:
// CommonJS style
const { RedisFeatureStore } = require('launchdarkly-node-server-sdk-redis');
// or ES6 style
import { RedisFeatureStore } from 'launchdarkly-node-server-sdk-redis';
1.0.0
[1.0.0] - 2021-06-17
Initial release of launchdarkly-node-server-sdk-redis
. This is the Redis integration for version 6.x of the LaunchDarkly server-side SDK for Node.js. An equivalent Redis integration was bundled in versions 5.x and earlier of the SDK.
1.0.0-rc.1
[1.0.0-rc.1] - 2021-06-15
This is a release candidate version corresponding to the current projected state of the 1.0.0 release. The final 1.0.0 release may include additional functionality or fixes.
Initial release of launchdarkly-node-server-sdk-redis
. This is the Redis integration for version 6.x of the LaunchDarkly server-side SDK for Node.js. An equivalent Redis integration was bundled in versions 5.x and earlier of the SDK.