Commit Graph

2739 Commits

Author SHA1 Message Date
edison
1cc8cd60a1
test(runtime-core): show warn when create with invalid type (#2128) 2020-10-13 15:27:21 -04:00
ᴜɴвʏтᴇ
692197be33
fix(compiler-core): fix v-if key injection with v-on object syntax (#2368)
fix #2366
2020-10-13 12:04:52 -04:00
Evan You
6ba7ba47d5 feat: custom formatters 2020-10-13 11:50:24 -04:00
dependabot-preview[bot]
ffdb05e1f1
build(deps-dev): bump jest from 26.5.2 to 26.5.3 (#2365) 2020-10-12 12:38:40 +00:00
Evan You
2ae3b26679 fix(teleport): proper children traversal when teleport is block root
fix #2324
2020-10-10 16:07:30 -04:00
dependabot-preview[bot]
9bb14149b0
build(deps-dev): bump eslint from 7.10.0 to 7.11.0 (#2351) 2020-10-10 19:01:46 +00:00
dependabot-preview[bot]
51c18ed193
build(deps-dev): bump @types/node from 14.11.5 to 14.11.8 (#2346) 2020-10-09 14:49:30 +00:00
Evan You
b0931dcaba fix(teleport): should only force remove teleport when not disabled
fix #2323
2020-10-09 09:08:59 -04:00
Evan You
54ed7592e4 fix(v-model): ensure initial value is set after other attributes
fix #2325
2020-10-08 16:41:45 -04:00
dependabot-preview[bot]
d1a6ce6565
build(deps-dev): bump sass from 1.26.11 to 1.27.0 (#2334) 2020-10-08 11:27:09 +00:00
ᴜɴвʏтᴇ
fbd198fbfe
fix(v-model): avoid clearing IME compose state on updates (#2304)
fix #2302
2020-10-07 22:34:53 -04:00
Evan You
4d1ebb5deb fix(runtime-core): fix directive merging on component root
fix #2298
2020-10-07 22:02:32 -04:00
Evan You
f06518a8c9 fix(runtime-core): fix provide function data access in extends/mixins
fix #2300
2020-10-07 21:47:01 -04:00
Evan You
cbcec6e978 chore: add missing feature flag to jest config 2020-10-07 21:46:25 -04:00
ᴜɴвʏтᴇ
89c5909a6f
fix(compiler-core): allow spaces between if-else branches (#2305)
fix #2299
2020-10-07 20:57:17 -04:00
Evan You
25d53f09bb fix(runtime-core/template-refs): do not reset refs object before updates
fix #2283
2020-10-07 17:49:03 -04:00
Evan You
b392fe419c fix(runtime-core): error handling for created/beforeCreate hooks
fix #2268
2020-10-07 16:58:19 -04:00
edison
d744b8a2dc
fix(runtime-dom): v-model should support number modifier with select tag (#2308)
close #2252
2020-10-07 15:06:41 -04:00
dependabot-preview[bot]
3d3323f452
build(deps-dev): bump @types/node from 14.11.2 to 14.11.5 (#2319) 2020-10-07 03:12:21 +00:00
dependabot-preview[bot]
f16338b8f6
build(deps-dev): bump @microsoft/api-extractor from 7.10.1 to 7.10.4 (#2320) 2020-10-07 03:05:18 +00:00
dependabot-preview[bot]
f09e184526
build(deps-dev): bump jest from 26.5.0 to 26.5.2 (#2318) 2020-10-07 03:01:56 +00:00
dependabot-preview[bot]
1902af319a
build(deps-dev): bump @typescript-eslint/parser from 4.3.0 to 4.4.0 (#2317) 2020-10-07 02:59:59 +00:00
Evan You
f9566f00df test(compiler-core): add test case for v-on event case conversion 2020-10-06 18:31:04 -04:00
shadowings-zy
62f26173ba
fix(runtime-core): use consistent camelCase event casing for render functions (#2278)
close #2249
2020-10-06 18:28:56 -04:00
Evan You
390589ec6d fix(reactivity): should not trigger watch on computed ref when value is unchanged
fix #2231
2020-10-06 18:16:20 -04:00
Evan You
a66e53a24f fix(runtime-core): fix SSR memoery leak due to props normalization cache
fix #2225

The previous props/emits normlaization was caching normalized result per
app instance, but during SSR there is a new app instance created for
every request.

The fix now de-opts props/emits normlaization caching when there are
props/emits declared in global mixins - which is a very rare use case.
2020-10-06 15:31:29 -04:00
Evan You
cf2c9f6faa perf: do not enable hmr in non-browser envs 2020-10-06 11:51:55 -04:00
Evan You
5c3e8e9840 fix(runtime-core): ensure this context for $nextTick callback
fix #2282
2020-10-05 18:18:38 -04:00
Evan You
f4119249f2 fix(compiler-core): consistently remove comment nodes for pre tags in production
close #2217
2020-10-05 17:53:34 -04:00
ᴜɴвʏтᴇ
4d20ac8173
fix(runtime-core): make errorCaptured return value handling consistent with Vue 2 (#2289)
fix #2267
2020-10-05 17:37:26 -04:00
HcySunYang
ea1f87eabf
fix(reactivity): should add allowRecurse to the effect (#2213)
So that the scheduler also respects effect's allowRecurse option.

fix #2200
2020-10-05 16:36:02 -04:00
Philipp Rudloff
28d5fd7a28
fix(runtime-core): vnode.el is null in watcher after rerendering (#2295)
fix #2170
2020-10-05 16:05:43 -04:00
Evan You
db6c2df24b chore(readme): update eslint-plugin-vue status [ci skip] 2020-10-05 12:02:01 -04:00
Evan You
60da878d58 chore: add github sponsors to funding.yml [ci skip] 2020-10-05 12:00:41 -04:00
HcySunYang
9499871582
fix(compiler-core): make v-once work with v-if/else-if/else (#2182)
Partial fix for #2035
2020-10-05 11:58:37 -04:00
dependabot-preview[bot]
752ecee407
build(deps-dev): bump jest from 26.4.2 to 26.5.0 (#2301) 2020-10-05 11:51:18 +00:00
dependabot-preview[bot]
1abcb2cf61
build(deps-dev): bump @microsoft/api-extractor from 7.9.22 to 7.10.1 (#2285) 2020-10-01 04:38:49 +00:00
dependabot-preview[bot]
5d825f318f
build(deps-dev): bump ts-jest from 26.4.0 to 26.4.1 (#2276) 2020-09-29 23:59:07 +00:00
dependabot-preview[bot]
aa90801174
build(deps-dev): bump @typescript-eslint/parser from 4.1.1 to 4.3.0 (#2275) 2020-09-29 23:57:02 +00:00
dependabot-preview[bot]
4b4e54a50e
build(deps-dev): bump @types/puppeteer from 2.1.4 to 2.1.5 (#2274) 2020-09-29 23:56:11 +00:00
Nathan Shively-Sanders
d52d139b85
types: fix Typescript 4.1 compile error (#2219)
close #2218
2020-09-28 12:39:14 -04:00
dependabot-preview[bot]
bcdd1002eb
build(deps-dev): bump eslint from 7.9.0 to 7.10.0 (#2257) 2020-09-28 12:01:17 +00:00
dependabot-preview[bot]
a268f6fc70
build(deps-dev): bump rollup-plugin-typescript2 from 0.27.2 to 0.27.3 (#2241) 2020-09-25 21:32:57 +00:00
dependabot-preview[bot]
8dda987f8c
build(deps-dev): bump rollup from 2.28.1 to 2.28.2 (#2229) 2020-09-25 03:57:24 +00:00
meteorlxy
64f44c671a
chore(compiler-core): fix typo in tests (#2209) 2020-09-23 12:25:52 +02:00
dependabot-preview[bot]
747dc2d4b5
build(deps-dev): bump @types/puppeteer from 2.1.3 to 2.1.4 (#2206) 2020-09-23 01:14:13 +00:00
dependabot-preview[bot]
d6050abdf4
build(deps-dev): bump @microsoft/api-extractor from 7.9.19 to 7.9.22 (#2207) 2020-09-23 01:12:22 +00:00
dependabot-preview[bot]
166ac16ce2
build(deps-dev): bump @types/node from 14.11.1 to 14.11.2 (#2203) 2020-09-23 01:03:29 +00:00
Evan You
376883d1cf fix(runtime-core): fix duplicated unmount traversal in optimized mode
fix #2169
2020-09-22 11:38:15 -04:00
wonderful-panda
5dbd6b36a0
fix(types): fix using tuple type as EmitsOptions (#2160)
fix #2159
2020-09-22 10:05:37 -04:00