Commit Graph

4205 Commits

Author SHA1 Message Date
Evan You
d70fd8d36b feat(reactivity-transform): rename @vue/ref-transform to @vue/reactivity-transform 2021-12-12 00:04:38 +08:00
Evan You
f4dcbbc7b9 chore: fix build 2021-12-11 23:48:32 +08:00
Evan You
fbd0fe9759 feat(reactivity-transform): support optionally importing macros 2021-12-11 18:28:03 +08:00
Evan You
db729ce99e feat(reactivity-transform/types): restructure macro types + export types for all shorthand methods 2021-12-11 18:15:44 +08:00
Evan You
198ca14f19 feat(reactivity-transform): $$() escape for destructured prop bindings 2021-12-11 17:50:09 +08:00
Evan You
179fc05a84 feat(reactivity-transform): support $-shorthands for all ref-creating APIs 2021-12-11 17:17:01 +08:00
Evan You
93ba6b974e feat(reactivity-transform): use toRef() for $() destructure codegen
- now supports destructuring reactive objects
- no longer supports rest elements
2021-12-11 17:13:15 +08:00
Evan You
2db9c909c2 feat(reactivity): support default value in toRef() 2021-12-11 16:41:58 +08:00
Evan You
d0ea900922 workflow: report brotli size of baseline build 2021-12-11 10:38:21 +08:00
Evan You
1928c9b537 refactor: move template ref setter into dedicated file 2021-12-11 10:09:21 +08:00
Evan You
41c18effea feat: support ref in v-for, remove compat deprecation warnings 2021-12-10 23:49:01 +08:00
Evan You
a1167c57e5 fix(runtime-core): disallow recurse in vnode/directive beforeUpdate hooks 2021-12-10 17:17:15 +08:00
Evan You
4b0ca8709a feat(compiler-core): support aliasing vue: prefixed events to inline vnode hooks 2021-12-10 16:09:23 +08:00
Evan You
1c9a4810fc fix(compiler): force block for custom dirs and inline beforeUpdate hooks
to ensure they are called before children updates
2021-12-10 15:36:10 +08:00
Evan You
4b5d1ac894 chore: remove outdated test case 2021-12-10 15:35:20 +08:00
Evan You
9823bd95d1 feat(experimental): allow const for ref sugar declarations 2021-12-10 14:05:40 +08:00
Evan You
d955cfacd6 release: v3.2.24 2021-12-06 17:03:10 +08:00
edison
6d887aaf59
fix(runtime-core): handle initial undefined attrs (#5017)
fix #5016
2021-12-06 00:58:45 -05:00
Noel De Martin
34985fee6b
feat(types/script-setup): add generic type to defineExpose (#5035) 2021-12-05 23:25:35 -05:00
Lucas Werkmeister
f73547fc05
chore(compat): fix example config syntax error (#5027)
The chainWebpack arrow function wasn’t being closed.
2021-12-05 23:24:59 -05:00
Thorsten Lünborg
f8552697fb
fix(package): ensure ref-macros export is recognized by vue-tsc (#5003) 2021-12-05 23:22:59 -05:00
Illya Klymov
ee97cf5a4d
fix(compat): maintain compatConfig option in legacy functional comp (#4974) 2021-12-05 23:20:27 -05:00
Che Guevara
595a93715b
refactor(types): use DOMRect instead of the Position type (#5012) 2021-12-05 23:19:47 -05:00
Ziwen Mei
d70dd9faaa
chore(compiler-sfc): fix typo in comments (#5029) 2021-12-05 23:19:15 -05:00
三咲智子
523b4b78f5
fix(types/reactivity): export ShallowRef type (#5026)
close #5205
2021-12-05 23:18:21 -05:00
Forzen FIsh
095fe269cb
chore: remove redundant variable declaration (#5053) 2021-12-05 23:10:58 -05:00
Evan You
29beda7c6f fix(compiler-dom): avoid bailing stringification on setup const bindings 2021-12-06 11:53:02 +08:00
Evan You
4713578367 workflow(template-explorer): handle debugging with nodeTransforms 2021-12-06 11:51:56 +08:00
Evan You
31d6a31d97 chore: fix template explorer local css link 2021-12-06 09:46:05 +08:00
Evan You
87c73e99d6 fix(compiler-sfc): make asset url imports stringifiable 2021-12-06 01:19:06 +08:00
Evan You
3e5ed6c1fc chore(playground): bump repl 2021-12-05 20:59:35 +08:00
n2ptune
772574febb
chore(custom-element): fix comment typo (#5028) [skip ci] 2021-12-03 10:10:54 +01:00
Ziwen Mei
2d4f455434
chore(compiler-sfc): fix typo in compileScript (#5000)
Co-authored-by: meiziwen1 <meiziwen1@xdf.cn>
2021-11-26 10:21:35 +01:00
Evan You
b6a8a451b8 release: v3.2.23 2021-11-26 14:33:46 +08:00
Evan You
68c45e73da feat(compiler-sfc): expose properties for more accurate HMR
ref #4358
reverts #4908
2021-11-26 14:22:26 +08:00
Che Guevara
90083f5718
workflow: update test script to support command line flags (#4947) 2021-11-25 23:24:55 -05:00
mehan
2a4f134fc5
chore: remove unnecessary assertion (#4867) 2021-11-25 23:08:25 -05:00
ygj6
c61baac75a
feat(compiler-sfc): export resolveTemplateUsageCheckString for HMR plugin use (#4908) 2021-11-25 22:58:14 -05:00
Evan You
6d46b36e7c revert: "fix(types): use proper array type when unwrapping reactive array (#4807)"
This reverts commit 89c54ee2b9.
2021-11-26 10:54:12 +08:00
Evan You
124570973d fix(types): export ref-macros.d.ts 2021-11-26 10:48:33 +08:00
Che Guevara
4e1131e251
chore: improve BaseTransition (#4811) 2021-11-25 05:42:24 -05:00
Cheese
89c54ee2b9
fix(types): use proper array type when unwrapping reactive array (#4807) 2021-11-25 05:41:25 -05:00
Evan You
3bdd03b152 workflow: use terser minification when checking size 2021-11-25 18:39:13 +08:00
Stefan Mayer
1701bf3968
fix(runtime-dom): patchDOMProps should not set _value if element is custom element (#4839)
Co-authored-by: Stefan Mayer <stefan.m.mayer@daimler.com>
2021-11-25 05:30:32 -05:00
Evan You
aac0466cb8 fix(runtime-core): fix component public instance has check for accessed non-existent properties
close #4962
2021-11-25 18:15:06 +08:00
Thorsten Lünborg
89b2f924fc
fix(runtime-dom): fix option element value patching edge case (#4959)
fix #4956
2021-11-25 05:05:02 -05:00
fishDog
3c449cd408
fix(types): fix propType<any> type inference (#4985)
fix #4983
2021-11-25 04:52:13 -05:00
Cédric Exbrayat
c17cbdc28f
refactor: use refTransform instead of deprecated refSugar (#4957) 2021-11-25 04:39:36 -05:00
JensDll
c6cd6a7938
fix (types): do not unwrap refs in toRefs (#4966) 2021-11-25 04:39:09 -05:00
Thorsten Lünborg
f2d2d7b2d2
fix(types): scrip-setup+ts: ensure proper handling of null as default prop value. (#4979)
fix #4868
2021-11-25 04:33:29 -05:00