This project adheres to Semantic Versioning.
- Fixed types regression.
- Added
hash
with#
-part to store’s value.
- Added Nano Stores 0.11 support.
- Added named capturing group to RegExp routes (by @easing).
- Fixed
:param?
RegExp (by @easing).
- Added Nano Stores 0.10 support.
- Added
search
with parsed search params to store’s value. - Added
search
argument to all functions to get and open URL. - Removed
createSearchParams
in favor ofroute.search
of normal router.
- Added page object support in
getPagePath
,openPage
, andredirectPage
.
- Fixed parameter output type regression.
- Allowed to pass number to router parameter.
- Removed Node.js 16 support.
- Replaced
data-no-router
totarget="_self"
. - Added ignoring clicks with
event.preventDefault()
calls.
- Moved to Nano Stores 0.9.
- Added funding to package meta.
- Moved to Nano Stores 0.8.
- Moved to TypeScript 5.
- Removed Node.js 14 support.
- Fixed URL normalization on
search
option.
- Added
ParamsArg
,RouterConfig
,ParamsFromRoutesConfig
types export.
- Fixed optional params in
getPagePath()
(by Artem Shkurenko).
- Added routes params automatic inferring (by Daniil Kozlov).
- Moved to Nano Stores 0.6.
- Moved to Nano Stores 0.6.
- Added
opts.links
to the stores to disable link clicks tracking. - Added
defaultPrevented
in router click processing.
- Removed Node.js 12 support.
- Added
createSearchParams()
for?search
store. - Added
search
option tocreateRouter()
. - Ignored
defaultPrevented
in click processing.
- Fixed URL parameters encoding/decoding.
- Added optional route parameters (by Eduard Aksamitov).
- Fixed search params disappear when you click on links (by Andrei Eres).
- Fixed
open()
arguments types (by @davidmz).
- Moved to Nano Stores 0.5.
- Fixed Server-Side Rendering support.
- Initial release.