2.0.0-preview1
Pre-release
Pre-release
[2.0.0] - prerelease
Added
- Most command line flags can now be specified in a YAML file located in the
.launchdarkly/coderefs.yamlsubdirectory of your repository. The following options must be set using the command line or as environment variables:--dir/LD_DIR--accessToken/LD_ACCESS_TOKEN
- The default delimiters (single/double quotes and backticks) can now be disabled by setting the following YAML option in
.launchdarkly/coderefs.yaml:delimiters: defaultsDisabled: true
- All command line flags can now be specified as environment variables.
- Added support for scanning non-git repositories. Use the
--revisionflag to specify your repository version number. - Added the
prunesub-command to delete stale code reference data from LaunchDarkly manually by providing a list of branch names as arguments. example:ld-find-code-refs prune [flags] "branch1" "branch2"
Fixed
- Exclude negations in
.ldignore(lines beginning with an exlamation mark) now correctly include files.
Changed
- The command line tool has been changed for improved ergonomics when configuring options using the command line. Some existing configurations may be invalid, see
ld-find-code-refs --helpfor details.
Removed
- The
excludecommand-line option has been removed. Use the.ldignorefile instead. - Additional delimiters can no longer be specified using command line flags or environment variables. If you use additional delimiters, or would like to disable delimiters completely, use the YAML configuration described above.
ld-find-code-refsno longer requires the silver searcher (ag) as a runtime dependency.