Skip to content

Releases: launchdarkly/ld-find-code-refs

0.7.0

15 Feb 18:50
d89f53b

Choose a tag to compare

Master

[0.7.0] - 2019-02-15

  • The command-line docker image now specifies ld-find-code-refs as the entrypoint. The docker image may now be run as docker run launchdarkly/ld-find-code-refs -accessToken="api-xxx"...
  • The command-line docker image now specifies ld-find-code-refs as the entrypoint. See our documentation for instructions on running ld-find-code-refs via docker.

0.6.0

11 Feb 23:43
24bed11

Choose a tag to compare

[0.6.0] - 2019-02-11

Added

  • Added a new command line argument, version. If provided, the current ld-find-code-refs version number will be logged, and the scanner will exit with a return code of 0.
  • The debug option is now available to the CircleCI orb.
  • Added support for parsing .ldignore files specified in the root directory of the scanned repository. .ldignore may be used to specify a pattern (compatible with the .gitignore spec: 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. The defaultBranch argument on earlier versions of ld-find-code-refs will no longer do anything.

Fixed

  • ld-find-code-refs will 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

01 Feb 23:08
466abd4

Choose a tag to compare

[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-feature we will no longer match verycool-features.

0.4.0

30 Jan 21:16
46fe2f9

Choose a tag to compare

[0.4.0] - 2019-01-30

Added

  • Added support for relative paths to CLI -dir parameter.
  • Added a new command line argument, debug, which enables verbose debug logging.
  • ld-find-code-refs will now exit early if required dependencies are not installed on the system PATH.

Changed

  • Renamed parse package to coderefs. The Parse() method in the aformentioned package is now Scan().

Fixed

  • ld-find-code-refs will no longer erroneously make PATCH API requests to LaunchDarkly when url template parameters have not been configured.

0.3.0

23 Jan 22:46
158ac22

Choose a tag to compare

Added

  • Added openssh as a dependency for the command-line docker image.

0.2.1

17 Jan 18:01
0831d32

Choose a tag to compare

[0.2.1] - 2019-01-17

Fixed

  • Fix a bug causing an error to be returned when a repository connection to LaunchDarkly does not initially exist on execution.

0.2.0

17 Jan 00:22
c4248ad

Choose a tag to compare

[0.2.0] - 2019-01-16

Fixed

  • Use case-sensitive ag search 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.
  • updateSequenceId is now an optional parameter. If not provided, data will always be updated. If provided, data will only be updated if the existing updateSequenceId is less than the new updateSequenceId.
  • 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 launchdarkly docker hub namespace instead of ldactions.

0.1.0

08 Jan 23:14

Choose a tag to compare

[0.1.0] - 2019-01-02

Changed

  • pushTime CLI arg renamed to updateSequenceId. 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