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

Latest commit

 

History

History
46 lines (36 loc) · 1.82 KB

CHANGELOG.md

File metadata and controls

46 lines (36 loc) · 1.82 KB

Change log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

[2.1.0] - 2022-12-07

Added:

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

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