-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Remove v2_normalizeFormMethod #5905
Conversation
🦋 Changeset detectedLatest commit: fe3b775 The changes in this PR will be included in the next version bump. This PR includes changesets to release 18 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
| `v2_normalizeFormMethod` | Normalize `useNavigation().formMethod` to be an uppercase HTTP Method | | ||
| `v2_routeConvention` | Enable the flat routes style of file-based routing | | ||
|
||
We're in the process of preparing for our v2 release, so all `future.unstable_` flags are being stabilized into `future.v2_` flags (except for those which are not breaking changes, like PostCSS/Tailwind/Vanilla Extract support). This includes adding deprecation warnings for apps still using the old way. Once we stabilize them all we'll do a final Remix 1.15.0 release and let that run for a bit to give folks time to opt into any flags they haven't yet added. Then we'll plan to release Remix 2.0.0 and start working on releasing flag-driven Remix v3 features. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed all v2 flags from this branch since they're all gone now as well as this paragraph about 1.15.0/v2
@@ -1049,97 +1039,6 @@ export function useActionData<T = AppData>(): SerializeFrom<T> | undefined { | |||
return useActionDataRR() as SerializeFrom<T> | undefined; | |||
} | |||
|
|||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bye bye back-compat layer 👋
@@ -21,6 +23,8 @@ export { | |||
useAsyncValue, | |||
isRouteErrorResponse, | |||
useBeforeUnload, | |||
useFetcher, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have generic typings over in RR now on useFetcher?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Michaël De Boey <[email protected]>
Remove the
v2_normalizeFormMethod
flag for v2