Skip to content

1.28.0 - [Breaking Change] getFeatureGate Api for Multi-instance usage, Better logging

Compare
Choose a tag to compare
@statsig-kong statsig-kong released this 01 Oct 20:25
· 72 commits to main since this release
0426fb1

New Features

  • Exposed getFeatureGate api to multi-instance Java/kotlin usage.

Breaking change

  • Custom Logger Integration Update:
    If you're using a custom logger via the StatsigOptions configuration, this release introduces breaking changes in how logging is handled.

Specific Changes:

New methods:

debug(String message)
info(String message)
setLogLevel(LogLevel level)

enum LogLevel { NONE, DEBUG, INFO, WARN, ERROR};

Renamed method:

warning(String message) → warn(String message)

Included In This Release

  • 5f918e2 Weihao Ding
    • refac: add debug loggings and refactor outputLogger (#377)
  • e0595a5 Weihao Ding
    • fix: expose getFeatureGate to java (#379)
  • 5d364ed Xin Li
    • add unit test for get dcs failure (#372)

Full Changelog: 1.27.4...1.28.0