Remix V2 Updates
Acen opened this issue · comments
Remix v2 is coming.
Notes during a build provided by compiler:
Watching Remix app in development mode...
serverBuildTarget
config option will be removed in v2. Use a combination of server module config values to achieve the same build output. For instructions on making this change see https://remix.run/docs/en/v1.15.0/pages/v2#serverbuildtarget
CatchBoundary
and ErrorBoundary
are changing in v2. You can prepare for this change at your convenience with the v2_errorBoundary
future flag. For instructions on making this change see https://remix.run/docs/en/v1.15.0/pages/v2#catchboundary-and-errorboundary
formMethod
will be changing in v2. All values will be uppercase (GET, POST, etc.) instead of lowercase (get, post, etc.) You can prepare for this change at your convenience with the v2_normalizeFormMethod
future flag. For instructions on making this change see https://remix.run/docs/en/v1.15.0/pages/v2#formMethod
meta
export signature is changing in v2. You can prepare for this change at your convenience with the v2_meta
future flag. For instructions on making this change see https://remix.run/docs/en/v1.15.0/pages/v2#meta
headers
export behavior is changing in v2. You can prepare for this change at your convenience with the v2_headers
future flag. For instructions on making this change see https://remix.run/docs/en/v1.17.0/pages/v2#route-headers
serverModuleFormat
config default option will be changing in v2 from cjs
to esm
. You can prepare for this change by explicitly specifying serverModuleFormat: 'cjs'
. For instructions on making this change see https://remix.run/docs/en/v1.16.0/pages/v2#servermoduleformat
v2_routeConvention
future flag. For instructions on making this change see https://remix.run/docs/en/v1.15.0/pages/v2#file-system-route-convention
✨ Compiled Worker successfully
Have superseeded this ticket with individual tickets around each change.
See remix v2 milestone for specific list.