npm / find-my-way
find-my-way
What changed in find-my-way 5 to 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-20.
6 breaking2 security7 new APIs and options7 performance3 behavior and defaults13 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initfind-my-way 926 changes
Breaking changes 2
Duplicate slashes are no longer removed from the querystring, including in compiled lookups.
The parameter object is now a null object, changing its prototype.
Security 2
Parsing of absolute-form request targets is made safer.
find-my-way: DDoS with HTTP2
New APIs and options 5
A compiler mode for route lookup is available.
Adds onMaxParamLength to support 414 URI Too Long.
Path normalization utility methods are exposed for developers to use.
Path utility methods are exposed for developers to use.
Exposes sanitizeUrlPath as an API for developers to use.
Performance 6
Repeated %25 sanitisation is linear instead of quadratic.
Route lookup is faster, with an 8.7% geomean improvement and up to 40% improvement on long static routes.
Route registration is linear instead of quadratic.
Route lookup is faster, with every benchmark scenario faster and an 18.7% geomean improvement.
Regex lookup results are cached in HostStorage to improve host lookup performance.
Optimizes bitmask handler retrieval using Math.clz32.
Fixes and other changes 11
Absolute URLs are validated without throwing.
Strategy lookups are guarded against inherited Object prototype properties.
The regex host lookup cache is now bounded.
RegExp values in constraints and meta are now serialized when prettyPrint outputs routes.
Static parts between parameters are now kept in the route pattern.
done is no longer called multiple times when asynchronous constraint errors occur.
findRoute now aligns its isParamSafe state with _on.
Optional parameters in off() now apply the root path fallback.
Route lookup backtracks when a regex parameter does not match, avoiding an incorrect route match.
Route lookup no longer crashes when a regex capture is undefined.
Inherited constraint keys are ignored.
find-my-way 81 changes
Breaking changes 1
The semicolon separator is disabled by default.
find-my-way 71 changes
Breaking changes 1
Support for Node.js 12 and 17 was dropped.
find-my-way 68 changes
Breaking changes 1
Removed the decodeUriParameters option.
New APIs and options 2
Added a method for adding constraint strategies.
Added a querystring parser option.
Performance 1
Optimized creation of the result params object.
Behavior and default changes 2
Updated the hasConstraintStrategy method.
Changed the lookup result type to any.
Fixes and other changes 2
Fixed the must match constraints check.
Fixed parameter decoding.
find-my-way 52 changes
Breaking changes 1
Support for Node.js v10 was removed.
Behavior and default changes 1
URL decoding was improved, which may affect how URLs are handled.