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 7.2.0 release #223

Merged
merged 1,002 commits into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1002 commits
Select commit Hold shift + click to select a range
e18083b
Merge pull request #271 from launchdarkly/eb/ch116135/i9n-test-debug-…
eli-darkly Jul 27, 2021
ab15d8c
Merge pull request #268 from launchdarkly/danrichelson/ch115941/ld-re…
drichelson Jul 27, 2021
cf64bd3
include environment prefix in BigSegmentSynchronizer logging
eli-darkly Jul 28, 2021
0c8e0f4
Merge pull request #272 from launchdarkly/eb/ch116114/suppress-big-se…
eli-darkly Jul 29, 2021
75959fa
Merge pull request #273 from launchdarkly/eb/ch116162/big-seg-sync-lo…
eli-darkly Jul 29, 2021
9558c12
merge from public after release
Jul 29, 2021
a0b2572
increase big segment integration test timeout (#274)
eli-darkly Aug 11, 2021
072d953
generate client-side stream pings if big segments have changed
eli-darkly Aug 16, 2021
150c7f3
clear big segments cache as needed + simplify state management
eli-darkly Aug 19, 2021
2bc4ce8
fix tests and simplify component creation
eli-darkly Aug 20, 2021
10fe3c5
Merge pull request #275 from launchdarkly/eb/ch118696/ping-big-segmen…
eli-darkly Aug 20, 2021
c8b7e2c
use GA releases of SDK packages
eli-darkly Aug 20, 2021
ea2e789
disable CI package-build-test in Go 1.16+
eli-darkly Aug 20, 2021
fe5fe27
Merge pull request #277 from launchdarkly/eb/ch117879/package-build-test
eli-darkly Aug 20, 2021
565a01b
Merge pull request #276 from launchdarkly/eb/ch118696/clear-big-segme…
eli-darkly Aug 20, 2021
e347c1f
Migrate Relay release to Releaser v2 and support dry run (#278)
eli-darkly Aug 23, 2021
de45e9a
merge from public after release
Aug 23, 2021
c95bca4
Merge branch 'v6' of github.com:launchdarkly/ld-relay into v6
eli-darkly Aug 24, 2021
19376c7
merge from public after release
eli-darkly Aug 24, 2021
dcfd861
Merge branch 'v6' of github.com:launchdarkly/ld-relay into v6
eli-darkly Aug 24, 2021
22578e0
Adding degraded doc blurb for big segments (#280)
bwoskow-ld Sep 20, 2021
d37fee5
Merge branch 'v6' of github.com:launchdarkly/ld-relay into v6
bwoskow-ld Sep 20, 2021
323029d
respect Redis password & TLS options for big segments; add Redis pass…
eli-darkly Sep 20, 2021
daa4946
Merge pull request #281 from launchdarkly/eb/ch123316/redis-password-…
eli-darkly Sep 21, 2021
9af3e37
redact Redis URL password in logs and status resource
eli-darkly Sep 22, 2021
5b2a32e
update go-server-sdk-redis-redigo to 1.2.1 for Redis URL logging fix
eli-darkly Sep 22, 2021
c90c405
Merge pull request #282 from launchdarkly/eb/ch123508/redact-redis-pa…
eli-darkly Sep 22, 2021
60c9b34
merge from public after release
Sep 22, 2021
2067de4
Part 1, add the config and the documentation for the new config
louis-launchdarkly Sep 29, 2021
ea0443c
Part 2, Add the configuration validation and test
louis-launchdarkly Sep 29, 2021
ab71633
Part 3, the actual logic to include the headers in the CORS Access-Co…
louis-launchdarkly Sep 30, 2021
8e4922e
Linter
louis-launchdarkly Sep 30, 2021
3388cb4
update Alpine version to 3.14.2 to fix openssl CVEs
eli-darkly Oct 4, 2021
5cd2a80
Merge pull request #284 from launchdarkly/eb/sc-125292/alpine-version
eli-darkly Oct 5, 2021
30f829b
merge from public after release
Oct 5, 2021
7dbab9f
Fix the global variable modification
louis-launchdarkly Oct 6, 2021
131b5ee
Go format
louis-launchdarkly Oct 6, 2021
76b0283
turn off unnecessary metrics integrations in config for Docker smoke …
eli-darkly Oct 8, 2021
8ef1418
rename test.env to smoke-test.env to clarify what it's for
eli-darkly Oct 8, 2021
18b7c63
Merge pull request #286 from launchdarkly/eb/sc-126146/no-metrics-in-…
eli-darkly Oct 8, 2021
5450ab5
fix setting of custom Access-Control-Allow-Origin and add test (#285)
eli-darkly Oct 8, 2021
b1cc877
merge from public after release
Oct 8, 2021
53f7cb0
Merge branch 'v6' into lc/sc108033/allow-extra-headers
eli-darkly Oct 8, 2021
740f267
Merge pull request #283 from launchdarkly/lc/sc108033/allow-extra-hea…
louis-launchdarkly Oct 9, 2021
6832e40
merge from public after release
Oct 11, 2021
a1260dc
add more explanatory test output and more verbose debugging for big s…
eli-darkly Oct 20, 2021
9b5b837
update to Go 1.16.10 + Alpine 3.14.3; add some docs about releases (#…
eli-darkly Nov 16, 2021
6c3c08d
update go-server-sdk-consul version for Consul API version update
eli-darkly Nov 16, 2021
28afdae
Merge pull request #289 from launchdarkly/eb/sc-131640/consul-version
eli-darkly Nov 16, 2021
a2aa7f6
merge from public after release
Nov 16, 2021
afa6dc1
override x/crypto dependency version for CVE-2020-29652
eli-darkly Nov 18, 2021
bcd45ad
bump Prometheus dependency to eliminate jwt-go vulnerability
eli-darkly Nov 19, 2021
46ae3ac
drop support for Go 1.14 & 1.15
eli-darkly Nov 19, 2021
d79bd80
Merge pull request #291 from launchdarkly/eb/sc-123831/prometheus-dep…
eli-darkly Nov 19, 2021
19ab34f
Merge pull request #292 from launchdarkly/eb/sc-132035/drop-go-1.14-1.15
eli-darkly Nov 19, 2021
76bf193
Merge branch 'v6' into eb/sc-131906/crypto-patch
eli-darkly Nov 19, 2021
da46c5d
Merge pull request #290 from launchdarkly/eb/sc-131906/crypto-patch
eli-darkly Nov 19, 2021
6dee3af
make sure defaults are always applied for base URL properties
eli-darkly Nov 19, 2021
e0c7b7e
rm unused
eli-darkly Nov 19, 2021
57d3b8f
rm unnecessary linter directive
eli-darkly Nov 19, 2021
32444a7
Merge pull request #293 from launchdarkly/eb/sc-132077/default-base-url
eli-darkly Nov 19, 2021
c35ad2c
merge from public after release
Nov 19, 2021
a9f2f47
add separate configuration for server-side/client-side SDK base URLs …
eli-darkly Dec 30, 2021
07cd83e
remove Whitesource CI job + remove obsolete dependency issue note
eli-darkly Dec 31, 2021
bb21ae7
Merge pull request #295 from launchdarkly/eb/sc-136331/no-whitesource
eli-darkly Jan 1, 2022
e4a469b
Merge branch 'v6' into eb/sc-132182/sdk-base-uri
eli-darkly Jan 1, 2022
a210459
Merge pull request #294 from launchdarkly/eb/sc-132182/sdk-base-uri
eli-darkly Jan 5, 2022
d59f61c
merge from public after release
Jan 6, 2022
6830065
don't include any big segment status info in status resource unless t…
eli-darkly Jan 6, 2022
1e0835a
merge from public after release
Jan 7, 2022
db20d1b
update x/text package for vulnerability GO-2021-0113
eli-darkly Jan 8, 2022
3da3908
Merge pull request #298 from launchdarkly/eb/sc-137033/go-text-securi…
eli-darkly Jan 8, 2022
6ffdfdd
add Trivy security scan to CI (#297)
eli-darkly Jan 8, 2022
bc74335
add daily re-scan with Trivy
eli-darkly Jan 10, 2022
a8fd98d
Merge pull request #299 from launchdarkly/eb/sc-132728/daily-trivy
eli-darkly Jan 10, 2022
38b2db2
use long timeout when awaiting changes related to file mod watching
eli-darkly Jan 11, 2022
27a658d
Merge branch 'v6' of github.com:launchdarkly/ld-relay into v6
eli-darkly Jan 11, 2022
a218832
update Go version to 1.17.6 (#301)
eli-darkly Jan 19, 2022
5a50cd4
merge from public after release
Jan 19, 2022
7746490
Merge branch 'v6' into eb/sc-137258/flaky-tests
eli-darkly Feb 3, 2022
6868ac5
always terminate if auto-config stream fails with a fatal error
eli-darkly Feb 3, 2022
d5b32b7
Merge pull request #302 from launchdarkly/eb/sc-140317/auto-config-er…
eli-darkly Feb 5, 2022
3392b3f
merge from public after release
Feb 7, 2022
027ce04
pass along tags header when proxying events
eli-darkly Mar 10, 2022
3a1ed72
comments, rm debugging
eli-darkly Mar 10, 2022
b053417
fix auth header logic
eli-darkly Mar 10, 2022
fb62717
fix auth header logic some more
eli-darkly Mar 10, 2022
5c13ddc
comments
eli-darkly Mar 10, 2022
c111f1b
Merge pull request #303 from launchdarkly/eb/sc-143501/tags
eli-darkly Mar 10, 2022
fd8684d
add tags header to CORS header whitelist (#304)
eli-darkly Mar 11, 2022
3bd9d06
update to Alpine 3.14.4 for CVE-2022-0778 fix
eli-darkly Mar 17, 2022
237b753
Merge pull request #305 from launchdarkly/eb/sc-146436/security
eli-darkly Mar 17, 2022
45eae10
Merge branch 'v6' of github.com:launchdarkly/ld-relay into v6
eli-darkly Mar 17, 2022
ac7a5df
minimal changes for using prerelease Go SDK v6 (#306)
eli-darkly Mar 22, 2022
7327015
merge from public after release
Mar 24, 2022
0538129
revise "summarizing" event proxy logic to use new event processor
eli-darkly Mar 28, 2022
c8d207f
comments
eli-darkly Mar 28, 2022
b4cdae1
force upgrade of openssl in Alpine
eli-darkly Mar 28, 2022
1a3ec08
also upgrade libretls
eli-darkly Mar 28, 2022
7301e03
fix it in both files
eli-darkly Mar 28, 2022
83272fb
Merge pull request #310 from launchdarkly/eb/sc-147611/openssl-update
eli-darkly Mar 29, 2022
14aba22
update to Alpine 3.14.5 for CVE-2022-0778/CVE-2018-25032 (#308)
eli-darkly Mar 29, 2022
08c8dbd
merge from public after release
Mar 29, 2022
0ea34cc
add scripts for checking and updating Go/Alpine versions (#309)
eli-darkly Mar 29, 2022
2f2da0a
Merge branch 'v6' into u2c
eli-darkly Mar 29, 2022
0ee9bfc
Merge branch 'u2c' into eb/sc-146802/php-events
eli-darkly Mar 29, 2022
e98b50c
add support & tests for handling any kind of context in eval endpoints
eli-darkly Mar 30, 2022
f9f8e72
move some constants and test code out of internal/core/internal/...
eli-darkly Mar 31, 2022
de7650a
use a clearer import alias
eli-darkly Mar 31, 2022
0ba6f58
refactoring
eli-darkly Mar 31, 2022
301ce3b
Merge pull request #307 from launchdarkly/eb/sc-146802/php-events
eli-darkly Apr 1, 2022
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
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
24 changes: 14 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ builds:

nfpms:
-
file_name_template: "{{ .ProjectName }}_{{ .Version }}.{{ .ShortCommit }}_{{ .Arch }}"

file_name_template: >-
{{ .ConventionalFileName }}
homepage: https://launchdarkly.com/
maintainer: LaunchDarkly <[email protected]>
description: LaunchDarkly Stream Relay Proxy
Expand All @@ -32,23 +32,27 @@ nfpms:
- deb
- rpm

replacements:
386: i386
contents:
- src: linux/etc/ld-relay.conf
dst: /etc/ld-relay.conf
type: config

- src: linux/etc/init/ld-relay.conf
dst: /etc/init/ld-relay.conf
packager: deb

- src: linux/etc/system/ld-relay.service
dst: /usr/lib/systemd/system/ld-relay.service
packager: rpm

config_files:
"linux/etc/ld-relay.conf": "/etc/ld-relay.conf"

overrides:
deb:
dependencies:
- upstart
files:
"linux/etc/init/ld-relay.conf": "/etc/init/ld-relay.conf"
rpm:
dependencies:
- systemd
files:
"linux/etc/system/ld-relay.service": "/usr/lib/systemd/system/ld-relay.service"

release:
disable: true # this disables releasing *to GitHub*; it will still push to Docker
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.centos-test
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM centos

COPY dist/ld-relay*amd64.rpm .
COPY dist/ld-relay*x86_64.rpm .

RUN rpm -Uvh ld-relay*amd64.rpm
RUN rpm -Uvh ld-relay*x86_64.rpm

RUN systemctl enable ld-relay.service

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GOLANGCI_LINT_VERSION=v1.48.0
LINTER=./bin/golangci-lint
LINTER_VERSION_FILE=./bin/.golangci-lint-version-$(GOLANGCI_LINT_VERSION)

GORELEASER_VERSION=v0.141.0
GORELEASER_VERSION=v1.15.2

SHELL=/bin/bash

Expand Down
2 changes: 1 addition & 1 deletion docs/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

You can configure the Relay Proxy to export statistics and route traces to Datadog, Stackdriver, and Prometheus. To learn about the available settings for each of these options, read [Configuration](./configuration.md).

The Relay Proxy suppors the following metrics:
The Relay Proxy supports the following metrics:

- `connections`: The number of currently existing stream connections from SDKs to the Relay Proxy.
- `newconnections`: The cumulative number of stream connections that have been made to the Relay Proxy since it started up.
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ require (
github.com/prometheus/client_golang v1.11.1 // indirect; override to address CVE-2022-21698
github.com/stretchr/testify v1.7.0
go.opencensus.io v0.23.0
golang.org/x/net v0.4.0 // indirect; override to address CVE-2022-41717
golang.org/x/net v0.7.0 // indirect; override to address CVE-2022-41723
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
gopkg.in/gcfg.v1 v1.2.3
gopkg.in/launchdarkly/go-server-sdk.v5 v5.9.0
Expand Down Expand Up @@ -109,8 +109,8 @@ require (
go.opentelemetry.io/otel/trace v0.19.0 // indirect
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c // indirect
golang.org/x/sys v0.3.0 // indirect; fixes CVE-2022-29526
golang.org/x/text v0.5.0 // indirect; fixes CVE-2022-32149
golang.org/x/sys v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
google.golang.org/api v0.43.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1 // indirect
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk=
golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.4.0 h1:Q5QPcMlvfxFTAPV0+07Xz/MpK9NTXu2VDUuy0FeMfaU=
golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE=
golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand Down Expand Up @@ -669,8 +669,8 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ=
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand All @@ -680,8 +680,8 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM=
golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Expand Down
2 changes: 1 addition & 1 deletion linux/etc/init/ld-relay.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ stop on runlevel [!2345]
respawn
respawn limit 5 2

exec start-stop-daemon --start -c nobody --exec /usr/local/bin/ld-relay
exec start-stop-daemon --start -c nobody --exec /usr/bin/ld-relay
2 changes: 1 addition & 1 deletion linux/etc/system/ld-relay.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=LaunchDarkly Relay Proxy

[Service]
Type=simple
ExecStart=/usr/local/bin/ld-relay
ExecStart=/usr/bin/ld-relay

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion scripts/run-goreleaser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# This also pushes the image to DockerHub unless we have specifically told it not to with
# the --skip-publish option.

GORELEASER_VERSION=${GORELEASER_VERSION:-v0.141.0}
GORELEASER_VERSION=${GORELEASER_VERSION:-v1.15.2}

# Get the lines added to the most recent changelog update (minus the first 2 lines)
RELEASE_NOTES=`(GIT_EXTERNAL_DIFF='bash -c "diff --unchanged-line-format=\"\" $2 $5" || true' git log --ext-diff -1 --pretty= -p CHANGELOG.md)`
Expand Down