diff --git a/CHANGES.txt b/CHANGES.txt index 4313d7bd..a893bd27 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,4 @@ -1.11.0 (November XX, 2023) +1.11.0 (November 3, 2023) - Added support for Flag Sets on the SDK, which enables grouping feature flags and interacting with the group rather than individually (more details in our documentation): - Added new variations of the get treatment methods to support evaluating flags in given flag set/s. - getTreatmentsByFlagSet and getTreatmentsByFlagSets diff --git a/package-lock.json b/package-lock.json index bcc025b8..5c28d3a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@splitsoftware/splitio-commons", - "version": "1.10.1-rc.4", + "version": "1.11.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@splitsoftware/splitio-commons", - "version": "1.10.1-rc.4", + "version": "1.11.0", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.1" diff --git a/package.json b/package.json index 740f3717..2fda9f0b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@splitsoftware/splitio-commons", - "version": "1.10.1-rc.4", + "version": "1.11.0", "description": "Split Javascript SDK common components", "main": "cjs/index.js", "module": "esm/index.js", diff --git a/src/storages/KeyBuilder.ts b/src/storages/KeyBuilder.ts index dc9581b5..c3124ae9 100644 --- a/src/storages/KeyBuilder.ts +++ b/src/storages/KeyBuilder.ts @@ -21,7 +21,7 @@ export class KeyBuilder { } buildFlagSetKey(flagSet: string) { - return `${this.prefix}.flagset.${flagSet}`; + return `${this.prefix}.flagSet.${flagSet}`; } buildSplitKey(splitName: string) { diff --git a/src/storages/__tests__/KeyBuilder.spec.ts b/src/storages/__tests__/KeyBuilder.spec.ts index 0965f3d1..01a09efa 100644 --- a/src/storages/__tests__/KeyBuilder.spec.ts +++ b/src/storages/__tests__/KeyBuilder.spec.ts @@ -72,7 +72,7 @@ test('KEYS / flag set keys', () => { const builder = new KeyBuilder(prefix); const flagSetName = 'flagset_x'; - const expectedKey = `${prefix}.flagset.${flagSetName}`; + const expectedKey = `${prefix}.flagSet.${flagSetName}`; expect(builder.buildFlagSetKey(flagSetName)).toBe(expectedKey);