v2.0.1
·
3890 commits
to main
since this release
Patch Changes
- Fix types for MDX files when using pnpm (#7491)
- Update
getDependenciesToBundleto handle ESM packages without main exports (#7272)- Note that these packages must expose
package.jsonin theirexportsfield so that their path can be resolved
- Note that these packages must expose
- Fix server builds where
serverBuildPathextension is.cjs(#7180) - 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
- Add second generic to
UIMatchforhandlefield (#7464) - Fix resource routes being loaded through
route.lazy(#7498) - Throw a semantically correct 405
ErrorResponseinstead of just anErrorwhen submitting to a route without anaction(#7423) - Update to latest version of
@remix-run/web-fetch(#7477) - Switch from
crypto.randomBytestocrypto.webcrypto.getRandomValuesfor file session storage ID generation (#7203) - Use native
Blobclass instead of polyfill (#7217)
Changes by Package 🔗
Full Changelog: 2.0.0...2.0.1