Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare 8.2.2 release #283

Merged
merged 1,113 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1113 commits
Select commit Hold shift + click to select a range
8db1676
Merge pull request #311 from launchdarkly/eb/sc-147031/eval-contexts
eli-darkly Apr 1, 2022
446e79c
Merge pull request #312 from launchdarkly/eb/sc-136694/less-core-abst…
eli-darkly Apr 1, 2022
c1109f0
move packages from core/ and core/internal/ to internal/
eli-darkly Apr 4, 2022
a5b9f40
fix linting
eli-darkly Apr 4, 2022
967e736
update Alpine to 3.14.6 for CVE-2022-28391
eli-darkly Apr 5, 2022
33b0609
Merge pull request #314 from launchdarkly/eb/sc-148648/alpine-3.14.6
eli-darkly Apr 5, 2022
64b8284
Merge branch 'v6' into u2c
eli-darkly Apr 5, 2022
ada5582
Merge branch 'u2c' into eb/sc-136694/core-to-internal
eli-darkly Apr 5, 2022
bbddefb
merge from public after release
Apr 5, 2022
24fd8c5
Merge pull request #313 from launchdarkly/eb/sc-136694/core-to-internal
eli-darkly Apr 5, 2022
330b176
merge RelayCore logic into Relay and remove the core package (#315)
eli-darkly Apr 6, 2022
fd8a63d
update SDK packages (includes sc-136333 fix)
eli-darkly Apr 8, 2022
7ef7bf7
don't include "v" prefix in Docker image version
eli-darkly Apr 8, 2022
6668f6a
Merge pull request #318 from launchdarkly/eb/sc-148658/docker-image-v…
eli-darkly Apr 8, 2022
2418195
Merge pull request #317 from launchdarkly/eb/sc-136333
eli-darkly Apr 8, 2022
7b3b1eb
update go-server-sdk-dynamodb for data size error fix & add docs (#316)
eli-darkly Apr 8, 2022
ae9ef87
merge from public after release
Apr 8, 2022
7a66ce5
Merge branch 'v6' into u2c
eli-darkly Apr 15, 2022
fe0dbdd
update builds to use Go 1.17.9 and fix the update script
eli-darkly Apr 15, 2022
ce3f97f
update go-server-sdk-consul to latest release
eli-darkly Apr 15, 2022
51568b7
Merge pull request #320 from launchdarkly/eb/sc-148468/update-consul
eli-darkly Apr 15, 2022
7160f5e
update remote Docker version
eli-darkly Apr 15, 2022
4e4f081
Merge pull request #319 from launchdarkly/eb/sc-148468/go-version-update
eli-darkly Apr 15, 2022
5d9667a
merge from public after release
Apr 16, 2022
4951361
update golang.org/x/crypto for CVE-2022-27191 (#321)
eli-darkly Apr 20, 2022
96d1596
merge from public after release
Apr 21, 2022
2a684b2
Merge branch 'v6' of github.com:launchdarkly/ld-relay into v6
eli-darkly Apr 29, 2022
6ef01a0
merge from public after release
Apr 30, 2022
11f9a90
Merge branch 'v6' into u2c
eli-darkly May 10, 2022
0e920f3
update eventsource for SSE output efficiency fix (#322)
eli-darkly May 10, 2022
0d6e658
merge from public after release
May 10, 2022
cf390a7
Cache the replay event in case we get multiple new client connections…
moshegood Jun 13, 2022
fd44511
Merge branch 'contrib' of github.com:launchdarkly/ld-relay into eb/sc…
eli-darkly Jun 13, 2022
09feb1e
don't install curl in Docker images
eli-darkly Jun 13, 2022
facb22c
fix makefile logic for lint step
eli-darkly Jun 13, 2022
165aab0
remove indirect curl-based request logic in integration tests
eli-darkly Jun 13, 2022
12c8735
fix linter installation
eli-darkly Jun 13, 2022
20fd131
update Go to 1.17.11, Alpine to 3.16.0
eli-darkly Jun 13, 2022
72bbbd0
improve concurrency test to verify that the data is or isn't from a s…
eli-darkly Jun 13, 2022
6fccfbd
Merge branch 'eb/sc-156795/no-curl' into eb/sc-156754/less-redundant-…
eli-darkly Jun 13, 2022
057287d
Merge pull request #324 from launchdarkly/eb/sc-156795/no-curl
eli-darkly Jun 13, 2022
6dffb73
Merge pull request #325 from launchdarkly/eb/sc-156825/update-alpine
eli-darkly Jun 13, 2022
fdae955
fix lint warnings and remove unnecessary error return
eli-darkly Jun 14, 2022
497f2a0
merge from public after release
Jun 14, 2022
5adb901
Merge pull request #323 from launchdarkly/eb/sc-156754/less-redundant…
eli-darkly Jul 1, 2022
4048a18
merge from public after release
Jul 2, 2022
af2f174
Merge branch 'v6' into u2c
eli-darkly Jul 5, 2022
d1c268f
use latest prerelease packages, update for misc SDK API changes (inte…
eli-darkly Jul 5, 2022
d63cb4a
Merge pull request #300 from launchdarkly/eb/sc-137258/flaky-tests
eli-darkly Jul 5, 2022
26a44f8
Merge pull request #326 from launchdarkly/eb/sc-144524/sdk-api-updates
eli-darkly Jul 6, 2022
ab6f8cb
update libssl & libcrypto versions for CVE-2022-2097
eli-darkly Jul 11, 2022
4ad695f
Merge pull request #327 from launchdarkly/eb/sc-159865/update-crypto-ssl
eli-darkly Jul 11, 2022
9f72820
add security scan of already-published Docker image (#328)
eli-darkly Jul 12, 2022
94a9ce3
merge from public after release
Jul 12, 2022
cd9df84
update Alpine version and some Go libraries to address CVEs (#329)
eli-darkly Jul 20, 2022
a1264e5
merge from public after release
Jul 21, 2022
9f5dd47
ensure that DynamoDB config is consistent between Big Segments and re…
eli-darkly Jul 28, 2022
0e8f96e
comment
eli-darkly Jul 28, 2022
3f4f758
Merge pull request #330 from launchdarkly/eb/sc-162022/ddb-config
eli-darkly Jul 28, 2022
8131997
merge from public after release
Jul 28, 2022
c7092ff
update Alpine to 3.16.2
eli-darkly Aug 12, 2022
37605e6
Merge pull request #331 from launchdarkly/eb/sc-164451/alpine-update
eli-darkly Aug 12, 2022
946e2bc
merge from public after release
Aug 12, 2022
35a0c0e
Merge branch 'v6' into u2c
eli-darkly Aug 24, 2022
04a7df2
update golangci-lint and go-junit-report
eli-darkly Sep 6, 2022
a778093
fix CI
eli-darkly Sep 6, 2022
a791c0a
prevent traversal of directories outside target path when expanding a…
eli-darkly Sep 6, 2022
4ac1dab
enforce TLS >= 1.2 for secure Redis
eli-darkly Sep 6, 2022
6817e52
misc linter updates
eli-darkly Sep 6, 2022
51bb26c
fix test message
eli-darkly Sep 6, 2022
601e8d3
add Go 1.18 & 1.19 jobs
eli-darkly Sep 7, 2022
851376b
make test expectation less Go-version-dependent
eli-darkly Sep 7, 2022
0a6c25e
linting
eli-darkly Sep 7, 2022
6cdf345
revert unnecessary change
eli-darkly Sep 7, 2022
4738bac
fix installation of test coverage tool
eli-darkly Sep 7, 2022
92638bf
Merge pull request #334 from launchdarkly/eb/sc-168010/go-tools-update
eli-darkly Sep 7, 2022
604d115
add "context" URL paths for evaluations, update endpoint docs
eli-darkly Sep 29, 2022
84c4f65
fix tests
eli-darkly Sep 30, 2022
d80e120
Merge pull request #337 from launchdarkly/eb/sc-171152/context-endpoints
eli-darkly Sep 30, 2022
ff0ee87
bump minimum Go to 1.18, build images in 1.19
eli-darkly Oct 13, 2022
915f5a6
linter + misc fixes
eli-darkly Oct 13, 2022
58f8626
"latest" Go image is no longer a thing
eli-darkly Oct 13, 2022
306cd32
fix TLS test
eli-darkly Oct 13, 2022
a8c3185
fix command to run coverage enforcer
eli-darkly Oct 13, 2022
d6b7266
fix vulnerable dependencies
eli-darkly Oct 13, 2022
0526be3
Merge pull request #339 from launchdarkly/eb/sc-172901/go-1.18
eli-darkly Oct 13, 2022
92e5f0b
migrate to AWS Go SDK v2 for DynamoDB (#333)
eli-darkly Oct 13, 2022
7ad877d
remove obsolete "eval" endpoints superseded by "evalx" (#338)
eli-darkly Oct 13, 2022
eccce19
update AWS SDK and related packages on u2c branch (#341)
eli-darkly Oct 20, 2022
d735b0c
update to Go 1.19.2
eli-darkly Oct 25, 2022
107b8ea
update golang.org/x/net for CVE-2022-27664
eli-darkly Oct 25, 2022
d2ccc31
update golang.org/x/text for CVE-2022-32149
eli-darkly Oct 25, 2022
e8e8527
update Consul API dependency to avoid false report of CVE-2022-40716
eli-darkly Oct 26, 2022
40a19b2
Merge pull request #342 from launchdarkly/eb/sc-174350/go-version-update
eli-darkly Oct 26, 2022
7d659a6
switch to fork of Stackdriver metrics client to remove AWS transitive…
eli-darkly Oct 26, 2022
d76ff2c
merge from public after release
Oct 26, 2022
0d9fc5f
Merge branch 'v6' into u2c
eli-darkly Oct 26, 2022
2651bc6
use latest Go SDK prerelease packages, update for API changes
eli-darkly Nov 8, 2022
8a07161
lint
eli-darkly Nov 8, 2022
46d865d
Merge pull request #344 from launchdarkly/eb/sc-146682/sdk-api-updates
eli-darkly Nov 9, 2022
2868b0e
streamline test code using go-test-helpers v3
eli-darkly Nov 9, 2022
d91b307
remove some more unnecessary helpers
eli-darkly Nov 9, 2022
160fd48
fix test app
eli-darkly Nov 9, 2022
dad74a2
Merge pull request #345 from launchdarkly/eb/sc-176162/generic-helpers
eli-darkly Nov 14, 2022
0e20804
use latest SDK packages
eli-darkly Dec 6, 2022
9ad4c86
Merge branch 'v7' of github.com:launchdarkly/ld-relay into v7
eli-darkly Dec 7, 2022
654f32a
use Go SDK v6.0.0 and latest releases of database integrations
eli-darkly Dec 7, 2022
3bf01da
merge from public after release
Dec 7, 2022
1cd5e4f
update to Go 1.19.4 and Alpine 3.16.3
eli-darkly Dec 29, 2022
2d8dc69
override golang.org/x/net for CVE-2022-41717 (even though the fix is …
eli-darkly Dec 29, 2022
17d2410
Merge pull request #346 from launchdarkly/eb/sc-181873/go-1.19.4
eli-darkly Dec 29, 2022
e255ab8
update to Go 1.19.4 and Alpine 3.16.3
eli-darkly Dec 29, 2022
89e8d8b
override golang.org/x/net for CVE-2022-41717 only when building execu…
eli-darkly Dec 29, 2022
4e111f8
merge from public after release
Dec 29, 2022
12d0d79
Merge pull request #347 from launchdarkly/eb/sc-181873/go-1.19.4-6.x
eli-darkly Dec 29, 2022
34c0227
prepare 6.7.15 release (#212)
LaunchDarklyReleaseBot Dec 29, 2022
9857df7
Releasing version 6.7.15
Dec 29, 2022
6c18f2c
merge from public after release
Dec 29, 2022
877e06c
redo the security patch by updating go.mod for all builds; drop Go 1.16
eli-darkly Jan 6, 2023
b72612d
Merge pull request #349 from launchdarkly/eb/sc-181873/patch-and-drop…
eli-darkly Jan 6, 2023
b4e3946
prepare 6.7.16 release (#214)
LaunchDarklyReleaseBot Jan 6, 2023
1238a51
Releasing version 6.7.16
Jan 6, 2023
7ddc25c
merge from public after release
Jan 6, 2023
3fd4fb2
update Redis/DDB integrations to remove misleading error logging
eli-darkly Jan 17, 2023
d97e9f8
Merge pull request #350 from launchdarkly/eb/sc-184208/big-seg-error-log
eli-darkly Jan 17, 2023
aadfe13
prepare 6.7.17 release (#215)
LaunchDarklyReleaseBot Jan 17, 2023
3d44fac
Releasing version 6.7.17
Jan 17, 2023
ed79612
merge from public after release
Jan 17, 2023
e224741
Merge branch 'v6' into v7
eli-darkly Jan 18, 2023
1c7f40f
Merge branch 'v7' of github.com:launchdarkly/ld-relay into v7
eli-darkly Jan 19, 2023
20e02b6
chore: update markdown tables to include borders (#351)
cwaldren-ld Feb 4, 2023
15fcc3f
fix: update Go module path to github.com/launchdarkly/ld-relay/v7 (#353)
cwaldren-ld Feb 6, 2023
bb44cb3
merge from public after release
Feb 6, 2023
5568f63
feat: allow specifying redis username (#359)
cwaldren-ld Feb 10, 2023
2d57224
merge from public after release
Feb 11, 2023
c56fc8f
chore: upgrade goreleaser to 1.15.2 (#361)
cwaldren-ld Feb 21, 2023
85ff7af
chore: fix typo in metrics.md (#221)
pbzona Feb 21, 2023
a72b304
Merge remote-tracking branch 'public/contrib' into v7
cwaldren-ld Feb 21, 2023
7ee0465
chore: bump golnag.org/x/net to v0.7.0 to address CVE-2022-41723 (#363)
cwaldren-ld Feb 21, 2023
b5c6c0f
merge from public after release
Feb 21, 2023
c1e161d
chore: drop go 1.18 tests; add go 1.20 [v7] (#366)
cwaldren-ld Mar 7, 2023
9f8716f
merge from public after release
Mar 7, 2023
e7d31ad
chore: create Github Action to notify new Go versions (#368)
cwaldren-ld Mar 8, 2023
4fbc690
chore: bump supported Go versions to 1.20.2 & 1.19.7 [v7] (#373)
cwaldren-ld Mar 9, 2023
8b5e8cf
chore: update workflow_dispatch type to bool (#376)
cwaldren-ld Mar 10, 2023
666d2d9
chore: fix workflow_dispatch type to boolean (#377)
cwaldren-ld Mar 10, 2023
ed9543a
fix: broken link in configuration.md for Proxy Mode (#378)
cwaldren-ld Mar 10, 2023
0df6969
Update module path to v8 (#355)
cwaldren-ld Feb 8, 2023
4d1a9c7
refactor: encapsulate AutoConfig StreamManager version check logic in…
cwaldren-ld Feb 14, 2023
e0446b0
remove requirement for ID() method on Items
cwaldren-ld Feb 14, 2023
d1b2ccd
Add tests for MessageReceiver; remove need for test mocks (#365)
cwaldren-ld Feb 24, 2023
da5f7c9
chore: create Dependabot configuration for v6 & v7 branches (#379)
cwaldren-ld Mar 15, 2023
89ad996
chore: merge v6 into v7 to pull in REST client update; flaky tests fi…
cwaldren-ld Mar 16, 2023
a70fa35
chore: update dependencies (#409)
cwaldren-ld Mar 27, 2023
4541a44
chore: remove dependabot (#419)
cwaldren-ld Mar 27, 2023
cf265f0
chore: add tools.go to track goreleaser version (#422)
cwaldren-ld Apr 3, 2023
a1edf24
merge from public after release
Apr 4, 2023
a507a5f
chore: bump github.com/docker/docker from 20.10.21+incompatible to 20…
dependabot[bot] Apr 11, 2023
5de33a5
fix: remove redundant stream.Restart() in autoconfig stream manager: …
cwaldren-ld Apr 11, 2023
a02584e
chore: update alpine docker image to 3.17.3 (#428)
cwaldren-ld Apr 13, 2023
124dcd1
merge from public after release
Apr 13, 2023
f784799
Merge branch 'v7' into v8
cwaldren-ld Apr 20, 2023
7196634
feat: payload filtering [v8] (#356)
cwaldren-ld Apr 25, 2023
13ef491
chore: upgrade go from 1.20.2 -> 1.20.4 (#431)
cwaldren-ld May 4, 2023
d5704cf
chore: add release notes link to Go version checker workflow (#427)
cwaldren-ld May 4, 2023
df4f7b4
merge from public after release
May 5, 2023
c872e55
chore: bump alpine from 3.17.3 to 3.18.0 (#434)
louis-launchdarkly May 12, 2023
5d8017a
chore: bump github.com/sigstore/rekor (#430)
dependabot[bot] May 12, 2023
54b7deb
chore: bump github.com/docker/distribution (#433)
dependabot[bot] May 12, 2023
d3971a9
merge from public after release
May 12, 2023
c9652cc
chore: bump github.com/docker/docker (#435)
dependabot[bot] May 12, 2023
2656093
fix: Prevent 413 from shutting down event processor (#436)
keelerm84 May 16, 2023
bcb1bd3
fix: Prevent unrecoverable error go routine backup (#437)
keelerm84 May 19, 2023
906dd61
feat: Add a version option to return Relay's current version for ease…
louis-launchdarkly May 23, 2023
ebca6a8
merge from public after release
May 24, 2023
6b10012
chore: bump github.com/goreleaser/nfpm/v2 from 2.25.1 to 2.29.0 (#439)
dependabot[bot] May 24, 2023
4489404
chore: bump github.com/sigstore/rekor from 1.1.1 to 1.2.0 (#440)
dependabot[bot] Jun 5, 2023
e3f9a3d
Merge v7 new changes into v8 (#443)
louis-launchdarkly Jun 8, 2023
f852783
feat: Set ReadHeaderTimeout for HTTP servers (#335)
eli-darkly Jun 12, 2023
d9ef4a5
Merge branch 'v7' into v8
keelerm84 Jun 12, 2023
5e85532
Updates to README and docs (#441)
ember-stevens Jun 13, 2023
0b28a48
fix: Integration tests failure to start (#449)
keelerm84 Jun 20, 2023
0bc0bdb
chore: bump Alpine to 3.18.2 for CVE (#446)
louis-launchdarkly Jun 20, 2023
71a7ee8
Bump goreleaser from 2.25.1 to 2.30 to resolve CVE-2023-32698 (#447)
cwaldren-ld Jun 21, 2023
edb0845
Merge branch 'v7' of github.com:launchdarkly/ld-relay into v7
louis-launchdarkly Jun 21, 2023
a94b976
merge from public after release
Jun 21, 2023
4ddd335
Add file CODEOWNERS
ld-repository-standards[bot] Jun 26, 2023
5605fa7
Add file CODEOWNERS (#450)
kparkinson-ld Jun 26, 2023
19e182a
ci: Fix database integration tests (#451) (#452)
keelerm84 Jul 21, 2023
54202bd
feat: Track polling request counts (#448)
keelerm84 Jul 21, 2023
57f0ea8
Updates images
ember-stevens Jul 26, 2023
11e46bd
feat: Remove ability to disable diagnostic events (#453)
keelerm84 Jul 28, 2023
d956e92
Adds .DS_Store to gitignore
ember-stevens Jul 28, 2023
1cb3b4e
Remove file
ember-stevens Jul 28, 2023
e45afc0
Remove file again
ember-stevens Jul 28, 2023
c9413f0
[sc-205489] Update RP images within ld-relay-private (#454)
ember-stevens Jul 28, 2023
6b2bba2
fix: Update Go versions for CVE (#455)
louis-launchdarkly Aug 7, 2023
16e9d84
Merge branch 'v7' of github.com:launchdarkly/ld-relay into v7
louis-launchdarkly Aug 7, 2023
f30532e
chore: bump Alpine to 3.18.3 for CVE (#456)
louis-launchdarkly Aug 7, 2023
33b070c
merge from public after release
Aug 8, 2023
b2d3069
Name projects in a way that projects from failed jobs can be deleted …
singhshalinis01 Aug 17, 2023
d115100
Add the method back
singhshalinis01 Aug 17, 2023
63d4f81
fix: include the strings package
louis-launchdarkly Aug 21, 2023
9d5ff3e
fix: specify up to milliseconds to avoid creation conflict
louis-launchdarkly Aug 21, 2023
091c94e
Rename projects such that they can be picked up (deleted) by delete-o…
singhshalinis01 Aug 22, 2023
2a44368
chore(deps): bump github.com/cyphar/filepath-securejoin from 0.2.3 to…
dependabot[bot] Sep 7, 2023
67434ea
feat: Update to support migration and event sampling (#458)
keelerm84 Sep 20, 2023
7b07d8d
fix: Scope relay metric events per environment (#463)
keelerm84 Sep 26, 2023
624eef3
merge from public after release
Sep 27, 2023
e994608
Lc/merge v7 into v8 to prep for release (#465)
louis-launchdarkly Oct 4, 2023
a9a8558
Merge branch 'feat/uc2-migrations' into lc/test-merging-everything-to-v8
louis-launchdarkly Oct 10, 2023
2f7a4d1
feat: Remove support for new top level data kinds (#466)
keelerm84 Oct 10, 2023
ddfd171
Merge branch 'v8' into private-v8
keelerm84 Oct 11, 2023
803baf7
Merge branch 'v7' into v8
keelerm84 Oct 11, 2023
9a5fa42
Merge branch 'v8' into lc/test-merging-everything-to-v8
keelerm84 Oct 11, 2023
680337a
Merge branch 'feat/uc2-migrations' into lc/test-merging-everything-to-v8
keelerm84 Oct 11, 2023
9aec4e0
Remove reference to unused data-kinds
keelerm84 Oct 11, 2023
a23bd01
fix: Last minute post-merge fixes
keelerm84 Oct 11, 2023
cbaffc2
Merging uc2 and scm into v8 (#467)
keelerm84 Oct 12, 2023
f76eab4
chore(deps): bump golang.org/x/net from 0.11.0 to 0.17.0 (#468)
dependabot[bot] Oct 12, 2023
e250b70
Merge branch 'v7' into v8
keelerm84 Oct 12, 2023
7482b71
merge from public after release
Oct 12, 2023
aad5bdb
Merge branch 'v8' into private-v8
keelerm84 Oct 16, 2023
6e99071
build: update to Go 1.21, drop 1.19 [v8] (#469)
cwaldren-ld Oct 17, 2023
8fc8b6a
build: update to Go 1.21, drop 1.19 [v7] (#470)
cwaldren-ld Oct 17, 2023
578734a
chore: Update required go version in CONTRIBUTING.md. (#471)
kinyoklion Oct 17, 2023
d8ad2f2
chore: Make the contributing requirements point to the `go.mod` file.…
kinyoklion Oct 17, 2023
fabefb1
fix: Update go.mod to require go version 1.19. (#473)
kinyoklion Oct 17, 2023
7cb30ea
fix: update min Go version from 1.18 -> 1.19 (#474)
cwaldren-ld Oct 17, 2023
5aeeb09
chore: deprecate internal usage metric option (#476)
cwaldren-ld Oct 17, 2023
33f6333
prepare 7.4.0 release (#265)
LaunchDarklyReleaseBot Oct 17, 2023
a55f124
Releasing version 7.4.0
Oct 17, 2023
f7882ae
merge from public after release
Oct 17, 2023
edf9f80
merge from public after release
Oct 17, 2023
64e6b22
fix: Handle empty previous versions for big segments syncing. (#481)
kinyoklion Oct 19, 2023
0db62a5
fix: Handle empty previous versions for big segments syncing.
kinyoklion Oct 19, 2023
178eaf5
Revert config change.
kinyoklion Oct 19, 2023
a5650c1
fix: Handle empty previous versions for big segments syncing. (#482)
kinyoklion Oct 19, 2023
e0baab4
merge from public after release
Oct 20, 2023
b135544
feat: Support sampling and exclusions in PHP events (#483)
keelerm84 Oct 23, 2023
0321fff
merge from public after release
Oct 24, 2023
7956c8e
chore(deps): bump google.golang.org/grpc from 1.55.0 to 1.56.3 (#484)
dependabot[bot] Oct 30, 2023
234a67b
Merge remote-tracking branch 'public/v8' into v8
cwaldren-ld Oct 30, 2023
b8f732d
chore(deps): bump github.com/docker/docker from 23.0.3+incompatible t…
dependabot[bot] Nov 1, 2023
c77f030
chore: update Alpine from 3.18.3 -> 3.18.4 (#492)
cwaldren-ld Nov 28, 2023
8ceed3f
merge from public after release
Nov 29, 2023
e425a30
big segment -related copyedits
mmrj Nov 30, 2023
574a425
update persistent storage info to explain segments, big segment stores
mmrj Nov 30, 2023
b580929
(docs updates) update README with more on segments and Big Segment st…
mmrj Dec 4, 2023
5256c2f
chore: merge v7 forward (#499)
cwaldren-ld Jan 3, 2024
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ parameters:
# override it in any parameterized builds, but just as a convenient shareable constant.
go-release-version:
type: string
default: "1.21.3"
default: "1.21.5"

# In addition to the most recent version of Go, we also support the previous version.
go-previous-version:
type: string
default: "1.20.10"
default: "1.20.12"

# We use a remote Docker host in some CI jobs that need to run Docker containers.
# As of 2022-04-15, the default Docker daemon version was 17.09.0-ce, which started
Expand Down
3 changes: 1 addition & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
project_name: ld-relay

run:
deadline: 120s
timeout: 120s
tests: false

linters:
enable:
- bodyclose
- depguard
- dupl
- errcheck
- goconst
Expand Down
2 changes: 1 addition & 1 deletion .ldrelease/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ repo:

jobs:
- docker:
image: cimg/go:1.21.3 # See "Runtime platform versions" in CONTRIBUTING.md
image: cimg/go:1.21.5 # See "Runtime platform versions" in CONTRIBUTING.md
copyGitHistory: true
template:
name: go
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ All notable changes to the LaunchDarkly Relay will be documented in this file. T
- Bump Alpine from 3.18.3 to 3.18.4
- Bump github.com/docker/docker from v23.0.3 to v24.0.7

## [7.4.2] - 2023-11-29
### Changed:
- Bump google.golang.org/grpc from 1.55.0 to 1.56.3
- Bump Alpine from 3.18.3 to 3.18.4

## [8.2.0] - 2023-10-24
### Added:
- Support sampling and exclusions in PHP events
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a standalone Dockerfile that does not depend on goreleaser building the binary
# It is NOT the version that is pushed to dockerhub
FROM golang:1.21.3-alpine3.18 as builder
FROM golang:1.21.5-alpine3.19 as builder
# See "Runtime platform versions" in CONTRIBUTING.md

RUN apk --no-cache add \
Expand All @@ -21,7 +21,7 @@ ENV GOPATH=/go

RUN go build -a -o ldr .

FROM alpine:3.18.4
FROM alpine:3.19.0

RUN addgroup -g 1000 -S ldr-user && \
adduser -u 1000 -S ldr-user -G ldr-user && \
Expand All @@ -30,7 +30,7 @@ RUN addgroup -g 1000 -S ldr-user && \

RUN apk add --no-cache \
ca-certificates \
&& apk add --upgrade libcrypto1.1 libssl1.1 git \
&& apk add --upgrade libcrypto3 libssl3 \
&& update-ca-certificates \
&& rm -rf /var/cache/apk/*

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.goreleaser
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

# See .ldrelease/config.yml for an explanation of the build/release process.

FROM alpine:3.18.4
FROM alpine:3.19.0
# See "Runtime platform versions" in CONTRIBUTING.md

RUN apk add --no-cache \
ca-certificates \
&& apk add --upgrade libcrypto1.1 libssl1.1 \
&& apk add --upgrade libcrypto3 libssl3 \
&& update-ca-certificates \
&& rm -rf /var/cache/apk/*

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

GOLANGCI_LINT_VERSION=v1.51.2
GOLANGCI_LINT_VERSION=v1.55.2

LINTER=./bin/golangci-lint
LINTER_VERSION_FILE=./bin/.golangci-lint-version-$(GOLANGCI_LINT_VERSION)
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ If none of these are specified, the default is `--config /etc/ld-relay.conf`.

## Persistent storage

You can configure Relay Proxy nodes to persist feature flag settings in Redis, DynamoDB, or Consul. You must use persistent storage to run your SDKs in daemon mode, or to use Big Segments. To learn more, read [Using a persistent store](https://docs.launchdarkly.com/home/relay-proxy/using#using-a-persistent-store).
You can configure Relay Proxy nodes to persist feature flag settings in Redis, DynamoDB, or Consul. You must use persistent storage to run your SDKs in daemon mode. To learn more, read [Using a persistent store](https://docs.launchdarkly.com/home/relay-proxy/using#using-a-persistent-store).

You can also configure the Relay Proxy to persist segment information for Big Segments in Redis or DynamoDB. To learn more, read [Configuring the Relay Proxy for segments](https://docs.launchdarkly.com/home/relay-proxy/using#configuring-the-relay-proxy-for-segments).

> Segments let you target groups of contexts that encounter feature flags. Big Segments are segments with more than 15,000 targets, or that are synced from external tools. You must use either the Relay Proxy or a persistent store integration if you use server-side SDKs and Big Segments. If supporting segments is your only use case, we recommend using a persistent store integration rather than the Relay Proxy.

For persistent storage configuration details, read [Persistent Storage](./docs/persistent-storage.md).

Expand Down
6 changes: 3 additions & 3 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ For **Duration** settings, the value should be be an integer followed by `ms`, `
| `tlsKey` | `TLS_KEY` | String | | Required if `tlsEnabled` is true. Path to TLS private key file. |
| `tlsMinVersion` | `TLS_MIN_VERSION` | String | | Set to "1.2", etc., to enforce a minimum TLS version for secure requests. |
| `logLevel` | `LOG_LEVEL` | String | `info` | Should be `debug`, `info`, `warn`, `error`, or `none`. To learn more, read [Logging](./logging.md). |
| `bigSegmentsStaleAsDegraded` | `BIG_SEGMENTS_STALE_AS_DEGRADED` | Boolean | `false` | Indicates if environments should be considered degraded if big segments are not fully synchronized. |
| `bigSegmentsStaleThreshold` | `BIG_SEGMENTS_STALE_THRESHOLD` | Duration | `5m` | Indicates how long until big segments should be considered stale. |
| `bigSegmentsStaleAsDegraded` | `BIG_SEGMENTS_STALE_AS_DEGRADED` | Boolean | `false` | Indicates if environments should be considered degraded if Big Segments are not fully synchronized. |
| `bigSegmentsStaleThreshold` | `BIG_SEGMENTS_STALE_THRESHOLD` | Duration | `5m` | Indicates how long until Big Segments should be considered stale. |

_(1)_ The default values for `streamUri`, `baseUri`, and `clientSideBaseUri` are `https://stream.launchdarkly.com`, `https://sdk.launchdarkly.com`, and `https://clientsdk.launchdarkly.com`, respectively. You should never need to change these URIs unless you are either using a special instance of the LaunchDarkly service, in which case Support will tell you how to set them, or you are accessing LaunchDarkly using a reverse proxy or some other mechanism that rewrites URLs.

Expand Down Expand Up @@ -183,7 +183,7 @@ To learn more, read [Persistent storage](./persistent-storage.md).
| `port` | `REDIS_PORT` | Number | `6379` | Port of the Redis database. Note that if you are using environment variables, setting `REDIS_PORT` to a string like `tcp://host:port` sets both the host and the port; this is used in Docker. |
| `url` | `REDIS_URL` | String | | URL of the Redis database (overrides `host` & `port`). |
| `tls` | `REDIS_TLS` | Boolean | `false` | If `true`, will use a secure connection to Redis (not all Redis servers support this). If you specified a `redis://` URL, setting `tls` to `true` will change it to `rediss://`. |
| `password` | `REDIS_PASSWORD` | String | | Optional password if Redis require authentication. |
| `password` | `REDIS_PASSWORD` | String | | Optional password if Redis requires authentication. |
| `username` | `REDIS_USERNAME` | String | | Optional username if Redis requires authentication. |
| `localTtl` | `CACHE_TTL` | Duration | `30s` | Length of time that database items can be cached in memory. |

Expand Down
6 changes: 3 additions & 3 deletions docs/persistent-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

You can configure Relay Proxy nodes to persist feature flag settings in Redis, DynamoDB, or Consul. This provides durability in use cases like a temporary network partition that prevents the Relay Proxy from communicating with LaunchDarkly's servers. If you use Big Segments, you can only use Redis or DynamoDB as a feature store.

To learn more, read [Using a persistent feature store](https://docs.launchdarkly.com/sdk/concepts/feature-store), and the Relay Proxy documentation on [Configuration](./configuration.md).
To learn more, read [Using a persistent feature store](https://docs.launchdarkly.com/sdk/concepts/data-stores), and the Relay Proxy documentation on [Configuration](./configuration.md).

The Relay Proxy does not support clustered Redis or Redis Sentinel.

Expand Down Expand Up @@ -34,9 +34,9 @@ DYNAMODB_TABLE=my-feature-flags
CACHE_TTL=30s
```

The Relay Proxy can only use one of these at a time. If you enabled both Redis and DynamoDB it would result in an error.
The Relay Proxy can only use one of these at a time. If you enable both Redis and DynamoDB it will result in an error.

LaunchDarkly SDK clients have their own options for configuring persistent storage. If you use [daemon mode](../README.md#daemon-mode), the clients need to be using the same storage configuration as the Relay Proxy. If you are not using daemon mode, the two configurations are completely independent. For example, you could have a relay using Redis, but a client using DynamoDB or not using persistent storage at all.
LaunchDarkly SDK clients have their own options for configuring persistent storage. If you use [daemon mode](../README.md#daemon-mode), the clients need to be using the same storage configuration as the Relay Proxy. If you are not using daemon mode, the two configurations are completely independent. For example, you could have a Relay Proxy using Redis, but a client using DynamoDB or not using persistent storage at all.

If the database becomes unavailable, the Relay Proxy's behavior, based on its use of the Go SDK, depends on the `CACHE_TTL` setting:

Expand Down
30 changes: 15 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ require (
github.com/prometheus/client_golang v1.15.1 // indirect; override to address CVE-2022-21698
github.com/stretchr/testify v1.8.4
go.opencensus.io v0.24.0
golang.org/x/net v0.17.0 // indirect; override to address CVE-2022-41723
golang.org/x/sync v0.2.0
golang.org/x/sync v0.5.0
gopkg.in/gcfg.v1 v1.2.3
)

Expand Down Expand Up @@ -77,6 +76,7 @@ require (
cloud.google.com/go/storage v1.29.0 // indirect
cloud.google.com/go/trace v1.9.0 // indirect
code.gitea.io/sdk/gitea v0.15.1 // indirect
dario.cat/mergo v1.0.0 // indirect
github.com/AlekSi/pointer v1.2.0 // indirect
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible // indirect
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.3.1 // indirect
Expand All @@ -102,8 +102,7 @@ require (
github.com/Masterminds/semver/v3 v3.2.1 // indirect
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230528122434-6f98819771a1 // indirect
github.com/acomagu/bufpipe v1.0.4 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c // indirect
github.com/alessio/shellescape v1.4.1 // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/atc0005/go-teams-notify/v2 v2.7.0 // indirect
Expand Down Expand Up @@ -132,7 +131,7 @@ require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/charmbracelet/lipgloss v0.6.0 // indirect
github.com/chrismellard/docker-credential-acr-env v0.0.0-20220327082430-c57b701bfc08 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand All @@ -154,8 +153,8 @@ require (
github.com/emirpasic/gods v1.18.1 // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.4.1 // indirect
github.com/go-git/go-git/v5 v5.7.0 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/go-git/go-git/v5 v5.11.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
github.com/go-openapi/analysis v0.21.4 // indirect
Expand All @@ -174,7 +173,7 @@ require (
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/go-containerregistry v0.14.0 // indirect
github.com/google/go-github/v50 v50.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
Expand Down Expand Up @@ -251,7 +250,7 @@ require (
github.com/sigstore/rekor v1.2.0 // indirect
github.com/sigstore/sigstore v1.6.4 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/skeema/knownhosts v1.1.1 // indirect
github.com/skeema/knownhosts v1.2.1 // indirect
github.com/slack-go/slack v0.12.1 // indirect
github.com/spf13/afero v1.9.3 // indirect
github.com/spf13/cast v1.5.0 // indirect
Expand All @@ -273,14 +272,15 @@ require (
gitlab.com/digitalxero/go-conventional-commit v1.0.7 // indirect
go.mongodb.org/mongo-driver v1.11.3 // indirect
gocloud.dev v0.29.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/mod v0.11.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/oauth2 v0.7.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/term v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/term v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.9.3 // indirect
golang.org/x/tools v0.16.1 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.121.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
Expand Down
Loading