-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency vuex to v4 #691
base: master
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json
|
f36f8b0
to
8fffe55
Compare
1a9aea8
to
98af137
Compare
490b300
to
e528b23
Compare
b038c58
to
afd402f
Compare
afd402f
to
1a0a0de
Compare
2df2dd9
to
ba4d2a2
Compare
b3a4786
to
2acb58b
Compare
40b162d
to
c2a583e
Compare
3cedee9
to
4dcdefc
Compare
4dcdefc
to
624c764
Compare
|
9dfdcc8
to
93c25bf
Compare
5884ac3
to
1e5fb38
Compare
58d0c7c
to
22835e8
Compare
7da8a56
to
8948e60
Compare
8948e60
to
21a0582
Compare
21a0582
to
3687f67
Compare
This PR contains the following updates:
3.6.2
->4.1.0
Release Notes
vuejs/vuex (vuex)
v4.1.0
Compare Source
Vue Core Version Requirement Change
This release contains an important fix (#1883) that relies on the
effectScope
API from Vue core, which is only available in Vue 3.2+.Bug Fixes
4.0.2 (2021-06-17)
Bug Fixes
__VUE_PROD_DEVTOOLS__
defined (#1991) (#1992) (7151622)4.0.1 (2021-05-24)
Features
v4.0.2
Compare Source
Bug Fixes
__VUE_PROD_DEVTOOLS__
defined (#1991) (#1992) (7151622)v4.0.1
Compare Source
Features
v4.0.0
Compare Source
This is the official Vuex 4 release.
The focus for Vuex 4 is compatibility. Vuex 4 supports Vue 3, and it provides the exact same API as Vuex 3, so users can reuse their existing Vuex code with Vue 3.
There are a few breaking changes described in a later section, so please check them out.
You can find basic usage with both Option and Composition API in the
example
directory.It's still released under
next
tag in NPM package as same as Vue 3. We're planning to removenext
tag once Vue 3 is ready to remove it.There have been a lot of contribution to make Vuex 4 stable. Thank you all for your very much appreciated help. It wouldn't have been possible without this wonderful Vue community!
Documentation
To check out docs, visit next.vuex.vuejs.org.
Breaking changes
Installation process has changed
To align with the new Vue 3 initialization process, the installation process of Vuex has changed.
To create a new store instance, users are now encouraged to use the newly introduced
createStore
function.To install Vuex to a Vue instance, pass the store instance instead of Vuex.
Bundles are now aligned with Vue 3
The following bundles are generated to align with Vue 3 bundles:
vuex.global(.prod).js
<script src="...">
in the browser. Exposes the Vuex global.<script src="...">
..prod.js
files for production.vuex.esm-browser(.prod).js
<script type="module">
.vuex.esm-bundler.js
webpack
,rollup
andparcel
.process.env.NODE_ENV
guards (must be replaced by bundler).vuex.cjs.js
require()
.Typings for
ComponentCustomProperties
Vuex 4 removes its global typings for
this.$store
within Vue Component to solve issue #994. When used with TypeScript, you must declare your own module augmentation.Place the following code in your project to allow
this.$store
to be typed correctly:createLogger
function is exported from the core moduleIn Vuex 3,
createLogger
function was exported fromvuex/dist/logger
but it's now included in the core package. You should import the function directly fromvuex
package.Bug Fixes Included Since 4.0.0-rc.2
storeKey
(4ab2947)Configuration
📅 Schedule: Branch creation - "after 3pm and before 7pm" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.