-
Added deprecation warning for
v2_normalizeFormMethod
(#5863) -
Added a new
future.v2_normalizeFormMethod
flag to normalize the exposeduseNavigation().formMethod
as an uppercase HTTP method to align with the previoususeTransition
behavior as well as thefetch()
behavior of normalizing to uppercase HTTP methods. (#5815)- When
future.v2_normalizeFormMethod === false
,useNavigation().formMethod
is lowercaseuseFetcher().formMethod
is uppercase
- When
future.v2_normalizeFormMethod === true
:useNavigation().formMethod
is uppercaseuseFetcher().formMethod
is uppercase
- When
-
Added deprecation warning for
browserBuildDirectory
inremix.config
(#5702) -
Added deprecation warning for
CatchBoundary
in favor offuture.v2_errorBoundary
(#5718) -
Added experimental support for Vanilla Extract caching, which can be enabled by setting
future.unstable_vanillaExtract: { cache: true }
inremix.config
. This is considered experimental due to the use of a brand new Vanilla Extract compiler under the hood. In order to use this feature, you must be using at leastv1.10.0
of@vanilla-extract/css
. (#5735) -
Added deprecation warning for
serverBuildDirectory
inremix.config
(#5704)
- Fixed issue to ensure changes to CSS inserted via
@remix-run/css-bundle
are picked up during HMR (#5823) - We now use
path.resolve
when re-exportingentry.client
(#5707) - Added support for
.mjs
and.cjs
extensions when detecting CSS side-effect imports (#5564) - Fixed resolution issues for pnpm users installing
react-refresh
(#5637) - Added deprecation warning for
future.v2_meta
(#5878) - Added optional entry file support for React 17 (#5681)
- Updated dependencies:
@remix-run/server-runtime@1.15.0
- dev server is resilient to build failures (#5795)
- Updated dependencies:
@remix-run/server-runtime@1.14.3
- remove premature deprecation warnings (#5790)
- Updated dependencies:
@remix-run/server-runtime@1.14.2
- Add types for importing
*.ico
files (#5430) - Allow
moduleResolution: "bundler"
in tsconfig.json (#5576) - Fix issue with x-route imports creating multiple entries in the module graph (#5721)
- Add
serverBuildTarget
deprecation warning (#5624) - Updated dependencies:
@remix-run/server-runtime@1.14.1
- Hot Module Replacement and Hot Data Revalidation (#5259)
- Requires
unstable_dev
future flag to be enabled - HMR provided through React Refresh
- Features:
- HMR for component and style changes
- HDR when loaders for current route change
- Known limitations for MVP:
- Only implemented for React via React Refresh
- No
import.meta.hot
API exposed yet - Revalidates all loaders on route when loader changes are detected
- Loader changes do not account for imported dependencies changing
- Requires
- Make
entry.client
andentry.server
files optional (#4600)- we'll use a bundled version of each unless you provide your own
-
Fixes flat route inconsistencies where
route.{ext}
wasn't always being treated likeindex.{ext}
when used in a folder (#5459)-
Route conflict no longer throw errors and instead display a helpful warning that we're using the first one we found.
⚠️ Route Path Collision: "/dashboard" The following routes all define the same URL, only the first one will be used 🟢️️ routes/dashboard/route.tsx ⭕️️ routes/dashboard.tsx
⚠️ Route Path Collision: "/" The following routes all define the same URL, only the first one will be used 🟢️️ routes/_landing._index.tsx ⭕️️ routes/_dashboard._index.tsx ⭕️ routes/_index.tsx
-
-
Log errors thrown during initial build in development. (#5441)
-
Sync
FutureConfig
interface between packages (#5398) -
Add file loader for importing
.csv
files (#3920) -
Updated dependencies:
@remix-run/server-runtime@1.14.0
- We are deprecating
serverBuildTarget
inremix.config
. See the release notes for v1.13.0 for more information. (#5354) - Add built-in support for PostCSS via the
future.unstable_postcss
feature flag (#5229) - Add built-in support for Tailwind via the
future.unstable_tailwind
feature flag (#5229)
- Mark Vanilla Extract files as side effects to ensure that files only containing global styles aren't tree-shaken (#5246)
- Support decorators in files using CSS side-effect imports (#5305)
- We made several Flat route fixes and enhancements. See the release notes for v1.13.0 for more information. (#5228)
- Updated dependencies:
@remix-run/server-runtime@1.13.0
- Added a new development server available in the Remix config under the
unstable_dev
flag. See the release notes for a full description. (#5133)
- Fixed issues with
v2_routeConvention
on Windows so that new and renamed files are properly included (#5266) - Server build should not be removed in
remix watch
andremix dev
(#5228) - The dev server will now clean up build directories whenever a rebuild starts (#5223)
- Updated dependencies:
@remix-run/server-runtime@1.12.0
- Fixed a bug with
v2_routeConvention
that preventedindex
modules from being recognized for route paths (195291a3d
) - Updated dependencies:
@remix-run/server-runtime@1.11.1
- Specify file loader for
.fbx
,.glb
,.gltf
,.hdr
, and.mov
files (#5030) - Added support for Vanilla Extract via the
unstable_vanillaExtract
future flag. IMPORTANT: Features marked withunstable
are … unstable. While we're confident in the use cases they solve, the API and implementation may change without a major version bump. (#5040) - Add support for CSS side-effect imports via the
unstable_cssSideEffectImports
future flag. IMPORTANT: Features marked withunstable
are … unstable. While we're confident in the use cases they solve, the API and implementation may change without a major version bump. (#4919) - Add support for CSS Modules via the
unstable_cssModules
future flag. IMPORTANT: Features marked withunstable
are … unstable. While we're confident in the use cases they solve, the API and implementation may change without a major version bump. (#4852)
- Add new "flat" routing conventions. This convention will be the default in v2 but is available now under the
v2_routeConvention
future flag. (#4880) - Added support for
handle
in MDX frontmatter (#4865) - Updated dependencies:
@remix-run/server-runtime@1.11.0
- Update babel config to transpile down to node 14 (#5047)
- Updated dependencies:
@remix-run/server-runtime@1.10.1
- Fixed several issues with TypeScript to JavaScript conversion when running
create-remix
(#4891) - Resolve asset entry full path to support monorepo import of styles (#4855)
- Updated dependencies:
@remix-run/server-runtime@1.10.0
- Allow defining multiple routes for the same route module file (#3970)
- Added support and conventions for optional route segments (#4706)
- The Remix compiler now supports new Typescript 4.9 syntax (like the
satisfies
keyword) (#4754) - Optimize
parentRouteId
lookup indefineConventionalRoutes
. (#4800) - Fixed a bug in
.ts
->.js
conversion on Windows by using a relative unix-style path (#4718) - Updated dependencies:
@remix-run/server-runtime@1.9.0
- Updated dependencies:
@remix-run/server-runtime@1.8.2
@remix-run/serve@1.8.2
- Added a missing type definition for the Remix config
future
option to the@remix-run/dev/server-build
virtual module (#4771) - Updated dependencies:
@remix-run/serve@1.8.1
@remix-run/server-runtime@1.8.1
- Added support for a new route
meta
API to handle arrays of tags instead of an object. For details, check out the RFC. (#4610)
- Importing functions and types from the
remix
package is deprecated, and all exported modules will be removed in the next major release. For more details,see the release notes for 1.4.0 where these changes were first announced. (#4661) - Updated dependencies:
@remix-run/server-runtime@1.8.0
@remix-run/serve@1.8.0
- Updated dependencies:
@remix-run/serve@1.7.6
@remix-run/server-runtime@1.7.6
- Updated dependencies:
@remix-run/serve@1.7.6-pre.0
@remix-run/server-runtime@1.7.6-pre.0
- Updated dependencies:
@remix-run/serve@1.7.5
@remix-run/server-runtime@1.7.5
- Updated dependencies:
@remix-run/server-runtime@1.7.4
@remix-run/serve@1.7.4
- Update
create-remix
to use the new examples repository when using--template example/<name>
(#4208) - Add support for setting
moduleResolution
tonode
,node16
ornodenext
intsconfig.json
. (#4034) - Add resources imported only by resource routes to
assetsBuildDirectory
(#3841) - Ensure that any assets referenced in CSS files are hashed and copied to the
assetsBuildDirectory
. (#4130) - Updated dependencies:
@remix-run/serve@1.7.3
@remix-run/server-runtime@1.7.3
- Updated dependencies:
@remix-run/server-runtime@1.7.2
@remix-run/serve@1.7.2
- Updated dependencies:
@remix-run/server-runtime@1.7.1
@remix-run/serve@1.7.1
- Added support for importing
.gql
and.graphql
files as plain text (#3923) - Added support for importing
.zip
and.avif
files as resource URLs (#3985)
- Removed our compiler's React shim in favor of esbuild's new automatic JSX transform (#3860)
- Updated dependencies:
@remix-run/server-runtime@1.7.0
@remix-run/serve@1.7.0
- Added support for
.mjs
and.cjs
file extensions forremix.config
(#3675) - Added support for importing
.sql
files as text content (#3190) - Updated the compiler to make MDX builds deterministic (and a little faster!) (#3966)
- Updated dependencies:
@remix-run/server-runtime@1.6.8
@remix-run/serve@1.6.8
- Remove logical nullish assignment, which is incompatible with Node v14. (#3880)
- Don't show ESM warnings when consumed via dynamic import. (#3872)
- Updated dependencies:
@remix-run/serve@1.6.7
@remix-run/server-runtime@1.6.7
- Write server build output files so that only assets imported from resource routes are written to disk (#3817)
- Add support for exporting links in
.mdx
files (#3801) - Ensure that build hashing is deterministic (#2027)
- Fix types for
@remix-run/dev/server-build
virtual module (#3743) - Updated dependencies:
@remix-run/serve@1.6.6
@remix-run/server-runtime@1.6.6