Skip to content

Releases: configcat/cli

v2.5.2

15 Nov 15:18
9a1ceee

Choose a tag to compare

Fixed

  • The eval command's JSON output, where the value field was always converted to a string. Also, when the evaluation failed, the value field was omitted from the JSON output.

v2.5.1

03 Nov 22:13
3e224c8

Choose a tag to compare

Fixed

  • The eval command's JSON output by moving the representing class to the Models project, which is excluded from trimming.

v2.5.0

03 Nov 12:20
dfa0336

Choose a tag to compare

Added

  • New command to evaluate feature flags: configcat eval --sdk-key <sdk-key> --flag-keys key1 key2 --user-attributes id:<user-id> email:<user-email>

v2.4.2

15 Jul 15:25
bde74d9

Choose a tag to compare

Added

  • --timeout argument to the scan command to make the scan operation's 30m timeout configurable.

v2.4.1

19 May 12:40
0f45dd4

Choose a tag to compare

Changed

  • Omit null values from JSON requests/outputs.

v2.4.0

05 Mar 10:52
e3d9094

Choose a tag to compare

Changed

  • The previous lib used to parse .gitignore files (DotNet.Glob) is replaced with an actual .gitignore parser lib.
  • Previously, when the scan command was executed on a git repository's subdirectory, only the ignore files placed in the target scan directory were processed. Now, each relevant ignore file is processed within the entire repository even when the scan is executed on a subdirectory.
  • The scan command now processes files in chunks (tasks are parallel within chunks) to avoid too many open file errors by reaching ulimit thresholds on Unix systems.

v2.3.3

22 Aug 18:23

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

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

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

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.