# v0.0.3

Released: 2026-05-29

## Added

- Added prepared hot-path APIs: `prepareMethod`, `preparePathname`, `findPrepared`, `lookupPrepared`, and `allowedPrepared`.
- Added first-phase route syntax expansion with trailing optional params (`:id?`) and fixed-count trailing multi-segment params (`*2:name`).
- Added second-phase route syntax expansion with mixed single-segment params, separated multi-param segments, and segment-level regex params.
- Added dedicated mixed/regex benchmark workloads and budgets for both compat and hot-path benchmark suites.
- Added more complete route-pattern examples and `vext`-style integration guidance to the English and Chinese READMEs.

## Changed

- Replaced the request-time trie traversal hot path with a compiled matcher backend plus hybrid fallback, including common-case pathname fast paths and compiled prefix miss guards.
- Split simple and advanced dynamic runtimes so pattern-heavy buckets no longer force every plain param route onto the same scanner fallback path.
- Made prepared method handles stay live across later `add()` calls.
- Reframed the English and Chinese READMEs around user-facing integration guidance and current supported route patterns.
- Recalibrated compat and hot benchmark budgets to match the current stable serial benchmark envelope.

## Fixed

- Reduced hot-path overhead by removing pre-match decode validation, reusing capture buffers during traversal, and using lighter allowed-method matching.
- Reduced request-path preprocessing allocations by removing `PreparedPath` key precomputation and calculating static match keys on demand during traversal.
- Corrected the `v0.0.2` changelog to match the current `docs/` file tree.
- Softened README performance wording so the package no longer over-promises across-the-board wins.
