Skip to content

Commit 295c167

Browse files
authored
feat: [REL-8033] Prepare release of version 2.14.0 (#563)
Our release.yml GHA has managed to successfully release the Homebrew Formula and our three CI coderefs tools (Github Action, CircleCI Orb and BitBucket Pipe), but it's consistently having issues with the Github release. Those newly-released CI tools point to the `v2.14.0` tag of this repo, which doesn't exist yet. So there is some urgency to get the Github release out as quickly as we can. Since we can't seem to get around the branch protection issues we've run into, we've decided to release version 2.14.0 manually, and then rework the GHA to make use of Release Please, which doesn't require pushes to the main branch. This PR will prepare the necessary updates for the release, and I'll create the binaries locally and create the tag and the release manually once this is merged. <!-- ld-jira-link --> --- Related Jira issue: [REL-8033: Release a new version of `ld-find-code-refs` and `find-code-references` GHA](https://launchdarkly.atlassian.net/browse/REL-8033) <!-- end-ld-jira-link -->
1 parent 91005da commit 295c167

File tree

7 files changed

+25
-12
lines changed

7 files changed

+25
-12
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
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).
44

5+
## [2.14.0] - 2025-08-12
6+
### Added:
7+
- `--skipArchivedFlags` option to instruct the tool to ignore any flag keys it finds from archived flags
8+
9+
### Changed:
10+
- replaced the stdlib `regexp` with `go-re2` for improved regexp compilation and pattern matching
11+
- now using caching to optimize file globbing and regex compilation
12+
- move off of legacy `olekukonko/tablewriter` and onto `v1.x`
13+
- updated to the latest version of the LaunchDarkly API (17.2.0)
14+
15+
### Fixed:
16+
- `subdirectory` option now works with `projects[*].dir` configuration, and produces correct "View in source" links in the LD UI
17+
518
## [2.13.0] - 2024-12-18
619
### Added:
720
- `subdirectory` option to set path to `.launchdarkly/coderefs.yaml` config file if not located in the root, in order to support monorepo subdirectories.

build/metadata/bitbucket/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Job for finding and sending feature flag code references to LaunchDarkly
55
Add the following snippet to the script section of your `bitbucket-pipelines.yml` file:
66

77
```yaml
8-
- pipe: launchdarkly/ld-find-code-refs-pipe:2.13.0
8+
- pipe: launchdarkly/ld-find-code-refs-pipe:2.14.0
99
environment:
1010
LD_ACCESS_TOKEN: "<string>"
1111
LD_PROJ_KEY: "<string>" # Required unless using 'projects' block in configuration file then it must be omitted.
@@ -51,7 +51,7 @@ A LaunchDarkly personal access token with writer-level access, or access to the
5151
Minimal configuration:
5252
```yaml
5353
script:
54-
- pipe: launchdarkly/ld-find-code-refs-pipe:2.13.0
54+
- pipe: launchdarkly/ld-find-code-refs-pipe:2.14.0
5555
environment:
5656
LD_ACCESS_TOKEN: $LD_ACCESS_TOKEN
5757
LD_PROJ_KEY: $LD_PROJ_KEY
@@ -60,7 +60,7 @@ script:
6060
Configuration sending 3 context lines to LaunchDarkly:
6161
```yaml
6262
script:
63-
- pipe: launchdarkly/ld-find-code-refs-pipe:2.13.0
63+
- pipe: launchdarkly/ld-find-code-refs-pipe:2.14.0
6464
environment:
6565
LD_ACCESS_TOKEN: $LD_ACCESS_TOKEN
6666
LD_PROJ_KEY: $LD_PROJ_KEY

build/metadata/bitbucket/pipe.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: LaunchDarkly Code References
2-
image: launchdarkly/ld-find-code-refs-bitbucket-pipeline:2.13.0
2+
image: launchdarkly/ld-find-code-refs-bitbucket-pipeline:2.14.0
33
category: Feature flagging
44
description: Job for finding and sending feature flag code references to LaunchDarkly
55
repository: https://bitbucket.org/launchdarkly/ld-find-code-refs-pipe

build/metadata/github-actions/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM launchdarkly/ld-find-code-refs-github-action:2.13.0
1+
FROM launchdarkly/ld-find-code-refs-github-action:2.14.0
22

33
LABEL com.github.actions.name="LaunchDarkly Code References"
44
LABEL com.github.actions.description="Find references to feature flags in your code."

build/metadata/github-actions/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
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
3030
- name: LaunchDarkly Code References
31-
uses: launchdarkly/find-code-references@v2.13.0
31+
uses: launchdarkly/find-code-references@v2.14.0
3232
with:
3333
accessToken: ${{ secrets.LD_ACCESS_TOKEN }}
3434
projKey: LD_PROJECT_KEY
@@ -71,7 +71,7 @@ jobs:
7171
with:
7272
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
7373
- name: LaunchDarkly Code References
74-
uses: launchdarkly/find-code-references@v2.13.0
74+
uses: launchdarkly/find-code-references@v2.14.0
7575
with:
7676
accessToken: ${{ secrets.LD_ACCESS_TOKEN }}
7777
projKey: LD_PROJECT_KEY

build/package/circleci/orb.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ examples:
99
usage:
1010
version: 2.1
1111
orbs:
12-
launchdarkly: launchdarkly/ld-find-code-refs@2.13.0
12+
launchdarkly: launchdarkly/ld-find-code-refs@2.14.0
1313
workflows:
1414
main:
1515
jobs:
@@ -23,7 +23,7 @@ examples:
2323
usage:
2424
version: 2.1
2525
orbs:
26-
launchdarkly: launchdarkly/ld-find-code-refs@2.13.0
26+
launchdarkly: launchdarkly/ld-find-code-refs@2.14.0
2727
workflows:
2828
main:
2929
jobs:
@@ -38,7 +38,7 @@ examples:
3838
usage:
3939
version: 2.1
4040
orbs:
41-
launchdarkly: launchdarkly/ld-find-code-refs@2.13.0
41+
launchdarkly: launchdarkly/ld-find-code-refs@2.14.0
4242
workflows:
4343
main:
4444
jobs:
@@ -107,7 +107,7 @@ jobs:
107107
type: integer
108108
default: 10
109109
docker:
110-
- image: launchdarkly/ld-find-code-refs:2.13.0
110+
- image: launchdarkly/ld-find-code-refs:2.14.0
111111
entrypoint: sh
112112
steps:
113113
- checkout:

internal/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package version
22

3-
const Version = "2.13.0"
3+
const Version = "2.14.0"

0 commit comments

Comments
 (0)