Skip to content

Commit 9ab22c7

Browse files
committed
release: v3.0.0-alpha.6
1 parent 99a2e18 commit 9ab22c7

File tree

15 files changed

+71
-26
lines changed

15 files changed

+71
-26
lines changed

CHANGELOG.md

+45
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
# [3.0.0-alpha.6](https://github.com/vuejs/vue-next/compare/v3.0.0-alpha.5...v3.0.0-alpha.6) (2020-02-22)
2+
3+
4+
### Bug Fixes
5+
6+
* **compiler-core:** should alias name in helperString ([#743](https://github.com/vuejs/vue-next/issues/743)) ([7b987d9](https://github.com/vuejs/vue-next/commit/7b987d9450fc7befcd0946a0d53991d27ed299ec)), closes [#740](https://github.com/vuejs/vue-next/issues/740)
7+
* **compiler-dom:** properly stringify class/style bindings when hoisting static strings ([1b9b235](https://github.com/vuejs/vue-next/commit/1b9b235663b75db040172d2ffbee1dd40b4db032))
8+
* **reactivity:** should trigger all effects when array length is mutated ([#754](https://github.com/vuejs/vue-next/issues/754)) ([5fac655](https://github.com/vuejs/vue-next/commit/5fac65589b4455b98fd4e2f9eb3754f0acde97bb))
9+
* **sfc:** inherit parent scopeId on child rooot ([#756](https://github.com/vuejs/vue-next/issues/756)) ([9547c2b](https://github.com/vuejs/vue-next/commit/9547c2b93d6d8f469314cfe055960746a3e3acbe))
10+
* **types:** improve ref typing, close [#759](https://github.com/vuejs/vue-next/issues/759) ([627b9df](https://github.com/vuejs/vue-next/commit/627b9df4a293ae18071009d9cac7a5e995d40716))
11+
* **types:** update setup binding unwrap types for 6b10f0c ([a840e7d](https://github.com/vuejs/vue-next/commit/a840e7ddf0b470b5da27b7b2b8b5fcf39a7197a2)), closes [#738](https://github.com/vuejs/vue-next/issues/738)
12+
13+
14+
### Code Refactoring
15+
16+
* preserve refs in reactive arrays ([775a7c2](https://github.com/vuejs/vue-next/commit/775a7c2b414ca44d4684badb29e8e80ff6b5d3dd)), closes [#737](https://github.com/vuejs/vue-next/issues/737)
17+
18+
19+
### Features
20+
21+
* **reactivity:** expose unref and shallowRef ([e9024bf](https://github.com/vuejs/vue-next/commit/e9024bf1b7456b9cf9b913c239502593364bc773))
22+
* **runtime-core:** add watchEffect API ([99a2e18](https://github.com/vuejs/vue-next/commit/99a2e18c9711d3d1f79f8c9c59212880efd058b9))
23+
24+
25+
### Performance Improvements
26+
27+
* **effect:** optimize effect trigger for array length mutation ([#761](https://github.com/vuejs/vue-next/issues/761)) ([76c7f54](https://github.com/vuejs/vue-next/commit/76c7f5426919f9d29a303263bc54a1e42a66e94b))
28+
* **reactivity:** only trigger all effects on Array length mutation if new length is shorter than old length ([33622d6](https://github.com/vuejs/vue-next/commit/33622d63600ba0f18ba4dae97bda882c918b5f7d))
29+
30+
31+
### BREAKING CHANGES
32+
33+
* **runtime-core:** replae `watch(fn, options?)` with `watchEffect`
34+
35+
The `watch(fn, options?)` signature has been replaced by the new
36+
`watchEffect` API, which has the same usage and behavior. `watch`
37+
now only supports the `watch(source, cb, options?)` signautre.
38+
* reactive arrays no longer unwraps contained refs
39+
40+
When reactive arrays contain refs, especially a mix of refs and
41+
plain values, Array prototype methods will fail to function
42+
properly - e.g. sort() or reverse() will overwrite the ref's value
43+
44+
45+
146
# [3.0.0-alpha.5](https://github.com/vuejs/vue-next/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2020-02-18)
247

348

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"workspaces": [
55
"packages/*"
66
],

packages/compiler-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/compiler-core",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"description": "@vue/compiler-core",
55
"main": "index.js",
66
"module": "dist/compiler-core.esm-bundler.js",

packages/compiler-dom/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/compiler-dom",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"description": "@vue/compiler-dom",
55
"main": "index.js",
66
"module": "dist/compiler-dom.esm-bundler.js",
@@ -34,6 +34,6 @@
3434
},
3535
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/compiler-dom#readme",
3636
"dependencies": {
37-
"@vue/compiler-core": "3.0.0-alpha.5"
37+
"@vue/compiler-core": "3.0.0-alpha.6"
3838
}
3939
}

packages/compiler-sfc/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/compiler-sfc",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"description": "@vue/compiler-sfc",
55
"main": "dist/compiler-sfc.cjs.js",
66
"types": "dist/compiler-sfc.d.ts",
@@ -27,11 +27,11 @@
2727
},
2828
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/compiler-sfc#readme",
2929
"peerDependencies": {
30-
"vue": "3.0.0-alpha.5"
30+
"vue": "3.0.0-alpha.6"
3131
},
3232
"dependencies": {
33-
"@vue/compiler-core": "3.0.0-alpha.5",
34-
"@vue/compiler-dom": "3.0.0-alpha.5",
33+
"@vue/compiler-core": "3.0.0-alpha.6",
34+
"@vue/compiler-dom": "3.0.0-alpha.6",
3535
"consolidate": "^0.15.1",
3636
"hash-sum": "^2.0.0",
3737
"lru-cache": "^5.1.1",

packages/compiler-ssr/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/compiler-ssr",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"description": "@vue/compiler-ssr",
55
"main": "dist/compiler-ssr.cjs.js",
66
"types": "dist/compiler-ssr.d.ts",
@@ -27,6 +27,6 @@
2727
},
2828
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/compiler-ssr#readme",
2929
"dependencies": {
30-
"@vue/compiler-dom": "3.0.0-alpha.5"
30+
"@vue/compiler-dom": "3.0.0-alpha.6"
3131
}
3232
}

packages/reactivity/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/reactivity",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"description": "@vue/reactivity",
55
"main": "index.js",
66
"module": "dist/reactivity.esm-bundler.js",

packages/runtime-core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/runtime-core",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"description": "@vue/runtime-core",
55
"main": "index.js",
66
"module": "dist/runtime-core.esm-bundler.js",
@@ -31,6 +31,6 @@
3131
},
3232
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/runtime-core#readme",
3333
"dependencies": {
34-
"@vue/reactivity": "3.0.0-alpha.5"
34+
"@vue/reactivity": "3.0.0-alpha.6"
3535
}
3636
}

packages/runtime-dom/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/runtime-dom",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"description": "@vue/runtime-dom",
55
"main": "index.js",
66
"module": "dist/runtime-dom.esm-bundler.js",
@@ -37,7 +37,7 @@
3737
},
3838
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/runtime-dom#readme",
3939
"dependencies": {
40-
"@vue/runtime-core": "3.0.0-alpha.5",
40+
"@vue/runtime-core": "3.0.0-alpha.6",
4141
"csstype": "^2.6.8"
4242
}
4343
}

packages/runtime-test/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/runtime-test",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"description": "@vue/runtime-test",
55
"private": true,
66
"main": "index.js",
@@ -30,6 +30,6 @@
3030
},
3131
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/runtime-test#readme",
3232
"dependencies": {
33-
"@vue/runtime-core": "3.0.0-alpha.5"
33+
"@vue/runtime-core": "3.0.0-alpha.6"
3434
}
3535
}

packages/server-renderer/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/server-renderer",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"description": "@vue/server-renderer",
55
"main": "index.js",
66
"types": "dist/server-renderer.d.ts",
@@ -27,9 +27,9 @@
2727
},
2828
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/server-renderer#readme",
2929
"peerDependencies": {
30-
"vue": "3.0.0-alpha.5"
30+
"vue": "3.0.0-alpha.6"
3131
},
3232
"dependencies": {
33-
"@vue/compiler-ssr": "3.0.0-alpha.5"
33+
"@vue/compiler-ssr": "3.0.0-alpha.6"
3434
}
3535
}

packages/shared/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "@vue/shared",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"private": true
55
}

packages/size-check/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/size-check",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"private": true,
55
"buildOptions": {
66
"name": "Vue",

packages/template-explorer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/template-explorer",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"private": true,
55
"buildOptions": {
66
"formats": [

packages/vue/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue",
3-
"version": "3.0.0-alpha.5",
3+
"version": "3.0.0-alpha.6",
44
"description": "vue",
55
"main": "index.js",
66
"module": "dist/vue.runtime.esm-bundler.js",
@@ -36,8 +36,8 @@
3636
},
3737
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/vue#readme",
3838
"dependencies": {
39-
"@vue/compiler-dom": "3.0.0-alpha.5",
40-
"@vue/runtime-dom": "3.0.0-alpha.5"
39+
"@vue/compiler-dom": "3.0.0-alpha.6",
40+
"@vue/runtime-dom": "3.0.0-alpha.6"
4141
},
4242
"devDependencies": {
4343
"lodash": "^4.17.15",

0 commit comments

Comments
 (0)