All path rules are backward compatible with 3.x, except for nested ()
and other RegEx special characters that were previously ignored.
Changed
- Export names have changed to support ES2015 modules in bundlers
match
does not default todecodeURIComponent
Added
- New
normalizePathname
utility for supporting unicode paths in libraries - Support nested non-capturing groups within parameters
- Add tree-shaking (via ES2015 modules) for webpack and other bundlers