Skip to content

Commit 7cf65dd

Browse files
Version Packages (#5413)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 524a207 commit 7cf65dd

File tree

4 files changed

+14
-16
lines changed

4 files changed

+14
-16
lines changed

.changeset/large-monkeys-doubt.md

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

.changeset/whole-days-design.md

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

packages/xstate-store/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @xstate/store
22

3+
## 3.12.0
4+
5+
### Minor Changes
6+
7+
- [#5410](https://github.com/statelyai/xstate/pull/5410) [`45d97de`](https://github.com/statelyai/xstate/commit/45d97de0a174b274aea69d02e27a59b224c2b855) Thanks [@davidkpiano](https://github.com/davidkpiano)! - Fix go-to-definition for triggers
8+
9+
- [#5414](https://github.com/statelyai/xstate/pull/5414) [`524a207`](https://github.com/statelyai/xstate/commit/524a207e20ee07560170817052763ad7f3c71d66) Thanks [@davidkpiano](https://github.com/davidkpiano)! - Computed atoms can now access their previous value via an optional second parameter:
10+
11+
```ts
12+
const count = createAtom(1);
13+
const double = createAtom<number>((_, prev) => count.get() + (prev ?? 0));
14+
```
15+
316
## 3.11.2
417

518
### Patch Changes

packages/xstate-store/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@xstate/store",
3-
"version": "3.11.2",
3+
"version": "3.12.0",
44
"description": "Simple stores",
55
"keywords": [
66
"store",

0 commit comments

Comments
 (0)