Changeset 0c6b92a for imaps-frontend/node_modules/react-router/CHANGELOG.md
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/react-router/CHANGELOG.md
rd565449 r0c6b92a 1 1 # `react-router` 2 3 ## 6.28.0 4 5 ### Minor Changes 6 7 - - Log deprecation warnings for v7 flags ([#11750](https://github.com/remix-run/react-router/pull/11750)) 8 - Add deprecation warnings to `json`/`defer` in favor of returning raw objects 9 - These methods will be removed in React Router v7 10 11 ### Patch Changes 12 13 - Update JSDoc URLs for new website structure (add /v6/ segment) ([#12141](https://github.com/remix-run/react-router/pull/12141)) 14 - Updated dependencies: 15 - `@remix-run/router@1.21.0` 16 17 ## 6.27.0 18 19 ### Minor Changes 20 21 - Stabilize `unstable_patchRoutesOnNavigation` ([#11973](https://github.com/remix-run/react-router/pull/11973)) 22 - Add new `PatchRoutesOnNavigationFunctionArgs` type for convenience ([#11967](https://github.com/remix-run/react-router/pull/11967)) 23 - Stabilize `unstable_dataStrategy` ([#11974](https://github.com/remix-run/react-router/pull/11974)) 24 - Stabilize the `unstable_flushSync` option for navigations and fetchers ([#11989](https://github.com/remix-run/react-router/pull/11989)) 25 - Stabilize the `unstable_viewTransition` option for navigations and the corresponding `unstable_useViewTransitionState` hook ([#11989](https://github.com/remix-run/react-router/pull/11989)) 26 27 ### Patch Changes 28 29 - Fix bug when submitting to the current contextual route (parent route with an index child) when an `?index` param already exists from a prior submission ([#12003](https://github.com/remix-run/react-router/pull/12003)) 30 31 - Fix `useFormAction` bug - when removing `?index` param it would not keep other non-Remix `index` params ([#12003](https://github.com/remix-run/react-router/pull/12003)) 32 33 - Fix types for `RouteObject` within `PatchRoutesOnNavigationFunction`'s `patch` method so it doesn't expect agnostic route objects passed to `patch` ([#11967](https://github.com/remix-run/react-router/pull/11967)) 34 35 - Updated dependencies: 36 - `@remix-run/router@1.20.0` 37 38 ## 6.26.2 39 40 ### Patch Changes 41 42 - Updated dependencies: 43 - `@remix-run/router@1.19.2` 44 45 ## 6.26.1 46 47 ### Patch Changes 48 49 - Rename `unstable_patchRoutesOnMiss` to `unstable_patchRoutesOnNavigation` to match new behavior ([#11888](https://github.com/remix-run/react-router/pull/11888)) 50 - Updated dependencies: 51 - `@remix-run/router@1.19.1` 2 52 3 53 ## 6.26.0 … … 47 97 - Add support for Lazy Route Discovery (a.k.a. Fog of War) ([#11626](https://github.com/remix-run/react-router/pull/11626)) 48 98 - RFC: <https://github.com/remix-run/react-router/discussions/11113> 49 - `unstable_patchRoutesOnMiss` docs: <https://reactrouter.com/ en/main/routers/create-browser-router>99 - `unstable_patchRoutesOnMiss` docs: <https://reactrouter.com/v6/routers/create-browser-router> 50 100 51 101 ### Patch Changes … … 293 343 294 344 - Add `unstable_flushSync` option to `useNavigate`/`useSumbit`/`fetcher.load`/`fetcher.submit` to opt-out of `React.startTransition` and into `ReactDOM.flushSync` for state updates ([#11005](https://github.com/remix-run/react-router/pull/11005)) 295 - Remove the `unstable_` prefix from the [`useBlocker`](https://reactrouter.com/ en/main/hooks/use-blocker) hook as it's been in use for enough time that we are confident in the API. We do not plan to remove the prefix from `unstable_usePrompt` due to differences in how browsers handle `window.confirm` that prevent React Router from guaranteeing consistent/correct behavior. ([#10991](https://github.com/remix-run/react-router/pull/10991))345 - Remove the `unstable_` prefix from the [`useBlocker`](https://reactrouter.com/v6/hooks/use-blocker) hook as it's been in use for enough time that we are confident in the API. We do not plan to remove the prefix from `unstable_usePrompt` due to differences in how browsers handle `window.confirm` that prevent React Router from guaranteeing consistent/correct behavior. ([#10991](https://github.com/remix-run/react-router/pull/10991)) 296 346 297 347 ### Patch Changes … … 383 433 ### Minor Changes 384 434 385 - Move [`React.startTransition`](https://react.dev/reference/react/startTransition) usage behind a [future flag](https://reactrouter.com/ en/main/guides/api-development-strategy) to avoid issues with existing incompatible `Suspense` usages. We recommend folks adopting this flag to be better compatible with React concurrent mode, but if you run into issues you can continue without the use of `startTransition` until v7. Issues usually boils down to creating net-new promises during the render cycle, so if you run into issues you should either lift your promise creation out of the render cycle or put it behind a `useMemo`. ([#10596](https://github.com/remix-run/react-router/pull/10596))435 - Move [`React.startTransition`](https://react.dev/reference/react/startTransition) usage behind a [future flag](https://reactrouter.com/v6/guides/api-development-strategy) to avoid issues with existing incompatible `Suspense` usages. We recommend folks adopting this flag to be better compatible with React concurrent mode, but if you run into issues you can continue without the use of `startTransition` until v7. Issues usually boils down to creating net-new promises during the render cycle, so if you run into issues you should either lift your promise creation out of the render cycle or put it behind a `useMemo`. ([#10596](https://github.com/remix-run/react-router/pull/10596)) 386 436 387 437 Existing behavior will no longer include `React.startTransition`: … … 466 516 ### Minor Changes 467 517 468 - Added support for [**Future Flags**](https://reactrouter.com/ en/main/guides/api-development-strategy) in React Router. The first flag being introduced is `future.v7_normalizeFormMethod` which will normalize the exposed `useNavigation()/useFetcher()` `formMethod` fields as uppercase HTTP methods to align with the `fetch()` behavior. ([#10207](https://github.com/remix-run/react-router/pull/10207))518 - Added support for [**Future Flags**](https://reactrouter.com/v6/guides/api-development-strategy) in React Router. The first flag being introduced is `future.v7_normalizeFormMethod` which will normalize the exposed `useNavigation()/useFetcher()` `formMethod` fields as uppercase HTTP methods to align with the `fetch()` behavior. ([#10207](https://github.com/remix-run/react-router/pull/10207)) 469 519 470 520 - When `future.v7_normalizeFormMethod === false` (default v6 behavior), … … 743 793 ## 6.4.0 744 794 745 Whoa this is a big one! `6.4.0` brings all the data loading and mutation APIs over from Remix. Here's a quick high level overview, but it's recommended you go check out the [docs](https://reactrouter.com), especially the [feature overview](https://reactrouter.com/ start/overview) and the [tutorial](https://reactrouter.com/start/tutorial).795 Whoa this is a big one! `6.4.0` brings all the data loading and mutation APIs over from Remix. Here's a quick high level overview, but it's recommended you go check out the [docs](https://reactrouter.com), especially the [feature overview](https://reactrouter.com/en/6.4.0/start/overview) and the [tutorial](https://reactrouter.com/en/6.4.0/start/tutorial). 746 796 747 797 **New APIs**
Note:
See TracChangeset
for help on using the changeset viewer.