v2.1.0
New features:
- The custom event
routeEvent
now bubbles from a component inside the router to the router's parent; see docs push
,pop
, andreplace
now return a Promise that is resolved when the route navigation succeeded (but not necessarily after the new route has been loaded)
Fixes:
- Showing a warning in the console when the
replace
method is used in an environment that doesn't support it, such as the Svelte REPL (see #93)
Changes:
- For security reasons, the non-dev dependency (
regexparam
) is added with the exact version now, rather than a caret