Lanzado el 28 de enero de 2026
Minor Changes - BREAKING CHANGE: Remove `createHrefBuilder`, `type HrefBuilder`, `type HrefBuilderArg` `createHrefBuilder` was the original design and implementation of href generation, but with the new `RoutePattern.href` method it is now obsolete. Use `HrefArgs` instead of `HrefBuilde
Minor Changes - BREAKING CHANGE: Remove `createHrefBuilder`, `type HrefBuilder`, `type HrefBuilderArg` `createHrefBuilder` was the original design and implementation of href generation, but with the new `RoutePattern.href` method it is now obsolete. Use `HrefArgs` instead of `HrefBuilderArgs`: ```ts // before type Args = HrefBuilderArgs<Source> // after type Args = HrefArgs<Source> ``` - BREAKING CHANGE: simplify protocol to only accept `http`, `https`, and `http(s)` Previously, we allowed arbitrary `PartPattern` for protocol, but in reality the request/response server only directly receives `http` and `https` protocols (`ws` and `wss` are upgraded from `http` and `https` respectively). That means params or arbitrary optionals are no longer allowed within the protocol and will result in a `ParseError`. Patch Changes - Add `ast` property to `RoutePattern` The AST is a read-only, "bare-metal" API designed for advanced use cases. For example, optimized matchers like `TrieMatcher` can't just delegate matching to `RoutePattern.match()` for each of their patterns and need direct access to the pattern AST. ```ts let ast: AST = pattern.ast type AST = { protocol: PartPattern hostname: PartPattern port: string | null pathname: PartPattern search: SearchConstraints } ``` ```ts type PartPattern = { tokens: Array<Token> paramNames: Array<string> /** Map of `(` token index to its corresponding `)` t
Genera un resumen en lenguaje claro de los cambios de este release, pensado para desarrolladores.