Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

prepare 5.13.1 release #187

Merged
merged 406 commits into from
Apr 25, 2020
Merged

prepare 5.13.1 release #187

merged 406 commits into from
Apr 25, 2020

Conversation

LaunchDarklyCI
Copy link
Contributor

[5.13.1] - 2020-04-24

Changed:

  • The redis package dependency has been updated to major version 3, which removes some deprecated usages (see #184) and adds support for rediss: URLs. This should not affect any application code even if the application is passing in a pre-built Redis client that was created with version 2.x, since the Redis methods that are used by the SDK have not changed.

Fixed:

  • If a proxy server was specified in the configuration, streaming connections still did not use the proxy. This bug was introduced in version 5.12.0. (#186)
  • The SDK could cause a crash if the application provided a configuration where logger was either not a logger at all (that is, some other object that did not have the methods defined in the LDLogger interface), or was a broken logger that could throw an exception while the SDK was trying to log an error. The former case (not a logger) is now treated as a severely invalid configuration, causing LDClient.init() to throw an exception just as it would if the SDK key were omitted. The latter (logger method throws an exception) is now handled by catching the exception and logging an error message to the default console logger. (Thanks, maxwellgerber!)
  • The Redis integration no longer calls unref() on the Redis client object after creating it. This was originally done to ensure that the SDK client would not prevent an application from exiting due to a still-open Redis connection, but that is no longer applicable since the application must close the SDK client anyway before exiting, which will cause the Redis client to be closed as well. The unref() call caused problems when running in Lambda, for unclear reasons. (#76)

eli-darkly and others added 30 commits February 7, 2019 11:01
# Conflicts:
#	package-lock.json
bump jest version to stop vulnerability warning
fix track() and identify() to reject missing/keyless user
# Conflicts:
#	package-lock.json
stop file data source from doing unnecessary reloads
many TS doc fixes and TypeDoc build script
eli-darkly and others added 25 commits February 20, 2020 13:43
…kage

remove request package; improve polling cache logic + add test
use launchdarkly-eventsource, make stream retry behavior consistent
stream retry delay option should be in seconds & should be included in diagnostics
don't call unref() on Redis client; ensure that database integration tests close the store
update Redis driver to major version 3
…-logger

Fix/throw err on malformed logger
fix proxy tunnel configuration and make sure it's used in streaming
@LaunchDarklyCI LaunchDarklyCI merged commit 3005386 into master Apr 25, 2020
@LaunchDarklyCI LaunchDarklyCI deleted the release-5.13.1 branch April 25, 2020 00:02
LaunchDarklyCI pushed a commit that referenced this pull request Aug 27, 2020
retroactively update changelog for bugfix in 5.13.2 release
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants