- Updated dependencies:
@remix-run/express@2.5.1@remix-run/node@2.5.1
- Don't try to load sourcemaps if they don't exist on disk (#8446)
- Updated dependencies:
@remix-run/node@2.5.0@remix-run/express@2.5.0
- Use node
fileURLToPathto convert source map URL to path (#8321) - Updated dependencies:
@remix-run/node@2.4.1@remix-run/express@2.4.1
- Fix source map loading when file has
?t=timestampsuffix (rebuilds) (#8174) - Updated dependencies:
@remix-run/node@2.4.0@remix-run/express@2.4.0
- Updated dependencies:
@remix-run/express@2.3.1@remix-run/node@2.3.1
- Updated dependencies:
@remix-run/express@2.3.0@remix-run/node@2.3.0
- Updated dependencies:
@remix-run/express@2.2.0@remix-run/node@2.2.0
- Updated dependencies:
@remix-run/express@2.1.0@remix-run/node@2.1.0
- Fix HMR for CJS projects using
remix-serveand manual mode (remix dev --manual) (#7487)- By explicitly busting the
requirecache,remix-servenow correctly re-imports new server changes in CJS - ESM projects were already working correctly and are not affected by this.
- By explicitly busting the
- Fix error caused by partially written server build (#7470)
- Previously, it was possible to trigger a reimport of the app server code before the new server build had completely been written. Reimporting the partially written server build caused issues related to
build.assetsbeing undefined and crashing when readingbuild.assets.version
- Previously, it was possible to trigger a reimport of the app server code before the new server build had completely been written. Reimporting the partially written server build caused issues related to
- Updated dependencies:
@remix-run/node@2.0.1@remix-run/express@2.0.1
-
remix-servenow picks an open port if 3000 is taken (#7278)- If
PORTenv var is set,remix-servewill use that port - Otherwise,
remix-servepicks an open port (3000 unless that is already taken)
- If
-
Integrate manual mode in
remix-serve(#7231) -
Remove undocumented
createAppNode API (#7229)remix-serveis a CLI, not a library
-
Require Node >=18.0.0 (#6939)
-
Promote the
future.v2_devflag inremix.config.jsto a root leveldevconfig (#7002) -
Default to
serverModuleFormat: "esm"and updateremix-serveto use dynamic import to support ESM and CJS build outputs (#6949) -
Preserve dynamic imports in
remix-servefor external bundle (#7173) -
For preparation of using Node's built in fetch implementation, installing the fetch globals is now a responsibility of the app server (#7009)
-
If you are using
remix-serve, nothing is required -
If you are using your own app server, you will need to install the globals yourself
import { installGlobals } from "@remix-run/node"; installGlobals();
-
-
source-map-supportis now a responsibility of the app server (#7009)-
If you are using
remix-serve, nothing is required -
If you are using your own app server, you will need to install
source-map-supportyourself.npm i source-map-support
import sourceMapSupport from "source-map-support"; sourceMapSupport.install();
-
- Update
remix-serveusage error message to support ESM projects (#7400) - Updated dependencies:
@remix-run/node@2.0.0@remix-run/express@2.0.0
- Updated dependencies:
@remix-run/express@1.19.3@remix-run/node@1.19.3
- Install
source-map-support(#7039) - Updated dependencies:
@remix-run/node@1.19.2@remix-run/express@1.19.2
- Updated dependencies:
@remix-run/express@1.19.1@remix-run/node@1.19.1
- Updated dependencies:
@remix-run/node@1.19.0@remix-run/express@1.19.0
- Updated dependencies:
@remix-run/node@1.18.1@remix-run/express@1.18.1
- stabilize v2 dev server (#6615)
- fix(types): better tuple serialization types (#6616)
- Updated dependencies:
@remix-run/node@1.18.0@remix-run/express@1.18.0
- Updated dependencies:
@remix-run/express@1.17.1@remix-run/node@1.17.1
-
Add
HeadersArgstype to be consistent with loaders/actions/meta and allows for using afunctiondeclaration in addition to an arrow function expression (#6247)import type { HeadersArgs } from "@remix-run/node"; // or cloudflare/deno export function headers({ loaderHeaders }: HeadersArgs) { return { "x-my-custom-thing": loaderHeaders.get("x-my-custom-thing") || "fallback", }; }
-
Updated dependencies:
@remix-run/node@1.17.0@remix-run/express@1.17.0
- Updated dependencies:
@remix-run/node@1.16.1@remix-run/express@1.16.1
- add
@remix-run/node/installside-effect to allownode --require @remix-run/node/install(#6132) - Updated dependencies:
@remix-run/express@1.16.0@remix-run/node@1.16.0
- Updated dependencies:
@remix-run/express@1.15.0
- Updated dependencies:
@remix-run/express@1.14.3
- Updated dependencies:
@remix-run/express@1.14.2
- Updated dependencies:
@remix-run/express@1.14.1
- Allow configurable
NODE_ENVwithremix-serve(#5540) - Sync
FutureConfiginterface between packages (#5398) - Updated dependencies:
@remix-run/express@1.14.0
- Updated dependencies:
@remix-run/express@1.13.0
- Added a new development server available in the Remix config under the
unstable_devflag. See the release notes for a full description. (#5133)
- Updated dependencies:
@remix-run/express@1.12.0
- Updated dependencies:
@remix-run/express@1.11.1
-
Introduces the
defer()API from@remix-run/routerwith support for server-rendering and HTTP streaming. This utility allows you to defer values returned fromloaderfunctions by returning promises instead of resolved values. This has been refered to as "sending a promise over the wire". (#4920)Informational Resources:
- https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26
- https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md
Documentation Resources (better docs specific to Remix are in the works):
-
Updated dependencies:
@remix-run/express@1.11.0
- Updated dependencies:
@remix-run/express@1.10.1
- Updated dependencies:
@remix-run/express@1.10.0
- Fix
TypedResponseso that Typescript correctly shows errors for incompatible types inloaderandactionfunctions. (#4734) - Updated dependencies:
@remix-run/express@1.9.0
- Updated dependencies:
@remix-run/express@1.8.2
- Updated dependencies:
@remix-run/express@1.8.1
- Updated dependencies:
@remix-run/express@1.8.0
- Updated dependencies:
@remix-run/express@1.7.6
- Updated dependencies:
@remix-run/express@1.7.5
- Updated dependencies:
@remix-run/express@1.7.4
- Updated dependencies:
@remix-run/express@1.7.3
- Updated dependencies:
@remix-run/express@1.7.2
- Updated dependencies:
@remix-run/express@1.7.1
- We've added a new type:
SerializeFrom. This is used to infer the (#4013) JSON-serialized return type of loaders and actions. MetaFunctiontype can now inferdataandparentsDatatypes from route loaders (#4022)
- Updated dependencies:
@remix-run/express@1.7.0
- Updated dependencies:
@remix-run/express@1.6.8
- Updated dependencies:
@remix-run/express@1.6.7
- Updated dependencies:
@remix-run/express@1.6.6
- Updated dependencies
@remix-run/express@1.6.5