]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
release: v3.0.0-alpha.11 v3.0.0-alpha.11
authorEvan You <yyx990803@gmail.com>
Sat, 4 Apr 2020 01:45:50 +0000 (21:45 -0400)
committerEvan You <yyx990803@gmail.com>
Sat, 4 Apr 2020 01:45:50 +0000 (21:45 -0400)
15 files changed:
CHANGELOG.md
package.json
packages/compiler-core/package.json
packages/compiler-dom/package.json
packages/compiler-sfc/package.json
packages/compiler-ssr/package.json
packages/reactivity/package.json
packages/runtime-core/package.json
packages/runtime-dom/package.json
packages/runtime-test/package.json
packages/server-renderer/package.json
packages/shared/package.json
packages/size-check/package.json
packages/template-explorer/package.json
packages/vue/package.json

index c2c9b5db8f1202e9e6dbd4e22bce9467238f8192..76080a8364855c3d4e260711e449814a7059c4a2 100644 (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)
 
 
index e7417df07653897413c53210ec041d945a38b660..20c7129adc758c08f126248ffd44f2932160c01e 100644 (file)
@@ -1,6 +1,6 @@
 {
   "private": true,
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "workspaces": [
     "packages/*"
   ],
index b277c37fef9088a51ef0ba6d38ba0cbbea5be9da..dc757c39f9eff1b2728375ce41b43877ce1cb6bc 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/compiler-core",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "description": "@vue/compiler-core",
   "main": "index.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",
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.10",
+    "@vue/shared": "3.0.0-alpha.11",
     "@babel/parser": "^7.8.6",
     "@babel/types": "^7.8.6",
     "estree-walker": "^0.8.1",
index b8a92c0b7ec50961098f9ae8f7fea6c19558c2d2..8a83010eb63f979e166e91ea7b03d59b66c92726 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/compiler-dom",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "description": "@vue/compiler-dom",
   "main": "index.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",
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.10",
-    "@vue/compiler-core": "3.0.0-alpha.10"
+    "@vue/shared": "3.0.0-alpha.11",
+    "@vue/compiler-core": "3.0.0-alpha.11"
   }
 }
index 226718584b599b56b1e4e964f4fdee58e16bd9f8..d52c31fd86538a92a6982ef58338dfcc9277dc57 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/compiler-sfc",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "description": "@vue/compiler-sfc",
   "main": "dist/compiler-sfc.cjs.js",
   "types": "dist/compiler-sfc.d.ts",
   },
   "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme",
   "peerDependencies": {
-    "vue": "3.0.0-alpha.10"
+    "vue": "3.0.0-alpha.11"
   },
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.10",
-    "@vue/compiler-core": "3.0.0-alpha.10",
-    "@vue/compiler-dom": "3.0.0-alpha.10",
-    "@vue/compiler-ssr": "3.0.0-alpha.10",
+    "@vue/shared": "3.0.0-alpha.11",
+    "@vue/compiler-core": "3.0.0-alpha.11",
+    "@vue/compiler-dom": "3.0.0-alpha.11",
+    "@vue/compiler-ssr": "3.0.0-alpha.11",
     "consolidate": "^0.15.1",
     "hash-sum": "^2.0.0",
     "lru-cache": "^5.1.1",
index 942d573c6f6a49cfd50a99940f0eb9db03dfd42a..c40cc5829b354d5c986a0917245b28319e855134 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/compiler-ssr",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "description": "@vue/compiler-ssr",
   "main": "dist/compiler-ssr.cjs.js",
   "types": "dist/compiler-ssr.d.ts",
@@ -27,7 +27,7 @@
   },
   "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-ssr#readme",
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.10",
-    "@vue/compiler-dom": "3.0.0-alpha.10"
+    "@vue/shared": "3.0.0-alpha.11",
+    "@vue/compiler-dom": "3.0.0-alpha.11"
   }
 }
index 58ab5aab4c80d3a5e859380e3c1ff7e525fc3161..fb6a8bda7ebe0d26088407ec529ca4f3a5e6e2c7 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/reactivity",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "description": "@vue/reactivity",
   "main": "index.js",
   "module": "dist/reactivity.esm-bundler.js",
@@ -34,6 +34,6 @@
   },
   "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/reactivity#readme",
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.10"
+    "@vue/shared": "3.0.0-alpha.11"
   }
 }
index 0e8a2326506b833229bbda18b86b3b4bd7d633b1..7c57e6b3574981c497fe725ceb55e81a40226db8 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/runtime-core",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "description": "@vue/runtime-core",
   "main": "index.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",
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.10",
-    "@vue/reactivity": "3.0.0-alpha.10"
+    "@vue/shared": "3.0.0-alpha.11",
+    "@vue/reactivity": "3.0.0-alpha.11"
   }
 }
index a6bb44da167a09a5edba0572e5d9ce89a379aa03..9a64fa18804e91a3f3d1de791f4ee1106bcda853 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/runtime-dom",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "description": "@vue/runtime-dom",
   "main": "index.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",
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.10",
-    "@vue/runtime-core": "3.0.0-alpha.10",
+    "@vue/shared": "3.0.0-alpha.11",
+    "@vue/runtime-core": "3.0.0-alpha.11",
     "csstype": "^2.6.8"
   }
 }
index 8bdee0b52df406aec66be5514e64b06b062f6254..51c5f96d6b732b0446cd70ce008aa0b7ea3998b2 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/runtime-test",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "description": "@vue/runtime-test",
   "private": true,
   "main": "index.js",
@@ -30,7 +30,7 @@
   },
   "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-test#readme",
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.10",
-    "@vue/runtime-core": "3.0.0-alpha.10"
+    "@vue/shared": "3.0.0-alpha.11",
+    "@vue/runtime-core": "3.0.0-alpha.11"
   }
 }
index af0bef28ea6c5cfe5ec1c0fedac72308f5464cc8..4d0620e104ea7c59525357af59d5834bd3746350 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/server-renderer",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "description": "@vue/server-renderer",
   "main": "index.js",
   "types": "dist/server-renderer.d.ts",
   },
   "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/server-renderer#readme",
   "peerDependencies": {
-    "vue": "3.0.0-alpha.10"
+    "vue": "3.0.0-alpha.11"
   },
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.10",
-    "@vue/compiler-ssr": "3.0.0-alpha.10"
+    "@vue/shared": "3.0.0-alpha.11",
+    "@vue/compiler-ssr": "3.0.0-alpha.11"
   }
 }
index fd44570ee548b3ad4cc9be657131cc12b97bb8bb..3bad296b87abf070c4aba004e56e69dbe7f8cea2 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/shared",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "description": "internal utils shared across @vue packages",
   "main": "index.js",
   "module": "dist/shared.esm-bundler.js",
index 0a556e0a9990c0097ae02633e80405c587365c15..2e451db8ef29483e7fe09983c84c3e1236fcc66b 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/size-check",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "private": true,
   "buildOptions": {
     "name": "Vue",
index 618e9e410c786ce601d6c9c7b6ee1483666077ce..27e716566f148179de0d7c1678ea6d508609ef33 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/template-explorer",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "private": true,
   "buildOptions": {
     "formats": [
index 47e93830f2729df172c51983abf694c17be8f83b..5ace4d50b26e32b3e0eafbabe605f0a6106786a1 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "vue",
-  "version": "3.0.0-alpha.10",
+  "version": "3.0.0-alpha.11",
   "description": "vue",
   "main": "index.js",
   "module": "dist/vue.runtime.esm-bundler.js",
@@ -36,9 +36,9 @@
   },
   "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue#readme",
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.10",
-    "@vue/compiler-dom": "3.0.0-alpha.10",
-    "@vue/runtime-dom": "3.0.0-alpha.10"
+    "@vue/shared": "3.0.0-alpha.11",
+    "@vue/compiler-dom": "3.0.0-alpha.11",
+    "@vue/runtime-dom": "3.0.0-alpha.11"
   },
   "devDependencies": {
     "lodash": "^4.17.15",