Releases: harness/ff-nodejs-server-sdk
Releases · harness/ff-nodejs-server-sdk
1.8.5
What's Changed
-
FFM-12374 Request retry fixes and enhancements:
- Now retries on timed out requests
- Now retries on authentication requests
- New
axiosRetries
to control number of retries: see https://github.com/harness/ff-nodejs-server-sdk/blob/8eff49e6d0a7983a6c47b541322f296db56ff152/src/types.ts#L17 - No longer dumps entire Axios objects when a request fails.
-
FFM-12374 Fixes an issue where
waitForInitialization()
would unblock before the client had finished loading flags and groups. This could result in default variations being returned for a short period.
by @erdirowlands in #123
Full Changelog: 1.8.4...1.8.5
1.8.4
What's Changed
- FFM-12353: Reduces stream disconnection log frequency:
- If the stream fails to connect, or disconnects, an
error
level log is recorded once per disconnection period. - When the stream retries to connect, a
warn
level log is recorded , then again at the 10th attempt, and every 50th attempt thereafter. All other retry logs are recorded at thedebug
level - Removes some other noisy
info
logs in the Evaluator which should have beendebug
- by @erdirowlands in #122
- If the stream fails to connect, or disconnects, an
Full Changelog: 1.8.3...1.8.4
1.8.3
What's Changed
- FFM-11888 Patch Axios CVE: CVE-2024-39338 by @erdirowlands in #120
Full Changelog: 1.8.2...1.8.3
1.8.2
What's Changed
- FFM-11656 Sort AND/OR rules when caching group instead of during an evaluation call, which could result in latency if a group is large by @erdirowlands in #117
Full Changelog: 1.8.1...1.8.2
1.8.1
1.8.0
What's Changes
- FFM-9097 Global Axios settings are no longer configured by the SDK, which could override Axios settings used elsewhere in an application. The default timeout is 30s but can be changed using options using
axiosTimeout
, see: Options by @erdirowlands in #114 - [FFM-11243] - Adding SDK support for AND/OR rules (feature not GA yet) by @andybharness in #113
- FFM-11364 Use target-segments v2-rule parameter by @erdirowlands in #115
Full Changelog: 1.7.0...1.8.0
1.7.0
What's Changed
- [FFM-11022] - Metrics: refactor into class by @erdirowlands in #107
- [FFM-11022] - Applies standard Metrics Enhancements by @erdirowlands in #112
- [FFM-9291] - Fixed first prerequisite only being processed by @andybharness in #108
- [FFM-7051] - Add Harness-SDK-Info/Harness-AccountID/Harness-EnvironmentID headers by @andybharness in #110
- [FFM-7017] - Add support for custom TLS CAs by @andybharness in #111
Full Changelog: 1.6.1...1.7.0
1.6.1
What's Changed
- FFM-10963 Fixes issue where metrics requests could fail with
400: Bad Request
by @erdirowlands in #106 - FFM-10963 Bump Axios to 1.6.8 to address CVE https://security.snyk.io/package/npm/follow-redirects/1.15.5. by @erdirowlands in #106
Full Changelog: 1.6.0...1.6.1
1.6.0
What's Changed
- FFM-10409 Support
strictNullChecks
when passing anundefined
target to client variation methods @erdirowlands in #103 and #104
Full Changelog: 1.5.0...1.6.0
1.5.0
What's Changed
- feat: [FFM-10358]: Update and unbundle dependencies by @knagurski in #102
Full Changelog: 1.4.1...1.5.0