Releases: configcat/cli
Releases · configcat/cli
v2.3.3
v2.3.2
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
v2.3.0
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 tov8.0.4
due to a security vulnerability.
v2.2.2
v2.2.1
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
Added
- Ability to pass custom flag key usage patterns to the scan command via a
--usage-patterns
command line arg or via theCONFIGCAT_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
v2.1.0
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 thescan
command to describe custom regex patterns for alias matching.