Skip to content

Releases: RiadhAdrani/dom-router

v0.0.7

04 Feb 10:15
Compare
Choose a tag to compare

0.0.7 - 2024-02-04

Fixed

  • findClosestRoute throwing when trying to get an undefined entry of the catch-all route.

v0.0.6

27 Jan 19:24
Compare
Choose a tag to compare

0.0.6 - 2024-01-27

Changed

  • distinguish between normal and index routes.

Fixed

  • index routes being matched wrongly.
  • throw with paths with multiple segments

v0.0.5

07 Jan 16:18
Compare
Choose a tag to compare

0.0.5 - 2024-01-07

Fixed

  • exporting RouterType as a value instead of a type.

v0.0.4

04 Jan 20:19
Compare
Choose a tag to compare

0.0.4 - 2024-01-04

Added

  • improved documentation

Fixed

  • restored Router.getSearchParams.
  • navigating causing onChanged hook to be called even when url is unchanged.
  • Router.getParams now encodes params value before storing them.

v0.0.3

02 Jan 02:14
Compare
Choose a tag to compare

0.0.3 - 2024-01-02

Changed

  • simplified how the router work.

v0.0.2

28 Dec 16:52
Compare
Choose a tag to compare

0.0.2 - 2023-12-28

Added

  • toHref method allowing the creation of a valid href from a path or a NamedDestination.

Fixed

  • improved navigate() with the existance of a base.

v0.0.1

08 Dec 22:52
Compare
Choose a tag to compare

0.0.1 - 2023-12-08

Added

  • export RouterInstance class.
  • export types.
  • export isUrlNavigatable method.