Skip to content

Commit 9ffa01e

Browse files
committed
chore(release): v-2.0.0-beta.4
1 parent 9b5b301 commit 9ffa01e

File tree

5 files changed

+72
-2
lines changed

5 files changed

+72
-2
lines changed

.changeset/pre.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
},
88
"changesets": [
99
"better-cities-relate",
10+
"dark-zoos-bet",
1011
"lazy-kids-grow",
1112
"slimy-rings-love",
1213
"stale-bananas-strive"

packages/core/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# @quantajs/core
22

3+
## 2.0.0-beta.4
4+
5+
### Major Changes
6+
7+
- 9b5b301: feat(react): refactor useQuantaStore with cached snapshots
8+
9+
\- Add store-level Set<subscribers> + notifyAll in createStore
10+
11+
\- Wire flattenStore.set trap → trigger + notifyAll
12+
13+
\- Generic Dependency<S> with snapshot-aware notify()
14+
15+
\- Update StoreSubscriber to (snapshot?: S) => void
16+
17+
\- Rewrite @quantajs/react useQuantaStore:
18+
19+
&nbsp; • useRef cache + fresh flat snapshot on every core mutation
20+
21+
&nbsp; • stable actions/getters (no re-bind loops)
22+
23+
&nbsp; • selector support for fine-grained re-renders
24+
25+
&nbsp; • SSR-safe server snapshot
26+
27+
&nbsp; • full error isolation (warn, never crash on bad subscriber)
28+
29+
\- Fix React re-render staleness: UI now updates instantly
30+
31+
\- Eliminate infinite-loop warning (cached snapshot is stable until dirty)Please enter a summary for your changes.
32+
33+
An empty message aborts the editor.
34+
335
## 2.0.0-beta.3
436

537
### Major Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"url": "https://github.com/quanta-js/quanta/issues"
2121
},
2222
"homepage": "https://quantajs.com",
23-
"version": "2.0.0-beta.3",
23+
"version": "2.0.0-beta.4",
2424
"type": "module",
2525
"license": "MIT",
2626
"scripts": {

packages/react/CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# Changelog
22

3+
## 2.0.0-beta.4
4+
5+
### Major Changes
6+
7+
- 9b5b301: feat(react): refactor useQuantaStore with cached snapshots
8+
9+
\- Add store-level Set<subscribers> + notifyAll in createStore
10+
11+
\- Wire flattenStore.set trap → trigger + notifyAll
12+
13+
\- Generic Dependency<S> with snapshot-aware notify()
14+
15+
\- Update StoreSubscriber to (snapshot?: S) => void
16+
17+
\- Rewrite @quantajs/react useQuantaStore:
18+
19+
&nbsp; • useRef cache + fresh flat snapshot on every core mutation
20+
21+
&nbsp; • stable actions/getters (no re-bind loops)
22+
23+
&nbsp; • selector support for fine-grained re-renders
24+
25+
&nbsp; • SSR-safe server snapshot
26+
27+
&nbsp; • full error isolation (warn, never crash on bad subscriber)
28+
29+
\- Fix React re-render staleness: UI now updates instantly
30+
31+
\- Eliminate infinite-loop warning (cached snapshot is stable until dirty)Please enter a summary for your changes.
32+
33+
An empty message aborts the editor.
34+
35+
### Patch Changes
36+
37+
- Updated dependencies [9b5b301]
38+
- @quantajs/core@2.0.0-beta.4
39+
340
## 2.0.0-beta.3
441

542
### Major Changes

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"url": "https://github.com/quanta-js/quanta/issues"
2323
},
2424
"homepage": "https://quantajs.com",
25-
"version": "2.0.0-beta.3",
25+
"version": "2.0.0-beta.4",
2626
"type": "module",
2727
"license": "MIT",
2828
"scripts": {

0 commit comments

Comments
 (0)