Skip to content

Releases: configcat/cli

v2.3.3

22 Aug 18:23
Compare
Choose a tag to compare

Fixed

  • #31: configcat flag-v2 value show --json returns an empty object.

v2.3.2

25 Jul 14:58
b6caae5
Compare
Choose a tag to compare

Removed

  • /file scan timeout. Upon scanning, each file reading task had a timeout set (1 min). With too many tasks running parallel, while a task's timeout counter started ticking, its execution remained in a suspended state. Eventually, it was cancelled due to the timeout, even if it was supposed to work on a fairly small file, so nothing really justified the cancellation. Now, only the whole scanning process has a timeout (30 min), and the /file timeouts were removed.

v2.3.1

24 Jul 14:56
Compare
Choose a tag to compare

Fixed

  • When the directory passed to the scan command had a trailing slash, it caused an issue with the ignore glob patterns. Now, it's working with and without a trailing slash.

v2.3.0

24 Jul 09:02
78df3d9
Compare
Choose a tag to compare

Added

  • More glob patterns to the default ignore list of the code reference scanning. (*.md, *.lock etc.)

Changed

  • Order uploaded references by importance. (direct references take precedence over aliases)
  • Max 150 reference is uploaded (/flag) from the ordered reference list.
  • Scan warnings are printed to the standard output instead of the verbose logs. (timeout, max allowed char count /line reached)
  • Increased scan timeouts:
    • For a single file: 10s -> 60s
    • For the whole scan process: 10min -> 30min
  • System.Text.Json package was upgraded to v8.0.4 due to a security vulnerability.

v2.2.2

19 Jun 17:48
Compare
Choose a tag to compare

Fixed

  • Removed the extra quote checks from usage pattern regexes upon code reference scanning.

v2.2.1

18 Jun 09:04
afa2cb7
Compare
Choose a tag to compare

Fixed

  • Previously, the direct flag key search was based on the result of the alias search because it was supposed to find the used feature flag keys. The newly added --usage-patterns option broke this functionality as it allows to define custom flag key formats without letting the alias collector know about them.

    So, if there was no alias for a key format defined in --usage-patterns, the scan yielded no results for that specific key.

    To fix this, the direct search is no longer based on only the flags in the alias result.

v2.2.0

06 Jun 18:34
beb6a9e
Compare
Choose a tag to compare

Added

  • Ability to pass custom flag key usage patterns to the scan command via a --usage-patterns command line arg or via the CONFIGCAT_USAGE_PATTERNS environment variable. For example to include feature flag keys as Ruby symbols (:flag_key):
    configcat scan <dir> --usage-patterns ":CC_KEY"
    
    CC_KEY is a placeholder that the scanner replaces with the actual feature flag key in the regex pattern.

v2.1.1

28 May 15:46
27999a8
Compare
Choose a tag to compare

Fixed

  • Because of the strict order of the alias pattern match groups, the scanning ignored those patterns where the alias group was after the CC_KEY placeholder.
    configcat scan <dir> --alias-patterns "wrapper\.get_value\(CC_KEY\)\.then\((\w+) =>"
    

v2.1.0

23 May 10:27
9d21747
Compare
Choose a tag to compare

Added

  • Manage webhook commands.
  • Product preferences show/update commands.
  • Prompt for reason argument upon flag value changes when it's required to set on the given environment.
  • List/delete pending invitation commands.
  • --alias-patterns option for the scan command to describe custom regex patterns for alias matching.

v2.0.1

07 May 18:20
f72341f
Compare
Choose a tag to compare

Added

  • --reason parameter to flag update commands.