Skip to content

Commit 4f5b6b6

Browse files
internal: Publish new version (#3913)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent fd64b41 commit 4f5b6b6

16 files changed

Lines changed: 125 additions & 37 deletions

File tree

.changeset/normalizr-transitive-release.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

examples/benchmark-react/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# example-benchmark-react
22

3+
## 0.1.8
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`fd64b41`](https://github.com/reactive/data-client/commit/fd64b41a9de266af51708622ea8991060fd788a5)]:
8+
- @data-client/core@0.16.7
9+
- @data-client/react@0.16.7
10+
- @data-client/endpoint@0.16.6
11+
- @data-client/rest@0.16.6
12+
313
## 0.1.7
414

515
### Patch Changes

examples/benchmark-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-benchmark-react",
3-
"version": "0.1.7",
3+
"version": "0.1.8",
44
"private": true,
55
"description": "React rendering benchmark comparing @data-client/react against other data libraries",
66
"scripts": {

examples/benchmark/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# example-benchmark
22

3+
## 0.4.84
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`fd64b41`](https://github.com/reactive/data-client/commit/fd64b41a9de266af51708622ea8991060fd788a5)]:
8+
- @data-client/core@0.16.7
9+
- @data-client/endpoint@0.16.6
10+
311
## 0.4.83
412

513
### Patch Changes

examples/benchmark/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-benchmark",
3-
"version": "0.4.83",
3+
"version": "0.4.84",
44
"description": "Benchmark for normalizr",
55
"main": "index.js",
66
"author": "Nathaniel Tucker",

examples/coin-app/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# coinbase-lite
22

3+
## 0.0.23
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`fd64b41`](https://github.com/reactive/data-client/commit/fd64b41a9de266af51708622ea8991060fd788a5)]:
8+
- @data-client/react@0.16.7
9+
310
## 0.0.22
411

512
### Patch Changes

examples/coin-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "coinbase-lite",
3-
"version": "0.0.22",
3+
"version": "0.0.23",
44
"packageManager": "yarn@4.13.0",
55
"description": "Coin App",
66
"scripts": {
@@ -45,7 +45,7 @@
4545
"@anansi/router": "0.10.23",
4646
"@babel/runtime-corejs3": "7.29.2",
4747
"@data-client/img": "0.16.0",
48-
"@data-client/react": "0.16.0",
48+
"@data-client/react": "0.16.7",
4949
"@data-client/rest": "0.16.6",
5050
"core-js": "3.49.0",
5151
"d3": "7.9.0",

examples/test-bundlesize/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# test-bundlesize
22

3+
## 0.1.15
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`fd64b41`](https://github.com/reactive/data-client/commit/fd64b41a9de266af51708622ea8991060fd788a5)]:
8+
- @data-client/react@0.16.7
9+
- @data-client/img@0.16.0
10+
- @data-client/rest@0.16.6
11+
312
## 0.1.14
413

514
### Patch Changes

examples/test-bundlesize/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "test-bundlesize",
3-
"version": "0.1.14",
3+
"version": "0.1.15",
44
"packageManager": "yarn@4.13.0",
55
"description": "Testing Bundled Size",
66
"scripts": {

packages/core/CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# @data-client/core
22

3+
## 0.16.7
4+
5+
### Patch Changes
6+
7+
- [`fd64b41`](https://github.com/reactive/data-client/commit/fd64b41a9de266af51708622ea8991060fd788a5) - Include `@data-client/normalizr@0.16.6` performance improvements:
8+
- [#3875](https://github.com/reactive/data-client/pull/3875) [`467a5f6`](https://github.com/reactive/data-client/commit/467a5f6f9d4cdaf0927fa7e22520c5d2c1462ff5) - Fix deepClone to only copy own properties
9+
10+
`deepClone` in the immutable store path now uses `Object.keys()` instead of `for...in`, preventing inherited properties from being copied into cloned state.
11+
12+
- [#3877](https://github.com/reactive/data-client/pull/3877) [`e9e96f1`](https://github.com/reactive/data-client/commit/e9e96f1751895c17e046461a1c38bb4bb093c141) - Replace megamorphic computed dispatch in getDependency with switch
13+
14+
`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.
15+
16+
- [#3876](https://github.com/reactive/data-client/pull/3876) [`7d28629`](https://github.com/reactive/data-client/commit/7d28629d07f6cade43e36f3cf1956f175f98d84f) - Improve denormalization performance by pre-allocating the dependency tracking slot
17+
18+
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.
19+
20+
- [#3884](https://github.com/reactive/data-client/pull/3884) [`7df6a49`](https://github.com/reactive/data-client/commit/7df6a49ee9fcdac10f9f24ec48c4df0931efa0b0) - Move entity table POJO clone from getNewEntities to setEntity
21+
22+
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`).
23+
24+
- [#3878](https://github.com/reactive/data-client/pull/3878) [`98a7831`](https://github.com/reactive/data-client/commit/98a78318770feaa8433708693bec90b81cbcb1b2) - Avoid hidden class mutation in normalize() return object
25+
26+
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.
27+
328
## 0.16.0
429

530
### Patch Changes

0 commit comments

Comments
 (0)