Skip to content

Releases: fredrikj31/toggle-kit

v2.0.0

18 Aug 18:14
451b08b

Choose a tag to compare

2.0.0 (2025-08-18)

Bug Fixes

  • tests: updates tests to align with new "conditions" structure (12cc404)

Features

  • helpers: adds support for multiple conditions (66993b0)
  • types: changes "condition" property to "conditions" (array) (ce8c3a7)

BREAKING CHANGES

  • types: The "condition" type has been changed to be an array

This means that from now on, you'll need to provide a single or multiple conditions in an array.
The conditions logic is based on an "OR" condition, so only one of the conditions needs to be true.
If all of the conditions are false, then the flag is returning false.

v1.9.0

08 Aug 19:05
b1dbdce

Choose a tag to compare

1.9.0 (2025-08-08)

Features

  • client: adds PropertyNames to createFeatureFlagClient (f500702)
  • helpers: adds Propertynames to isEnabled helper function (a9905dd)
  • types: adds PropertyNames generic param to Condition type (37bc02e)
  • types: adds PropertyNames generic param to Property type (df79c58)

v1.8.2

07 Aug 04:29
99ce21e

Choose a tag to compare

1.8.2 (2025-08-07)

Bug Fixes

  • types: makes FlagNames generic type optional in FeatureFlag type (e1c011b)

v1.8.1

06 Aug 17:53
ad2886b

Choose a tag to compare

1.8.1 (2025-08-06)

Bug Fixes

  • types: adds FlagNames to functions and types (e37093e)
  • types: fixes Condition attribute type (db55b8a)

v1.8.0

04 Aug 18:27
107f3f0

Choose a tag to compare

1.8.0 (2025-08-04)

Features

  • types: exports "Condition" type (5c7c547)

v1.7.4

04 Aug 18:02
2afd901

Choose a tag to compare

1.7.4 (2025-08-04)

Bug Fixes

  • client: converts Feature Flag client from class to function (aacd160)

v1.7.3

01 Aug 20:28
24920cf

Choose a tag to compare

1.7.3 (2025-08-01)

Bug Fixes

  • package.json: only include src & ignore tests and test types (4534298)

v1.7.2

01 Aug 20:15
33ec51a

Choose a tag to compare

1.7.2 (2025-08-01)

Bug Fixes

  • npm-ignore: adds test files to .npmignore file (1f5cd65)

v1.7.1

30 Jul 19:04
ec13351

Choose a tag to compare

1.7.1 (2025-07-30)

Bug Fixes

  • types: fixes percentage condition by extract it into own type (d871cd4)

v1.7.0

30 Jul 18:45
a05f4ab

Choose a tag to compare

1.7.0 (2025-07-30)

Features

  • conditions: adds Regex condition and unit tests (8a90944)
  • helpers: adds regexCondition to isEnabled helper function (15504f9)
  • types: adds Regex condition type (d16aa61)