Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: launchdarkly/js-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: node-server-sdk-v9.8.0
Choose a base ref
...
head repository: launchdarkly/js-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: node-server-sdk-v9.9.0
Choose a head ref
  • 6 commits
  • 96 files changed
  • 3 contributors

Commits on Apr 9, 2025

  1. chore: Add build instructions for single projects. (#819)

    Add some additional build information to the contributing documentation.
    kinyoklion authored Apr 9, 2025
    Configuration menu
    Copy the full SHA
    5cb00cb View commit details
    Browse the repository at this point in the history
  2. chore: Migrate contract tests to typescript. (#820)

    Convert the contract tests to TypeScript. This is just a straight
    conversion without any structural improvements.
    
    Add the contract tests to the workspace. This allows everything to be
    linked locally by default.
    kinyoklion authored Apr 9, 2025
    Configuration menu
    Copy the full SHA
    2c09c3b View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2025

  1. fix: Handle default flush interval for browser SDK. (#822)

    The browser SDK was incorrectly handling its default flush interval
    configuration.
    
    There are two layers to defaults for the browser SDK. The first is
    defaults which differ from the base configuration defaults, second is
    defaults for browser specific configuration.
    
    The base defaults were being applied to the browser specific
    configuration, which meant those changes were being lost and instead the
    base default was being used instead.
    
    Fixes: SDK-1199
    kinyoklion authored Apr 15, 2025
    Configuration menu
    Copy the full SHA
    2c1cc7a View commit details
    Browse the repository at this point in the history
  2. chore: release main (#824)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    <details><summary>browser-telemetry: 1.0.5</summary>
    
    ##
    [1.0.5](browser-telemetry-v1.0.4...browser-telemetry-v1.0.5)
    (2025-04-15)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * devDependencies
        * @launchdarkly/js-client-sdk bumped from 0.5.1 to 0.5.2
    </details>
    
    <details><summary>js-client-sdk: 0.5.2</summary>
    
    ##
    [0.5.2](js-client-sdk-v0.5.1...js-client-sdk-v0.5.2)
    (2025-04-15)
    
    
    ### Bug Fixes
    
    * Handle default flush interval for browser SDK.
    ([#822](#822))
    ([2c1cc7a](2c1cc7a))
    </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>
    github-actions[bot] authored Apr 15, 2025
    Configuration menu
    Copy the full SHA
    c486a3d View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2025

  1. feat: Environment ID support for hooks (#823)

    **Requirements**
    
    - [x] I have added test coverage for new or changed functionality
    - [x] I have followed the repository's [pull request submission
    guidelines](../blob/main/CONTRIBUTING.md#submitting-pull-requests)
    - [x] I have validated my changes against all supported platform
    versions
    
    **Describe the solution you've provided**
    
    If present, `environmentId` is now passed to the HookRunner in the
    evaluation series.
    
    For streaming connections:
    - Response headers are now attached to the `open` event
    (launchdarkly/js-eventsource#33)
    - `StreamingProcessor` passes these headers to the stream listeners via
    `processJson`. The listener for the PUT event extracts the
    `environmentId` from the headers and passes this as initialization
    metadata to the underlying feature store.
    
    For polling connections:
    - `PollingProcessor` retrieves the response headers via the underlying
    `Requestor` and extracts the `environmentId` from the headers and passes
    this as initialization metadata to the underlying feature store.
    
    LDClient will then call `getInitMetaData()` on the underlying feature
    store (if the feature store supports it) when executing a hook and pass
    `environmentId` in the execution series data.
    
    Currently only `InMemoryFeatureStore` has been modified to support
    initialization metadata. This functionality can be added to other
    feature stores by modifying `init()` to accept the optional
    `initMetadata` parameter and implementing the optional
    `getInitMetadata()` method.
    abarker-launchdarkly authored Apr 16, 2025
    Configuration menu
    Copy the full SHA
    63dc9f9 View commit details
    Browse the repository at this point in the history
  2. chore: release main (#825)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    <details><summary>akamai-edgeworker-sdk-common: 2.0.5</summary>
    
    ##
    [2.0.5](akamai-edgeworker-sdk-common-v2.0.4...akamai-edgeworker-sdk-common-v2.0.5)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
        * @launchdarkly/js-server-sdk-common bumped from ^2.14.0 to ^2.15.0
    </details>
    
    <details><summary>akamai-server-base-sdk: 3.0.5</summary>
    
    ##
    [3.0.5](akamai-server-base-sdk-v3.0.4...akamai-server-base-sdk-v3.0.5)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
    * @launchdarkly/akamai-edgeworker-sdk-common bumped from ^2.0.4 to
    ^2.0.5
        * @launchdarkly/js-server-sdk-common bumped from ^2.14.0 to ^2.15.0
    </details>
    
    <details><summary>akamai-server-edgekv-sdk: 1.4.7</summary>
    
    ##
    [1.4.7](akamai-server-edgekv-sdk-v1.4.6...akamai-server-edgekv-sdk-v1.4.7)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
    * @launchdarkly/akamai-edgeworker-sdk-common bumped from ^2.0.4 to
    ^2.0.5
        * @launchdarkly/js-server-sdk-common bumped from ^2.14.0 to ^2.15.0
    </details>
    
    <details><summary>browser-telemetry: 1.0.6</summary>
    
    ##
    [1.0.6](browser-telemetry-v1.0.5...browser-telemetry-v1.0.6)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * devDependencies
        * @launchdarkly/js-client-sdk bumped from 0.5.2 to 0.5.3
    </details>
    
    <details><summary>cloudflare-server-sdk: 2.7.4</summary>
    
    ##
    [2.7.4](cloudflare-server-sdk-v2.7.3...cloudflare-server-sdk-v2.7.4)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
        * @launchdarkly/js-server-sdk-common-edge bumped from 2.6.3 to 2.6.4
    </details>
    
    <details><summary>fastly-server-sdk: 0.1.5</summary>
    
    ##
    [0.1.5](fastly-server-sdk-v0.1.4...fastly-server-sdk-v0.1.5)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
        * @launchdarkly/js-server-sdk-common bumped from 2.14.0 to 2.15.0
    </details>
    
    <details><summary>jest: 0.1.4</summary>
    
    ##
    [0.1.4](jest-v0.1.3...jest-v0.1.4)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
    * @launchdarkly/react-native-client-sdk bumped from ~10.9.8 to ~10.9.9
    </details>
    
    <details><summary>js-client-sdk: 0.5.3</summary>
    
    ##
    [0.5.3](js-client-sdk-v0.5.2...js-client-sdk-v0.5.3)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
        * @launchdarkly/js-client-sdk-common bumped from 1.12.5 to 1.12.6
    </details>
    
    <details><summary>js-client-sdk-common: 1.12.6</summary>
    
    ##
    [1.12.6](js-client-sdk-common-v1.12.5...js-client-sdk-common-v1.12.6)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
        * @launchdarkly/js-sdk-common bumped from 2.15.0 to 2.16.0
    </details>
    
    <details><summary>js-sdk-common: 2.16.0</summary>
    
    ##
    [2.16.0](js-sdk-common-v2.15.0...js-sdk-common-v2.16.0)
    (2025-04-16)
    
    
    ### Features
    
    * Environment ID support for hooks
    ([#823](#823))
    ([63dc9f9](63dc9f9))
    </details>
    
    <details><summary>js-server-sdk-common: 2.15.0</summary>
    
    ##
    [2.15.0](js-server-sdk-common-v2.14.0...js-server-sdk-common-v2.15.0)
    (2025-04-16)
    
    
    ### Features
    
    * Environment ID support for hooks
    ([#823](#823))
    ([63dc9f9](63dc9f9))
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
        * @launchdarkly/js-sdk-common bumped from 2.15.0 to 2.16.0
    </details>
    
    <details><summary>js-server-sdk-common-edge: 2.6.4</summary>
    
    ##
    [2.6.4](js-server-sdk-common-edge-v2.6.3...js-server-sdk-common-edge-v2.6.4)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
        * @launchdarkly/js-server-sdk-common bumped from 2.14.0 to 2.15.0
    </details>
    
    <details><summary>node-server-sdk: 9.9.0</summary>
    
    ##
    [9.9.0](node-server-sdk-v9.8.0...node-server-sdk-v9.9.0)
    (2025-04-16)
    
    
    ### Features
    
    * Environment ID support for hooks
    ([#823](#823))
    ([63dc9f9](63dc9f9))
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
        * @launchdarkly/js-server-sdk-common bumped from 2.14.0 to 2.15.0
    </details>
    
    <details><summary>node-server-sdk-dynamodb: 6.2.9</summary>
    
    ##
    [6.2.9](node-server-sdk-dynamodb-v6.2.8...node-server-sdk-dynamodb-v6.2.9)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * devDependencies
        * @launchdarkly/node-server-sdk bumped from 9.8.0 to 9.9.0
      * peerDependencies
        * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.9.0
    </details>
    
    <details><summary>node-server-sdk-otel: 1.2.0</summary>
    
    ##
    [1.2.0](node-server-sdk-otel-v1.1.8...node-server-sdk-otel-v1.2.0)
    (2025-04-16)
    
    
    ### Features
    
    * Environment ID support for hooks
    ([#823](#823))
    ([63dc9f9](63dc9f9))
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * devDependencies
        * @launchdarkly/node-server-sdk bumped from 9.8.0 to 9.9.0
      * peerDependencies
        * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.9.0
    </details>
    
    <details><summary>node-server-sdk-redis: 4.2.9</summary>
    
    ##
    [4.2.9](node-server-sdk-redis-v4.2.8...node-server-sdk-redis-v4.2.9)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * devDependencies
        * @launchdarkly/node-server-sdk bumped from 9.8.0 to 9.9.0
      * peerDependencies
        * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.9.0
    </details>
    
    <details><summary>react-native-client-sdk: 10.9.9</summary>
    
    ##
    [10.9.9](react-native-client-sdk-v10.9.8...react-native-client-sdk-v10.9.9)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
        * @launchdarkly/js-client-sdk-common bumped from 1.12.5 to 1.12.6
    </details>
    
    <details><summary>server-sdk-ai: 0.9.6</summary>
    
    ##
    [0.9.6](server-sdk-ai-v0.9.5...server-sdk-ai-v0.9.6)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * devDependencies
        * @launchdarkly/js-server-sdk-common bumped from 2.14.0 to 2.15.0
      * peerDependencies
        * @launchdarkly/js-server-sdk-common bumped from 2.x to 2.15.0
    </details>
    
    <details><summary>vercel-server-sdk: 1.3.28</summary>
    
    ##
    [1.3.28](vercel-server-sdk-v1.3.27...vercel-server-sdk-v1.3.28)
    (2025-04-16)
    
    
    ### Dependencies
    
    * The following workspace dependencies were updated
      * dependencies
        * @launchdarkly/js-server-sdk-common-edge bumped from 2.6.3 to 2.6.4
    </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>
    github-actions[bot] authored Apr 16, 2025
    Configuration menu
    Copy the full SHA
    2d3fa50 View commit details
    Browse the repository at this point in the history
Loading