Skip to content

Version Packages#3873

Open
github-actions[bot] wants to merge 1 commit intomasterfrom
changeset-release/master
Open

Version Packages#3873
github-actions[bot] wants to merge 1 commit intomasterfrom
changeset-release/master

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 5, 2026

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/normalizr@0.16.6

Patch Changes

  • #3875 467a5f6 - Fix deepClone to only copy own properties

    deepClone in the immutable store path now uses Object.keys() instead of for...in, preventing inherited properties from being copied into cloned state.

  • #3877 e9e96f1 - Replace megamorphic computed dispatch in getDependency with switch

    getDependency used delegate[array[index]](...spread) which creates a temporary array, a computed property lookup, and a spread call on every invocation — a megamorphic pattern that prevents V8 from inlining or type-specializing the call site. Replaced with a switch on path.length for monomorphic dispatch.

  • #3876 7d28629 - Improve denormalization performance by pre-allocating the dependency tracking slot

    Replace Array.prototype.unshift() in GlobalCache.getResults() with a pre-allocated slot at index 0, avoiding O(n) element shifting on every cache-miss denormalization.

  • #3884 7df6a49 - Move entity table POJO clone from getNewEntities to setEntity

    Lazy-clone entity and meta tables on first write per entity type instead of eagerly in getNewEntities. This keeps getNewEntities as a pure Map operation, eliminating its V8 Maglev bailout ("Insufficient type feedback for generic named access" on this.entities).

  • #3878 98a7831 - Avoid hidden class mutation in normalize() return object

    The normalize result object was constructed with result: '' as any then mutated via ret.result = visit(...), causing a V8 hidden class transition when the property type changed from string to the actual result type. Restructured to compute the result first and construct the final object in a single step.

@data-client/rest@0.16.6

Patch Changes

  • #3868 8a7c8d9 - Add content property to RestEndpoint for typed response parsing

    Set content to control how the response body is parsed, with automatic return type inference:

    const downloadFile = new RestEndpoint({
      path: '/files/:id/download',
      content: 'blob',
      dataExpiryLength: 0,
    });
    const blob: Blob = await ctrl.fetch(downloadFile, { id: '123' });

    Accepted values: 'json', 'blob', 'text', 'arrayBuffer', 'stream'.

    Non-JSON content types ('blob', 'text', 'arrayBuffer', 'stream') constrain schema to
    undefined at the type level, with a runtime check that throws if a normalizable schema is set.

    When content is not set, auto-detection now handles binary Content-Types (image/*,
    application/octet-stream, application/pdf, etc.) by returning response.blob() instead of
    corrupting data via .text().

  • Updated dependencies []:

    • @data-client/endpoint@0.16.3

example-benchmark@0.4.83

Patch Changes

example-benchmark-react@0.1.7

Patch Changes

  • Updated dependencies [8a7c8d9]:
    • @data-client/rest@0.16.6
    • @data-client/react@0.16.0
    • @data-client/endpoint@0.16.3

coinbase-lite@0.0.22

Patch Changes

  • Updated dependencies [8a7c8d9]:
    • @data-client/rest@0.16.6

normalizr-github-example@0.1.58

Patch Changes

normalizr-redux-example@0.1.56

Patch Changes

normalizr-relationships@0.1.58

Patch Changes

test-bundlesize@0.1.14

Patch Changes

  • Updated dependencies [8a7c8d9]:
    • @data-client/rest@0.16.6
    • @data-client/react@0.16.0

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs-site Ignored Ignored Preview Apr 10, 2026 4:53pm

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.11%. Comparing base (14bdab1) to head (79a6afc).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3873   +/-   ##
=======================================
  Coverage   98.11%   98.11%           
=======================================
  Files         153      153           
  Lines        2916     2916           
  Branches      566      566           
=======================================
  Hits         2861     2861           
  Misses         11       11           
  Partials       44       44           

☔ 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 13 times, most recently from b575946 to 72f3c03 Compare April 10, 2026 16:06
@github-actions github-actions bot force-pushed the changeset-release/master branch from 72f3c03 to 79a6afc Compare April 10, 2026 16:53
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.

0 participants