Skip to content

Commit ff3161b

Browse files
Version Packages
1 parent 510a287 commit ff3161b

12 files changed

Lines changed: 84 additions & 42 deletions

.changeset/fep-2357-prepare-outside-react.md

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

.changeset/plugin-sentry-publish-access.md

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

.changeset/remove-core-step-context-fields.md

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

.changeset/withdraw-history-sync-param-coercion.md

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

core/CHANGELOG.md

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

3+
## 2.0.1
4+
5+
### Patch Changes
6+
7+
- 416b65d: Remove the internal optional `stepContext` event fields and `ActivityStep.context`
8+
storage that were added for plugin-history-sync URL preservation.
9+
310
## 2.0.0
411

512
### Major Changes

core/package.json

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

docs/components/ChangelogContent.mdx

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
## 2026.06.08
2+
3+
Expose `prepare` on the `stackflow()` output to preload an activity's component chunk and data loader from outside the React render tree (e.g. at app bootstrap, before the first render), without depending on React Context. [`510a287`](https://github.com/daangn/stackflow/commit/510a28705ef44dd153cef895cf88a341eb351ad3)
4+
5+
```ts
6+
const { Stack, actions, stepActions, prepare } = stackflow({ config, components, plugins });
7+
8+
prepare("Article", { articleId: "123" }); // warm chunk + fire data loader
9+
prepare("Article"); // warm chunk only
10+
```
11+
12+
The signature matches the existing `usePrepare` hook (omitting params warms the chunk only; passing params also fires the loader), and `usePrepare` is now a thin wrapper over the same implementation, so in-tree callers are unchanged. Failures are delivered as a rejection of the returned promise rather than a synchronous throw.
13+
14+
Released packages:
15+
- 📦 [@stackflow/react@2.1.0](https://npmjs.com/package/@stackflow/react/v/2.1.0)
16+
17+
---
18+
19+
`publishConfig: { access: "public" }` 추가는 공개 API/런타임 변경이 없는 릴리스 메타데이터 수정이므로 버전 bump 없이 처리합니다. (PR `changeset status` 게이트 통과용 empty changeset) [`78e7b84`](https://github.com/daangn/stackflow/commit/78e7b848a9f9f1d5c6d5065e4a993e792e026866)
20+
21+
---
22+
23+
Remove the internal optional `stepContext` event fields and `ActivityStep.context` [`416b65d`](https://github.com/daangn/stackflow/commit/416b65da5c23bfbbb81c14f1d307898912bf7ca2)
24+
storage that were added for plugin-history-sync URL preservation.
25+
26+
Released packages:
27+
- 📦 [@stackflow/core@2.0.1](https://npmjs.com/package/@stackflow/core/v/2.0.1)
28+
29+
---
30+
31+
Withdraw the activity and step param string coercion introduced in `1.11.0`. [`416b65d`](https://github.com/daangn/stackflow/commit/416b65da5c23bfbbb81c14f1d307898912bf7ca2)
32+
Internal navigation now preserves non-string param values at runtime again, while
33+
URL arrivals continue to use decoded URL params as before.
34+
35+
Released packages:
36+
- 📦 [@stackflow/plugin-history-sync@1.11.2](https://npmjs.com/package/@stackflow/plugin-history-sync/v/1.11.2)
37+
38+
---
39+
140
## 2026.06.01
241

342
Fix an SSR hydration mismatch that occurred when an activity declared a non-empty `defaultHistory`. [`b7724e9`](https://github.com/daangn/stackflow/commit/b7724e910b24c5cf188b45dc0e58cae1913248fd)

extensions/plugin-history-sync/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @stackflow/plugin-history-sync
22

3+
## 1.11.2
4+
5+
### Patch Changes
6+
7+
- 416b65d: Withdraw the activity and step param string coercion introduced in `1.11.0`.
8+
Internal navigation now preserves non-string param values at runtime again, while
9+
URL arrivals continue to use decoded URL params as before.
10+
311
## 1.11.1
412

513
### Patch Changes

extensions/plugin-history-sync/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stackflow/plugin-history-sync",
3-
"version": "1.11.1",
3+
"version": "1.11.2",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/daangn/stackflow.git",
@@ -63,10 +63,10 @@
6363
"devDependencies": {
6464
"@graphql-tools/schema": "^10.0.5",
6565
"@stackflow/config": "^2.0.0",
66-
"@stackflow/core": "^2.0.0",
66+
"@stackflow/core": "^2.0.1",
6767
"@stackflow/esbuild-config": "^1.0.3",
6868
"@stackflow/plugin-renderer-basic": "^1.1.14",
69-
"@stackflow/react": "^2.0.0",
69+
"@stackflow/react": "^2.1.0",
7070
"@swc/core": "^1.6.6",
7171
"@swc/jest": "^0.2.36",
7272
"@testing-library/dom": "^10.4.0",

integrations/react/CHANGELOG.md

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

3+
## 2.1.0
4+
5+
### Minor Changes
6+
7+
- 510a287: Expose `prepare` on the `stackflow()` output to preload an activity's component chunk and data loader from outside the React render tree (e.g. at app bootstrap, before the first render), without depending on React Context.
8+
9+
```ts
10+
const { Stack, actions, stepActions, prepare } = stackflow({
11+
config,
12+
components,
13+
plugins,
14+
});
15+
16+
prepare("Article", { articleId: "123" }); // warm chunk + fire data loader
17+
prepare("Article"); // warm chunk only
18+
```
19+
20+
The signature matches the existing `usePrepare` hook (omitting params warms the chunk only; passing params also fires the loader), and `usePrepare` is now a thin wrapper over the same implementation, so in-tree callers are unchanged. Failures are delivered as a rejection of the returned promise rather than a synchronous throw.
21+
322
## 2.0.0
423

524
### Major Changes

0 commit comments

Comments
 (0)