FRONTEND
Remix v0.23.0
RESUMEN
Minor Changes - BREAKING CHANGE: `RoutePattern` no longer exposes its parsed internals. Construct patterns with `RoutePattern.parse()`, and use `pattern.source`, `pattern.toString()`, or `pattern.toJSON()` instead of reading parsed internals such as `pattern.pathname.tokens`, `pattern.hostname`
Descripción Detallada
Minor Changes - BREAKING CHANGE: `RoutePattern` no longer exposes its parsed internals. Construct patterns with `RoutePattern.parse()`, and use `pattern.source`, `pattern.toString()`, or `pattern.toJSON()` instead of reading parsed internals such as `pattern.pathname.tokens`, `pattern.hostname`, or `pattern.search`. Added `getRoutePatternCaptures(pattern)` for supported capture introspection. It returns readonly `{ part, type, name, optional }` entries in source order so consumers can inspect the variables (`:name`) and wildcards (`*name`) declared in a pattern without relying on internal parser tokens. Exported `RoutePatternCapture` and `RoutePatternJSON` from `@remix-run/route-pattern`, `CreateHrefErrorDetails` from `@remix-run/route-pattern/href`, and `MatchParamMeta` from `@remix-run/route-pattern/match`. Patch Changes - Fixed several route pattern matching and href generation edge cases: `ignoreCase` now applies consistently to pathname matching, key-only search constraints keep generated hrefs matchable, pathname params use `encodeURIComponent` segment encoding, hostname params reject URL-structural and control characters, optional joins no longer generate duplicate slashes, missing-param errors report every missing required param, optional variant duplicates are collapsed, port-only origins are rejected, and protocol/port constraints participate in specificity. - Fixed route pattern helper types so literal pattern types follow the same grammar as runt
Explicación con IA
Genera un resumen en lenguaje claro de los cambios de este release.
Releases Relacionados
FRONTEND
Remix v0.4.13
### Patch Changes - Bumped `@remix-run/*` dependencies: - [`fetch-router@0.20.1`](https://github.com/remix-run/remix/releases/tag/fetch-router@0.20.1) - [`fs@0.4.6`](https://github.com/remix-run/remix/releases/tag/fs@0.4.6) - [`mime@0.4.2`](https://github.com/remix-run/remix/releases/tag/mime
FRONTEND
Remix v0.1.12
### Patch Changes - Bumped `@remix-run/*` dependencies: - [`fetch-router@0.20.1`](https://github.com/remix-run/remix/releases/tag/fetch-router@0.20.1)
FRONTEND