Skip to content

Conversation

EmilianoSanchez
Copy link
Contributor

@EmilianoSanchez EmilianoSanchez commented Jul 24, 2025

JavaScript commons library

What did you accomplish?

  • Updated the Redis storage to avoid lazy require of the ioredis dependency when the SDK is initialized.
  • Updated some transitive dependencies for vulnerability fixes.
  • Bugfix - Enhanced HTTP client module to implement timeouts for failing requests.
  • Bugfix - Properly handle rejected promises when using targeting rules with segment matchers in consumer modes (e.g., Redis and Pluggable storages).
  • Bugfix - Sanitize the SplitSDKMachineName header value to avoid exceptions on HTTP/S requests when it contains non ISO-8859-1 characters (Related to issue Invalid request headers due to machine name javascript-client#847).
  • Bugfix - Fixed an issue with the SDK_UPDATE event on server-side, where it was not being emitted if there was an empty segment and the SDK received a feature flag update notification.
  • Bugfix - Fixed an issue with the server-side polling manager that caused dangling timers when the SDK was destroyed before it was ready.

How do we test the changes introduced in this PR?

Extra Notes

@EmilianoSanchez EmilianoSanchez requested a review from a team as a code owner July 24, 2025 18:51
@EmilianoSanchez EmilianoSanchez merged commit 7d0475d into main_v1 Jul 25, 2025
1 check passed
@EmilianoSanchez EmilianoSanchez deleted the bugfixes_v1 branch July 25, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants