Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Per-package detail lives in the GitHub release tagged `<npm-name>@<version>`.
### Peer-dep ranges

- **`@modular-react/react`** and **`@modular-react/journeys`** — peer ranges for `@modular-react/core` (and, for journeys, `@modular-react/react`) bumped from `^1.2.0` to `^2.0.0` to match the packages' actual release lines. Drift went unnoticed when `@modular-react/react@2.0.0` and `@modular-react/journeys@1.0.0` shipped: both packages already require a 2.x core at runtime (lazy entry-point support, `EagerModuleEntryPoint | LazyModuleEntryPoint` discriminated union, `resolveEntryComponent` with sync-thenable fast path), but the peer descriptors still pointed at 1.x. Consumers installing `journeys@1.0.0` against `core@^2.0.0` get an `ERESOLVE` error from npm, and `--legacy-peer-deps` workarounds end up dual-installing core (one hoisted 2.x copy plus a nested 1.x copy under journeys), which fragments singletons (`registry`, `defineEntry` identity) at runtime. This is a peer-descriptor correction, not a behavior change.
- **`@tanstack-react-modules/core`**, **`@tanstack-react-modules/runtime`**, **`@tanstack-react-modules/testing`**, **`@react-router-modules/core`**, **`@react-router-modules/runtime`**, **`@react-router-modules/testing`** — same peer-range correction: `@modular-react/core` and `@modular-react/react` bumped from `^1.2.0` to `^2.0.0`; testing packages' peer of `@modular-react/journeys` bumped from `^1.0.0` to `^1.0.1` to match the corrected upstream. Same drift cause and same consumer impact as the previous entry — without this fix, runtime packages nest a 1.x core under a 2.x host, which breaks React Context identity for `useZones` / `useNavigation` / `useRouteData` (the runtime hooks consume contexts created by `@modular-react/react` in the host's `<Manifest.Providers>` tree). Peer-descriptor correction only.

## 2026-04-19 — `@modular-react/*@1.2.0`, `@*-modules/*@2.3.0`

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"zustand": "^5.0.0"
},
"peerDependencies": {
"@modular-react/core": "^1.2.0",
"@modular-react/core": "^2.0.0",
"react": "^19.0.0",
"react-router": "^7.6.0",
"zustand": "^5.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"zustand": "^5.0.0"
},
"peerDependencies": {
"@modular-react/core": "^1.2.0",
"@modular-react/react": "^1.2.0",
"@modular-react/core": "^2.0.0",
"@modular-react/react": "^2.0.0",
"@react-router-modules/core": "^2.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/react-router-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"zustand": "^5.0.0"
},
"peerDependencies": {
"@modular-react/core": "^1.2.0",
"@modular-react/journeys": "^1.0.0",
"@modular-react/react": "^1.2.0",
"@modular-react/core": "^2.0.0",
"@modular-react/journeys": "^1.0.1",
"@modular-react/react": "^2.0.0",
"@react-router-modules/core": "^2.3.0",
"@react-router-modules/runtime": "^2.3.0",
"@testing-library/react": "^16.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/tanstack-router-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"zustand": "^5.0.0"
},
"peerDependencies": {
"@modular-react/core": "^1.2.0",
"@modular-react/core": "^2.0.0",
"@tanstack/react-router": "^1.168.8",
"react": "^19.0.0",
"zustand": "^5.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/tanstack-router-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"zustand": "^5.0.0"
},
"peerDependencies": {
"@modular-react/core": "^1.2.0",
"@modular-react/react": "^1.2.0",
"@modular-react/core": "^2.0.0",
"@modular-react/react": "^2.0.0",
"@tanstack-react-modules/core": "^2.3.0",
"@tanstack/react-router": "^1.168.8",
"react": "^19.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/tanstack-router-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"zustand": "^5.0.0"
},
"peerDependencies": {
"@modular-react/core": "^1.2.0",
"@modular-react/journeys": "^1.0.0",
"@modular-react/react": "^1.2.0",
"@modular-react/core": "^2.0.0",
"@modular-react/journeys": "^1.0.1",
"@modular-react/react": "^2.0.0",
"@tanstack-react-modules/core": "^2.3.0",
"@tanstack-react-modules/runtime": "^2.3.0",
"@tanstack/react-router": "^1.168.8",
Expand Down
Loading