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 6.7.4 release #182

Merged
merged 865 commits into from
Apr 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
865 commits
Select commit Hold shift + click to select a range
5b983b5
Merge branch '6.0.x-patch' into v6
eli-darkly Oct 26, 2020
a44bbb8
added whitesource to build
pkaeding Oct 29, 2020
ad2947f
removed broken environment references from build
pkaeding Oct 29, 2020
50a53a6
Merge remote-tracking branch 'private/v6' into pk/ch93419/add-whiteso…
pkaeding Oct 29, 2020
7a8566e
Updating the minimum go version in the contribution guidelines (#213)
bwoskow-ld Oct 30, 2020
715fee1
change offline mode env schema to separate dataId from other properties
eli-darkly Oct 31, 2020
b0bcca9
offline mode in-repo docs (#214)
bwoskow-ld Nov 5, 2020
60f0a62
Merge pull request #215 from launchdarkly/eb/ch93629/offline-env-schema
eli-darkly Nov 6, 2020
df4f798
(#6) offline mode integration test + offline mode fixes (#204)
eli-darkly Nov 10, 2020
bdf2b07
merge from public after release
LaunchDarklyCI Nov 10, 2020
a127d20
only run scheduled tests on private repo (#216)
bwoskow-ld Nov 11, 2020
bc08726
Merge branch 'v6' of github.com:launchdarkly/ld-relay into v6
bwoskow-ld Nov 11, 2020
bd26f18
Merge pull request #212 from launchdarkly/pk/ch93419/add-whitesource-…
pkaeding Nov 12, 2020
683bd1f
fix "expiring-but-still-valid SDK key" logic so requests with old key…
eli-darkly Nov 25, 2020
0dea362
Merge pull request #218 from launchdarkly/eb/ch95336/expiring-sdk-key
eli-darkly Dec 1, 2020
93632c0
add note about non-support for clustered Redis and Redis Sentinel
eli-darkly Dec 1, 2020
2ad8302
Merge pull request #220 from launchdarkly/eb/ch95581/redis-note
eli-darkly Dec 2, 2020
c2041f4
disable diagnostic events & metrics events in offline mode
eli-darkly Dec 3, 2020
70f9ba4
Merge pull request #221 from launchdarkly/eb/ch95741/offline-diagnostics
eli-darkly Dec 3, 2020
c2092d2
add accept-events-but-discard-them behavior for offline mode
eli-darkly Dec 3, 2020
03bb27f
clean up imports
eli-darkly Dec 3, 2020
111037f
fix product name in docs
eli-darkly Dec 3, 2020
e3606d7
Merge pull request #222 from launchdarkly/eb/ch95744/offline-events
eli-darkly Dec 3, 2020
6ab1369
fix the broken images in our repo docs (#217)
bwoskow-ld Dec 3, 2020
ed8411e
in auto-config mode, return 503 for client requests till configuratio…
eli-darkly Dec 4, 2020
d38baf8
merge from public after release
LaunchDarklyCI Dec 4, 2020
1eb9574
always send stream updates to clients regardless of version checking …
eli-darkly Dec 5, 2020
a2acd96
merge from public after release
LaunchDarklyCI Dec 5, 2020
65b1102
Enable hourly Relay integration tests against Production (#223)
bwoskow-ld Dec 7, 2020
88a452f
Record response body when relay archive download test fails (#225)
ashanbrown Dec 7, 2020
917c90e
Fix the broken production integration tests (#226)
bwoskow-ld Dec 7, 2020
adebc8b
improve metrics documentation and fix route strings in docs (#227)
eli-darkly Dec 17, 2020
c9c9bed
use more efficient jsonstream encoding/decoding for stream data and e…
eli-darkly Jan 15, 2021
b64314d
recognize alias events from non-v3-schema payloads and forward them u…
eli-darkly Jan 20, 2021
04138ec
environment should still be usable even if the client timed out
eli-darkly Jan 21, 2021
dba24db
Merge pull request #230 from launchdarkly/eb/ch98375/init-failed
eli-darkly Jan 21, 2021
1deef50
Merge pull request #229 from launchdarkly/eb/ch94519/alias-events
eli-darkly Jan 21, 2021
78c64f1
merge from public after release
LaunchDarklyCI Jan 21, 2021
2e53873
bump dependency versions for SDK fixes
eli-darkly Jan 22, 2021
9b807af
Merge pull request #231 from launchdarkly/eb/ch98975-ch99083/sdk-fixes
eli-darkly Jan 22, 2021
6efac1b
merge from public after release
LaunchDarklyCI Jan 22, 2021
2c3c268
update go-server-sdk-dynamodb to get newer AWS SDK
eli-darkly Feb 4, 2021
d5eb263
Merge pull request #232 from launchdarkly/eb/ch100098/aws-sdk-update
eli-darkly Feb 4, 2021
dfda97e
merge from public after release
LaunchDarklyCI Feb 4, 2021
a71a26d
minor clarification about Relay.Close (#234)
eli-darkly Mar 19, 2021
b0d23c8
Use the Go releaser template (#233)
bwoskow-ld Apr 1, 2021
da925f3
[ch102248] big segment sync with redis (#235)
hroederld Apr 1, 2021
dbee478
Merge branch 'v6' of github.com:launchdarkly/ld-relay into v6
eli-darkly Apr 8, 2021
0ab1b8c
fix makefile so it tries building all the test code first before runn…
eli-darkly Apr 9, 2021
9a89ffb
(big segments #1) add basic big segments configuration for SDK client…
eli-darkly Apr 9, 2021
6b40b00
(big segments #2) add more abstraction around big segments implementa…
eli-darkly Apr 9, 2021
b17373e
[102253] bigsegment status / config (#242)
hroederld Apr 20, 2021
c60cb66
big segments integration test + misc fixes (#240)
eli-darkly Apr 20, 2021
1c9e4f7
use latest URL paths for big segments endpoints
eli-darkly Apr 23, 2021
127a032
add SDK DynamoDB integration for big segments (#241)
eli-darkly Apr 23, 2021
d209aa7
Merge branch 'v6' of github.com:launchdarkly/ld-relay into v6
eli-darkly Apr 23, 2021
6714d38
Merge branch 'v6' into bigsegments
eli-darkly Apr 23, 2021
ffa433f
Merge pull request #243 from launchdarkly/eb/ch103716/big-segments-urls
eli-darkly Apr 23, 2021
9ffad44
fix broken link in Markdown docs (#246)
eli-darkly Apr 23, 2021
1e8a19f
make sure newly added credentials for existing environments are accep…
eli-darkly Apr 23, 2021
a527fab
merge from public after release
LaunchDarklyCI Apr 23, 2021
0c15bb5
don't return 503 if SDK initialization has timed out
eli-darkly Apr 29, 2021
c4ae513
Merge pull request #247 from launchdarkly/eb/ch107100/timeout-503
eli-darkly Apr 30, 2021
9bb4109
add in-repo docs about error/503 behavior (#249)
eli-darkly Apr 30, 2021
7a6f119
merge from public after release
LaunchDarklyCI Apr 30, 2021
7603406
[ch102255] BigSegments DynamoDB (#245)
hroederld May 3, 2021
e84c586
add init timeout config option + better test coverage + misc refactor…
eli-darkly May 7, 2021
89454a4
Merge branch 'v6' into bigsegments
eli-darkly May 7, 2021
57b9591
merge from public after release
LaunchDarklyCI May 8, 2021
3a27d60
fix example build command
eli-darkly May 18, 2021
8120f6e
use public prerelease tags instead of private dependencies
eli-darkly May 28, 2021
29c18f1
fix Go installation in CI
eli-darkly May 28, 2021
ffaf624
Merge pull request #251 from launchdarkly/eb/ch102252/no-private-deps
eli-darkly May 28, 2021
3298fee
update SDK dependencies for JSON number parsing bugfix
eli-darkly Jun 3, 2021
fd3ff51
Merge pull request #252 from launchdarkly/eb/ch110425/json-number-bug
eli-darkly Jun 3, 2021
ccb6d47
merge from public after release
LaunchDarklyCI Jun 3, 2021
608d4fa
update gorilla/mux to 1.8.0
eli-darkly Jun 7, 2021
d21b6fd
update OpenCensus packages
eli-darkly Jun 7, 2021
c486ae5
Merge pull request #253 from launchdarkly/eb/ch110776/mux-update
eli-darkly Jun 7, 2021
39289bd
Merge pull request #254 from launchdarkly/eb/ch110760/opencensus-update
eli-darkly Jun 7, 2021
8eadb76
merge from public after release
LaunchDarklyCI Jun 8, 2021
0374361
Merge branch 'v6' into bigsegments
eli-darkly Jun 8, 2021
efc4439
add Go 1.16 CI + "latest Go" CI + use latest 1.15 patch for release
eli-darkly Jun 8, 2021
b74ea3e
cimg images use "current", not "latest"
eli-darkly Jun 10, 2021
dad733b
seems there isn't any cimg/go "latest" or "current"
eli-darkly Jun 11, 2021
f8915c6
add daily package build test in CI
eli-darkly Jun 11, 2021
0111170
job names
eli-darkly Jun 11, 2021
720ab36
Merge pull request #255 from launchdarkly/eb/ch110926/ci-versions
eli-darkly Jun 11, 2021
4bf47f9
Merge pull request #256 from launchdarkly/eb/ch110926/package-build-test
eli-darkly Jun 11, 2021
6874ff9
bump SDK version for traffic allocation feature
eli-darkly Jun 17, 2021
16118a6
Merge pull request #257 from launchdarkly/eb/ch112054/exp-alloc-sdk
eli-darkly Jun 17, 2021
25db6b4
merge from public after release
LaunchDarklyCI Jun 17, 2021
2c538c3
[ch113491] update alpine base image (#258)
hroederld Jul 2, 2021
c6e6186
merge from public after release
LaunchDarklyCI Jul 8, 2021
faf1422
use latest prerelease SDK
eli-darkly Jul 19, 2021
a5f025c
fix enabling of test tags in CI
eli-darkly Jul 20, 2021
4102bca
add DynamoDB docker image in CI
eli-darkly Jul 20, 2021
7f84ed0
set a polling base URI in end-to-end tests since big segments logic w…
eli-darkly Jul 20, 2021
76c1939
fix initialization logic so SDK client creation errors aren't lost wh…
eli-darkly Jul 20, 2021
cdb2fac
Merge pull request #259 from launchdarkly/eb/ch115285/test-tags
eli-darkly Jul 20, 2021
c2bb4f3
fix use of prefix key in DynamoDB + improve tests (#260)
eli-darkly Jul 21, 2021
0452f01
more debug logging, less info logging for big segments logic
eli-darkly Jul 21, 2021
dc6d3df
make logging of big segments patch version mismatch clearer and use W…
eli-darkly Jul 21, 2021
b8cdf7c
fix log parameter
eli-darkly Jul 21, 2021
3a7006c
Merge pull request #261 from launchdarkly/eb/ch115311/debug-logging
eli-darkly Jul 21, 2021
c983e9d
fix DynamoDB updates for big segments metadata
eli-darkly Jul 21, 2021
fd1f403
add test to make sure sync time and cursor can be updated independently
eli-darkly Jul 21, 2021
4c474c4
only start big seg synchronizer if necessary
eli-darkly Jul 21, 2021
2135a31
use SDK GA releases
eli-darkly Jul 21, 2021
1b92c06
Merge branch 'bigsegments' into eb/ch115311/unapplied-patch-warning
eli-darkly Jul 21, 2021
31ff8f6
Merge branch 'eb/ch115311/unapplied-patch-warning' into eb/ch115285/f…
eli-darkly Jul 21, 2021
54f4ca4
Merge branch 'eb/ch115285/fix-ddb-updates' into eb/ch115321/smart-syn…
eli-darkly Jul 21, 2021
5af8edd
change applyPatch to exit early on version mismatch; go back to resta…
eli-darkly Jul 21, 2021
b2a4589
add unit tests for version mismatch behavior + DRY tests
eli-darkly Jul 21, 2021
6796029
add log assertion
eli-darkly Jul 21, 2021
048acef
Merge pull request #262 from launchdarkly/eb/ch115311/unapplied-patch…
eli-darkly Jul 21, 2021
61e4965
Merge pull request #263 from launchdarkly/eb/ch115285/fix-ddb-updates
eli-darkly Jul 21, 2021
9c3934a
Merge branch 'bigsegments' into eb/ch115321/smart-sync-start
eli-darkly Jul 21, 2021
d9361bd
Merge pull request #264 from launchdarkly/eb/ch115321/smart-sync-start
eli-darkly Jul 21, 2021
929d6d4
Merge branch 'v6' into bigsegments
eli-darkly Jul 21, 2021
9ca3ca0
fix retry logic on big segments stream failure
eli-darkly Jul 22, 2021
66acc59
add more logging for big segments connection status
eli-darkly Jul 22, 2021
ac48f32
fix logging assertion
eli-darkly Jul 22, 2021
565e47c
add more big segments integration tests
eli-darkly Jul 22, 2021
2801e37
fix overly-time-sensitive file data tests
eli-darkly Jul 22, 2021
9b8a223
fix more flaky tests
eli-darkly Jul 22, 2021
556a9c2
run big segments tests with DynamoDB too
eli-darkly Jul 22, 2021
930c7a1
Merge pull request #265 from launchdarkly/eb/ch115448/stream-failure
eli-darkly Jul 22, 2021
ef1107b
Merge pull request #266 from launchdarkly/eb/ch115448/stream-retry-lo…
eli-darkly Jul 22, 2021
7b48aed
Merge pull request #267 from launchdarkly/eb/ch115448/more-big-seg-i9n
eli-darkly Jul 22, 2021
3e34093
merge from public after release
Jul 22, 2021
cbc0c51
Migrate transitive dep (jwt-go) to use modern version without vulnera…
Jul 26, 2021
30b0031
Edit doc
Jul 26, 2021
cc5fd19
move Relay release logic to .ldrelease script
eli-darkly Jul 26, 2021
bc5a7c1
Merge pull request #269 from launchdarkly/eb/ch115525/release-script
eli-darkly Jul 26, 2021
4a43d45
suppress SDK big segments status query if we've never synced big segm…
eli-darkly Jul 27, 2021
fb85a88
dump Relay logs including debug logs if integration test fails
eli-darkly Jul 27, 2021
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
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
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
7327015
merge from public after release
Mar 24, 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
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
bbddefb
merge from public after release
Apr 5, 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
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
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
17 changes: 14 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@ parameters:
# override it in any parameterized builds, but just as a convenient shareable constant
go-release-version:
type: string
default: "1.17.6"
default: "1.17.9"

# 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
# consistently failing when we ran jobs with recent cimg/go images, possibly due to
# an incompatibility with the Docker version in those images. The failure mode is as
# described here: https://discuss.circleci.com/t/fail-to-build-images-with-docker-compose/43678
remote-docker-version:
type: string
default: "20.10.12"

experimental:
notify:
Expand Down Expand Up @@ -267,7 +276,8 @@ jobs:

steps:
- checkout
- setup_remote_docker # start docker engine
- setup_remote_docker: # start docker engine
version: <<pipeline.parameters.remote-docker-version>>

- run:
name: verify Go and Alpine versions
Expand Down Expand Up @@ -307,7 +317,8 @@ jobs:

steps:
- checkout
- setup_remote_docker # start docker engine
- setup_remote_docker: # start docker engine
version: <<pipeline.parameters.remote-docker-version>>

- run:
name: add package source for Trivy
Expand Down
2 changes: 1 addition & 1 deletion .ldrelease/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repo:

jobs:
- docker:
image: cimg/go:1.17.6 # See "Runtime platform versions" in CONTRIBUTING.md
image: cimg/go:1.17.9 # See "Runtime platform versions" in CONTRIBUTING.md
copyGitHistory: true
template:
name: go
Expand Down
2 changes: 1 addition & 1 deletion 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.17.6-alpine3.14 as builder
FROM golang:1.17.9-alpine3.14 as builder
# See "Runtime platform versions" in CONTRIBUTING.md

RUN apk --no-cache add \
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ require (
github.com/google/go-cmp v0.5.6 // indirect
github.com/gorilla/mux v1.8.0
github.com/gregjones/httpcache v0.0.0-20171119193500-2bcd89a1743f
github.com/hashicorp/consul/api v1.11.0
github.com/hashicorp/consul/api v1.12.0
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v0.16.2 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
Expand All @@ -29,7 +29,7 @@ require (
github.com/launchdarkly/api-client-go v5.0.3+incompatible
github.com/launchdarkly/eventsource v1.6.2
github.com/launchdarkly/go-configtypes v1.1.0
github.com/launchdarkly/go-server-sdk-consul v1.0.1
github.com/launchdarkly/go-server-sdk-consul v1.0.2
github.com/launchdarkly/go-server-sdk-dynamodb v1.1.1
github.com/launchdarkly/go-server-sdk-redis-redigo v1.2.1
github.com/launchdarkly/go-test-helpers/v2 v2.3.1
Expand Down
25 changes: 12 additions & 13 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
github.com/gregjones/httpcache v0.0.0-20171119193500-2bcd89a1743f h1:kOkUP6rcVVqC+KlKKENKtgfFfJyDySYhqL9srXooghY=
github.com/gregjones/httpcache v0.0.0-20171119193500-2bcd89a1743f/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA=
github.com/hashicorp/consul/api v1.11.0 h1:Hw/G8TtRvOElqxVIhBzXciiSTbapq8hZ2XKZsXk5ZCE=
github.com/hashicorp/consul/api v1.11.0/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M=
github.com/hashicorp/consul/api v1.12.0 h1:k3y1FYv6nuKyNTqj6w9gXOx5r5CfLj/k/euUeBXj1OY=
github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0=
github.com/hashicorp/consul/sdk v0.8.0 h1:OJtKBtEjboEZvG6AOUdh4Z1Zbyu0WcxQ0qatRrZHTVU=
github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms=
github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=
Expand Down Expand Up @@ -230,11 +230,11 @@ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ
github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc=
github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
github.com/hashicorp/mdns v1.0.1/go.mod h1:4gW7WsVCke5TE7EPeYliwHlRUyBtfCwuFwuMg2DmyNY=
github.com/hashicorp/memberlist v0.2.2 h1:5+RffWKwqJ71YPu9mWsF7ZOscZmwfasdA8kbdC7AO2g=
github.com/hashicorp/memberlist v0.2.2/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE=
github.com/hashicorp/serf v0.9.5 h1:EBWvyu9tcRszt3Bxp3KNssBMP1KuHWyO51lz9+786iM=
github.com/hashicorp/serf v0.9.5/go.mod h1:UWDWwZeL5cuWDJdl0C6wrvrUwEqtQ4ZKBKKENpqIUyk=
github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc=
github.com/hashicorp/memberlist v0.3.0 h1:8+567mCcFDnS5ADl7lrpxPMWiFCElyUEeW0gtj34fMA=
github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE=
github.com/hashicorp/serf v0.9.6 h1:uuEX1kLR6aoda1TBttmJQKDLZE1Ob7KN0NPdE7EtCDc=
github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
Expand Down Expand Up @@ -285,8 +285,8 @@ github.com/launchdarkly/go-ntlmssp v1.0.1/go.mod h1:/cq3t2JyALD7GdVF5BEWcEuGlIGa
github.com/launchdarkly/go-semver v1.0.1/go.mod h1:xFmMwXba5Mb+3h72Z+VeSs9ahCvKo2QFUTHRNHVqR28=
github.com/launchdarkly/go-semver v1.0.2 h1:sYVRnuKyvxlmQCnCUyDkAhtmzSFRoX6rG2Xa21Mhg+w=
github.com/launchdarkly/go-semver v1.0.2/go.mod h1:xFmMwXba5Mb+3h72Z+VeSs9ahCvKo2QFUTHRNHVqR28=
github.com/launchdarkly/go-server-sdk-consul v1.0.1 h1:B1U3rJfCQLnWrbr4JrdXmuzPNVlcvCM8v2lHxKs3gmk=
github.com/launchdarkly/go-server-sdk-consul v1.0.1/go.mod h1:8nkhSElct2I9eU0ufOsvt6IBIXVPipI3ZIA1sU9dXIc=
github.com/launchdarkly/go-server-sdk-consul v1.0.2 h1:Kl99OW5M4u1gEYGgIgGxSNpWq1gY9GPiF8lw0fg3ieI=
github.com/launchdarkly/go-server-sdk-consul v1.0.2/go.mod h1:2lk/aCHkrm7VUZuJR2RK7B0vX2YrxmhAk1uDwjnolFA=
github.com/launchdarkly/go-server-sdk-dynamodb v1.1.1 h1:lbzt1Uw0BON3TaqSDRq12wFGsu8nv4tBkLmi9TgKrJI=
github.com/launchdarkly/go-server-sdk-dynamodb v1.1.1/go.mod h1:ZCuGJJ0QWvtFeU65+iIlwVAPvOXWg9B/PWhG10S0/OY=
github.com/launchdarkly/go-server-sdk-redis-redigo v1.2.1 h1:5KhwXcx+0sqxjDf4m/irLCohe/8Fh72zzsC6XU3aTMc=
Expand All @@ -310,8 +310,8 @@ github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso=
github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI=
github.com/miekg/dns v1.1.43 h1:JKfpVSCB84vrAmHzyrsxB5NAr5kLoMXZArPSw7Qlgyg=
github.com/miekg/dns v1.1.43/go.mod h1:+evo5L0630/F6ca/Z9+GAqzhjGyn8/c+TBaOyfEl0V4=
github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI=
Expand Down Expand Up @@ -431,7 +431,6 @@ go.opentelemetry.io/otel/oteltest v0.19.0/go.mod h1:tI4yxwh8U21v7JD6R3BcA/2+RBoT
go.opentelemetry.io/otel/trace v0.19.0 h1:1ucYlenXIDA1OlHVLDZKX0ObXV5RLaq06DtUKz5e5zc=
go.opentelemetry.io/otel/trace v0.19.0/go.mod h1:4IXiNextNOpPnRlI4ryK69mn5iC84bjBWZQA5DXz/qg=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
Expand Down Expand Up @@ -476,7 +475,6 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
Expand Down Expand Up @@ -513,6 +511,7 @@ golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v
golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8=
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-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
Expand Down Expand Up @@ -545,7 +544,6 @@ golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5h
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
Expand Down Expand Up @@ -593,6 +591,7 @@ golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Expand Down
7 changes: 4 additions & 3 deletions scripts/update-go-release-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function ensure_file_was_changed() {
filename=$1
if (( $(diff ${filename} ${filename}.tmp | grep '^>' | wc -l) != 1 )); then
echo "failed to update Go version in ${filename}; sed expression did not match any lines or matched more than one line"
diff ${filename} ${filename}.tmp || true
for f in ${ldrelease_config_file} ${circleci_config_file} ${dockerfile_for_tests}; do
rm -r ${f}.tmp
done
Expand All @@ -34,14 +35,14 @@ sed <${ldrelease_config_file} >${ldrelease_config_file}.tmp \
ensure_file_was_changed ${ldrelease_config_file}

sed <${circleci_config_file} >${circleci_config_file}.tmp \
-e "/go-release-version:/,/default:/s#default: *\"[^\"]*\"#default: ${VERSION}#"
-e "/go-release-version:/,/default:/s#default: *\"[^\"]*\"#default: \"${VERSION}\"#"
ensure_file_was_changed ${circleci_config_file}

sed <${dockerfile_for_tests} >${dockerfile_for_tests}.tmp \
-e "s#FROM *golang:[^-]#FROM golang:${VERSION}#"
-e "s#FROM *golang:[^-]*#FROM golang:${VERSION}#"
ensure_file_was_changed ${dockerfile_for_tests}

for f in ${ldrelease_config_file} ${circleci_config_file}; do
for f in ${ldrelease_config_file} ${circleci_config_file} ${dockerfile_for_tests}; do
mv ${f}.tmp ${f}
echo "updated ${f}"
done
Expand Down
6 changes: 4 additions & 2 deletions scripts/verify-release-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ fi

echo "Alpine versions are in sync"

echo "Checking availability of Docker images..."
for docker_image in \
"cimg/go:${LDRELEASE_GO_VERSION}" \
"alpine:${DOCKERFILE_RELEASES_ALPINE_VERSION}" \
"golang:${LDRELEASE_GO_VERSION}-alpine${DOCKERFILE_TESTS_ALPINE_MINOR_VERSION}"
do
docker pull ${docker_image} >/dev/null 2>/dev/null || { echo; echo "Docker image ${docker_image} is not available!"; exit 1; }
echo "verified that Docker image ${docker_image} is available"
echo -n " ${docker_image}... "
docker pull ${docker_image} >/dev/null 2>/dev/null || { echo; echo "not available!"; exit 1; }
echo "available"
done