remix@3.0.0-beta.5
Breaking Changes📦 remixView on GitHub →
⚠ 2 breaking✨ 4 features🔧 63 symbols
Summary
This pre-release introduces a major restructuring of package exports, standardizing UI component imports under `remix/ui/*` and removing many old component/helper exports. It also adds the `trustProxy` option to `remix/node-fetch-server` and updates numerous internal dependencies.
⚠️ Breaking Changes
- Removed helper re-exports from `remix/ui`: `flashAttribute`, `hiddenTypeahead`, `matchNextItemBySearchText`, `onKeyDown`, `SearchValue`, `wait`, and `waitForCssTransition`. These must now be imported from their specific locations or replaced.
- Removed package exports for several component modules under `remix/components/*` and some UI modules under `remix/ui/*` (e.g., `remix/components/accordion`, `remix/ui/glyph`). Consumers must update imports to use the new `remix/ui/*` exports structure.
Migration Steps
- Update imports for UI components previously accessed via `remix/components/*` or deprecated `remix/ui/*` paths to use the new standardized `remix/ui/*` exports (e.g., `remix/ui/accordion`).
- If using deprecated helper exports from `remix/ui`, find their new specific import locations or replacements.
✨ New Features
- Added `trustProxy` option to `remix/node-fetch-server` to correctly handle client address information when behind trusted reverse proxies using `Forwarded` and `X-Forwarded-*` headers.
- Updated `remix/route-pattern` exports to include `getRoutePatternCaptures`, `RoutePatternCapture`, and `RoutePatternJSON`.
- Added `CreateHrefErrorDetails` to `remix/route-pattern/href` exports.
- Added `MatchParamMeta` to `remix/route-pattern/match` exports.
Affected Symbols
remix/ui/accordionremix/ui/accordion/primitivesremix/ui/anchorremix/ui/breadcrumbsremix/ui/buttonremix/ui/checkboxremix/ui/comboboxremix/ui/combobox/primitivesremix/ui/inputremix/ui/listboxremix/ui/menuremix/ui/menu/primitivesremix/ui/popoverremix/ui/radioremix/ui/selectremix/ui/select/primitivesremix/ui/tabsremix/ui/tabs/primitivesremix/ui/toggleremix/ui/toggle/primitivesflashAttributehiddenTypeaheadmatchNextItemBySearchTextonKeyDownSearchValuewaitwaitForCssTransitionremix/route-patterngetRoutePatternCapturesRoutePatternCaptureRoutePatternJSONremix/route-pattern/hrefCreateHrefErrorDetailsremix/route-pattern/matchMatchParamMetaremix/node-fetch-serverassetsasync-context-middlewareauthauth-middlewareclicompression-middlewarecop-middlewarecors-middlewarecsrf-middlewarefetch-proxyfetch-routerfile-storagefile-storage-s3form-data-middlewareform-data-parserfslazy-filelogger-middlewaremethod-override-middlewaremimenode-fetch-serverrender-middlewareresponseroute-patternsession-middlewarestatic-middlewareui