Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Releases: launchdarkly/node-server-sdk-redis

2.1.0

07 Dec 17:47
Compare
Choose a tag to compare

[2.1.0] - 2022-12-07

Added:

  • Added support for launchdarkly-node-server-sdk 7.0.0 and greater.

2.0.0

22 Jul 22:17
Compare
Choose a tag to compare

[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

17 Jun 19:16
Compare
Choose a tag to compare

[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

15 Jun 23:49
dd3b076
Compare
Choose a tag to compare
1.0.0-rc.1 Pre-release
Pre-release

[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.