Skip to content

Commit af410d8

Browse files
internal: Publish new version (#3011)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent c906392 commit af410d8

File tree

7 files changed

+47
-47
lines changed

7 files changed

+47
-47
lines changed

.changeset/fair-terms-sneeze.md

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

.changeset/metal-beds-compare.md

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

.changeset/shiny-windows-care.md

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

.changeset/weak-days-perform.md

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

packages/react/CHANGELOG.md

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

3+
## 0.11.2
4+
5+
### Patch Changes
6+
7+
- [#3010](https://github.com/reactive/data-client/pull/3010) [`c906392`](https://github.com/reactive/data-client/commit/c9063927c7437a387f426a14c4b244cc1caa49c2) Thanks [@ntucker](https://github.com/ntucker)! - ErrorBoundary listens to all errors
8+
9+
This means it may catch errors that were previously passing thorugh
10+
11+
- [#3010](https://github.com/reactive/data-client/pull/3010) [`c906392`](https://github.com/reactive/data-client/commit/c9063927c7437a387f426a14c4b244cc1caa49c2) Thanks [@ntucker](https://github.com/ntucker)! - ErrorBoundary default error fallback supports react native
12+
13+
- [#3010](https://github.com/reactive/data-client/pull/3010) [`c906392`](https://github.com/reactive/data-client/commit/c9063927c7437a387f426a14c4b244cc1caa49c2) Thanks [@ntucker](https://github.com/ntucker)! - Add listen prop to ErrorBoundary and AsyncBoundary
14+
15+
```tsx
16+
<AsyncBoundary listen={history.listen}>
17+
<MatchedRoute index={0} />
18+
</AsyncBoundary>
19+
```
20+
21+
- [#3010](https://github.com/reactive/data-client/pull/3010) [`c906392`](https://github.com/reactive/data-client/commit/c9063927c7437a387f426a14c4b244cc1caa49c2) Thanks [@ntucker](https://github.com/ntucker)! - Add resetErrorBoundary sent to errorComponent
22+
23+
```tsx
24+
function ErrorComponent({
25+
error,
26+
className,
27+
resetErrorBoundary,
28+
}: {
29+
error: Error;
30+
resetErrorBoundary: () => void;
31+
className?: string;
32+
}) {
33+
return (
34+
<pre role="alert" className={className}>
35+
{error.message} <button onClick={resetErrorBoundary}>Reset</button>
36+
</pre>
37+
);
38+
}
39+
```
40+
341
## 0.11.0
442

543
[Release notes and migration guide](https://dataclient.io/blog/2024/04/08/v0.11-queries-querable-usequery)

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@data-client/react",
3-
"version": "0.11.0",
3+
"version": "0.11.2",
44
"description": "High performance mutable data rendering in React.",
55
"homepage": "https://dataclient.io",
66
"repository": {

website/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
### Patch Changes
66

7+
- Updated dependencies [[`c906392`](https://github.com/reactive/data-client/commit/c9063927c7437a387f426a14c4b244cc1caa49c2), [`c906392`](https://github.com/reactive/data-client/commit/c9063927c7437a387f426a14c4b244cc1caa49c2), [`c906392`](https://github.com/reactive/data-client/commit/c9063927c7437a387f426a14c4b244cc1caa49c2), [`c906392`](https://github.com/reactive/data-client/commit/c9063927c7437a387f426a14c4b244cc1caa49c2)]:
8+
- @data-client/react@0.11.2
9+
- @data-client/test@0.11.0
10+
11+
## null
12+
13+
### Patch Changes
14+
715
- Updated dependencies [[`13c6466`](https://github.com/reactive/data-client/commit/13c64662bce3813869140bc709badffc59929c5e), [`18ec81e`](https://github.com/reactive/data-client/commit/18ec81eaacd1ab6e860653fa23ea95a0f5889e36)]:
816
- @data-client/endpoint@0.11.1
917
- @data-client/graphql@0.11.1

0 commit comments

Comments
 (0)