|
19 | 19 | -->
|
20 | 20 |
|
21 | 21 | 🚀 欢迎`Star`,后续会不断更新。
|
22 |
| -🇨🇳 最后更新日期:2️⃣0️⃣2️⃣1️⃣`/`0️⃣5️⃣ |
| 22 | +🇨🇳 最后更新日期:2️⃣0️⃣2️⃣1️⃣`/`0️⃣6️⃣ |
23 | 23 |
|
24 | 24 | 2021年您好,(*´▽`)ノノ*),继续前行!
|
25 | 25 | 【2021】 ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡---------------------- 【2022】
|
@@ -75,39 +75,33 @@ Vue 3 中最主要的新特性:组合式 API,已经可以借助 https://gith
|
75 | 75 |
|
76 | 76 |  yyx990803
|
77 | 77 |
|
78 |
| -### [3.1.0-beta.2](https://github.com/vuejs/vue-next/compare/v3.1.0-beta.1...v3.1.0-beta.2) (2021-05-08) |
| 78 | +### [3.1.0-beta.7](https://github.com/vuejs/vue-next/compare/v3.1.0-beta.6...v3.1.0-beta.7) (2021-06-02) |
79 | 79 |
|
80 | 80 | **Bug Fixes**
|
81 | 81 |
|
82 |
| -* **compat:** handle and warn config.optionMergeStrategies ([94e69fd](https://github.com/vuejs/vue-next/commit/94e69fd3896214da6ff8b9fb09ad942c598053c7)) |
| 82 | +* **compat:** fix deep data merge with extended constructor ([c7efb96](https://github.com/vuejs/vue-next/commit/c7efb967ca5ab42ea2713331b8e53ae5c2746a78)), closes [#3852](https://github.com/vuejs/vue-next/issues/3852) |
| 83 | +* **compiler-sfc:** fix style injection when using normal script + setup ([8b94464](https://github.com/vuejs/vue-next/commit/8b94464a3b9759a7a98c23efeafc7a9359c9807d)), closes [#3688](https://github.com/vuejs/vue-next/issues/3688) |
| 84 | +* **compiler-sfc:** fix template expression assignment codegen for script setup let refs ([#3626](https://github.com/vuejs/vue-next/issues/3626)) ([2c7bd42](https://github.com/vuejs/vue-next/commit/2c7bd428011e027efa8f66487d2269c8dd79a2b0)), closes [#3625](https://github.com/vuejs/vue-next/issues/3625) |
| 85 | +* **runtime-core:** align option merge behavior with Vue 2 ([e2ca67b](https://github.com/vuejs/vue-next/commit/e2ca67b59a4de57a9bce8d3394263ba493a35a39)), closes [#3566](https://github.com/vuejs/vue-next/issues/3566) [#2791](https://github.com/vuejs/vue-next/issues/2791) |
| 86 | +* **runtime-dom/v-model:** only set selectedIndex when the value changes ([#3845](https://github.com/vuejs/vue-next/issues/3845)) ([ecd97ee](https://github.com/vuejs/vue-next/commit/ecd97ee6e465ec5c841d58d96833fece4e899785)) |
| 87 | +* **suspense:** fix suspense regression for errored template component ([44996d1](https://github.com/vuejs/vue-next/commit/44996d1a0a2de1bc6b3abfac6b2b8b3c969d4e01)), closes [#3857](https://github.com/vuejs/vue-next/issues/3857) |
| 88 | +* **watch:** avoid traversing objects that are marked non-reactive ([9acc9a1](https://github.com/vuejs/vue-next/commit/9acc9a1fa838bdcdf673d2f7cc3f996b2b69ffbc)) |
83 | 89 |
|
84 |
| -### [3.1.0-beta.1](https://github.com/vuejs/vue-next/compare/v3.0.11...v3.1.0-beta.1) (2021-05-08) |
| 90 | +**Code Refactoring** |
85 | 91 |
|
86 |
| -**Bug Fixes** |
87 |
| - |
88 |
| -* **compiler-core:** preserve comment content in production when comments option is enabled ([e486254](https://github.com/vuejs/vue-next/commit/e4862544310a4187dfc8b3a49944700888bb60e3)) |
89 |
| -* **hmr:** don't remove __file key from component type ([9db3cbb](https://github.com/vuejs/vue-next/commit/9db3cbbfc1a072675a8d0e53edf3869af115dc60)) |
90 |
| -* **hydration:** fix update before async component is hydrated ([#3563](https://github.com/vuejs/vue-next/issues/3563)) ([c8d9683](https://github.com/vuejs/vue-next/commit/c8d96837b871d7ad34cd73b4669338be5fdd59fd)), closes [#3560](https://github.com/vuejs/vue-next/issues/3560) |
91 |
| -* **reactivity:** fix tracking for readonly + reactive Map ([#3604](https://github.com/vuejs/vue-next/issues/3604)) ([5036c51](https://github.com/vuejs/vue-next/commit/5036c51cb78435c145ffea5e82cd620d0d056ff7)), closes [#3602](https://github.com/vuejs/vue-next/issues/3602) |
92 |
| -* **runtime-core:** ensure declare prop keys are always present ([4fe4de0](https://github.com/vuejs/vue-next/commit/4fe4de0a49ffc2461b0394e74674af38ff5e2a20)), closes [#3288](https://github.com/vuejs/vue-next/issues/3288) |
93 |
| -* **runtime-core:** watching multiple sources: computed ([#3066](https://github.com/vuejs/vue-next/issues/3066)) ([e7300eb](https://github.com/vuejs/vue-next/commit/e7300eb47960a153311d568d7976ac5256eb6297)), closes [#3068](https://github.com/vuejs/vue-next/issues/3068) |
94 |
| -* **Teleport:** avoid changing the reference of vnode.dynamicChildren ([#3642](https://github.com/vuejs/vue-next/issues/3642)) ([43f7815](https://github.com/vuejs/vue-next/commit/43f78151bfdff2103a9be25e66e3f3be68d03a08)), closes [#3641](https://github.com/vuejs/vue-next/issues/3641) |
95 |
| -* **watch:** avoid traversing non-plain objects ([62b8f4a](https://github.com/vuejs/vue-next/commit/62b8f4a39ca56b48a8c8fdf7e200cb80735e16ae)) |
96 |
| -* **watch:** this.$watch should support watching keypath ([870f2a7](https://github.com/vuejs/vue-next/commit/870f2a7ba35245fd8c008d2ff666ea130a7e4704)) |
97 |
| - |
98 |
| -**Features** |
99 |
| - |
100 |
| -* onServerPrefetch ([#3070](https://github.com/vuejs/vue-next/issues/3070)) ([349eb0f](https://github.com/vuejs/vue-next/commit/349eb0f0ad78f9cb491278eb4c7f9fe0c2e78b79)) |
101 |
| -* support component-level `compilerOptions` when using runtime compiler ([ce0bbe0](https://github.com/vuejs/vue-next/commit/ce0bbe053abaf8ba18de8baf535e175048596ee5)) |
102 |
| -* **compiler-core:** whitespace handling strategy ([dee3d6a](https://github.com/vuejs/vue-next/commit/dee3d6ab8b4da6653d15eb148c51d9878007f6b6)) |
103 |
| -* **config:** support configuring runtime compiler via `app.config.compilerOptions` ([091e6d6](https://github.com/vuejs/vue-next/commit/091e6d67bfcc215227d78be578c68ead542481ad)) |
104 |
| -* **devtools:** improved KeepAlive support ([03ae300](https://github.com/vuejs/vue-next/commit/03ae3006e1e678ade4377cd10d206e8f7b4ad0cb)) |
105 |
| -* support casting plain element to component via is="vue:xxx" ([af9e699](https://github.com/vuejs/vue-next/commit/af9e6999e1779f56b5cf827b97310d8e4e1fe5ec)) |
| 92 | +* adjust component options merge cache strategy ([1e35a86](https://github.com/vuejs/vue-next/commit/1e35a860b995c1158d5c4e1706d2fc9bcd3b8412)) |
106 | 93 |
|
107 | 94 | **Performance Improvements**
|
108 | 95 |
|
109 |
| -* only trigger $attrs update when it has actually changed ([5566d39](https://github.com/vuejs/vue-next/commit/5566d39d467ebdd4e4234bc97d62600ff01ea28e)) |
110 |
| -* **compiler:** skip unncessary checks when parsing end tag ([048ac29](https://github.com/vuejs/vue-next/commit/048ac299f35709b25ae1bc1efa67d2abc53dbc3b)) |
| 96 | +* avoid deopt for props/emits normalization when global mixins are used ([51d2be2](https://github.com/vuejs/vue-next/commit/51d2be20386d4dc59006d31a1cc96676871027ce)) |
| 97 | + |
| 98 | +**BREAKING CHANGES** |
| 99 | + |
| 100 | +* optionMergeStrategies functions no longer receive |
| 101 | +the component instance as the 3rd argument. The argument was technically |
| 102 | +internal in Vue 2 and only used for generating warnings, and should not |
| 103 | +be needed in userland code. This removal enables much more efficient |
| 104 | +caching of option merging. |
111 | 105 |
|
112 | 106 | ...
|
113 | 107 |
|
@@ -235,6 +229,14 @@ TODOLIST:
|
235 | 229 | 🌺 🌸 🌼 🌻 🌞 🌝
|
236 | 230 | 四季如春的小城, 似乎没有什么最好的季节, 如果一定要选, 我觉得有一些小雨的夏末最是温柔清 ...
|
237 | 231 |
|
| 232 | +* [「PPT」尤雨溪谈Vue3 生态进展和计划](https://baijiahao.baidu.com/s?id=1701017525409475609&wfr=spider&for=pc?content_source_url=https://github.com/vue3/vue3-News) |
| 233 | +* [「视频」尤雨溪谈Vue3 生态进展和计划](https://baijiahao.baidu.com/s?id=1701415517962408770&wfr=spider&for=pc?content_source_url=https://github.com/vue3/vue3-News) |
| 234 | +* [Electron+Vue3 MAC 版日历 开发记录(2)——功能清单](https://juejin.cn/post/6968972252389851172?content_source_url=https://github.com/vue3/vue3-News) |
| 235 | +* [Electron+Vue3 MAC 版日历开发记录(1)](https://juejin.cn/post/6968670953836380196?content_source_url=https://github.com/vue3/vue3-News) |
| 236 | +* [Vue3 源码解析(五):Patch 算法](https://juejin.cn/post/6968585717924495368?content_source_url=https://github.com/vue3/vue3-News) |
| 237 | +* [Vue3.0七大亮点是什么??](https://juejin.cn/post/6968261755063500831?content_source_url=https://github.com/vue3/vue3-News) |
| 238 | +* [vue3组合式api](https://segmentfault.com/a/1190000040109375?content_source_url=https://github.com/vue3/vue3-News) |
| 239 | +* [vue3 jest单元测试环境搭建](https://zhuanlan.zhihu.com/p/377566681?content_source_url=https://github.com/vue3/vue3-News) |
238 | 240 | * [Vue3能用到生产环境了吗?](https://zhuanlan.zhihu.com/p/372766813?content_source_url=https://github.com/vue3/vue3-News)
|
239 | 241 | * [webpack5(Module Federation)+vue3.0实现微前端](https://juejin.cn/post/6962052554859642916?content_source_url=https://github.com/vue3/vue3-News)
|
240 | 242 | * [手写简化版的 vue3 diff 算法](https://juejin.cn/post/6962783046009356295?content_source_url=https://github.com/vue3/vue3-News)
|
|
0 commit comments