Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

build(deps): bump react-router from 5.3.1 to 6.14.2#122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dependabot wants to merge1 commit intomaster
base:master
Choose a base branch
Loading
fromdependabot/npm_and_yarn/react-router-6.14.2

Conversation

@dependabot
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubJul 21, 2023

Bumpsreact-router from 5.3.1 to 6.14.2.

Release notes

Sourced fromreact-router's releases.

v6.14.2

Patch Changes

  • Add missing<Form state> prop to populatehistory.state on submission navigations (#10630)
  • Trigger an error if adefer promise resolves/rejects withundefined in order to match the behavior of loaders and actions which must return a value ornull (#10690)
  • Properly handle fetcher redirects interrupted by normal navigations (#10674)
  • Initial-load fetchers should not automatically revalidate on GET navigations (#10688)
  • Properly decode element id when emulating hash scrolling via<ScrollRestoration> (#10682)
  • Typescript: Enhance the return type ofRoute.lazy to prohibit returning an empty object (#10634)
  • SSR: Support proper hydration ofError subclasses such asReferenceError/TypeError (#10633)

Full Changelog:https://github.com/remix-run/react-router/compare/react-router@6.14.1...react-router@6.14.2

v6.14.1

Patch Changes

  • Fix loop inunstable_useBlocker when used with an unstable blocker function (#10652)
  • Fix issues with reused blockers on subsequent navigations (#10656)
  • Updated dependencies:
    • @remix-run/router@1.7.1

Full Changelog:https://github.com/remix-run/react-router/compare/react-router@6.14.0...react-router@6.14.1

v6.14.0

What's Changed

JSON/Text Submissions

6.14.0 adds support for JSON and Text submissions viauseSubmit/fetcher.submit since it's not always convenient to have to serialize intoFormData if you're working in a client-side SPA. To opt-into these encodings you just need to specify the properformEncType:

Opt-intoapplication/json encoding:

functionComponent(){letnavigation=useNavigation();letsubmit=useSubmit();submit({key:"value"},{method:"post",encType:"application/json"});// navigation.formEncType => "application/json"// navigation.json        => { key: "value" }}asyncfunctionaction({ request}){// request.headers.get("Content-Type") => "application/json"// await request.json()                => { key: "value" }}

Opt-intotext/plain encoding:

... (truncated)

Changelog

Sourced fromreact-router's changelog.

6.14.2

Patch Changes

  • Updated dependencies:
    • @remix-run/router@1.7.2

6.14.1

Patch Changes

  • Fix loop inunstable_useBlocker when used with an unstable blocker function (#10652)
  • Fix issues with reused blockers on subsequent navigations (#10656)
  • Updated dependencies:
    • @remix-run/router@1.7.1

6.14.0

Patch Changes

  • Stripbasename from locations provided tounstable_useBlocker functions to matchuseLocation (#10573)
  • FixgeneratePath when passed a numeric0 value parameter (#10612)
  • Fixunstable_useBlocker key issues inStrictMode (#10573)
  • Fixtsc --skipLibCheck:false issues on React 17 (#10622)
  • Upgradetypescript to 5.1 (#10581)
  • Updated dependencies:
    • @remix-run/router@1.7.0

6.13.0

Minor Changes

  • MoveReact.startTransition usage behind afuture flag to avoid issues with existing incompatibleSuspense 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 ofstartTransition 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 auseMemo. (#10596)

    Existing behavior will no longer includeReact.startTransition:

    <BrowserRouter><Routes>{/*...*/}</Routes></BrowserRouter><RouterProviderrouter={router}/>

    If you wish to enableReact.startTransition, pass the future flag to your component:

    <BrowserRouterfuture={{v7_startTransition:true}}><Routes>{/*...*/}</Routes></BrowserRouter>

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting@dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 5.3.1 to 6.14.2.- [Release notes](https://github.com/remix-run/react-router/releases)- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md)- [Commits](https://github.com/remix-run/react-router/commits/react-router@6.14.2/packages/react-router)---updated-dependencies:- dependency-name: react-router  dependency-type: direct:production  update-type: version-update:semver-major...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot added the dependenciesPull requests that update a dependency file labelJul 21, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant


[8]ページ先頭

©2009-2025 Movatter.jp