Releases: bent10/headless-route
Releases · bent10/headless-route
headless-route@2.3.0
2.3.0 (2024-02-25)
Features
headless-route@2.2.0
2.2.0 (2024-02-24)
Features
- revert: removed generic parameter (
Context
) for better clarity and simplicity (57b4328)
headless-route@2.1.0
2.1.0 (2024-02-21)
Bug Fixes
- omit
'.js'
from default value of extensions
option (c739f99)
Features
headless-route@2.0.1
2.0.1 (2024-02-13)
Bug Fixes
- tweaks non-layout route notation filter (560b774)
headless-route@2.0.0
2.0.0 (2024-02-07)
Features
- add
isMatch
, matchParams
, and generatePath
props to dynamic route (6ce0009)
- provides async api (1a45d9a)
- segments may now include file names ordered numerically (372498f)
BREAKING CHANGES
- The
params
prop has been removed from the dynamic route component. Code relying
on this prop will need to be updated to use the new props: isMatch
, matchParams
, and
generatePath
.
headless-route@1.2.1
1.2.1 (2024-02-05)
Bug Fixes
- ensure consistent order of routes (53909b6)
headless-route@1.2.0
1.2.0 (2024-02-05)
Features
- add navigation
handler
to the createNavigation
fn (28b86a5)
- allows for using the
$
prefix as a dynamic route indicator (5ad902f)
headless-route@1.1.0
1.1.0 (2024-02-03)
Features
- renames optional route
data
prop to context
(af65d88)
headless-route@1.0.0
1.0.0 (2024-02-03)
Features
@headless-route/vite@1.0.2
@headless-route/vite 1.0.2 (2024-04-01)
Bug Fixes
- correct incorrect link (9ff979b)
- remove
log
, dump
, and escape
helpers (90d6995)
- update route context
getNavigation()
types (c433dda)