remix@3.0.0-alpha.6
Breaking Changes📦 remixView on GitHub →
⚠ 3 breaking✨ 4 features🔧 12 symbols
Summary
This pre-release introduces significant package export consolidation, moving component runtimes to the `remix/ui` namespace, and updates the underlying dependency versions across the ecosystem. It also enforces a minimum Node.js version of 24.3.0 for the CLI.
⚠️ Breaking Changes
- The `MultipartPart.headers` property in `remix/multipart-parser` and `remix/multipart-parser/node` is now a plain decoded object keyed by lower-case header name instead of a native `Headers` instance. Access headers using bracket notation (e.g., `part.headers['content-type']`) instead of the `.get()` method.
- The deprecated package exports `remix/component`, `remix/component/jsx-runtime`, `remix/component/jsx-dev-runtime`, and `remix/component/server` have been removed. Import the consolidated UI runtime from `remix/ui`, `remix/ui/jsx-runtime`, `remix/ui/jsx-dev-runtime`, and `remix/ui/server` respectively.
- The `remix-test` command in `package.json` `bin` commands has been removed.
Migration Steps
- If accessing `MultipartPart.headers`, change usage from `part.headers.get('header-name')` to `part.headers['header-name']`.
- Update imports referencing deprecated component packages: replace imports from `remix/component*` with corresponding imports from `remix/ui*`.
✨ New Features
- Added `package.json` exports for programmatic access to the Remix CLI via `remix/cli`.
- Added `remix` as a `package.json` `bin` command that delegates to `@remix-run/cli`.
- Added several new `package.json` exports for the consolidated UI runtime, including `remix/ui/animation`, `remix/ui/accordion`, `remix/ui/anchor`, etc.
- Added `package.json` exports to re-export APIs from `@remix-run/node-fetch-server/test`, `@remix-run/terminal`, and `@remix-run/test/cli`.