-
Notifications
You must be signed in to change notification settings - Fork 82
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.0.0 release #105
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # go.mod # go.sum # internal/httpconfig/httpconfig.go
# Conflicts: # go.sum # internal/httpconfig/httpconfig.go
don't attach Prometheus endpoint to the global ServeMux
(v6 - #1) build with modules, drop support for old Go versions, update CircleCI images
(v6 - #2) update Go SDK to latest 5.0.0 beta release
(#7) more test coverage improvements
add note about setting up Prometheus
fix test synchronization
(v5 - #1) add CI testing tool to simulate LD stream endpoint
# Conflicts: # .circleci/config.yml # Dockerfile # _testservice/Makefile # _testservice/streamer.go
# Conflicts: # README.md # internal/version/version.go
# Conflicts: # .ldrelease/config.yml
* add end-to-end tests for auto-config endpoints * fix CI * comments * misc fixes for i9n tests * misc test syncing fixes * improve test output * change how we hit the status endpoint so it works in CI + misc test improvements * misc cleanup, comments * cleaner structure for end-to-end tests * lint
…base integrations (#194)
LaunchDarklyCI
pushed a commit
that referenced
this pull request
Oct 7, 2020
bwoskow-ld
approved these changes
Oct 7, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[6.0.0] - 2020-10-07
For more details on changes related to configuration, read the configuration documentation.
Added:
SecureMode = true
for that environment in the configuration file, orLD_SECURE_MODE_MyEnvName
if using environment variables. This is separate from the setting for secure mode on the LaunchDarkly dashboard, which the Relay Proxy is not able to access.DisconnectedStatusTime
configuration property controls how long the Relay Proxy will tolerate a stream connection being interrupted before reporting a "disconnected"/"degraded" status in the status resource.Token
andTokenFile
configuration properties.DisableInternalUsageMetrics
configuration property allows turning off the internal analytics that the Relay Proxy normally sends to LaunchDarkly./status
endpoint now includes more information about the LaunchDarkly connection status, database connection status (if applicable) and database configuration (if applicable). To learn more, read Service endpoints. (#104)Changed (breaking changes in configuration):
3s
for 3 seconds or5m
for 5 minutes. The affected settings include[Main] HeartbeatInterval
(HEARTBEAT_INTERVAL
),[Events] FlushInterval
(EVENTS_FLUSH_INTERVAL
),[any database] LocalTTL
(CACHE_TTL
), and[any environment] TTL
(LD_TTL_envname
).true
or1
. Now, any value other thantrue
,false
,0
, or1
is an error.LD_TTL_MINUTES_envname
is no longer supported. UseLD_TTL_envname
instead.REDIS_TTL
is no longer supported. UseCACHE_TTL
instead.[Events] SamplingInterval
(SAMPLING_INTERVAL
) is no longer supported.Changed (breaking changes when building the Relay Proxy):
go build
, rather thango build ./cmd/ld-relay
.Changed (breaking changes when using the Relay Proxy as a library):
github.com/launchdarkly/ld-relay/v6
instead ofgopkg.in/launchdarkly/ld-relay.v5
.Relay
type is nowgithub.com/launchdarkly/ld-relay/v6/relay
.Config
structs are now in aconfig
subpackage. The types of many fields have changed to types that prevent creating a configuration with invalid values (for instance,OptURLAbsolute
for URL fields instead ofstring
).DefaultConfig
. Instead, Relay automatically uses the appropriate default values for any configuration fields that are not set.Changed (other):
README.md
is now only a summary with links to the other files.Removed:
InsecureSkipVerify
configuration property has been removed.