Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to the ld-find-code-refs program will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).

## [2.14.0] - 2025-08-12
### Added:
- `--skipArchivedFlags` option to instruct the tool to ignore any flag keys it finds from archived flags

### Changed:
- replaced the stdlib `regexp` with `go-re2` for improved regexp compilation and pattern matching
- now using caching to optimize file globbing and regex compilation
- move off of legacy `olekukonko/tablewriter` and onto `v1.x`
- updated to the latest version of the LaunchDarkly API

### Fixed:
- `subdirectory` option now works with `projects[*].dir` configuration, and produces correct "View in source" links in the LD UI

## [2.13.0] - 2024-12-18
### Added:
- `subdirectory` option to set path to `.launchdarkly/coderefs.yaml` config file if not located in the root, in order to support monorepo subdirectories.
Expand Down
6 changes: 3 additions & 3 deletions build/metadata/bitbucket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Job for finding and sending feature flag code references to LaunchDarkly
Add the following snippet to the script section of your `bitbucket-pipelines.yml` file:

```yaml
- pipe: launchdarkly/ld-find-code-refs-pipe:2.13.0
- pipe: launchdarkly/ld-find-code-refs-pipe:2.14.0
environment:
LD_ACCESS_TOKEN: "<string>"
LD_PROJ_KEY: "<string>" # Required unless using 'projects' block in configuration file then it must be omitted.
Expand Down Expand Up @@ -51,7 +51,7 @@ A LaunchDarkly personal access token with writer-level access, or access to the
Minimal configuration:
```yaml
script:
- pipe: launchdarkly/ld-find-code-refs-pipe:2.13.0
- pipe: launchdarkly/ld-find-code-refs-pipe:2.14.0
environment:
LD_ACCESS_TOKEN: $LD_ACCESS_TOKEN
LD_PROJ_KEY: $LD_PROJ_KEY
Expand All @@ -60,7 +60,7 @@ script:
Configuration sending 3 context lines to LaunchDarkly:
```yaml
script:
- pipe: launchdarkly/ld-find-code-refs-pipe:2.13.0
- pipe: launchdarkly/ld-find-code-refs-pipe:2.14.0
environment:
LD_ACCESS_TOKEN: $LD_ACCESS_TOKEN
LD_PROJ_KEY: $LD_PROJ_KEY
Expand Down
2 changes: 1 addition & 1 deletion build/metadata/bitbucket/pipe.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: LaunchDarkly Code References
image: launchdarkly/ld-find-code-refs-bitbucket-pipeline:2.13.0
image: launchdarkly/ld-find-code-refs-bitbucket-pipeline:2.14.0
category: Feature flagging
description: Job for finding and sending feature flag code references to LaunchDarkly
repository: https://bitbucket.org/launchdarkly/ld-find-code-refs-pipe
Expand Down
2 changes: 1 addition & 1 deletion build/metadata/github-actions/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM launchdarkly/ld-find-code-refs-github-action:2.13.0
FROM launchdarkly/ld-find-code-refs-github-action:2.14.0

LABEL com.github.actions.name="LaunchDarkly Code References"
LABEL com.github.actions.description="Find references to feature flags in your code."
Expand Down
4 changes: 2 additions & 2 deletions build/metadata/github-actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
fetch-depth: 11 # This value must be set if the lookback configuration option is not disabled for find-code-references. Read more: https://github.com/launchdarkly/ld-find-code-refs#searching-for-unused-flags-extinctions
- name: LaunchDarkly Code References
uses: launchdarkly/find-code-references@v2.13.0
uses: launchdarkly/find-code-references@v2.14.0
with:
accessToken: ${{ secrets.LD_ACCESS_TOKEN }}
projKey: LD_PROJECT_KEY
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
with:
fetch-depth: 11 # This value must be set if the lookback configuration option is not disabled for find-code-references. Read more: https://github.com/launchdarkly/ld-find-code-refs#searching-for-unused-flags-extinctions
- name: LaunchDarkly Code References
uses: launchdarkly/find-code-references@v2.13.0
uses: launchdarkly/find-code-references@v2.14.0
with:
accessToken: ${{ secrets.LD_ACCESS_TOKEN }}
projKey: LD_PROJECT_KEY
Expand Down
8 changes: 4 additions & 4 deletions build/package/circleci/orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ examples:
usage:
version: 2.1
orbs:
launchdarkly: launchdarkly/ld-find-code-refs@2.13.0
launchdarkly: launchdarkly/ld-find-code-refs@2.14.0
workflows:
main:
jobs:
Expand All @@ -23,7 +23,7 @@ examples:
usage:
version: 2.1
orbs:
launchdarkly: launchdarkly/ld-find-code-refs@2.13.0
launchdarkly: launchdarkly/ld-find-code-refs@2.14.0
workflows:
main:
jobs:
Expand All @@ -38,7 +38,7 @@ examples:
usage:
version: 2.1
orbs:
launchdarkly: launchdarkly/ld-find-code-refs@2.13.0
launchdarkly: launchdarkly/ld-find-code-refs@2.14.0
workflows:
main:
jobs:
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
type: integer
default: 10
docker:
- image: launchdarkly/ld-find-code-refs:2.13.0
- image: launchdarkly/ld-find-code-refs:2.14.0
entrypoint: sh
steps:
- checkout:
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package version

const Version = "2.13.0"
const Version = "2.14.0"
Loading