dependabot[bot]
305883a12f
build(deps-dev): bump typescript from 4.3.5 to 4.4.2 ( #4482 )
...
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2
* test: fix nodeOps types
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
Co-authored-by: Evan You <yyx990803@gmail.com>
2021-09-02 09:53:57 -04:00
laineus
741d3b36f2
fix(runtime-core): properly merge unmounted and beforeUnmount options ( #4447 )
2021-09-01 16:41:57 -04:00
Evan You
c1f564e1dc
fix(runtime-core): fix child component double update on props change
...
fix #4365
2021-08-17 10:57:28 -04:00
HcySunYang
cd2d98499e
fix(runtime-core): vnode hooks should not be called on async wrapper ( #4349 )
...
fix #4346
2021-08-16 15:35:50 -04:00
lidlanca
6779bff537
feat(runtime-core): support dynamic / external array in v-memo ( #4255 )
2021-08-09 15:39:22 -04:00
edison
3b60358d0e
fix(v-memo): should work on v-for with constant expression ( #4272 )
...
fix #4246
2021-08-06 21:37:09 -04:00
Evan You
51ee84fc6a
fix(suspense): fix dynamicChildren tracking when suspense root is a block itself
...
e.g. `<slot>` inside suspense
fix #4183 , fix #4198
2021-07-28 16:49:34 -04:00
Evan You
561e210157
fix(inject): should auto unwrap injected refs
...
fix #4196
2021-07-27 17:52:37 -04:00
Evan You
db3f57a392
fix(hmr): fix hmr when global mixins are used
...
fix #4174
2021-07-22 10:53:59 -04:00
Evan You
8560005601
fix(runtime-core): ensure setupContext.attrs reactivity when used in child slots
...
fix #4161
2021-07-21 17:31:00 -04:00
Evan You
dd1439e711
build: reduce runtime build size
2021-07-21 11:11:40 -04:00
Evan You
d87d059ac1
feat(runtime-core): watchSyncEffect
2021-07-20 16:49:54 -04:00
Evan You
33c2fbfdc8
fix(reactivity): revert computed scheduler change
...
fix #4157
2021-07-20 16:45:29 -04:00
Evan You
bc7f9767f5
fix(watch): ensure watchers respect detached scope
...
fix #4158
2021-07-20 14:32:17 -04:00
Evan You
2bdee50a59
fix(runtime-core): fix v-bind class/style merging regression
...
fix #4155
2021-07-20 13:58:43 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Evan You
d810a1a569
fix(scheduler): fix insertion for id-less job
...
fix #4148
2021-07-19 13:37:38 -04:00
Evan You
bbf6ca9bca
fix(runtime-core): fix null type in required + multi-type prop declarations
...
fix #4146 (in combination with #4147 )
2021-07-19 11:20:28 -04:00
Evan You
4e5897d2df
test: fix renderSlot tests
2021-07-16 14:30:49 -04:00
Evan You
42ace9577d
feat: watchPostEffect
2021-07-16 14:30:49 -04:00
Evan You
3b64508e3b
feat: v-memo
2021-07-16 14:30:49 -04:00
Evan You
bde855e017
test: test for computed optimization
2021-07-16 14:30:49 -04:00
Anthony Fu
f5617fc3bb
feat(reactivity): new effectScope API ( #2195 )
2021-07-16 14:30:49 -04:00
Evan You
87f69fd0bb
perf(reactivity): improve reactive effect memory usage ( #4001 )
...
Based on #2345 , but with smaller API change
- Use class implementation for `ReactiveEffect`
- Switch internal creation of effects to use the class constructor
- Avoid options object allocation
- Avoid creating bound effect runner function (used in schedulers) when not necessary.
- Consumes ~17% less memory compared to last commit
- Introduces a very minor breaking change: the `scheduler` option passed to `effect` no longer receives the runner function.
2021-07-16 14:30:49 -04:00
鱼
b31712ecc5
test(teleport): fix meaningless test case ( #2872 )
2021-07-15 16:36:36 -04:00
Evan You
03e26845e2
fix(sfc): fix <script setup>
async context preservation logic
...
fix #4050
2021-07-06 14:31:53 -04:00
Evan You
d12206db8e
test: add test case for proper effect teardown w/ withAsyncContext
2021-07-06 11:39:27 -04:00
Austin Keener
12cf9f4ea1
fix(runtime-core): fix instance accessed via $parent chain when using expose() ( #4048 )
2021-07-02 07:51:54 -04:00
Evan You
34d4991dd5
fix(ssr): properly hydrate non-string value bindings
...
fix #4006
2021-07-01 17:11:23 -04:00
Evan You
9ee41e14d2
fix: prevent withAsyncContext currentInstance leak in edge cases
2021-06-29 14:22:18 -04:00
Evan You
0240e82a38
feat(sfc): auto restore current instance after await statements in async setup()
2021-06-29 09:24:12 -04:00
Evan You
4c5844a9ca
feat(sfc): withDefaults helper
2021-06-26 21:11:57 -04:00
Evan You
b0203a3092
feat(expose): always expose $ instance properties on child refs
2021-06-24 21:28:09 -04:00
Evan You
ac853ff4ab
test: fix script setup helpers tests
2021-06-23 10:31:32 -04:00
Eduardo San Martin Morote
a137da8a9f
feat(sfc): add defineEmits
and deprecate defineEmit
( #3725 )
2021-06-22 15:02:56 -04:00
Evan You
9b607fe409
fix(watch): fix watch option merging from mixins
...
fix #3966
2021-06-22 13:54:43 -04:00
Eduardo San Martin Morote
ab6e927041
fix(Suspense): emit initial fallback and pending events ( #3965 )
...
Fix #3964
2021-06-21 17:03:07 -04:00
Eunjae Lee
db1dc1c630
fix(runtime-core): bind default function of inject to instance ( #3925 )
...
fix #3923
2021-06-09 12:02:05 -04:00
LYlanfeng
011dee8644
fix(runtime-core): fix multiple .once event handlers on same component ( #3904 )
...
fix #3902
2021-06-08 09:52:45 -04:00
Evan You
5bce2ae723
fix(runtime-core): fix fragment update inside de-opt slots
...
fix #3881
2021-06-04 18:03:40 -04:00
Evan You
e2ca67b59a
fix(runtime-core): align option merge behavior with Vue 2
...
fix #3566 , #2791
2021-06-02 15:19:56 -04:00
Evan You
44996d1a0a
fix(suspense): fix suspense regression for errored template component
...
fix #3857
2021-05-31 17:19:03 -04:00
edison
d6607c9864
fix(runtime-core): fix resolving inheritAttrs from mixins ( #3742 )
...
fix #3741
2021-05-27 21:53:41 -04:00
Evan You
03a7a73148
fix(reactivity): ensure computed always expose value
...
fix #3099
Also changes the original fix for #910 by moving the fix from
reactivity to the scheduler
2021-05-27 20:53:21 -04:00
Evan You
32e21333dd
fix(runtime-core): stricter compat root mount check
2021-05-27 20:47:46 -04:00
HcySunYang
a641eb201f
fix(runtime-core): fix cases of reused children arrays in render functions ( #3670 )
...
fix #3666
2021-05-27 17:06:55 -04:00
HcySunYang
ff50e8d78c
fix(runtime-core): should disable tracking inside directive lifecycle hooks ( #3699 )
2021-05-27 16:53:19 -04:00
Evan You
9f24195d2c
fix(suspense): fix suspense patching in optimized mode
...
fix #3828
2021-05-27 16:32:31 -04:00
Evan You
b46a4dccf6
fix(ssr): handle hydrated async component unmounted before resolve
...
fix #3787
2021-05-26 15:26:18 -04:00
Evan You
b57e995edd
fix(scheduler): handle preFlush cb queued inside postFlush cb
...
fix #3806
2021-05-26 14:21:49 -04:00