Skip to content

Commit 7a8c68f

Browse files
committed
Update release notes
1 parent a04dfa2 commit 7a8c68f

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ We manage release notes in this file instead of the paginated Github Releases Pa
1515
- [React Router Releases](#react-router-releases)
1616
- [v7.10.0](#v7100)
1717
- [What's Changed](#whats-changed)
18-
- [Stabilized `fetcher.reset()`](#stabilized-fetcherreset)
1918
- [Stabilized `future.v8_splitRouteModules`](#stabilized-futurev8_splitroutemodules)
2019
- [Stabilized `future.v8_viteEnvironmentApi`](#stabilized-futurev8_viteenvironmentapi)
20+
- [Stabilized `fetcher.reset()`](#stabilized-fetcherreset)
2121
- [Stabilized `DataStrategyMatch.shouldCallHandler()`](#stabilized-datastrategymatchshouldcallhandler)
2222
- [Minor Changes](#minor-changes)
2323
- [Patch Changes](#patch-changes)
@@ -393,7 +393,7 @@ Date: YYYY-MM-DD
393393

394394
## v7.10.0
395395

396-
Date: 2025-12-2
396+
Date: 2025-12-02
397397

398398
### What's Changed
399399

packages/create-react-router/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22

33
## 7.10.0
44

5+
_No changes_
6+
57
## 7.9.6
68

9+
_No changes_
10+
711
## 7.9.5
812

13+
_No changes_
14+
915
## 7.9.4
1016

1117
_No changes_

packages/react-router/CHANGELOG.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
- ⚠️ This is a breaking change if you have begun using `fetcher.unstable_reset()`
99

1010
- Stabilize the `dataStrategy` `match.shouldRevalidateArgs`/`match.shouldCallHandler()` APIs. ([#14592](https://github.com/remix-run/react-router/pull/14592))
11-
1211
- The `match.shouldLoad` API is now marked deprecated in favor of these more powerful alternatives
1312

1413
- If you're using this API in a custom `dataStrategy` today, you can swap to the new API at your convenience:
@@ -76,8 +75,6 @@
7675

7776
- Optimize href() to avoid backtracking regex on splat ([#14329](https://github.com/remix-run/react-router/pull/14329))
7877

79-
- \[REMOVE] Update source code docs ([`1f8fee408`](https://github.com/remix-run/react-router/commit/1f8fee408db2f74dcc4b04eeb51009da5d51d8a6))
80-
8178
## 7.9.6
8279

8380
### Patch Changes
@@ -139,7 +136,6 @@
139136
- Ensure action handlers run for routes with middleware even if no loader is present ([#14443](https://github.com/remix-run/react-router/pull/14443))
140137

141138
- Add `unstable_instrumentations` API to allow users to add observablity to their apps by instrumenting route loaders, actions, middlewares, lazy, as well as server-side request handlers and client side navigations/fetches ([#14412](https://github.com/remix-run/react-router/pull/14412))
142-
143139
- Framework Mode:
144140
- `entry.server.tsx`: `export const unstable_instrumentations = [...]`
145141
- `entry.client.tsx`: `<HydratedRouter unstable_instrumentations={[...]} />`
@@ -301,7 +297,6 @@
301297
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
302298

303299
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
304-
305300
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
306301
- [`createContext`](https://reactrouter.com/api/utils/createContext)
307302
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -328,7 +323,7 @@
328323

329324
- \[UNSTABLE] Add `<RouterProvider unstable_onError>`/`<HydratedRouter unstable_onError>` prop for client side error reporting ([#14162](https://github.com/remix-run/react-router/pull/14162))
330325

331-
- server action revalidation opt out via $SKIP\_REVALIDATION field ([#14154](https://github.com/remix-run/react-router/pull/14154))
326+
- server action revalidation opt out via $SKIP_REVALIDATION field ([#14154](https://github.com/remix-run/react-router/pull/14154))
332327

333328
- Properly escape interpolated param values in `generatePath()` ([#13530](https://github.com/remix-run/react-router/pull/13530))
334329

@@ -377,7 +372,6 @@
377372
- Remove dependency on `@types/node` in TypeScript declaration files ([#14059](https://github.com/remix-run/react-router/pull/14059))
378373

379374
- Fix types for `UIMatch` to reflect that the `loaderData`/`data` properties may be `undefined` ([#12206](https://github.com/remix-run/react-router/pull/12206))
380-
381375
- When an `ErrorBoundary` is being rendered, not all active matches will have loader data available, since it may have been their `loader` that threw to trigger the boundary
382376
- The `UIMatch.data` type was not correctly handing this and would always reflect the presence of data, leading to the unexpected runtime errors when an `ErrorBoundary` was rendered
383377
- ⚠️ This may cause some type errors to show up in your code for unguarded `match.data` accesses - you should properly guard for `undefined` values in those scenarios.
@@ -411,7 +405,6 @@
411405
- \[UNSTABLE] When middleware is enabled, make the `context` parameter read-only (via `Readonly<unstable_RouterContextProvider>`) so that TypeScript will not allow you to write arbitrary fields to it in loaders, actions, or middleware. ([#14097](https://github.com/remix-run/react-router/pull/14097))
412406

413407
- \[UNSTABLE] Rename and alter the signature/functionality of the `unstable_respond` API in `staticHandler.query`/`staticHandler.queryRoute` ([#14103](https://github.com/remix-run/react-router/pull/14103))
414-
415408
- The API has been renamed to `unstable_generateMiddlewareResponse` for clarity
416409
- The main functional change is that instead of running the loaders/actions before calling `unstable_respond` and handing you the result, we now pass a `query`/`queryRoute` function as a parameter and you execute the loaders/actions inside your callback, giving you full access to pre-processing and error handling
417410
- The `query` version of the API now has a signature of `(query: (r: Request) => Promise<StaticHandlerContext | Response>) => Promise<Response>`
@@ -1057,7 +1050,6 @@
10571050
```
10581051

10591052
Similar to server-side requests, a fresh `context` will be created per navigation (or `fetcher` call). If you have initial data you'd like to populate in the context for every request, you can provide an `unstable_getContext` function at the root of your app:
1060-
10611053
- Library mode - `createBrowserRouter(routes, { unstable_getContext })`
10621054
- Framework mode - `<HydratedRouter unstable_getContext>`
10631055

@@ -1245,7 +1237,6 @@ _No changes_
12451237
- Remove `future.v7_normalizeFormMethod` future flag ([#11697](https://github.com/remix-run/react-router/pull/11697))
12461238

12471239
- For Remix consumers migrating to React Router, the `crypto` global from the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) is now required when using cookie and session APIs. This means that the following APIs are provided from `react-router` rather than platform-specific packages: ([#11837](https://github.com/remix-run/react-router/pull/11837))
1248-
12491240
- `createCookie`
12501241
- `createCookieSessionStorage`
12511242
- `createMemorySessionStorage`
@@ -1254,7 +1245,6 @@ _No changes_
12541245
For consumers running older versions of Node, the `installGlobals` function from `@remix-run/node` has been updated to define `globalThis.crypto`, using [Node's `require('node:crypto').webcrypto` implementation.](https://nodejs.org/api/webcrypto.html)
12551246

12561247
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
1257-
12581248
- `createCookieFactory`
12591249
- `createSessionStorageFactory`
12601250
- `createCookieSessionStorageFactory`
@@ -1410,7 +1400,6 @@ _No changes_
14101400
```
14111401

14121402
This initial implementation targets type inference for:
1413-
14141403
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
14151404
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
14161405
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1425,7 +1414,6 @@ _No changes_
14251414
```
14261415

14271416
Check out our docs for more:
1428-
14291417
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
14301418
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
14311419

0 commit comments

Comments
 (0)