Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 2, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@data-client/[email protected]

Patch Changes

  • #3417 a6af54c Thanks @ntucker! - Update getOptimisticResponse snapshot types to include getResponseMeta

  • #3407 d84899d Thanks @ntucker! - Support dynamic invalidation/deletes

    Returning undefined from Entity.process
    will cause the Entity to be invalidated.
    This this allows us to invalidate dynamically; based on the particular response data.

    class PriceLevel extends Entity {
      price = 0;
      amount = 0;
    
      pk() {
        return this.price;
      }
    
      static process(
        input: [number, number],
        parent: any,
        key: string | undefined,
      ): any {
        const [price, amount] = input;
        if (amount === 0) return undefined;
        return { price, amount };
      }
    }

@data-client/[email protected]

Patch Changes

  • #3417 a6af54c Thanks @ntucker! - Update getOptimisticResponse snapshot types to include getResponseMeta

  • #3407 d84899d Thanks @ntucker! - Support dynamic invalidation/deletes

    Returning undefined from Entity.process
    will cause the Entity to be invalidated.
    This this allows us to invalidate dynamically; based on the particular response data.

    class PriceLevel extends Entity {
      price = 0;
      amount = 0;
    
      pk() {
        return this.price;
      }
    
      static process(
        input: [number, number],
        parent: any,
        key: string | undefined,
      ): any {
        const [price, amount] = input;
        if (amount === 0) return undefined;
        return { price, amount };
      }
    }
  • Updated dependencies [a6af54c, d84899d]:

@data-client/[email protected]

Patch Changes

  • #3398 d716159 Thanks @ntucker! - Use controller.getResponseMeta() in hooks

    No behavior change, just anticipating API updates to controller

  • d6eab29 Thanks @ntucker! - docs: Add links to platforms

@data-client/[email protected]

Patch Changes

  • #3417 a6af54c Thanks @ntucker! - Update getOptimisticResponse snapshot types to include getResponseMeta

  • #3407 d84899d Thanks @ntucker! - Support dynamic invalidation/deletes

    Returning undefined from Entity.process
    will cause the Entity to be invalidated.
    This this allows us to invalidate dynamically; based on the particular response data.

    class PriceLevel extends Entity {
      price = 0;
      amount = 0;
    
      pk() {
        return this.price;
      }
    
      static process(
        input: [number, number],
        parent: any,
        key: string | undefined,
      ): any {
        const [price, amount] = input;
        if (amount === 0) return undefined;
        return { price, amount };
      }
    }
  • Updated dependencies [a6af54c, d84899d]:

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

@codecov
Copy link

codecov bot commented Mar 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.74%. Comparing base (a6af54c) to head (58eb9be).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3400   +/-   ##
=======================================
  Coverage   98.74%   98.74%           
=======================================
  Files         136      136           
  Lines        2396     2396           
  Branches      490      490           
=======================================
  Hits         2366     2366           
  Misses         16       16           
  Partials       14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions bot force-pushed the changeset-release/master branch 6 times, most recently from f557e86 to 628c398 Compare March 7, 2025 08:46
@github-actions github-actions bot force-pushed the changeset-release/master branch 2 times, most recently from fd9ba4a to ed4e230 Compare March 10, 2025 10:22
@github-actions github-actions bot force-pushed the changeset-release/master branch from ed4e230 to 2549c01 Compare March 10, 2025 10:25
@github-actions github-actions bot force-pushed the changeset-release/master branch from 2549c01 to 490d8e2 Compare March 10, 2025 10:27
@github-actions github-actions bot force-pushed the changeset-release/master branch 13 times, most recently from 71fdb78 to b1c4cfc Compare March 12, 2025 14:35
@github-actions github-actions bot force-pushed the changeset-release/master branch from b1c4cfc to 58eb9be Compare March 12, 2025 17:38
@ntucker ntucker enabled auto-merge March 12, 2025 17:40
@ntucker ntucker added this pull request to the merge queue Mar 12, 2025
Merged via the queue into master with commit 69ae187 Mar 12, 2025
18 checks passed
@ntucker ntucker deleted the changeset-release/master branch March 12, 2025 17:48
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.

2 participants