Created by: dependabot[bot]
Bumps vue and vue-template-compiler. These dependencies needed to be updated together.
Updates vue
from 2.6.14 to 2.7.0
Commits
- See full diff in compare view
Updates vue-template-compiler
from 2.6.14 to 2.7.0
Release notes
Sourced from vue-template-compiler's releases.
v2.7.0 "Naruto"
Please refer to CHANGELOG.md for details.
v2.7.0-beta.8
Please refer to CHANGELOG.md for details.
v2.7.0-beta.7
Please refer to CHANGELOG.md for details.
v2.7.0-beta.6
Please refer to CHANGELOG.md for details.
v2.7.0-beta.5
Please refer to CHANGELOG.md for details.
v2.7.0-beta.4
Please refer to CHANGELOG.md for details.
v2.7.0-beta.3
Please refer to CHANGELOG.md for details.
v2.7.0-beta.2
Please refer to CHANGELOG.md for details.
v2.7.0-beta.1
Please refer to CHANGELOG.md for details.
v2.7.0-alpha.12
Please refer to CHANGELOG.md for details.
v2.7.0-alpha.11
Please refer to CHANGELOG.md for details.
v2.7.0-alpha.10
Please refer to CHANGELOG.md for details.
v2.7.0-alpha.9
Please refer to CHANGELOG.md for details.
v2.7.0-alpha.8
Please refer to CHANGELOG.md for details.
v2.7.0-alpha.7
Please refer to CHANGELOG.md for details.
v2.7.0-alpha.6
Please refer to CHANGELOG.md for details.
... (truncated)
Changelog
Sourced from vue-template-compiler's changelog.
2.7.0 (2022-07-01)
Backported Features
- Composition API
- SFC
<script setup>
- SFC CSS v-bind
In addition, the following APIs are also supported:
defineComponent()
with improved type inference (compared toVue.extend
)
h()
,useSlot()
,useAttrs()
,useCssModules()
set()
,del()
andnextTick()
are also provided as named exports in ESM builds.The
emits
option is also supported, but only for type-checking purposes (does not affect runtime behavior)2.7 also supports using ESNext syntax in template expressions. When using a build system, the compiled template render function will go through the same loaders / plugins configured for normal JavaScript. This means if you have configured Babel for
.js
files, it will also apply to the expressions in your SFC templates.Notes on API exposure
In ESM builds, these APIs are provided as named exports (and named exports only):
import Vue, { ref } from 'vue' Vue.ref // undefined, use named export instead
In UMD and CJS builds, these APIs are exposed as properties on the global
Vue
object.When bundling with CJS builds externalized, bundlers should be able to handle ESM interop when externalizing CJS builds.
Behavior Differences from Vue 3
The Composition API is backported using Vue 2's getter/setter-based reactivity system to ensure browser compatibility. This means there are some important behavior differences from Vue 3's proxy-based system:
All Vue 2 change detection caveats still apply.
reactive()
,ref()
, andshallowReactive()
will directly convert original objects instead of creating proxies. This means:// true in 2.7, false in 3.x reactive(foo) === foo
readonly()
does create a separate object, but it won't track newly added properties and does not work on arrays.Avoid using arrays as root values in
reactive()
because without property access the array's mutation won't be tracked (this will result in a warning).Reactivity APIs ignore properties with symbol keys.
... (truncated)
Commits
-
1e3a0ce
release: v2.7.0 -
8dc1b31
chore: use v2-latest release tag -
326d24a
fix(sfc): only include legacy decorator parser plugin when new plugin is not ... -
0ea6c36
release: v2.7.0-beta.8 -
008d78b
fix(compiler-sfc): should transform non relative paths when base option is pr... -
bf64c4d
release: v2.7.0-beta.7 -
5b94562
chore: create build target dir if does not exist (#12581) -
11e4bfe
fix: types/v3-directive not published (#12571) -
20e7e7e
release: v2.7.0-beta.6 -
089b27c
fix(watch): template ref watcher should fire after owner instance mounted hook - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)