Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #3128

Merged
merged 1 commit into from
Jun 22, 2024
Merged

Version Packages #3128

merged 1 commit into from
Jun 22, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 22, 2024

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

  • #3129 2503402 Thanks @ntucker! - Allow ctrl.set() value to be a function

    This prevents race conditions.

    const id = '2';
    ctrl.set(Article, { id }, article => ({ id, votes: article.votes + 1 }));

    Note: the response must include values sufficient to compute Entity.pk()

  • #3127 c18fbf7 Thanks @ntucker! - Remove RIC export

  • #3127 c18fbf7 Thanks @ntucker! - Add NetworkManager.idleCallback overridable method

    This allows platform specific implementations by overriding the method.
    For instance, on web:

    import { NetworkManager } from '@data-client/core';
    
    export default class WebNetworkManager extends NetworkManager {
      static {
        if (typeof requestIdleCallback === 'function') {
          WebNetworkManager.prototype.idleCallback = requestIdleCallback;
        }
      }
    }

@data-client/[email protected]

Patch Changes

[email protected]

Patch Changes

Copy link

codecov bot commented Jun 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.79%. Comparing base (2503402) to head (0d0cbca).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3128   +/-   ##
=======================================
  Coverage   98.79%   98.79%           
=======================================
  Files         127      127           
  Lines        2242     2242           
  Branches      455      455           
=======================================
  Hits         2215     2215           
  Misses         16       16           
  Partials       11       11           

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

@github-actions github-actions bot force-pushed the changeset-release/master branch from a8ec8c4 to 0d0cbca Compare June 22, 2024 12:21
@ntucker ntucker enabled auto-merge June 22, 2024 12:24
@ntucker ntucker added this pull request to the merge queue Jun 22, 2024
Merged via the queue into master with commit 35b4e7f Jun 22, 2024
21 checks passed
@ntucker ntucker deleted the changeset-release/master branch June 22, 2024 12:33
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