Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update version for release (pre) #12184

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-next, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

release-next is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on release-next.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

react-router@7.0.0-pre.2

Major Changes

  • Migrate Remix type generics to React Router (#12180)

    • These generics are provided for Remix v2 migration purposes
    • These generics and the APIs they exist on should be considered informally deprecated in favor of the new Route.* types
    • Anyone migrating from React Router v6 should probably not leverage these new generics and should migrate straight to the Route.* types
    • For React Router v6 users, these generics are new and should not impact your app, with one exception
      • useFetcher previously had an optional generic (used primarily by Remix v2) that expected the data type
      • This has been updated in v7 to expect the type of the function that generates the data (i.e., typeof loader/typeof action)
      • Therefore, you should update your usages:
        • useFetcher<LoaderData>()
        • useFetcher<typeof loader>()
    • Consolidate types previously duplicated across @remix-run/router, @remix-run/server-runtime, and @remix-run/react now that they all live in react-router (#12177)
      • Examples: LoaderFunction, LoaderFunctionArgs, ActionFunction, ActionFunctionArgs, DataFunctionArgs, RouteManifest, LinksFunction, Route, EntryRoute
      • The RouteManifest type used by the "remix" code is now slightly stricter because it is using the former @remix-run/router RouteManifest
        • Record<string, Route> -> Record<string, Route | undefined>
      • Removed AppData type in favor of inlining unknown in the few locations it was used
      • Removed ServerRuntimeMeta* types in favor of the Meta* types they were duplicated from
  • Drop support for Node 18, update minimum Node vestion to 20 (#12171)

    • Remove installGlobals() as this should no longer be necessary
  • Update cookie dependency to ^1.0.1 - please see the release notes for any breaking changes (#12172)

Patch Changes

  • Replace substr with substring (#12080)

  • Remove the deprecated json utility (#12146)

    • You can use Response.json if you still need to construct JSON responses in your app
  • Updated dependencies:

    • react-router@7.0.0-pre.2

@react-router/dev@7.0.0-pre.2

Major Changes

    • Consolidate types previously duplicated across @remix-run/router, @remix-run/server-runtime, and @remix-run/react now that they all live in react-router (#12177)
      • Examples: LoaderFunction, LoaderFunctionArgs, ActionFunction, ActionFunctionArgs, DataFunctionArgs, RouteManifest, LinksFunction, Route, EntryRoute
      • The RouteManifest type used by the "remix" code is now slightly stricter because it is using the former @remix-run/router RouteManifest
        • Record<string, Route> -> Record<string, Route | undefined>
      • Removed AppData type in favor of inlining unknown in the few locations it was used
      • Removed ServerRuntimeMeta* types in favor of the Meta* types they were duplicated from
  • Drop support for Node 18, update minimum Node vestion to 20 (#12171)

    • Remove installGlobals() as this should no longer be necessary

Patch Changes

  • Updated dependencies:
    • react-router@7.0.0-pre.2
    • @react-router/node@7.0.0-pre.2
    • @react-router/serve@7.0.0-pre.2

@react-router/express@7.0.0-pre.2

Major Changes

  • Drop support for Node 18, update minimum Node vestion to 20 (#12171)

    • Remove installGlobals() as this should no longer be necessary

Patch Changes

  • Updated dependencies:
    • react-router@7.0.0-pre.2
    • @react-router/node@7.0.0-pre.2

@react-router/node@7.0.0-pre.2

Major Changes

  • Drop support for Node 18, update minimum Node vestion to 20 (#12171)

    • Remove installGlobals() as this should no longer be necessary

Patch Changes

  • Updated dependencies:
    • react-router@7.0.0-pre.2

@react-router/architect@7.0.0-pre.2

Patch Changes

  • Updated dependencies:
    • react-router@7.0.0-pre.2
    • @react-router/node@7.0.0-pre.2

@react-router/cloudflare@7.0.0-pre.2

Patch Changes

  • Updated dependencies:
    • react-router@7.0.0-pre.2

react-router-dom@7.0.0-pre.2

Patch Changes

  • Updated dependencies:
    • react-router@7.0.0-pre.2

@react-router/fs-routes@7.0.0-pre.2

Patch Changes

  • Updated dependencies:
    • @react-router/dev@7.0.0-pre.2

@react-router/remix-config-routes-adapter@7.0.0-pre.2

Patch Changes

  • Updated dependencies:
    • @react-router/dev@7.0.0-pre.2

@react-router/serve@7.0.0-pre.2

Patch Changes

  • Updated dependencies:
    • react-router@7.0.0-pre.2
    • @react-router/express@7.0.0-pre.2
    • @react-router/node@7.0.0-pre.2

@brophdawg11 brophdawg11 merged commit 18dc8b8 into release-next Oct 23, 2024
8 checks passed
@brophdawg11 brophdawg11 deleted the changeset-release/release-next branch October 23, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant