Skip to content

Conversation

@abarker-launchdarkly
Copy link
Contributor

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Describe the solution you've provided

LDConfig option enableEventCompression was added for js-server-sdk-common and NodeRequests was modified to support gzip compression of POST bodies if this option is enabled.

@abarker-launchdarkly abarker-launchdarkly requested a review from a team as a code owner March 27, 2025 20:30
@github-actions
Copy link
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 19038 bytes
Size limit: 21000

@github-actions
Copy link
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 15371 bytes
Size limit: 20000

@github-actions
Copy link
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Size: 19893 bytes
Size limit: 21000

@abarker-launchdarkly abarker-launchdarkly force-pushed the abarker/sdk-826/gzip-event-compression branch from a0145e6 to 6ec484d Compare March 27, 2025 21:35
@tanderson-ld tanderson-ld self-requested a review April 7, 2025 15:18
@abarker-launchdarkly abarker-launchdarkly merged commit 4e91431 into main Apr 8, 2025
24 checks passed
@abarker-launchdarkly abarker-launchdarkly deleted the abarker/sdk-826/gzip-event-compression branch April 8, 2025 12:34
@github-actions github-actions bot mentioned this pull request Apr 8, 2025
abarker-launchdarkly pushed a commit that referenced this pull request Apr 8, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>akamai-edgeworker-sdk-common: 2.0.4</summary>

##
[2.0.4](akamai-edgeworker-sdk-common-v2.0.3...akamai-edgeworker-sdk-common-v2.0.4)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-server-sdk-common bumped from ^2.13.0 to ^2.14.0
</details>

<details><summary>akamai-server-base-sdk: 3.0.4</summary>

##
[3.0.4](akamai-server-base-sdk-v3.0.3...akamai-server-base-sdk-v3.0.4)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^2.0.3 to
^2.0.4
    * @launchdarkly/js-server-sdk-common bumped from ^2.13.0 to ^2.14.0
</details>

<details><summary>akamai-server-edgekv-sdk: 1.4.6</summary>

##
[1.4.6](akamai-server-edgekv-sdk-v1.4.5...akamai-server-edgekv-sdk-v1.4.6)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^2.0.3 to
^2.0.4
    * @launchdarkly/js-server-sdk-common bumped from ^2.13.0 to ^2.14.0
</details>

<details><summary>browser-telemetry: 1.0.4</summary>

##
[1.0.4](browser-telemetry-v1.0.3...browser-telemetry-v1.0.4)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @launchdarkly/js-client-sdk bumped from 0.5.0 to 0.5.1
</details>

<details><summary>cloudflare-server-sdk: 2.7.3</summary>

##
[2.7.3](cloudflare-server-sdk-v2.7.2...cloudflare-server-sdk-v2.7.3)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-server-sdk-common-edge bumped from 2.6.2 to 2.6.3
</details>

<details><summary>fastly-server-sdk: 0.1.4</summary>

##
[0.1.4](fastly-server-sdk-v0.1.3...fastly-server-sdk-v0.1.4)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-server-sdk-common bumped from 2.13.0 to 2.14.0
</details>

<details><summary>jest: 0.1.3</summary>

##
[0.1.3](jest-v0.1.2...jest-v0.1.3)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
* @launchdarkly/react-native-client-sdk bumped from ~10.9.7 to ~10.9.8
</details>

<details><summary>js-client-sdk: 0.5.1</summary>

##
[0.5.1](js-client-sdk-v0.5.0...js-client-sdk-v0.5.1)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-client-sdk-common bumped from 1.12.4 to 1.12.5
</details>

<details><summary>js-client-sdk-common: 1.12.5</summary>

##
[1.12.5](js-client-sdk-common-v1.12.4...js-client-sdk-common-v1.12.5)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-sdk-common bumped from 2.14.0 to 2.15.0
</details>

<details><summary>js-sdk-common: 2.15.0</summary>

##
[2.15.0](js-sdk-common-v2.14.0...js-sdk-common-v2.15.0)
(2025-04-08)


### Features

* Option to use gzip to compress event
([#814](#814))
([4e91431](4e91431))
</details>

<details><summary>js-server-sdk-common: 2.14.0</summary>

##
[2.14.0](js-server-sdk-common-v2.13.0...js-server-sdk-common-v2.14.0)
(2025-04-08)


### Features

* Option to use gzip to compress event
([#814](#814))
([4e91431](4e91431))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-sdk-common bumped from 2.14.0 to 2.15.0
</details>

<details><summary>js-server-sdk-common-edge: 2.6.3</summary>

##
[2.6.3](js-server-sdk-common-edge-v2.6.2...js-server-sdk-common-edge-v2.6.3)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-server-sdk-common bumped from 2.13.0 to 2.14.0
</details>

<details><summary>node-server-sdk: 9.8.0</summary>

##
[9.8.0](node-server-sdk-v9.7.7...node-server-sdk-v9.8.0)
(2025-04-08)


### Features

* Option to use gzip to compress event
([#814](#814))
([4e91431](4e91431))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-server-sdk-common bumped from 2.13.0 to 2.14.0
</details>

<details><summary>node-server-sdk-dynamodb: 6.2.8</summary>

##
[6.2.8](node-server-sdk-dynamodb-v6.2.7...node-server-sdk-dynamodb-v6.2.8)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @launchdarkly/node-server-sdk bumped from 9.7.7 to 9.8.0
  * peerDependencies
    * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.8.0
</details>

<details><summary>node-server-sdk-otel: 1.1.8</summary>

##
[1.1.8](node-server-sdk-otel-v1.1.7...node-server-sdk-otel-v1.1.8)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @launchdarkly/node-server-sdk bumped from 9.7.7 to 9.8.0
  * peerDependencies
    * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.8.0
</details>

<details><summary>node-server-sdk-redis: 4.2.8</summary>

##
[4.2.8](node-server-sdk-redis-v4.2.7...node-server-sdk-redis-v4.2.8)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @launchdarkly/node-server-sdk bumped from 9.7.7 to 9.8.0
  * peerDependencies
    * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.8.0
</details>

<details><summary>react-native-client-sdk: 10.9.8</summary>

##
[10.9.8](react-native-client-sdk-v10.9.7...react-native-client-sdk-v10.9.8)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-client-sdk-common bumped from 1.12.4 to 1.12.5
</details>

<details><summary>server-sdk-ai: 0.9.5</summary>

##
[0.9.5](server-sdk-ai-v0.9.4...server-sdk-ai-v0.9.5)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @launchdarkly/js-server-sdk-common bumped from 2.13.0 to 2.14.0
  * peerDependencies
    * @launchdarkly/js-server-sdk-common bumped from 2.x to 2.14.0
</details>

<details><summary>vercel-server-sdk: 1.3.27</summary>

##
[1.3.27](vercel-server-sdk-v1.3.26...vercel-server-sdk-v1.3.27)
(2025-04-08)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-server-sdk-common-edge bumped from 2.6.2 to 2.6.3
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

4 participants