Skip to content

Releases: vuejs/vuex-router-sync

v6.0.0-rc.1

05 Feb 10:29
Compare
Choose a tag to compare
v6.0.0-rc.1 Pre-release
Pre-release

Features

  • make it compatible with vue3 (vuex 4 and router 4) (#100) (a2a300d)

v5.0.0

12 Oct 02:16
Compare
Choose a tag to compare

Breaking Changes

This major release only breaks backwards compatibility if you use TypeScript.

  • TypeScript type declarations have been updated to be compatible with vuex >= 3.0.0 and vue-router >= 3.0.0, and no longer work with lower versions.

v4.1.0

02 Jan 16:48
Compare
Choose a tag to compare

v4.0.0

14 Dec 18:23
Compare
Choose a tag to compare

Breaking Change

  • The router/ROUTE_CHANGED mutation now sends the payload in the shape of { to, from } instead of just the to route. Although this is a breaking change, no actions are required unless you are explicitly listening to this mutation in a custom plugin.

New

  • The route state now exposes the meta property of the current route (@scottbedard via #32)

  • The route state now exposes the from route (@predhme via #36)

  • You can now configure a custom route module name (@vinicius73 via #37):

    sync(store, router, { moduleName: 'RouteModule' })

v2.0.0

30 Jun 20:33
Compare
Choose a tag to compare

Breaking Changes

  • store.state.route is now immutable. Do not attempt to trigger navigations by mutating this object - just call $router.go() instead.