🚨 Breaking Changes
- experimental:
🚀 Features
- Warn on repeatable params being passed as scalars - by @posva in #2879 (17a6d)
- Expose encoding helpers with _ prefix - by @posva in #2910 (7d465)
- Expose internal _parseURL and _stringifyURL - by @posva in #2912 (d293d)
- Expose internal _stripBase helper - by @posva in #2911 (6d76a)
- Expose internal RouterLink click guard helper - by @posva in #2913 (89b72)
- Vapor mode - by @posva in #2944 (1a73c)
- Warn against invalid repeatable subsegments - by @ragib-mrb in #2931 (bde7f)
- experimental:
- types:
- Export RouterLinkSlotScope type - by @VividLemon in #2917 (2c737)
🐞 Bug Fixes
- Escape - by 025cd01 [( in s)](https://github.com/vuejs/router/commit/ in static path tokens (#2897))
- Optional params as sub-segments - by @posva in #2915 (c80ea)
- Avoid runtime errors for warnings - by @posva in #2925 (d61ef)
- ci:
- docs:
- Resolve typedoc paths cross-platform - by @abdul-karim-mia in #2940 (f0608)
- experimental:
- Resolve relative object locations against the current route - by @posva in #2890 (753a0)
- Display location on its own line in VUE_ROUTER_R0129 - by @posva in #2894 (457fa)
- Omit empty arrays from normalized queries - by @posva in #2908 (a11c3)
- Capture browser scroll on native hash links - by @posva in #2929 (d7f47)
- Keep slashes of splat params in sub segments - by @posva in #2951 (b21b2)
- Call root onRouteRendered for the initial navigation in vapor - by @posva in #2954 (e5959)
- Scroll again to the current hash with a router-link - by @posva in #2955 (82b93)
- Support vapor components in scroll restoration - by @posva in #2953 (6c775)
- Type missing query keys as undefined - by @posva in #2959 (a13d1)
- Isolate data loader context between SSR requests - by @posva in #2961 (c258a)
- history:
- matcher:
- Refine param separator matching - by @danielroe in #2898 (80c71)
- Remove optional params passed as null or undefined - by @posva in #2900 (33d92)
- Keep inherited required param passed as null - by @posva (d9ffc)
- Remove descendants of grouping records - by @boyfeiyu in #2904 (1fb1f)
- Throw for repeatable params that are not alone in their segment - by @posva (bfef5)
- Use a diagnostic for repeatable params not alone in their segment - by @posva in #2952 (e90f5)
- unplugin: