Skip to content

fix: Stop sending the unsupported payload filter on FDv2 requests - #2246

Closed
joker23 wants to merge 1 commit into
mainfrom
skz/sdk-3559/fdv2-no-payload-filter-independent
Closed

joker23 wants to merge 1 commit into
mainfrom
skz/sdk-3559/fdv2-no-payload-filter-independent

Conversation

@joker23

@joker23 joker23 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Stops FDv2 streaming and polling sources from sending the unsupported ?filter= query parameter.

  • The server SDK builds FDv2 service endpoints without the payload filter key.
  • The client SDK builds FDv2 requestors and data source contexts without the payload filter key.
  • FDv1 data sources and the FDv1 fallback synchronizer keep the payload filter key.
  • Adds server, client, and browser tests for the endpoint behavior.

Additional context

  • The FDv2 service does not support payload filters.
  • The payloadFilterKey option remains available for FDv1 data sources and the FDv1 fallback.
  • This is layer 3 of the Node server SDK v10 work. It is based directly on main and is independent of the FDv2 file data synchronizer layer.

Related tickets

  • sdk-3559

Opened from termag

FDv2 streaming and polling sources in the server and client SDKs now use
service endpoints without the payload filter key, so they do not send ?filter=.
FDv1 data sources and the FDv1 fallback synchronizer keep sending the filter.

Generated-by: termag
@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 19243 bytes
Compressed size limit: 33000
Uncompressed size: 106351 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 34692 bytes
Compressed size limit: 35500
Uncompressed size: 123947 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 26541 bytes
Compressed size limit: 44000
Uncompressed size: 172740 bytes

@joker23 joker23 closed this Nov 24, 2026
@joker23
joker23 deleted the skz/sdk-3559/fdv2-no-payload-filter-independent branch November 24, 2026 22:12
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.

1 participant