Commit Graph

2527 Commits

Author SHA1 Message Date
dependabot-preview[bot]
3fa5c9fdab
build(deps-dev): bump rollup from 2.23.1 to 2.25.0 (#1856) 2020-08-14 10:31:27 +00:00
dependabot-preview[bot]
9aa4d2fbf3
build(deps-dev): bump lodash from 4.17.19 to 4.17.20 (#1855) 2020-08-14 10:29:36 +00:00
Evan You
ac81dcf0cc fix(reactivity): effect should still check sync self-trigger 2020-08-13 17:45:21 -04:00
Evan You
611437a3fe fix(runtime-core/scheduler): allow component render functions to trigger itself
fix #1801
2020-08-13 17:42:47 -04:00
underfin
bc6f252c4a
fix(runtime-core): should correctly call beforeEnter inside Suspense (#1805)
fix #1795
2020-08-13 12:36:30 -04:00
HcySunYang
3991ff03ce
fix(runtime-core): separate null vs. non-null ref value updates (#1835)
fix #1789, fix #1834
2020-08-13 12:27:17 -04:00
Jacob Smith
b14f4a505b
fix(codeframe): Added Math.max to prevent RangeError (#1807)
fix #1806
2020-08-12 15:52:28 -04:00
beary
b984d47ac4
fix(types/jsx): update innerHTML property in jsx typing (#1814) 2020-08-12 15:50:11 -04:00
dependabot-preview[bot]
a56b3bfa68
build(deps-dev): bump @microsoft/api-extractor from 7.9.2 to 7.9.4 (#1839) 2020-08-12 14:33:29 +00:00
dependabot-preview[bot]
77a6286c1c
build(deps-dev): bump conventional-changelog-cli from 2.0.34 to 2.1.0 (#1838) 2020-08-12 14:30:51 +00:00
dependabot-preview[bot]
c44fccc1d4
build(deps-dev): bump ts-jest from 26.1.4 to 26.2.0 (#1833) 2020-08-11 12:50:01 +00:00
dependabot-preview[bot]
d142b434bd
build(deps-dev): bump jest from 26.2.2 to 26.3.0 (#1832) 2020-08-11 12:44:53 +00:00
dependabot-preview[bot]
bd96ec488e
build(deps-dev): bump rollup from 2.23.0 to 2.23.1 (#1821) 2020-08-10 09:49:23 +00:00
dependabot-preview[bot]
c8bb8386bf
build(deps-dev): bump rollup-plugin-typescript2 from 0.27.1 to 0.27.2 (#1819) 2020-08-10 09:36:26 +00:00
Evan You
50adc014f5 refactor(reactivity): readonly collections should not track 2020-08-06 12:10:03 -04:00
Evan You
ed4381020f fix(reactivity): readonly+reactive collection should also expose readonly+reactive values
fix #1772
2020-08-06 11:18:16 -04:00
Evan You
48576e582c fix(transition): transition should accept multiple handlers on same event
fix #1746
2020-08-06 10:28:03 -04:00
Evan You
791eff3dfb fix(runtime-core): avoid manual slot invocation in template expressions interfering with block tracking
fix #1745
2020-08-06 10:16:13 -04:00
zhangzhonghe
233d191d0d
fix(keep-alive): fix activated hook invocation on nested components (#1743)
fix #1742
2020-08-06 09:42:52 -04:00
Eduardo San Martin Morote
00683fce9a
fix(runtime-dom): patch form as an attribute (#1788)
Close #1787
2020-08-06 09:32:28 -04:00
wujieZ
2787c34cd4
fix(reactivity): use isExtensible instead of isFrozen (#1753)
close #1784
2020-08-05 11:53:50 -04:00
Evan You
3692f2738f refactor(runtime-core/scheduler): dedicated preFlush queue
properly fix #1763, #1777, #1781
2020-08-05 10:55:23 -04:00
Evan You
74a1265fea chore: remove debugger 2020-08-05 09:32:18 -04:00
Evan You
a0e34cee4a fix(watch): exhaust pre-flush watchers + avoid duplicate render by pre-flush watchers
close #1777
2020-08-04 13:20:23 -04:00
Eduardo San Martin Morote
b5f91ff570
fix(watch): allow handler to be a string (#1775)
fix #1774
2020-08-04 12:42:47 -04:00
Evan You
b0d01e9db9 dx(compiler-core): warn on <template v-for> key misplacement
Note: the behavior is different from Vue 2. `<template v-for>` are compiled
into an array of Fragment vnodes so the key should be placed the `<template>`
for v-for to use it for diffing.
2020-08-04 12:20:32 -04:00
Evan You
de0c8a7e3e fix(compiler-core): v-if key error should only be checking same key on different branches 2020-08-04 12:01:18 -04:00
dependabot-preview[bot]
c3f8c780e7
build(deps-dev): bump @typescript-eslint/parser from 3.7.1 to 3.8.0 (#1776) 2020-08-04 12:27:35 +00:00
Evan You
11ed210391 chore: fix tests 2020-08-03 18:01:07 -04:00
Evan You
8d4abc3814 chore: unset removed invokers 2020-08-03 17:56:55 -04:00
Evan You
1c967fc44b fix(runtime-dom): fix v-on same computed handler on multiple elements
fix #1747
2020-08-03 17:55:22 -04:00
Yang Mingshan
b2a91429ed
fix(runtime-core/scheduler): prevent duplicate queue (#1767) 2020-08-03 17:19:06 -04:00
Aurelius333
86cdf6694d
chore(compiler-core): improve X_V_IF_KEY error message (#1757) 2020-08-03 17:14:14 -04:00
Evan You
0cd98c3040 fix(runtime-dom): style binding multi value support
fix #1759
2020-08-03 17:13:17 -04:00
Evan You
f6afe7000e fix(runtome-core): do not cache property access in beforeCreate hook
fix #1756
2020-08-03 17:04:45 -04:00
Evan You
d4c17fb48b fix(watch): pre-flush watcher watching props should trigger before component update
fix #1763
2020-08-03 16:49:30 -04:00
dependabot-preview[bot]
b10bc2820a
build(deps-dev): bump eslint from 7.5.0 to 7.6.0 (#1765) 2020-08-03 10:01:40 +00:00
dependabot-preview[bot]
411b203adf
build(deps-dev): bump @types/jest from 26.0.7 to 26.0.8 (#1750) 2020-07-31 16:45:00 +00:00
dependabot-preview[bot]
a293fdfe33
build(deps-dev): bump jest from 26.1.0 to 26.2.2 (#1748) 2020-07-31 16:41:24 +00:00
Evan You
fce2689ff1 fix(watch): should trigger watcher callback on triggerRef when watching ref source
fix #1736
2020-07-30 18:29:38 -04:00
Evan You
09702e95b9 fix(runtime-core/scheduler): only allow watch callbacks to be self-triggering
fix #1740

Previous fix for #1727 caused `watchEffect` to also recursively trigger
itself on reactive array mutations which implicitly registers array
`.length` as dependencies and mutates it at the same time.

This fix limits recursive trigger behavior to only `watch()` callbacks
since code inside the callback do not register dependencies and
mutations are always explicitly intended.
2020-07-30 17:57:20 -04:00
dependabot-preview[bot]
ccf3362d4d
build(deps): bump csstype from 2.6.11 to 2.6.13 (#1737)
Bumps [csstype](https://github.com/frenic/csstype) from 2.6.11 to 2.6.13.
- [Release notes](https://github.com/frenic/csstype/releases)
- [Commits](https://github.com/frenic/csstype/compare/v2.6.11...v2.6.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-30 16:45:36 -04:00
dependabot-preview[bot]
5e20a3ed9a
build(deps): [security] bump elliptic from 6.5.2 to 6.5.3 (#1735)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-30 16:45:16 -04:00
Evan You
8b67513dab chore: update cli status [ci skip] 2020-07-29 10:24:02 -04:00
Carlos Rodrigues
ce78eac8e9
fix(runtime-core): check if the key is string on undefined property warning (#1731) 2020-07-29 10:06:36 -04:00
Evan You
848d9ce2ea release: v3.0.0-rc.5 2020-07-28 17:42:05 -04:00
Evan You
6f5d840612 feat(sfc): support resolving template components from <script setup> exports 2020-07-28 17:31:46 -04:00
Evan You
aa06b1034d
feat(reactivity): proxyRefs method and ShallowUnwrapRefs type (#1682)
* feat(reactivity): `proxyRefs` method and `ShallowUnwrapRefs` type

BREAKING CHANGE: template auto ref unwrapping are now applied shallowly,
i.e. only at the root level. See https://github.com/vuejs/vue-next/pull/1682 for
more details.
2020-07-28 16:30:56 -04:00
underfin
de62cc040c
fix(hmr): should update el for HYDRATE_EVENTS patchFlags node (#1707)
fix https://github.com/vitejs/vite/issues/613
2020-07-28 15:52:20 -04:00
Carlos Rodrigues
421a70de5e
test(types): test computed get/set type inference (#1709) 2020-07-28 15:40:23 -04:00