Skip to content

Commit 0427245

Browse files
Version Packages
1 parent bf5daae commit 0427245

37 files changed

Lines changed: 198 additions & 84 deletions

File tree

.changeset/bright-guards-enter.md

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

.changeset/calm-stacks-persist.md

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

.changeset/fep-2590-core-peer-compat.md

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

.changeset/fep-2609-create-metadata-stack.md

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

.changeset/wrap-record-save-error.md

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

docs/components/ChangelogContent.mdx

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
## 2026.07.22
2+
3+
Package initial release; Allow programmers to restrict activity entrances via predicates called 'guards'. [`d915c5f`](https://github.com/daangn/stackflow/commit/d915c5fb0ceab7d49882b5a7b8b4f0e739efa281)
4+
5+
Released packages:
6+
- 📦 [@stackflow/plugin-activity-guard@1.0.0](https://npmjs.com/package/@stackflow/plugin-activity-guard/v/1.0.0)
7+
8+
---
9+
10+
Package initial release; Persist and restore complete Stackflow navigation snapshots with optional metadata reuse strategies and explicit load/save error handling. [`0072c62`](https://github.com/daangn/stackflow/commit/0072c628a8128524efe85e8f9f9ef71dd661b5c2)
11+
12+
Released packages:
13+
- 📦 [@stackflow/plugin-stack-persistence@1.0.0](https://npmjs.com/package/@stackflow/plugin-stack-persistence/v/1.0.0)
14+
15+
---
16+
17+
Expand the supported `@stackflow/core` peer dependency range to include both v2 and v3. [`aaf2d03`](https://github.com/daangn/stackflow/commit/aaf2d0354231d8342f70d6652c46fc27bc3f8b63)
18+
19+
Released packages:
20+
- 📦 [@stackflow/link@2.0.2](https://npmjs.com/package/@stackflow/link/v/2.0.2)
21+
- 📦 [@stackflow/plugin-basic-ui@1.18.4](https://npmjs.com/package/@stackflow/plugin-basic-ui/v/1.18.4)
22+
- 📦 [@stackflow/plugin-blocker@0.1.3](https://npmjs.com/package/@stackflow/plugin-blocker/v/0.1.3)
23+
- 📦 [@stackflow/plugin-devtools@0.1.14](https://npmjs.com/package/@stackflow/plugin-devtools/v/0.1.14)
24+
- 📦 [@stackflow/plugin-google-analytics-4@1.1.18](https://npmjs.com/package/@stackflow/plugin-google-analytics-4/v/1.1.18)
25+
- 📦 [@stackflow/plugin-history-sync@1.12.1](https://npmjs.com/package/@stackflow/plugin-history-sync/v/1.12.1)
26+
- 📦 [@stackflow/plugin-lifecycle@0.1.3](https://npmjs.com/package/@stackflow/plugin-lifecycle/v/0.1.3)
27+
- 📦 [@stackflow/plugin-renderer-basic@1.1.16](https://npmjs.com/package/@stackflow/plugin-renderer-basic/v/1.1.16)
28+
- 📦 [@stackflow/plugin-renderer-web@1.1.16](https://npmjs.com/package/@stackflow/plugin-renderer-web/v/1.1.16)
29+
- 📦 [@stackflow/plugin-sentry@0.1.3](https://npmjs.com/package/@stackflow/plugin-sentry/v/0.1.3)
30+
- 📦 [@stackflow/plugin-stack-depth-change@1.1.8](https://npmjs.com/package/@stackflow/plugin-stack-depth-change/v/1.1.8)
31+
- 📦 [@stackflow/react@2.1.3](https://npmjs.com/package/@stackflow/react/v/2.1.3)
32+
- 📦 [@stackflow/react-ui-core@1.3.7](https://npmjs.com/package/@stackflow/react-ui-core/v/1.3.7)
33+
34+
---
35+
36+
Pass the current `Stack` to `StackSnapshotStrategy.createMetadata`, so metadata can be derived from the same stack state that the snapshot is captured from. [`f52b5f4`](https://github.com/daangn/stackflow/commit/f52b5f408c313a7e546fd3a93f7f4347b2cbabc1)
37+
38+
Released packages:
39+
- 📦 [@stackflow/plugin-stack-persistence@1.0.0](https://npmjs.com/package/@stackflow/plugin-stack-persistence/v/1.0.0)
40+
41+
---
42+
43+
Wrap storage save failures in `StackSnapshotRecordSaveError` before invoking `onRecordSaveError` or rethrowing, matching the declared handler signature and the load-path behavior. [`bf5daae`](https://github.com/daangn/stackflow/commit/bf5daae0a9583affa55c5c87d15645a61581ff82)
44+
45+
Released packages:
46+
- 📦 [@stackflow/plugin-stack-persistence@1.0.0](https://npmjs.com/package/@stackflow/plugin-stack-persistence/v/1.0.0)
47+
48+
---
49+
150
## 2026.07.11
251

352
Distinguish how a stack is initialized — created fresh (`create`) or restored from a snapshot (`load`) — and add the surface a snapshot round-trip needs: `StackSnapshot`, `actions.captureSnapshot()`, the `provideSnapshot` / `onLoadError` plugin hooks, and `initInfo` on `onInit`. Runtime behavior is unchanged when no snapshot is provided; the breaks are type-level only — the `StackflowPluginHook` → `StackflowPluginInitHook` rename, plus new required members on `StackflowActions` and on the `onInit` / `overrideInitialEvents` hook signatures — hence the major. [`f0fc1fb`](https://github.com/daangn/stackflow/commit/f0fc1fbdda3b23f7c1400f9659e45a970be1647d)

extensions/link/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @stackflow/link
22

3+
## 2.0.2
4+
5+
### Patch Changes
6+
7+
- aaf2d03: Expand the supported `@stackflow/core` peer dependency range to include both v2 and v3.
8+
39
## 2.0.1
410

511
### Patch Changes

extensions/link/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stackflow/link",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/daangn/stackflow.git",
@@ -34,8 +34,8 @@
3434
"@stackflow/config": "^2.0.0",
3535
"@stackflow/core": "^3.0.0",
3636
"@stackflow/esbuild-config": "^1.0.3",
37-
"@stackflow/plugin-history-sync": "^1.12.0",
38-
"@stackflow/react": "^2.1.2",
37+
"@stackflow/plugin-history-sync": "^1.12.1",
38+
"@stackflow/react": "^2.1.3",
3939
"@types/react": "^18.3.3",
4040
"esbuild": "^0.23.0",
4141
"esbuild-plugin-file-path-extensions": "^2.1.3",
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# @stackflow/plugin-activity-guard
2+
3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- d915c5f: Package initial release; Allow programmers to restrict activity entrances via predicates called 'guards'.

extensions/plugin-activity-guard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stackflow/plugin-activity-guard",
3-
"version": "0.0.0",
3+
"version": "1.0.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/daangn/stackflow.git",

0 commit comments

Comments
 (0)