Change8

remix@3.0.0-beta.5

Breaking Changes
📦 remixView on GitHub →
2 breaking4 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

  1. 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`).
  2. 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