Releases ยท vuejs/router (original) (raw)
v5.1.0
๐ Features
- Typed definePage params.path - by @posva in #2716 (d65de)
- Strict type for definePage param default - by @posva (0ae10)
- Support raw param parsers - by @posva (eadec)
- Force array type raw param parsers - by @posva (7a68b)
- Allow overriding the global Router type - by @posva (1cd93)
- Emit runtime warning for invalid format in query params - by @posva (8259a)
- Override useRouter() return with experimental types config - by @posva (39a34)
- Allow string as a param parser for convenience - by @posva (be37b)
๐ Bug Fixes
- Fix auto import fixes and make experimental esm only - by @posva (db3a6)
- Deterministic param parser types order - by @posva (bf0fc)
- Avoid importing unused param parsers - by @posva (41c00)
- Filter invalid query params without failing to match - by @posva (db717)
- Detect not set format - by @posva (aa89e)
- Allow undefined values for params in query - by @posva (4726e)
- experimental: Repeatable params in subsegments - by @posva (84664)
- types: Add vite as optional peer dependency - by @ForgottenR, @posva and shihuijie in #2712 (facbf)
View changes on GitHub
v5.0.7
๐ Features
- Upgrade to babel 8 - by @posva (8d3e6)
- Make
defineParamParser()more intuitive - by @posva (8715b) - Upgrade
@vue/devtools-api- by @posva (87c3a) - matcher: Hint at
params: {}workaround in discarded params warning - by @posva and shanliuling in #2689 (c2b13) - param-parsers: Add include/exclude options - by @posva (91cde)
๐ Bug Fixes
- matcher:
- query:
- resolve:
- types:
- unplugin:
- volar:
- Drop runtime
@vue/language-coreimport - by @danielroe in #2710 (8af50)
- Drop runtime
View changes on GitHub
v5.0.6
v5.0.5
v5.0.4
v5.0.3
๐จ Breaking Changes
- experimental:
๐ Features
- Support _parent in nested folders - by @posva (0a37f)
- Warn on _parent conflict - by @posva (182fe)
- Set _parent as non matchable by default - by @posva (8f91c)
- Warn on conflicting components for routes - by @posva (34ace)
- Use type module - by @posva (dc9ff)
- Add deprecation warning for next() callback in navigation guards - by @posva (797f5)
- Extract alias from definePage - by @posva (835df)
- Display aliases in logs - by @posva (7aa60)
- Deprecate new NavigationResult(to) in favor of reroute(to) - by @posva (382e3)
- experimental:
๐ Bug Fixes
- Avoid non matchable routes in auto-routes - by @posva (48649)
- Handle quotes in d.ts - by @posva (d7764)
- Avoid route entry in map for _parent - by @posva (1dfcc)
- Handle nested groups - by @posva (4a4be)
- Stable route ordering for group folders with same path - by @posva (1db94)
- Correct route ordering for group nodes with inflated scores - by @posva (515f4)
- Cleanup old route overrides - by @posva (b28a7)
- Remove name from _parent.vue files - by @posva (6e8f1)
- ci:
- experimental:
- types:
- Relax RouteMapGeneric constraint for interface-based RouteNamedMap - by @YevheniiKotyrlo in #2624 (cdf7b)
- volar: