exitAlways configuration property (or EXIT_ALWAYS) variable causes the Relay Proxy to quit as soon as it has initialized all environments. This can be used for testing (just to make sure everything is working), or to perform a single poll of flags and put them into Redis or another database.ttlMinutes property to configure caching behavior for PHP, similar to the TTL property on the LaunchDarkly dashboard. (#68)logLevel configuration properties (or LOG_LEVEL and LD_LOG_LEVEL_EnvName) allow you to request more or less verbose logging.[env: EnvironmentName] (where EnvironmentName is the name you specified for that environment in your configuration) rather than [LaunchDarkly Relay (SdkKey ending with xxxxx)] (where xxxxx was the last 5 characters of the SDK key).rediss:// secure URL. Both methods now work. (#71)HTTP_PROXY and HTTPS_PROXY.README.md for details on configuring all of the above features.Config structs so that they could be configured programmatically when Relay is used as a library. (Thanks, mightyguava!)REDIS_URL environment variable to the README.gopkg.in/launchdarkly/go-client.v4 with gopkg.in/launchdarkly/go-server-sdk.v4. The newer import path reflects the new repository URL for the LaunchDarkly Server-side SDK for Go.docker-entrypoint.sh script, which is meant to run with any sh-compatible shell, contained some bash syntax that does not work in every shell.docker pull launchdarkly/ld-relay:5.5.1docker pull launchdarkly/ld-relay:v5docker pull launchdarkly/ld-relay:latestREADME.MD for configuration details.$REDIS_URL, rather than just $REDIS_HOST and $REDIS_PORT, when running the Relay in Docker. (Thanks, lukasmrtvy!)ldr-user. Also, the configuration file is now in /ldr instead of in /etc. (Thanks, sdif!)docker pull launchdarkly/ld-relay:5.5.0docker pull launchdarkly/ld-relay:v5docker pull launchdarkly/ld-relay:latestdocker pull launchdarkly/ld-relay:5.4.4docker pull launchdarkly/ld-relay:v5docker pull launchdarkly/ld-relay:latestwithReasons=true query param is set.docker pull launchdarkly/ld-relay:5.4.3docker pull launchdarkly/ld-relay:v5docker pull launchdarkly/ld-relay:latestdocker pull launchdarkly/ld-relay:5.4.2docker pull launchdarkly/ld-relay:v5docker pull launchdarkly/ld-relay:latestdocker pull launchdarkly/ld-relay:5.4.1docker pull launchdarkly/ld-relay:v5docker pull launchdarkly/ld-relay:latestdocker pull launchdarkly/ld-relay:5.4.0docker pull launchdarkly/ld-relay:v5docker pull launchdarkly/ld-relay:latestdocker pull launchdarkly/ld-relay:5.3.1docker pull launchdarkly/ld-relay:v5docker pull launchdarkly/ld-relay:latesturl property in [redis] section) rather than a hostname and port./status endpoint includes version and clientVersion fields for the relay and go client versions respectively.gopkg.in/launchdarkly/ld-relay.v5gopkg.in/launchdarkly/ld-relay.v5/cmd/ld-relaygopkg.in/launchdarkly/ld-relay.v5 is now a package that can be used as library code and includes the Relay object with implements http.Handler so you can roll your own relay.apiKey, please use sdkKey. It has the same function, but is less misleading (since it is really an SDK key, not an API token)./status endpoint now returns environments as a map of configuration name to details/status. It also no longer exposes full SDK keys so this endpoint should be safe to expose publicly.OPTIONS method for /sdk/goals/{envId} was restored after being accidentally dropped in 4.1.0.apiKey is now deprecated, but will still work if there is no sdkKey.Fixed: Fix JS streaming by sending an empty data field in ping events
Added:
Fixed:
Changes:
ld-relay now converts analytics events from older SDKs, or from the PHP SDK, into the new summary format. For more details, see Analytics Data Stream Reference.Changes: