Skip to content

Commit b1d3029

Browse files
committed
Add changesets
1 parent 9c36d59 commit b1d3029

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.changeset/shiny-ghosts-happen.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"@react-router/cloudflare": patch
3+
"@react-router/architect": patch
4+
"@react-router/express": patch
5+
"@react-router/node": patch
6+
"react-router": patch
7+
---
8+
9+
[UNSTABLE] Change `getLoadContext` signature (`type GetLoadContextFunction`) when `future.unstable_middleware` is enabled so that it returns an `unstable_RouterContextProvider` instance instead of a `Map` used to contruct the instance internally
10+
11+
- This also removes the `type unstable_InitialContext` export
12+
- ⚠️ This is a breaking change if you have adopted middleware and are using a custom server with a `getLoadContext` function

.changeset/tiny-turtles-compete.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@react-router/cloudflare": patch
3+
"@react-router/architect": patch
4+
"@react-router/express": patch
5+
"@react-router/node": patch
6+
"react-router": patch
7+
---
8+
9+
[UNSTABLE] Change the `unstable_getContext` signature on `RouterProvider`/`HydratedRouter`/`unstable_RSCHydratedRouter` so that it returns an `unstable_RouterContextProvider` instance instead of a `Map` used to contruct the instance internally
10+
11+
- ⚠️ This is a breaking change if you have adopted the `unstable_getContext` prop

0 commit comments

Comments
 (0)