Skip to content

v2.1.0

Compare
Choose a tag to compare
@ItalyPaleAle ItalyPaleAle released this 21 Mar 20:35

New features:

  • The custom event routeEvent now bubbles from a component inside the router to the router's parent; see docs
  • push, pop, and replace 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