Skip to content

Releases: feature-flags-co/ffc-js-client-side-sdk

v1.1.4

30 Jun 14:33
Compare
Choose a tag to compare

NPM link:https://www.npmjs.com/package/ffc-js-client-side-sdk
NPM version: 1.1.4

Break changes

  • the variation method's return value now has the same type as defined on the remote, so the parameter defaultValue should have the same data type. previously the return value was always string.
    For example, if flagA's variations have type boolean, then
const defaultValue = false;
const val = Ffc.variation("flagA", defaultValue);
console.log(typeof val); // print boolean

New features

  • Support data type for variations, see the break changes for details.

Updates

N/A

v1.0.29

17 May 07:32
Compare
Choose a tag to compare

NPM link:https://www.npmjs.com/package/ffc-js-client-side-sdk
NPM version: 1.0.29

Break changes

N/A

New features

N/A

Updates

  • Fixed bug when segment changes but flag variation not updated

v1.0.28

15 May 21:00
9b9fcd2
Compare
Choose a tag to compare

NPM link:https://www.npmjs.com/package/ffc-js-client-side-sdk
NPM version: 1.0.28

Break changes

N/A

New features

N/A

Updates

  • Fixed issue #12

npm v1.0.27

05 May 10:26
Compare
Choose a tag to compare

NPM link:https://www.npmjs.com/package/ffc-js-client-side-sdk
NPM version: 1.0.27

Break changes

No break changes

New features

No new features

Updates

1.0.1

16 Feb 23:52
Compare
Choose a tag to compare
Update azure-pipelines.yml