v2.0.0-rc.6
Pre-release
Pre-release
New
- Object-style commit is now supported. Note that there's a small difference between 2.0 and 1.0: in 2.0 the mutation objects received by
store.subscribe
will always be in the same format ({ type, payload }
, regardless of whether it was committed via a normal commit or an object-style commit.
Changed
- The logger is now exposed at
vuex/dist/logger.js
instead ofvuex/logger.js
. It is now built as UMD so can be used in browsers directly. It exposes thecreateVuexLogger
global when used via<script>
tags.