Skip to content

Releases: DanielSharkov/svelte-router

3.1.5

12 Nov 00:59
e6e8c0f
Compare
Choose a tag to compare

Proper error prefixing with [SvelteRouter]

3.1.4 ⏳

07 Nov 00:04
8ecf6e8
Compare
Choose a tag to compare
  • Lazy loaded components ⏳
  • Fixes viewport route component swap 🪲
  • Awesome list badge 🤩

3.0.3

29 Sep 11:24
ac72653
Compare
Choose a tag to compare

Fixes bug on "Router.push" method, which ignores "RouterParams" as an argument.
Thanks to @yez730 , who discovered and fixed it.

3.0.2

01 Sep 22:40
514d291
Compare
Choose a tag to compare

Upgrade dependencies & fix type definitions.

3.0.1 🚨

11 Feb 22:32
f842ada
Compare
Choose a tag to compare

Fixes non string before push hook ID breaking the router, instead of throwing an error.

3.0.0 🙌✨

29 Nov 17:53
a116087
Compare
Choose a tag to compare

Introducing Awesome Route Transitions 🎈😎

  • Removed the viewport div container overhead - The route component fragments are now directly rendered as the actual content

See documentation for details

2.4.12 🔨

28 Nov 20:32
b998051
Compare
Choose a tag to compare

Patches: 🛠

  • Added BeforePush interface
  • Interface implementation check on scrollingElement
  • Fixed access modifier of removeBeforePush() to public
  • Check for empty hook ID on addBeforePush()
  • Panic when no fallback location is set on before push hook rejection
  • Clearing before push hooks on destroy, as they still persist after initializing a new router

2.4.6 🩹

28 Nov 11:28
0b62f4b
Compare
Choose a tag to compare

❇️ Features:

  • Implement scrollingElement for history scroll restoration

🛠 Patches:

  • Implement & export Router interfaces
  • Add missing path on replace history state
  • Patch popstate listener
  • Patch route initialization

2.1.3

22 Nov 08:48
d49dace
Compare
Choose a tag to compare

❇️ New features

🛠 2 Bug fixes

v2.0.0 🎉

21 Nov 14:16
493e928
Compare
Choose a tag to compare

❇️ Added features / Improvements:

🔄 Changes:

  • Now bundling with Rollup instead of Webpack
  • Now using direct character comparison instead of deprecated charCode

❗️ Breaking changes:

  • Renamed RouterLink.svelte to RouteLink.svelte and added prop router
  • Now parsing URL query just by key:value of type {[key: string]: string} instead of key:values by type {[key: string]: string|[]string}
  • Renamed router API point navigate to pushPath, which now only takes a path that already may include the URL query
  • Renamed RouterViewport.svelte to Viewport.svelte and
    • removed easeIn & easeOut
    • removed event forwarding props outrostart, outroend, introstart and introend

Just some cool stuff:

  • Finally a logo - self made 😊