]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
release: v3.0.0-alpha.8 v3.0.0-alpha.8
authorEvan You <yyx990803@gmail.com>
Fri, 6 Mar 2020 20:58:40 +0000 (15:58 -0500)
committerEvan You <yyx990803@gmail.com>
Fri, 6 Mar 2020 20:58:40 +0000 (15:58 -0500)
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 1a0e6f25f8be525937359e11daf625dec96fa038..e59d2e03fd013c9af29019b6d3cf600700afb9a8 100644 (file)
@@ -1,3 +1,61 @@
+# [3.0.0-alpha.8](https://github.com/vuejs/vue-next/compare/v3.0.0-alpha.7...v3.0.0-alpha.8) (2020-03-06)
+
+
+### Bug Fixes
+
+* **directives:** ignore invalid directive hooks ([7971b04](https://github.com/vuejs/vue-next/commit/7971b0468c81483dd7026204518f7c03187d13c4)), closes [#795](https://github.com/vuejs/vue-next/issues/795)
+* **portal:** fix portal placeholder text ([4397528](https://github.com/vuejs/vue-next/commit/439752822c175c737e58896e0f365f2b02bab577))
+* **reactivity:** allow effect trigger inside no-track execution contexts ([274f81c](https://github.com/vuejs/vue-next/commit/274f81c5db83f0f77e1aba3240b2134a2474a72f)), closes [#804](https://github.com/vuejs/vue-next/issues/804)
+* **reactivity:** Map/Set identity methods should work even if raw value contains reactive entries ([cc69fd7](https://github.com/vuejs/vue-next/commit/cc69fd72e3f9ef3572d2be40af71d22232e1b9af)), closes [#799](https://github.com/vuejs/vue-next/issues/799)
+* **reactivity:** should not trigger length dependency on Array delete ([a306658](https://github.com/vuejs/vue-next/commit/a3066581f3014aae31f2d96b96428100f1674166)), closes [#774](https://github.com/vuejs/vue-next/issues/774)
+* **runtime-core:** ensure inhertied attrs update on optimized child root ([6810d14](https://github.com/vuejs/vue-next/commit/6810d1402e214a12fa274ff5fb7475bad002d1b1)), closes [#677](https://github.com/vuejs/vue-next/issues/677) [#784](https://github.com/vuejs/vue-next/issues/784)
+* **slots:** fix conditional slot ([3357ff4](https://github.com/vuejs/vue-next/commit/3357ff438c6ff0d4fea67923724dd3cb99ff2756)), closes [#787](https://github.com/vuejs/vue-next/issues/787)
+* **ssr:** fix ssr on-the-fly compilation + slot fallback branch helper injection ([3be3785](https://github.com/vuejs/vue-next/commit/3be3785f945253918469da456a14a2d9381bcbd0))
+
+
+### Code Refactoring
+
+* **runtime-core:** adjust attr fallthrough behavior ([e1660f4](https://github.com/vuejs/vue-next/commit/e1660f4338fbf4d2a434e13193a58e00f844379b)), closes [#749](https://github.com/vuejs/vue-next/issues/749)
+* **runtime-core:** revert setup() result reactive conversion ([e67f655](https://github.com/vuejs/vue-next/commit/e67f655b2687042fcc74dc0993581405abed56de))
+
+
+### Features
+
+* **compiler-core:** switch to @babel/parser for expression parsing ([8449a97](https://github.com/vuejs/vue-next/commit/8449a9727c942b6049c9e577c7c15b43fdca2867))
+* **compiler-ssr:** compile portal ([#775](https://github.com/vuejs/vue-next/issues/775)) ([d8ed0e7](https://github.com/vuejs/vue-next/commit/d8ed0e7fbf9bbe734667eb94e809235e79e431eb))
+* **ssr:** hydration mismatch handling ([91269da](https://github.com/vuejs/vue-next/commit/91269da52c30abf6c50312555b715f5360224bb0))
+
+
+### BREAKING CHANGES
+
+* **runtime-core:** adjust attr fallthrough behavior
+
+    Updated per pending RFC https://github.com/vuejs/rfcs/pull/137
+
+    - Implicit fallthrough now by default only applies for a whitelist
+      of attributes (class, style, event listeners, a11y attributes, and
+      data attributes).
+
+    - Fallthrough is now applied regardless of whether the component has
+* **runtime-core:** revert setup() result reactive conversion
+
+    Revert 6b10f0c & a840e7d. The motivation of the original change was
+    avoiding unnecessary deep conversions, but that can be achieved by
+    explicitly marking values non-reactive via `markNonReactive`.
+
+    Removing the reactive conversion behavior leads to an usability
+    issue in that plain objects containing refs (which is what most
+    composition functions will return), when exposed as a nested
+    property from `setup()`, will not unwrap the refs in templates. This
+    goes against the "no .value in template" intuition and the only
+    workaround requires users to manually wrap it again with `reactive()`.
+
+    So in this commit we are reverting to the previous behavior where
+    objects returned from `setup()` are implicitly wrapped with
+    `reactive()` for deep ref unwrapping.
+
+
+
 # [3.0.0-alpha.7](https://github.com/vuejs/vue-next/compare/v3.0.0-alpha.6...v3.0.0-alpha.7) (2020-02-26)
 
 
index 8479807c431188429d40ee8283cfc6e22248025e..dac6f1a9266059d8568e447b8366b455a843c661 100644 (file)
@@ -1,6 +1,6 @@
 {
   "private": true,
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "workspaces": [
     "packages/*"
   ],
index b2454497faa7eeebdcd8e3e17b74cfbc68ed6bdd..3dde703470f48704e683b93af02b4c47115636f1 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/compiler-core",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "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.7",
+    "@vue/shared": "3.0.0-alpha.8",
     "@babel/parser": "^7.8.6",
     "@babel/types": "^7.8.6",
     "estree-walker": "^0.8.1",
index 01c77ea236145de9ab3d971e72cd9f7d8d86adf9..6c138208998c487edf931cb51c9fd7ede7d46e79 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/compiler-dom",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "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.7",
-    "@vue/compiler-core": "3.0.0-alpha.7"
+    "@vue/shared": "3.0.0-alpha.8",
+    "@vue/compiler-core": "3.0.0-alpha.8"
   }
 }
index 0dff6d43e4c957846e93ea97c7efac6125cfc925..f29eb215857a3a0290ed6fa863de83eab895927a 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/compiler-sfc",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "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.7"
+    "vue": "3.0.0-alpha.8"
   },
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.7",
-    "@vue/compiler-core": "3.0.0-alpha.7",
-    "@vue/compiler-dom": "3.0.0-alpha.7",
+    "@vue/shared": "3.0.0-alpha.8",
+    "@vue/compiler-core": "3.0.0-alpha.8",
+    "@vue/compiler-dom": "3.0.0-alpha.8",
     "consolidate": "^0.15.1",
     "hash-sum": "^2.0.0",
     "lru-cache": "^5.1.1",
index aa3f289b4799098a839a4c49e465adbd0da2d470..4829e5ca284478bcb433411e1870152d7a47c7b6 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/compiler-ssr",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "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.7",
-    "@vue/compiler-dom": "3.0.0-alpha.7"
+    "@vue/shared": "3.0.0-alpha.8",
+    "@vue/compiler-dom": "3.0.0-alpha.8"
   }
 }
index accdade426053a570bc090120093d95cb5fc2c2f..ec65eb856c97ea3630a63668b15c48265c7ed6a0 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/reactivity",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "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.7"
+    "@vue/shared": "3.0.0-alpha.8"
   }
 }
index dd6806599adc66ac1e7e8c8e3e405d3d1eee3d51..5ca5ab4664b5a572a817fd5a6c8509672df61e0e 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/runtime-core",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "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.7",
-    "@vue/reactivity": "3.0.0-alpha.7"
+    "@vue/shared": "3.0.0-alpha.8",
+    "@vue/reactivity": "3.0.0-alpha.8"
   }
 }
index 04b37986f452c1f9fd7e0c82c68f19af5ee14c55..6f81ea19fbbb6b62b553e44f4c5bbaa637df7d90 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/runtime-dom",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "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.7",
-    "@vue/runtime-core": "3.0.0-alpha.7",
+    "@vue/shared": "3.0.0-alpha.8",
+    "@vue/runtime-core": "3.0.0-alpha.8",
     "csstype": "^2.6.8"
   }
 }
index 91ae6ea9422d2aceb7339bfa94a71139f9582cfd..33a2389e3102bf64342040946e8eb67e30bd95dd 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/runtime-test",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "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.7",
-    "@vue/runtime-core": "3.0.0-alpha.7"
+    "@vue/shared": "3.0.0-alpha.8",
+    "@vue/runtime-core": "3.0.0-alpha.8"
   }
 }
index 7a7f795dd3440cf01e043193a0bb9b6ce7b35a11..5941a1f2b8a3a217876d9516e4373e2e0548222a 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/server-renderer",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "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.7"
+    "vue": "3.0.0-alpha.8"
   },
   "dependencies": {
-    "@vue/shared": "3.0.0-alpha.7",
-    "@vue/compiler-ssr": "3.0.0-alpha.7"
+    "@vue/shared": "3.0.0-alpha.8",
+    "@vue/compiler-ssr": "3.0.0-alpha.8"
   }
 }
index eca54142cf652de1479e6ed7be5b2a001af44fa3..0787e50b4fdbe2a1c2a0607753e020c64f288be2 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/shared",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "description": "internal utils shared across @vue packages",
   "main": "index.js",
   "module": "dist/shared.esm-bundler.js",
index 920eb08e7c556f36a10a81681293e1ed9c360d3a..bf334a08ac03f21d1136b0f3818d318a5fffb482 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/size-check",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "private": true,
   "buildOptions": {
     "name": "Vue",
index 2394137250b07a255e12747fb70a3052946d0a02..5ff409a9a04dd53c7e9a6a9485d4378e46290d32 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@vue/template-explorer",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "private": true,
   "buildOptions": {
     "formats": [
index 720b2585addf2f6c7ef4fb32b45fcbeda95976c2..557a78ba27e634518215b3b2e42ad5471dbb7442 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "vue",
-  "version": "3.0.0-alpha.7",
+  "version": "3.0.0-alpha.8",
   "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.7",
-    "@vue/compiler-dom": "3.0.0-alpha.7",
-    "@vue/runtime-dom": "3.0.0-alpha.7"
+    "@vue/shared": "3.0.0-alpha.8",
+    "@vue/compiler-dom": "3.0.0-alpha.8",
+    "@vue/runtime-dom": "3.0.0-alpha.8"
   },
   "devDependencies": {
     "lodash": "^4.17.15",