@@ -31,12 +31,10 @@ We manage release notes in this file instead of the paginated Github Releases Pa
31
31
- [ Minor Changes] ( #minor-changes )
32
32
- [ Patch Changes] ( #patch-changes )
33
33
- [ Changes by Package] ( #changes-by-package )
34
- - [ ** Full Changelog** : ` v6.28.0...v7.0.0 ` ] ( #full-changelog-v6280v700 )
35
34
- [ v6.28.0] ( #v6280 )
36
35
- [ What's Changed] ( #whats-changed )
37
36
- [ Minor Changes] ( #minor-changes-1 )
38
37
- [ Patch Changes] ( #patch-changes-1 )
39
- - [ \<\<\<\<\<\<\< HEAD] ( #-head )
40
38
- [ v6.27.0] ( #v6270 )
41
39
- [ What's Changed] ( #whats-changed-1 )
42
40
- [ Stabilized APIs] ( #stabilized-apis )
@@ -248,6 +246,57 @@ Date: YYYY-MM-DD
248
246
**Full Changelog**: [`v7.X.Y...v7.X.Y`](https://github.com/remix-run/react-router/compare/[email protected] @7.X.Y)
249
247
-->
250
248
249
+ ## v7.0.2
250
+
251
+ Date: 2024-12-02
252
+
253
+ ### Patch Changes
254
+
255
+ - Temporarily only use one build in export map so packages can have a peer dependency on react router ([ #12437 ] ( https://github.com/remix-run/react-router/pull/12437 ) )
256
+ - Support ` moduleResolution ` ` Node16 ` and ` NodeNext ` ([ #12440 ] ( https://github.com/remix-run/react-router/pull/12440 ) )
257
+ - Generate wide ` matches ` and ` params ` types for child routes ([ #12397 ] ( https://github.com/remix-run/react-router/pull/12397 ) )
258
+
259
+ At runtime, ` matches ` includes child route matches and ` params ` include child route path parameters.
260
+ But previously, we only generated types for parent routes and the current route in ` matches ` and ` params ` .
261
+ To align our generated types more closely to the runtime behavior, we now generate more permissive, wider types when accessing child route information.
262
+
263
+ ### Changes by Package
264
+
265
+ - [ ` react-router ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.2/packages/react-router/CHANGELOG.md#702 )
266
+ - [ ` @react-router/architect ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.2/packages/react-router-architect/CHANGELOG.md#702 )
267
+ - [ ` @react-router/cloudflare ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.2/packages/react-router-cloudflare/CHANGELOG.md#702 )
268
+ - [ ` @react-router/dev ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.2/packages/react-router-dev/CHANGELOG.md#702 )
269
+ - [ ` @react-router/express ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.2/packages/react-router-express/CHANGELOG.md#702 )
270
+ - [ ` @react-router/fs-routes ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.2/packages/react-router-fs-routes/CHANGELOG.md#702 )
271
+ - [ ` @react-router/node ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.2/packages/react-router-node/CHANGELOG.md#702 )
272
+ - [ ` @react-router/remix-config-routes-adapter ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.2/packages/react-router-remix-config-routes-adapter/CHANGELOG.md#702 )
273
+ - [ ` @react-router/serve ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.2/packages/react-router-serve/CHANGELOG.md#702 )
274
+
275
+ ** Full Changelog
** :
[ ` v7.0.1...v7.0.2 ` ] ( https://github.com/remix-run/react-router/compare/[email protected] @7.0.2 )
276
+
277
+ ## v7.0.1
278
+
279
+ Date: 2024-12-02
280
+
281
+ ### Patch Changes
282
+
283
+ - Ensure typegen file watcher is cleaned up when Vite dev server restarts ([ #12331 ] ( https://github.com/remix-run/react-router/pull/12331 ) )
284
+ - Pass route error to ErrorBoundary as a prop ([ #12338 ] ( https://github.com/remix-run/react-router/pull/12338 ) )
285
+
286
+ ### Changes by Package
287
+
288
+ - [ ` react-router ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.1/packages/react-router/CHANGELOG.md#701 )
289
+ - [ ` @react-router/architect ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.1/packages/react-router-architect/CHANGELOG.md#701 )
290
+ - [ ` @react-router/cloudflare ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.1/packages/react-router-cloudflare/CHANGELOG.md#701 )
291
+ - [ ` @react-router/dev ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.1/packages/react-router-dev/CHANGELOG.md#701 )
292
+ - [ ` @react-router/express ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.1/packages/react-router-express/CHANGELOG.md#701 )
293
+ - [ ` @react-router/fs-routes ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.1/packages/react-router-fs-routes/CHANGELOG.md#701 )
294
+ - [ ` @react-router/node ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.1/packages/react-router-node/CHANGELOG.md#701 )
295
+ - [ ` @react-router/remix-config-routes-adapter ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.1/packages/react-router-remix-config-routes-adapter/CHANGELOG.md#701 )
296
+ - [ ` @react-router/serve ` ] ( https://github.com/remix-run/react-router/blob/react-router%407.0.1/packages/react-router-serve/CHANGELOG.md#701 )
297
+
298
+ ** Full Changelog
** :
[ ` v7.0.0...v7.0.1 ` ] ( https://github.com/remix-run/react-router/compare/[email protected] @7.0.1 )
299
+
251
300
## v7.0.0
252
301
253
302
Date: 2024-11-21
0 commit comments