Skip to content

Version Packages#82

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

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

Conversation

@github-actions
Copy link
Copy Markdown

@github-actions github-actions bot commented Mar 21, 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

@github-actions github-actions bot force-pushed the changeset-release/master branch 9 times, most recently from 3b2fccc to 50c9ce5 Compare March 28, 2026 18:39
@github-actions github-actions bot force-pushed the changeset-release/master branch 4 times, most recently from b3e6cd7 to 291c561 Compare March 31, 2026 11:04
@github-actions github-actions bot force-pushed the changeset-release/master branch 6 times, most recently from dcb5122 to 10bff81 Compare April 11, 2026 13:29
@github-actions github-actions bot force-pushed the changeset-release/master branch from 10bff81 to 4578466 Compare April 12, 2026 11:25
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