Releases: launchdarkly/ld-find-code-refs
Releases · launchdarkly/ld-find-code-refs
0.7.0
Master
[0.7.0] - 2019-02-15
- The command-line docker image now specifies
ld-find-code-refsas the entrypoint. The docker image may now be run asdocker run launchdarkly/ld-find-code-refs -accessToken="api-xxx"... - The command-line docker image now specifies
ld-find-code-refsas the entrypoint. See our documentation for instructions on runningld-find-code-refsvia docker.
0.6.0
[0.6.0] - 2019-02-11
Added
- Added a new command line argument,
version. If provided, the currentld-find-code-refsversion number will be logged, and the scanner will exit with a return code of 0. - The
debugoption is now available to the CircleCI orb. - Added support for parsing
.ldignorefiles specified in the root directory of the scanned repository..ldignoremay be used to specify a pattern (compatible with the.gitignorespec: https://git-scm.com/docs/gitignore#_pattern_format) for files to exclude from scanning.
Changed
- The internal API for specifying the default git branch (
defaultBranch) has been changed. ThedefaultBranchargument on earlier versions ofld-find-code-refswill no longer do anything.
Fixed
ld-find-code-refswill no longer error out if an unknown error occurs when scanning for code reference hunks within a file. Instead, an error will be logged.
0.5.0
[0.5.0] - 2019-02-01
Added
- Generate deb and rpm packages when releasing artifacts.
Changed
- Automate Homebrew releases
- Added word boundaries to flag key regexes.
- This should reduce false positives. E.g. for flag key
cool-featurewe will no longer matchverycool-features.
- This should reduce false positives. E.g. for flag key
0.4.0
[0.4.0] - 2019-01-30
Added
- Added support for relative paths to CLI
-dirparameter. - Added a new command line argument,
debug, which enables verbose debug logging. ld-find-code-refswill now exit early if required dependencies are not installed on the system PATH.
Changed
- Renamed
parsepackage tocoderefs. TheParse()method in the aformentioned package is nowScan().
Fixed
ld-find-code-refswill no longer erroneously make PATCH API requests to LaunchDarkly when url template parameters have not been configured.
0.3.0
0.2.1
0.2.0
[0.2.0] - 2019-01-16
Fixed
- Use case-sensitive
agsearch so we don't get false positives that look like flag keys but have different casing.
Changed
- This project has been renamed to
ld-find-code-refs. - Logging has been overhauled.
- Project layout has been updated to comply with https://github.com/golang-standards/project-layout.
updateSequenceIdis now an optional parameter. If not provided, data will always be updated. If provided, data will only be updated if the existingupdateSequenceIdis less than the newupdateSequenceId.- Payload limits have been implemented
- Flags with keys shorter than 3 characters are no longer supported.
- Lines are truncated after 500 characters.
- Search is terminated after 5,000 files are matched.
- Search is terminated after 5,000 hunks are generated.
- Number of hunks per file is limited to 1,000.
- A file can only have 500 hunked lines per flag.
- Use
launchdarklydocker hub namespace instead ofldactions.
0.1.0
[0.1.0] - 2019-01-02
Changed
pushTimeCLI arg renamed toupdateSequenceId. Its type has been changed from timestamp to integer.- Note: this is not considered a breaking change as the CLI args are still in flux. After the 1.0 release arg changes will be considered breaking.
Fixed
- Upserting repos no longer fails on non-existent repos