Skip to content

Commit 0d92cbc

Browse files
authored
Merge branch 'main' into dependabot/go_modules/github.com/go-viper/mapstructure/v2-2.4.0
2 parents c6531ef + 2a5c035 commit 0d92cbc

File tree

20 files changed

+202
-197
lines changed

20 files changed

+202
-197
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Dependency Scan
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
generate-go-sbom:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Setup Go
16+
uses: actions/setup-go@v5
17+
with:
18+
go-version-file: go.mod
19+
20+
- name: Generate SBOM
21+
uses: launchdarkly/gh-actions/actions/dependency-scan/generate-sbom@main
22+
with:
23+
types: 'go'
24+
25+
generate-nodejs-sbom:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v4
29+
30+
- name: Generate SBOM
31+
uses: launchdarkly/gh-actions/actions/dependency-scan/generate-sbom@main
32+
with:
33+
types: 'nodejs'
34+
35+
evaluate-policy:
36+
runs-on: ubuntu-latest
37+
needs:
38+
- generate-go-sbom
39+
- generate-nodejs-sbom
40+
steps:
41+
- name: Evaluate SBOM Policy
42+
uses: launchdarkly/gh-actions/actions/dependency-scan/evaluate-policy@main
43+
with:
44+
artifacts-pattern: bom-*

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.16.2"
2+
".": "1.17.1"
33
}

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Changelog
22

3+
## [1.17.1](https://github.com/launchdarkly/ldcli/compare/v1.17.0...v1.17.1) (2025-09-15)
4+
5+
6+
### Bug Fixes
7+
8+
* [FUN-983] Set CORS headers consistently for SDK & API cases ([#614](https://github.com/launchdarkly/ldcli/issues/614)) ([c05d3a5](https://github.com/launchdarkly/ldcli/commit/c05d3a570e6cacff5f525c34bdeb0ba47249e4eb))
9+
10+
## [1.17.0](https://github.com/launchdarkly/ldcli/compare/v1.16.4...v1.17.0) (2025-09-15)
11+
12+
13+
### Features
14+
15+
* [FUN-984] Add favicon ([#616](https://github.com/launchdarkly/ldcli/issues/616)) ([92d63e2](https://github.com/launchdarkly/ldcli/commit/92d63e279f86da73ae303780e3e214bf1c95f160)), closes [#610](https://github.com/launchdarkly/ldcli/issues/610)
16+
* Add favicon ([92d63e2](https://github.com/launchdarkly/ldcli/commit/92d63e279f86da73ae303780e3e214bf1c95f160))
17+
18+
## [1.16.4](https://github.com/launchdarkly/ldcli/compare/v1.16.3...v1.16.4) (2025-09-10)
19+
20+
21+
### Bug Fixes
22+
23+
* Enhance flag search functionality to support quoted substrings ([#609](https://github.com/launchdarkly/ldcli/issues/609)) ([226a386](https://github.com/launchdarkly/ldcli/commit/226a3864ee354162d21cc2644f7fcd874f6f71a4))
24+
25+
## [1.16.3](https://github.com/launchdarkly/ldcli/compare/v1.16.2...v1.16.3) (2025-08-15)
26+
27+
28+
### Bug Fixes
29+
30+
* Clarify --source flag refers to environment key ([#595](https://github.com/launchdarkly/ldcli/issues/595)) ([202484a](https://github.com/launchdarkly/ldcli/commit/202484a5d13b001f017e53f979b2eb1fb1414ecb))
31+
332
## [1.16.2](https://github.com/launchdarkly/ldcli/compare/v1.16.1...v1.16.2) (2025-07-28)
433

534

PROVENANCE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ LaunchDarkly uses the [SLSA framework](https://slsa.dev/spec/v1.0/about) (Supply
55
As part of [SLSA requirements for level 3 compliance](https://slsa.dev/spec/v1.0/requirements), LaunchDarkly publishes provenance about our package builds using [GitHub's generic SLSA3 provenance generator](https://github.com/slsa-framework/slsa-github-generator/blob/main/internal/builders/generic/README.md#generation-of-slsa3-provenance-for-arbitrary-projects) for distribution alongside our packages.
66

77
<!-- x-release-please-start-version -->
8-
These attestations are available for download from the GitHub release page for the release version under Assets > `ldcli_1.16.2_multiple_provenance.intoto.jsonl`.
8+
These attestations are available for download from the GitHub release page for the release version under Assets > `ldcli_1.17.1_multiple_provenance.intoto.jsonl`.
99
<!-- x-release-please-end -->
1010

1111
To verify SLSA provenance attestations, we recommend using [slsa-verifier](https://github.com/slsa-framework/slsa-verifier). Example usage for verifying packages for Linux is included below:
1212

1313
<!-- x-release-please-start-version -->
1414
```
1515
# Set the version of the PACKAGE to verify
16-
PACKAGE_VERSION=1.16.2
16+
PACKAGE_VERSION=1.17.1
1717
```
1818
<!-- x-release-please-end -->
1919

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ require (
1515
github.com/iancoleman/strcase v0.3.0
1616
github.com/launchdarkly/api-client-go/v14 v14.0.0
1717
github.com/launchdarkly/go-sdk-common/v3 v3.4.0
18-
github.com/launchdarkly/go-server-sdk/v7 v7.13.1
19-
github.com/launchdarkly/sdk-meta/api v0.4.5
18+
github.com/launchdarkly/go-server-sdk/v7 v7.13.4
19+
github.com/launchdarkly/sdk-meta/api v0.4.8
2020
github.com/mattn/go-sqlite3 v1.14.28
2121
github.com/mitchellh/go-homedir v1.1.0
2222
github.com/muesli/reflow v0.3.0

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,12 @@ github.com/launchdarkly/go-semver v1.0.3 h1:agIy/RN3SqeQDIfKkl+oFslEdeIs7pgsJBs3
224224
github.com/launchdarkly/go-semver v1.0.3/go.mod h1:xFmMwXba5Mb+3h72Z+VeSs9ahCvKo2QFUTHRNHVqR28=
225225
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.1 h1:rTgcYAFraGFj7sBMB2b7JCYCm0b9kph4FaMX02t4osQ=
226226
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.1/go.mod h1:fPS5d+zOsgFnMunj+Ki6jjlZtFvo4h9iNbtNXxzYn58=
227-
github.com/launchdarkly/go-server-sdk/v7 v7.13.1 h1:tYNZHb7aq1N8RPVnksBA2ToFsBHUpLEebJoQDP2oKmE=
228-
github.com/launchdarkly/go-server-sdk/v7 v7.13.1/go.mod h1:EEUSX/bc1mVq+3pwrRzTfu8LFRWRI1UL4XMgzsKWmbE=
227+
github.com/launchdarkly/go-server-sdk/v7 v7.13.4 h1:Jn4HQDkmV0DhbUKLz7gFbNrhVrE3xSx8D6FTKEDheis=
228+
github.com/launchdarkly/go-server-sdk/v7 v7.13.4/go.mod h1:EEUSX/bc1mVq+3pwrRzTfu8LFRWRI1UL4XMgzsKWmbE=
229229
github.com/launchdarkly/go-test-helpers/v3 v3.1.0 h1:E3bxJMzMoA+cJSF3xxtk2/chr1zshl1ZWa0/oR+8bvg=
230230
github.com/launchdarkly/go-test-helpers/v3 v3.1.0/go.mod h1:Ake5+hZFS/DmIGKx/cizhn5W9pGA7pplcR7xCxWiLIo=
231-
github.com/launchdarkly/sdk-meta/api v0.4.5 h1:xMnXACvMWJfTJkGz0F+8VrTXvBikufEiUCxvJXCfZuI=
232-
github.com/launchdarkly/sdk-meta/api v0.4.5/go.mod h1:vXfR0z4XBz49IYT/2GDEza+Iat3PcuBCC438AZT6oDg=
231+
github.com/launchdarkly/sdk-meta/api v0.4.8 h1:PAfhLfoozyQM04AzN7vxzQUc5mrINiwgk3gjbUMZhzY=
232+
github.com/launchdarkly/sdk-meta/api v0.4.8/go.mod h1:vXfR0z4XBz49IYT/2GDEza+Iat3PcuBCC438AZT6oDg=
233233
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
234234
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
235235
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=

internal/dev_server/api/api.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ info:
77
those flags.
88
version: 1.0.0
99
servers:
10-
- url: "http"
10+
- url: "http://localhost:8765/dev"
1111
paths:
12-
/dev/backup:
12+
/backup:
1313
get:
1414
summary: get the backup
1515
operationId: getBackup
@@ -28,7 +28,7 @@ paths:
2828
responses:
2929
200:
3030
description: 'Backup restored'
31-
/dev/projects:
31+
/projects:
3232
get:
3333
summary: lists all projects that have been configured for the dev server
3434
operationId: getProjects
@@ -43,7 +43,7 @@ paths:
4343
items:
4444
type: string
4545
uniqueItems: true
46-
/dev/projects/{projectKey}:
46+
/projects/{projectKey}:
4747
get:
4848
summary: get the specified project and its configuration for syncing from the LaunchDarkly Service
4949
operationId: getProject
@@ -113,7 +113,7 @@ paths:
113113
$ref: "#/components/responses/ErrorResponse"
114114
409:
115115
$ref: "#/components/responses/ErrorResponse"
116-
/dev/projects/{projectKey}/overrides:
116+
/projects/{projectKey}/overrides:
117117
delete:
118118
summary: remove all overrides for the given project
119119
operationId: deleteOverrides
@@ -124,7 +124,7 @@ paths:
124124
description: OK. All overrides were removed
125125
404:
126126
$ref: "#/components/responses/ErrorResponse"
127-
/dev/projects/{projectKey}/overrides/{flagKey}:
127+
/projects/{projectKey}/overrides/{flagKey}:
128128
put:
129129
summary: override flag value with value provided in the body
130130
operationId: putOverrideFlag
@@ -155,7 +155,7 @@ paths:
155155
description: OK. override removed
156156
404:
157157
description: no matching override found
158-
/dev/projects/{projectKey}/environments:
158+
/projects/{projectKey}/environments:
159159
get:
160160
operationId: getEnvironments
161161
summary: list all environments for the given project

internal/dev_server/api/cors.go

Lines changed: 0 additions & 31 deletions
This file was deleted.

internal/dev_server/api/cors_test.go

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)