FRONTEND
Remix v3.0.0
RESUMEN
Pre-release Changes - BREAKING CHANGE: Middleware consumed through `remix/router` and `remix/fetch-router` must now explicitly continue the request chain by calling `next()` or return a `Response`. Middleware that returned `undefined` without calling `next()` now throws at runtime instead of im
Descripción Detallada
Pre-release Changes - BREAKING CHANGE: Middleware consumed through `remix/router` and `remix/fetch-router` must now explicitly continue the request chain by calling `next()` or return a `Response`. Middleware that returned `undefined` without calling `next()` now throws at runtime instead of implicitly continuing. Update context-loading middleware to return the downstream response: ```ts function loadUser(): Middleware { return (context, next) => { context.set(CurrentUser, user) return next() } } ``` - Improve Node compatibility for the `remix/assert` entrypoint. The default export is now callable as an alias for `assert.ok`, failure errors expose Node-style metadata, expected-error/message handling more closely follows `node:assert/strict`, strict/deep equality now handles `Object.is` and built-in object comparisons more consistently with Node, and `assert.partialDeepEqual` is available for strict partial deep comparisons. - Add `router.mount()` and the `RouteBuilder`/`RouteInstaller` types to `remix/router` and `remix/fetch-router` so larger apps can be built from smaller route groups without making feature modules hard-code their final URL. A feature module can now export a local route installer that registers routes like `/`, `/users/:id`, or a route map, and the parent can mount it at `/admin`, `/orgs/:orgId`, or another route pattern prefix while one router still owns request dispatch, matching, middleware, and default handling.
Remix v3.0.0 elimina exports obsoletos y reorganiza las importaciones de UI.
- Se eliminaron exports obsoletos de `remix/component`. Usa `remix/ui` en su lugar.
- Se eliminaron los comandos `remix-test` del `package.json`.
- Se añadieron nuevos exports en `package.json` para re-exportar APIs de varios módulos.
A quién le importa
Solo si usas los exports de `remix/component`.
Generado por IA · puede contener errores
Releases Relacionados
FRONTEND
Remix v0.4.12
### Patch Changes - Bumped `@remix-run/*` dependencies: - [`fetch-router@0.20.0`](https://github.com/remix-run/remix/releases/tag/fetch-router@0.20.0)
FRONTEND
Remix v0.1.11
### Patch Changes - Bumped `@remix-run/*` dependencies: - [`fetch-router@0.20.0`](https://github.com/remix-run/remix/releases/tag/fetch-router@0.20.0)
FRONTEND