21 KiB
21 KiB
3.4.6 (2020-10-07)
Bug Fixes
- encoding: try catch decodes (607ce2d)
- ssr: memory leak in poll method (#2875) (7693eb5)
- remove duplicated decodeURIComponent (#3323) (560d11d)
3.4.5 (2020-09-26)
Bug Fixes
3.4.4 (2020-09-24)
Bug Fixes
- abstract: call afterHooks with go (4da7021), closes #3250
- history: mark redundant navigation as pending (893d86b), closes #3133
- types: add missing NavigationFailure types (fda7067), closes #3293
- types: fix VueRouter.NavigationFailureType (ecc8e27)
Features
3.4.3 (2020-08-11)
- Revert 4fbaa9f7880276e661227442ef5923131a589210: “fix: keep repeated params in query/hash relative locations” Closes #3289
3.4.2 (2020-08-07)
Bug Fixes
- query: leave object as is (7b3328d), closes #3282
- keep repeated params in query/hash relative locations (4fbaa9f)
3.4.1 (2020-08-06)
Bug Fixes
- query: remove undefined values (b952573), closes #3276
- router: properly check null and undefined in isSameRoute (d6546d9)
3.4.0 (2020-08-05)
Bug Fixes
- query: cast query values to strings (fix #2131) (#3232) (f0d9c2d)
- scroll: run scrollBehavior on initial load (fix #3196) (#3199) (84398ae)
- types: add missing
options
property type (#3248) (83920c9)
Features
- add vetur tags and attributes (bf1e1bd)
- errors: capture errors thrown in redirect callback in onError (#3251) (40e4df7), closes #3201 #3201 #3201
- errors: expose
isNavigationFailure
(8d92dc0) - errors: NavigationDuplicated name for backwards compatibility (b854a20)
3.3.4 (2020-06-13)
Bug Fixes
- matcher: navigate to same as current location (62598b9), closes #3216
- types: missing children (c1df447), closes #3230
3.3.3 (2020-06-12)
Bug Fixes
- history: initial redirect call onReady’s onSuccess (4d484bf), closes #3225
- update ja docs (#3214) (c05f741)
Features
- better wording for navigation redirected failure (1f3aea6)
- types: RouterConfig for multiple components (#3217) (#3218) (dab86c5)
3.3.2 (2020-05-29)
Bug Fixes
- errors: NavigationCanceled with async components (#3211) (be39ca3)
- remove error.stack modification (#3212) (a0075ed)
3.3.1 (2020-05-27)
Bug Fixes
- errors: avoid unnecessary log of errors (2c77247)
3.3.0 (2020-05-27)
Features
- errors: create router errors (#3047) (4c727f9)
- history: Remove event listeners when all apps are destroyed. (#3172) (4c81be8), closes #3152 #2341
- url: call afterEach hooks after url is ensured (#2292) (1575a18), closes #2079
3.2.0 (2020-05-19)
Bug Fixes
- html5: make base case insensitive (04a2143), closes #2154
- check for pushState being a function (bc41f67), closes #3154
Features
- link: add aria-current to active links (close #2116) (#3073) (6ec0ee5)
- scroll: use manual scrollRestoration with scrollBehavior (#1814) (1261363)
- types: NavigationGuardNext (#2497) (d18c497)
3.1.6 (2020-02-26)
Bug Fixes
- preserve history state when reloading (a4ec3e2)
- ts: add null to Route.name (#3117) (8f831f2)
- correctly calculate
path
whenpathMatch
is empty string (#3111) (38e6ccd), closes #3106
3.1.5 (2020-01-15)
Bug Fixes
- view: add passing props to inactive component (#2773) (0fb1343), closes #2301
- view: fix deeply nested keep-alive router-views displaying (#2930) (0c2b1aa), closes #2923
3.1.4 (2020-01-14)
Bug Fixes
- suppress warning if
pathMatch
is empty (#3081) (ddc6bc7), closes #3072 - link: correctly warn wrong v-slot usage (a150291), closes #3091
- location: add a copy for params with named locations (#2802) (2b39f5a), closes #2800 #2938 #2938
Features
3.1.3 (2019-08-30)
Bug Fixes
Features
- errors: add stack trace to NavigationDuplicated (5ef5d73), closes #2881
- warn about root paths without a leading slash (#2591) (7d7e048), closes #2550 #2550
3.1.2 (2019-08-08)
Bug Fixes
- types: prioritize promise based push/replace (1243e8b)
Reverts
- “fix(hash): correctly place query if placed before hash (#2851)” (9b30e4c), closes #2876. See more information at https://github.com/vuejs/vue-router/issues/2125#issuecomment-519521424
3.1.1 (2019-08-06)
Bug Fixes
- link: silence back navigations errors (59b6da3)
3.1.0 (2019-08-06)
Bug Fixes
- abstract history: allow router.back in abstract mode when 2 consecutive same routes appear in history stack (#2771) (8910979), closes #2607
- hash: correctly place query if placed before hash (#2851) (b7715dc), closes #2125 #2262
- link: Fix active links when parent link redirects to child (#2772) (64785a9), closes #2724
- adapt error to work on IE9 (527d6d5)
Features
- alias: warn against redundant aliases (04a02c0), closes #2461 #2462
- scroll: handle id selectors starting with a number (799ceca), closes #2163
- return a promise with push and replace (#2862) (d907a13), closes #1769 #1769
- scoped slot for link (e289dde)
- warn the user for invalid uses of v-slot with Link (44c63a9)
3.0.7 (2019-07-03)
Bug Fixes
- apps loaded from Windows file shares not mapped to network drives (#2774) (c2c78a3)
- make callback of next in beforeRouterEnter more consistent (#2738) (8ac478f), closes #2761 #2728
3.0.6 (2019-04-17)
Bug Fixes
3.0.5 (2019-04-15)
Bug Fixes
- push before creating Vue instance (#2713) (6974a6f), closes #2712
- router-view: add condition to see whether the tree is inactive (fix #2552) (#2592) (e6d8fd2)
- router-view: register instance in init hook (c3abdf6), closes #2561 #2689 #2561 #2561
3.0.4 (2019-04-12)
Bug Fixes
- prevent memory leaks by removing app references (#2706) (8056105), closes #2639
- hash: prevent double decoding (#2711) (a775fb1), closes #2708
Features
3.0.3 (2019-04-08)
Bug Fixes
- removes warning resolving asterisk routes (e224637), closes #2505 #2505
- normalizeLocation: create a copy with named locations (#2286) (53cce99), closes #2121
- resolve: use current location if not provided (#2390) (7ff4de4), closes #2385
- types: allow null/undefined in query params (ca30a75), closes #2605
3.0.2 (2018-11-23)
Bug Fixes
- errors: throws with invalid route objects (#1893) (c837666)
- fix the test in async.spec.js (#1953) (4e9e66b)
- initial url path for non ascii urls (#2375) (c3b0a33)
- only setupScroll when support pushState due to possible fallback: false (#1835) (fac60f6), closes #1834
- workaround replaceState bug in Safari (#2295) (3c7d8ab), closes #2195
- hash: support unicode in initial route (8369c6b)
- history-mode: correcting indentation in web.config example (#1948) (4b071f9)
- match: use pathMatch for the param of * routes (#1995) (ca1fccd), closes #1994
Features
3.0.1 (2017-10-13)
Bug Fixes
3.0.0 (2017-10-11)
Features
BREAKING CHANGES
- typings: It is no longer compatible with the old Vue typings
2.8.0 (2017-10-11)
Bug Fixes
- allow insllation on extended Vue copies (f62c5d6)
- avoid first popstate event with async guard together (fix #1508) (#1661) (3cbc0f3)
- deep clone query when creating routes (effb114), closes #1690
- fix scroll when going back to initial route (#1586) (c166822)
- handle null values when comparing objects (#1568) (4e95bd8), closes #1566
- resolve native ES modules (8a28426)
- send props not defined on the route component in $attrs. Fixes #1695. (#1702) (a722b6a)
Features
- enhance hashHistory to support scrollBehavior (#1662) (1422eb5)
- scrollBehavior accept returning a promise (#1758) (ce13b55)
2.7.0 (2017-06-29)
Features
- auto resolve ES module default when resolving async components (d539788)