release: v3.0.0-alpha.11

This commit is contained in:
Evan You 2020-04-03 21:45:50 -04:00
parent c017073f4c
commit 7402951d94
15 changed files with 108 additions and 37 deletions

View File

@ -1,3 +1,74 @@
# [3.0.0-alpha.11](https://github.com/vuejs/vue-next/compare/v3.0.0-alpha.10...v3.0.0-alpha.11) (2020-04-04)
### Bug Fixes
* **compiler:** fix pre tag whitespace handling ([7f30cb5](https://github.com/vuejs/vue-next/commit/7f30cb577257ad5765261bbffa3cae862259fcab)), closes [#908](https://github.com/vuejs/vue-next/issues/908)
* **compiler-core/slots:** should support on-component named slots ([a022b63](https://github.com/vuejs/vue-next/commit/a022b63605820c97923413ee457ba1fb69a5221e))
* **compiler-sfc:** always use offset for template block sourcemaps ([#911](https://github.com/vuejs/vue-next/issues/911)) ([db50009](https://github.com/vuejs/vue-next/commit/db5000935306214b31e33865cd57935e80e27d41))
* **inject:** allow default value to be `undefined` ([#894](https://github.com/vuejs/vue-next/issues/894)) ([94562da](https://github.com/vuejs/vue-next/commit/94562daea70fde33a340bb7b57746523c3660a8e)), closes [#892](https://github.com/vuejs/vue-next/issues/892)
* **portal:** portal should always remove its children when unmounted ([16cd8ee](https://github.com/vuejs/vue-next/commit/16cd8eee7839cc4613f17642bf37b39f7bdf1fce))
* **reactivity:** scheduled effect should not execute if stopped ([0764c33](https://github.com/vuejs/vue-next/commit/0764c33d3da8c06d472893a4e451e33394726a42)), closes [#910](https://github.com/vuejs/vue-next/issues/910)
* **runtime-core:** support attr merging on child with root level comments ([e42cb54](https://github.com/vuejs/vue-next/commit/e42cb543947d4286115b6adae6e8a5741d909f14)), closes [#904](https://github.com/vuejs/vue-next/issues/904)
* **runtime-dom:** v-cloak should be removed after compile on the root element ([#893](https://github.com/vuejs/vue-next/issues/893)) ([0ed147d](https://github.com/vuejs/vue-next/commit/0ed147d33610b86af72cbadcc4b32e6069bcaf08)), closes [#890](https://github.com/vuejs/vue-next/issues/890)
* **runtome-dom:** properly support creating customized built-in element ([b1d0b04](https://github.com/vuejs/vue-next/commit/b1d0b046afb1e8f4640d8d80b6eeaf9f89e892f7))
* **transition:** warn only when there is more than one rendered child ([#903](https://github.com/vuejs/vue-next/issues/903)) ([37b1dc8](https://github.com/vuejs/vue-next/commit/37b1dc8242608b072d14fd2a5e52f5d40829ea52))
* **types:** allow use PropType with Function ([#915](https://github.com/vuejs/vue-next/issues/915)) ([026eb72](https://github.com/vuejs/vue-next/commit/026eb729f3d1566e95f2f4253d76c20e86d1ec9b)), closes [#748](https://github.com/vuejs/vue-next/issues/748)
* **types:** export missing types from runtime-core ([#889](https://github.com/vuejs/vue-next/issues/889)) ([412ec86](https://github.com/vuejs/vue-next/commit/412ec86128fa33fa41ce435c493fd8275a785fea))
* **types/reactivity:** add generics constraint for markNonReactive ([f3b6559](https://github.com/vuejs/vue-next/commit/f3b6559408fb42ff6dc0c67001c9c67093f2b059)), closes [#917](https://github.com/vuejs/vue-next/issues/917)
### Code Refactoring
* **runtime-core:** adjust attr fallthrough behavior ([21bcdec](https://github.com/vuejs/vue-next/commit/21bcdec9435700cac98868a36716b49a7766c48d))
* rename `<portal>` to `<teleport>` ([eee5095](https://github.com/vuejs/vue-next/commit/eee50956924d7d2c916cdb8b99043da616e53af5))
* **runtime-core:** rename `createAsyncComponent` to `defineAsyncComponent` ([#888](https://github.com/vuejs/vue-next/issues/888)) ([ebc5873](https://github.com/vuejs/vue-next/commit/ebc587376ca1fb4bb8a20d4137332740605753c8))
### Features
* **asyncComponent:** retry support ([c01930e](https://github.com/vuejs/vue-next/commit/c01930e60b4abf481900cdfcc2ba422890c41656))
* **compiler-core:** export `transformElement` from compiler-core ([#907](https://github.com/vuejs/vue-next/issues/907)) ([20f4965](https://github.com/vuejs/vue-next/commit/20f4965b45d410a2fe95310ecf7293b2b7f46f36))
* **compiler-core:** support v-is ([b8ffbff](https://github.com/vuejs/vue-next/commit/b8ffbffaf771c259848743cf4eb1a5ea31795aaa))
* **portal:** hydration support for portal disabled mode ([b74bab2](https://github.com/vuejs/vue-next/commit/b74bab216c3be68ab046451cf5e5b5bec5f19483))
* **portal:** SSR support for multi portal shared target ([e866434](https://github.com/vuejs/vue-next/commit/e866434f0c54498dd0fc47d48287a1d0ada36388))
* **portal:** SSR support for portal disabled prop ([9ed9bf3](https://github.com/vuejs/vue-next/commit/9ed9bf3687a770aebc265839065832761e6bafa1))
* **portal:** support disabled prop ([8ce3da0](https://github.com/vuejs/vue-next/commit/8ce3da0104db9bdd89929724c6d841ac3dfb7336))
* **portal:** support multiple portal appending to same target ([aafb880](https://github.com/vuejs/vue-next/commit/aafb880a0a9e023b62cf8fb3ae269b31f22ac84e))
* **reactivity:** add effect to public api ([#909](https://github.com/vuejs/vue-next/issues/909)) ([6fba241](https://github.com/vuejs/vue-next/commit/6fba2418507d9c65891e8d14bd63736adb377556))
* **runtime-core:** config.performance tracing support ([e93e426](https://github.com/vuejs/vue-next/commit/e93e426bfad13f40c8f1d80b8f45ac5d0926c2fc))
* **runtime-core:** emits validation and warnings ([c7c3a6a](https://github.com/vuejs/vue-next/commit/c7c3a6a3bef6275be8f9f8873358421017bb5386))
* **runtime-core:** failed component resolution should fallback to native element ([cb31eb4](https://github.com/vuejs/vue-next/commit/cb31eb4d0a0afdd2abf9e3897d9aac447dd0264b))
* **runtime-core:** support app.config.globalProperties ([27873db](https://github.com/vuejs/vue-next/commit/27873dbe1c09ac6a058d815949a4e13831513fd0))
* **runtime-core:** type and attr fallthrough support for emits option ([bf473a6](https://github.com/vuejs/vue-next/commit/bf473a64eacab21d734d556c66cc190aa4ff902d))
* **templateRef:** should work with direct reactive property ([449ab03](https://github.com/vuejs/vue-next/commit/449ab039feb10df7179898b13ecc45028a043002)), closes [#901](https://github.com/vuejs/vue-next/issues/901)
* **templateRef:** support template ref for all vnode types ([55b364d](https://github.com/vuejs/vue-next/commit/55b364decc903a6c7fccd1cdcdcfc79948c848a2))
### BREAKING CHANGES
* **runtime-core:** attribute fallthrough behavior has been adjusted
according to https://github.com/vuejs/rfcs/pull/154
* `<portal>` has been renamed to `<teleport>`.
`target` prop is also renmaed to `to`, so the new usage will be:
```html
<Teleport to="#modal-layer" :disabled="isMobile">
<div class="modal">
hello
</div>
</Teleport>
```
The primary reason for the renaming is to avoid potential naming
conflict with [native portals](https://wicg.github.io/portals/).
* **asyncComponent:** async component `error` and `loading` options have been
renamed to `errorComponent` and `loadingComponent` respectively.
* **runtime-core:** `createAsyncComponent` has been renamed to `defineAsyncComponent` for consistency with `defineComponent`.
# [3.0.0-alpha.10](https://github.com/vuejs/vue-next/compare/v3.0.0-alpha.9...v3.0.0-alpha.10) (2020-03-24) # [3.0.0-alpha.10](https://github.com/vuejs/vue-next/compare/v3.0.0-alpha.9...v3.0.0-alpha.10) (2020-03-24)

View File

@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
], ],

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/compiler-core", "name": "@vue/compiler-core",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"description": "@vue/compiler-core", "description": "@vue/compiler-core",
"main": "index.js", "main": "index.js",
"module": "dist/compiler-core.esm-bundler.js", "module": "dist/compiler-core.esm-bundler.js",
@ -30,7 +30,7 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.0.0-alpha.10", "@vue/shared": "3.0.0-alpha.11",
"@babel/parser": "^7.8.6", "@babel/parser": "^7.8.6",
"@babel/types": "^7.8.6", "@babel/types": "^7.8.6",
"estree-walker": "^0.8.1", "estree-walker": "^0.8.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/compiler-dom", "name": "@vue/compiler-dom",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"description": "@vue/compiler-dom", "description": "@vue/compiler-dom",
"main": "index.js", "main": "index.js",
"module": "dist/compiler-dom.esm-bundler.js", "module": "dist/compiler-dom.esm-bundler.js",
@ -34,7 +34,7 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-dom#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-dom#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.0.0-alpha.10", "@vue/shared": "3.0.0-alpha.11",
"@vue/compiler-core": "3.0.0-alpha.10" "@vue/compiler-core": "3.0.0-alpha.11"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/compiler-sfc", "name": "@vue/compiler-sfc",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"description": "@vue/compiler-sfc", "description": "@vue/compiler-sfc",
"main": "dist/compiler-sfc.cjs.js", "main": "dist/compiler-sfc.cjs.js",
"types": "dist/compiler-sfc.d.ts", "types": "dist/compiler-sfc.d.ts",
@ -27,13 +27,13 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme",
"peerDependencies": { "peerDependencies": {
"vue": "3.0.0-alpha.10" "vue": "3.0.0-alpha.11"
}, },
"dependencies": { "dependencies": {
"@vue/shared": "3.0.0-alpha.10", "@vue/shared": "3.0.0-alpha.11",
"@vue/compiler-core": "3.0.0-alpha.10", "@vue/compiler-core": "3.0.0-alpha.11",
"@vue/compiler-dom": "3.0.0-alpha.10", "@vue/compiler-dom": "3.0.0-alpha.11",
"@vue/compiler-ssr": "3.0.0-alpha.10", "@vue/compiler-ssr": "3.0.0-alpha.11",
"consolidate": "^0.15.1", "consolidate": "^0.15.1",
"hash-sum": "^2.0.0", "hash-sum": "^2.0.0",
"lru-cache": "^5.1.1", "lru-cache": "^5.1.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/compiler-ssr", "name": "@vue/compiler-ssr",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"description": "@vue/compiler-ssr", "description": "@vue/compiler-ssr",
"main": "dist/compiler-ssr.cjs.js", "main": "dist/compiler-ssr.cjs.js",
"types": "dist/compiler-ssr.d.ts", "types": "dist/compiler-ssr.d.ts",
@ -27,7 +27,7 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-ssr#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-ssr#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.0.0-alpha.10", "@vue/shared": "3.0.0-alpha.11",
"@vue/compiler-dom": "3.0.0-alpha.10" "@vue/compiler-dom": "3.0.0-alpha.11"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/reactivity", "name": "@vue/reactivity",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"description": "@vue/reactivity", "description": "@vue/reactivity",
"main": "index.js", "main": "index.js",
"module": "dist/reactivity.esm-bundler.js", "module": "dist/reactivity.esm-bundler.js",
@ -34,6 +34,6 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/reactivity#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/reactivity#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.0.0-alpha.10" "@vue/shared": "3.0.0-alpha.11"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/runtime-core", "name": "@vue/runtime-core",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"description": "@vue/runtime-core", "description": "@vue/runtime-core",
"main": "index.js", "main": "index.js",
"module": "dist/runtime-core.esm-bundler.js", "module": "dist/runtime-core.esm-bundler.js",
@ -31,7 +31,7 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-core#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-core#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.0.0-alpha.10", "@vue/shared": "3.0.0-alpha.11",
"@vue/reactivity": "3.0.0-alpha.10" "@vue/reactivity": "3.0.0-alpha.11"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/runtime-dom", "name": "@vue/runtime-dom",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"description": "@vue/runtime-dom", "description": "@vue/runtime-dom",
"main": "index.js", "main": "index.js",
"module": "dist/runtime-dom.esm-bundler.js", "module": "dist/runtime-dom.esm-bundler.js",
@ -37,8 +37,8 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-dom#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-dom#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.0.0-alpha.10", "@vue/shared": "3.0.0-alpha.11",
"@vue/runtime-core": "3.0.0-alpha.10", "@vue/runtime-core": "3.0.0-alpha.11",
"csstype": "^2.6.8" "csstype": "^2.6.8"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/runtime-test", "name": "@vue/runtime-test",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"description": "@vue/runtime-test", "description": "@vue/runtime-test",
"private": true, "private": true,
"main": "index.js", "main": "index.js",
@ -30,7 +30,7 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-test#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-test#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.0.0-alpha.10", "@vue/shared": "3.0.0-alpha.11",
"@vue/runtime-core": "3.0.0-alpha.10" "@vue/runtime-core": "3.0.0-alpha.11"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/server-renderer", "name": "@vue/server-renderer",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"description": "@vue/server-renderer", "description": "@vue/server-renderer",
"main": "index.js", "main": "index.js",
"types": "dist/server-renderer.d.ts", "types": "dist/server-renderer.d.ts",
@ -27,10 +27,10 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/server-renderer#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/server-renderer#readme",
"peerDependencies": { "peerDependencies": {
"vue": "3.0.0-alpha.10" "vue": "3.0.0-alpha.11"
}, },
"dependencies": { "dependencies": {
"@vue/shared": "3.0.0-alpha.10", "@vue/shared": "3.0.0-alpha.11",
"@vue/compiler-ssr": "3.0.0-alpha.10" "@vue/compiler-ssr": "3.0.0-alpha.11"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/shared", "name": "@vue/shared",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"description": "internal utils shared across @vue packages", "description": "internal utils shared across @vue packages",
"main": "index.js", "main": "index.js",
"module": "dist/shared.esm-bundler.js", "module": "dist/shared.esm-bundler.js",

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/size-check", "name": "@vue/size-check",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"private": true, "private": true,
"buildOptions": { "buildOptions": {
"name": "Vue", "name": "Vue",

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/template-explorer", "name": "@vue/template-explorer",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"private": true, "private": true,
"buildOptions": { "buildOptions": {
"formats": [ "formats": [

View File

@ -1,6 +1,6 @@
{ {
"name": "vue", "name": "vue",
"version": "3.0.0-alpha.10", "version": "3.0.0-alpha.11",
"description": "vue", "description": "vue",
"main": "index.js", "main": "index.js",
"module": "dist/vue.runtime.esm-bundler.js", "module": "dist/vue.runtime.esm-bundler.js",
@ -36,9 +36,9 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.0.0-alpha.10", "@vue/shared": "3.0.0-alpha.11",
"@vue/compiler-dom": "3.0.0-alpha.10", "@vue/compiler-dom": "3.0.0-alpha.11",
"@vue/runtime-dom": "3.0.0-alpha.10" "@vue/runtime-dom": "3.0.0-alpha.11"
}, },
"devDependencies": { "devDependencies": {
"lodash": "^4.17.15", "lodash": "^4.17.15",