Releases: launchdarkly/js-sdk-common
Releases · launchdarkly/js-sdk-common
3.8.0
[3.8.0] - 2022-10-17
Added:
- Added support for
Inspectorsthat can be used for collecting information for monitoring, analytics, and debugging.
4.2.0
[4.2.0] - 2022-10-03
Removed:
- Removed
seenRequestscache. This cache was used to de-duplicate events, but it has been supplanted with summary events.
Deprecated:
- The
allowFrequentDuplicateEventsconfiguration has been deprecated because it controlled the behavior of theseenRequestscache.
3.7.0
[3.7.0] - 2022-10-03
Removed:
- Removed
seenRequestscache. This cache was used to de-duplicate events, but it has been supplanted with summary events.
Deprecated:
- The
allowFrequentDuplicateEventsconfiguration has been deprecated because it controlled the behavior of theseenRequestscache.
4.1.1
[4.1.1] - 2022-06-07
Changed:
- Enforce a 64 character limit for
application.idandapplication.versionconfiguration options.
Fixed:
- Do not include deleted flags in
allFlags.
4.1.0
[4.1.0] - 2022-04-21
Added:
LDOptionsBase.application, for configuration of application metadata that may be used in LaunchDarkly analytics or other product features. This does not affect feature flag evaluations.
Fixed:
- The
baseUrl,streamUrl, andeventsUrlproperties now work properly regardless of whether the URL string has a trailing slash. Previously, a trailing slash would cause request URL paths to have double slashes.
3.6.0
[3.6.0] - 2022-04-21
Added:
LDOptionsBase.application, for configuration of application metadata that may be used in LaunchDarkly analytics or other product features. This does not affect feature flag evaluations.
Fixed:
- The
baseUrl,streamUrl, andeventsUrlproperties now work properly regardless of whether the URL string has a trailing slash. Previously, a trailing slash would cause request URL paths to have double slashes.
4.0.3
[4.0.3] - 2022-02-16
Fixed:
- If the SDK receives invalid JSON data from a streaming connection (possibly as a result of the connection being cut off), it now uses its regular error-handling logic: the error is emitted as an
errorevent or, if there are noerrorevent listeners, it is logged. Previously, it would be thrown as an unhandled exception.
3.5.1
[3.5.1] - 2022-02-17
Fixed:
- If the SDK receives invalid JSON data from a streaming connection (possibly as a result of the connection being cut off), it now uses its regular error-handling logic: the error is emitted as an
errorevent or, if there are noerrorevent listeners, it is logged. Previously, it would be thrown as an unhandled exception.
4.0.2
[4.0.2] - 2022-01-25
Removed:
- Removed the
versionexport which was originally a constant inserted by the Rollup build, but was no longer usable since Rollup is no longer being used. The SDKs never used this export, since they haveversionproperties of their own; the version string oflaunchdarkly-js-sdk-commonwas never meant to be exposed to applications.
4.0.1
[4.0.1] - 2022-01-21
Changed:
- This package is now published as a regular Node module. Previously, it was published as minified bundles created by Rollup. There was no need for this since Rollup is only needed for web code, and the
js-client-sdkbuild already runs Rollup to embed thejs-sdk-commoncode. Using Rollup caused the platform-dependent behavior ofuuidto fail because the code for only one platform (browser or Node) was embedded.