v2.8.0
New Features
-
Hash mode now also supports
scrollBehavior
when the browser supportshistory.pushState
. (@ariesjia via #1662) -
scrollBehavior
now supports returning a Promise. The scrolling will be executed when the Promise is resolved. (@homerjam via #1758)
Fixed
- #1508 avoid first popstate event with async guard together (@Jinjiang)
- #1557 do not remove trailing slash in strict mode (@posva)
- #1568 handle null values when comparing query objects (@posva)
- #1586 fix scroll when going back to initial route (@hworld)
- #1690 fix query comparison with deep values shared by reference (effb114)
- #1695 send props not defined on the route component in $attrs (@lbogdan)
- Properly resolve async components imported from native ES modules (8a28426)