Skip to content

Releases: cap-js-community/feature-toggle-library

v0.7.2

18 Oct 09:21
Compare
Choose a tag to compare

Added

  • support for redis cluster configurations.
  • enable setting maximal log level through env variable BTP_FEATURES_LOG_LEVEL. this can be used to silence the
    library during tests.

Changed

  • implement new cds-plugin API, where plugins export a promise instead of an activate property and stay compatible for
    older cds versions.

v0.7.1

13 Sep 11:20
Compare
Choose a tag to compare

Fixed

  • cds-plugin integration now works for projects that run cds build --production and only use the resulting
    csn.json at runtime.

v0.7.0

08 Sep 14:07
Compare
Choose a tag to compare

Added

  • new harmonized validation configuration for scope and regex checks, as well as external validation with user
    provided modules.

  • new (optional) cds-plugin integration. for details, see the new
    plugin and service documentation.

  • new logger implementation which replaces
    cf-nodejs-logging-support dependency. it has better cds
    integration (if present). for example, it will log
    correlation ids that are present in cds
    context via async local storage.

Changed

  • allowedScopes: [xxx] configuration will now be ignored and needs to be replaced with
    validations: [{ scopes: [xxx] }].

  • validation: yyy configuration will now be ignored and needs to be replaced with
    validations: [{ regex: yyy }].

Fixed

  • re-work pipelines to separate main branch and pr-voter status

v0.6.9

18 Jul 16:09
Compare
Choose a tag to compare

Added

Fixed

  • better documentation regarding scoping and redis hash map persistence

  • more resilient handling of bad input for scopeMaps in all external APIs

v0.6.8

27 Jun 11:39
Compare
Choose a tag to compare

Initial public release

For details see changelog