Skip to content

Commit

Permalink
internal: Publish new version (#3128)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Jun 22, 2024
1 parent 2503402 commit 35b4e7f
Show file tree
Hide file tree
Showing 11 changed files with 69 additions and 53 deletions.
15 changes: 0 additions & 15 deletions .changeset/smart-oranges-vanish.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/twelve-rockets-divide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twelve-socks-hope.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/young-needles-hide.md

This file was deleted.

7 changes: 7 additions & 0 deletions examples/benchmark/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# example-benchmark

## 0.4.52

### Patch Changes

- Updated dependencies [[`2503402`](https://github.com/reactive/data-client/commit/2503402c28a51b2a686bf61132b74d673950e63e), [`c18fbf7`](https://github.com/reactive/data-client/commit/c18fbf7fdc7c421d15dc26cc5add3b5840ddca6d), [`c18fbf7`](https://github.com/reactive/data-client/commit/c18fbf7fdc7c421d15dc26cc5add3b5840ddca6d)]:
- @data-client/core@0.13.5

## 0.4.51

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/benchmark/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example-benchmark",
"version": "0.4.51",
"version": "0.4.52",
"description": "Benchmark for normalizr",
"main": "index.js",
"author": "Nathaniel Tucker",
Expand Down
34 changes: 34 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# @data-client/core

## 0.13.5

### Patch Changes

- [#3129](https://github.com/reactive/data-client/pull/3129) [`2503402`](https://github.com/reactive/data-client/commit/2503402c28a51b2a686bf61132b74d673950e63e) Thanks [@ntucker](https://github.com/ntucker)! - Allow ctrl.set() value to be a function

This [prevents race conditions](https://react.dev/reference/react/useState#updating-state-based-on-the-previous-state).

```ts
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](https://github.com/reactive/data-client/pull/3127) [`c18fbf7`](https://github.com/reactive/data-client/commit/c18fbf7fdc7c421d15dc26cc5add3b5840ddca6d) Thanks [@ntucker](https://github.com/ntucker)! - Remove RIC export

- [#3127](https://github.com/reactive/data-client/pull/3127) [`c18fbf7`](https://github.com/reactive/data-client/commit/c18fbf7fdc7c421d15dc26cc5add3b5840ddca6d) Thanks [@ntucker](https://github.com/ntucker)! - Add NetworkManager.idleCallback overridable method

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

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

## 0.13.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@data-client/core",
"version": "0.13.1",
"version": "0.13.5",
"description": "High performance mutable data framework.",
"sideEffects": false,
"main": "dist/index.js",
Expand Down
22 changes: 22 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @data-client/react

## 0.13.5

### Patch Changes

- [#3129](https://github.com/reactive/data-client/pull/3129) [`2503402`](https://github.com/reactive/data-client/commit/2503402c28a51b2a686bf61132b74d673950e63e) Thanks [@ntucker](https://github.com/ntucker)! - Allow ctrl.set() value to be a function

This [prevents race conditions](https://react.dev/reference/react/useState#updating-state-based-on-the-previous-state).

```ts
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](https://github.com/reactive/data-client/pull/3127) [`c18fbf7`](https://github.com/reactive/data-client/commit/c18fbf7fdc7c421d15dc26cc5add3b5840ddca6d) Thanks [@ntucker](https://github.com/ntucker)! - React Native calls fetches in InteractionManager.runAfterInteractions callback

This reduces the chance of frame drops.

- Updated dependencies [[`2503402`](https://github.com/reactive/data-client/commit/2503402c28a51b2a686bf61132b74d673950e63e), [`c18fbf7`](https://github.com/reactive/data-client/commit/c18fbf7fdc7c421d15dc26cc5add3b5840ddca6d), [`c18fbf7`](https://github.com/reactive/data-client/commit/c18fbf7fdc7c421d15dc26cc5add3b5840ddca6d)]:
- @data-client/core@0.13.5

## 0.13.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@data-client/react",
"version": "0.13.4",
"version": "0.13.5",
"description": "High performance mutable data rendering in React.",
"homepage": "https://dataclient.io",
"repository": {
Expand Down Expand Up @@ -169,7 +169,7 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.17.0",
"@data-client/core": "^0.13.1",
"@data-client/core": "^0.13.5",
"@data-client/use-enhanced-reducer": "^0.1.10"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3157,7 +3157,7 @@ __metadata:
languageName: node
linkType: hard

"@data-client/core@npm:^0.13.1, @data-client/core@workspace:^, @data-client/core@workspace:packages/core":
"@data-client/core@npm:^0.13.5, @data-client/core@workspace:^, @data-client/core@workspace:packages/core":
version: 0.0.0-use.local
resolution: "@data-client/core@workspace:packages/core"
dependencies:
Expand Down Expand Up @@ -3228,7 +3228,7 @@ __metadata:
dependencies:
"@anansi/browserslist-config": "npm:^1.4.2"
"@babel/runtime": "npm:^7.17.0"
"@data-client/core": "npm:^0.13.1"
"@data-client/core": "npm:^0.13.5"
"@data-client/use-enhanced-reducer": "npm:^0.1.10"
"@react-navigation/native": "npm:^6.1.6"
"@types/node": "npm:^20.0.0"
Expand Down

0 comments on commit 35b4e7f

Please sign in to comment.