Releases: dvcol/svelte-simple-router
Releases · dvcol/svelte-simple-router
v1.7.0
v1.6.1
v1.6.0
1.6.0 (2024-10-27)
Features
- hooks: adds listener hooks (e72e45d)
- hooks: rework context logic to create utility hooks (d0dee9a)
- loading: adds loading event to subscribe in listeners (5e90ad9)
- view: adds beforeEach & parametrize viewTransitionName (001efea)
Bug Fixes
- components: refactor and simplify component tree (ee9be72)
v1.5.0
v1.4.0
1.4.0 (2024-10-16)
Features
- RouteView: adds declarative route API for dynamically adding route (6f9039b)
- RouteView: adds support to snippet (428eab8)
Bug Fixes
- hash: replace base when navigating in hash mode (a8c00b1)
- nested: clear component when no component found (e3ad994)
- options: adds default routing options to routerinstance (4f9abad)
- router: correct typing & adds UT for sync strategy (2184ace)
- sync: allow replace of history state when syncing router (4a2a7b3)
- url: correctly parse path parameter when syncing (e3e5f4d)
v1.3.0
v1.2.0
1.2.0 (2024-10-05)
Features
- redirect: rework redirect flow and supports title param injection (c73cd30)
- router: push/replace state after in memory routing (a589e28)
- router: rework navigation event & listeners (dc914c2)
- transition: enable transition on every route change (ee41f9d)
Bug Fixes
- active: inverse matching logic & add UT (4caa895)
- active: use path instead of href for location matching (add0a23)
- lazy: add lazy import wrapper to explicit mark lazy components (c1d0aff)
- lint: fix eslint & svelte check errors (f6e6996)
- logging: pass log level to router instance (1a673c0)
- RouteComponent: delay properties update until component resolve (bf75f01)
- RouteContainer: code split and fix prop injection (e96a818)
- router: decouple router from window (3dac944)
- router: make back/forward/go await navigation before returning (3dae60f)
- router: make listening state reactive (0b5b098)
- routing: remove double router children rendering (5ca97ab)
- transition: adds container and only freeze during exit transition (403d07c)
- transition: freeze size while transitionning (84f4f01)
- transition: remove key to prevent unnecessary renders (0316a55)
- utils: adds trailing slash to pathname in hash mode (9eee5ae)
v1.1.2
v1.1.1
v1.1.0
1.1.0 (2024-09-24)
Features
- actions: make actions reactive and fix query stripping (82d7395)
- active: adds active action to highlight active route (d3add37)
- build: adds demo build without sveltekit router (5adfeb3)
- kit: switch to svelte-kit (802e6cf)
- link: adds link action and support multiple hash fragments (d040f17)
- link: adds support for any element (562157b)
- matcher: allow route to have their own matcher (77d7d5c)
- router: add force push/replace to route in place (7f7f863)
- router: adds base support & hash mode (72f8a2c)
- router: adds initial route & router typing (77f7df0)
- router: adds route guard and redirect support (d7ffdce)
- router: adds router base implementaiton (43488ba)
- router: support dynamic routes & case-insensitive route names (beee8f5)
- router: throw cancellation error when overriding navigation (67df3e3)
- RouterView: adds support for event listeners (4727868)
- routing: implement basic routing (37511bc)
- scaffolding project (9271fa0)
- transition: adds default transition and skip first option (f1f35b6)
- transition: adds route transition support (e080444)
Bug Fixes
- build: add missing exports (4250798)
- resolve: slice base path when resolving (65c0100)
- RouteContainer: adds props injection (a240f4c)
- router: prevent double firing of listener on internal events (efe8f0e)
- router: stringify meta and inject title (0447aa6)
- router: use SvelteMap to have route reactivity (94ecd25)
- transition: key transition to loadingKey (1ca370a)
- typescript: adjust typing and expose loffer (9378d41)
- typescript: fix typing issues in container (cc9def5)
- web: add base path to build process (31f6202)