皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

Vue 3.0.3 发布

Bug Fixes

  • compiler-core/compiler-sfc: handle destructure assignment expressions (4c6078c)
  • compiler-sfc: fix script setup ts helpers (6e3abc8)
  • hmr: fix updates for imported but not yet rendered components (9c23ddf)
  • runtime-core: components with static props and slots should not be force updated (51e43e0)
  • runtime-core: ensure scheduler queue is always non-null (#2567) (af95604)
  • runtime-dom: use correct import source (f28ca55)
  • style-vars: apply css vars in post flush effect (3a6b120)
  • handle case of ref declaration without initial value (8485cd4)
  • types: ensure correct type for toRef and toRefs on existing refs (8e20375)

Experimental Features

Note: support for experimental features in SFCs have been updated according to changes in ongoing RFCs. This release may break existing usage of such experimental features.

  • compiler-sfc: compileScript inline render function mode (886ed76)
  • compiler-sfc: new script setup implementation (556560f)
  • compiler-sfc: new SFC css varaible injection implementation (41bb7fa)
  • compiler-sfc: support kebab-case components in <script setup> sfc template (3f99e23)
  • runtime-core: explicit expose API (0e59770)

Reverts

  • Revert “wip: allow scriptCompiled to be cached on sfc descriptor” (9db4288)

 

 

Assets 2
转自 https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md