Evan You
2ffc1e8cfd
feat(ssr): improve ssr hydration mismatch checks ( #5953 )
...
- Include the actual element in the warning message
- Also warn class/style/attribute mismatches
Note: class/style/attribute mismatches are check-only and will not be
rectified.
close #5063
2023-12-08 15:49:09 +08:00
nandi95
8e27692029
feat(runtime-core): provide full props to props validator functions ( #3258 )
2023-12-05 17:14:17 +08:00
Evan You
a817883c26
chore: Merge branch 'main' into minor
2023-12-05 10:54:20 +08:00
Evan You
e2f2b75b62
chore(deps): bump vitest to 1.0
2023-12-05 10:48:04 +08:00
Evan You
afb21f7813
test: fix keepalive transition out-in test case
2023-11-21 17:57:44 +08:00
Evan You
1ea775633d
chore: Merge branch 'main' into minor
2023-11-21 09:48:26 +08:00
花果山大圣
73fd810eeb
fix(reactivity): onCleanup also needs to be cleaned ( #8655 )
...
close #5151
close #7695
2023-11-10 16:47:08 +08:00
skirtle
f01afda159
dx(runtime-core): warn if `this` is used in a `<script setup>` template ( #7866 )
2023-11-10 15:05:39 +08:00
Yuchao
3445356085
test(apiWatch): better indicate array pre & new values are the same object ( #7251 )
2023-11-10 14:37:46 +08:00
skirtle
a5491e1cdd
dx(runtime-core): warn when the prop type is `[]` ( #7608 )
2023-11-10 14:32:10 +08:00
Evan You
364f319d21
fix(hydration): force hydration for v-bind with .prop modifier
...
ref #7490
2023-11-10 13:13:07 +08:00
Evan You
34b5a5da4a
fix(hydration): properly hydrate indeterminate prop
...
close #7476
2023-11-10 12:19:27 +08:00
被雨水过滤的空气-Rain
d11e978fc9
fix(hmr/transition): fix kept-alive component inside transition disappearing after hmr ( #7126 )
...
fix #7121
2023-11-09 17:15:56 +08:00
Evan You
2f8c769b6b
chore: delete unrelated test case
2023-11-06 18:46:40 +08:00
Evan You
dd8a0cf5dc
fix(hydration): fix tagName access eeror on comment/text node hydration mismatch
...
fix #9531
2023-11-06 18:45:42 +08:00
Eduardo San Martin Morote
405f34587a
fix(warn): avoid warning on empty children with Suspense ( #3962 )
2023-11-06 17:48:40 +08:00
丶远方
a645e7aa51
feat(runtime-core): add `once` option to watch ( #9034 )
2023-10-27 23:28:40 +09:00
丶远方
f32ec17131
chore: remove unnecessary imports from vitest ( #8562 )
2023-10-26 16:34:14 +08:00
edison
5ea8a8a4fa
fix(transition/ssr): make transition appear work with SSR ( #8859 )
...
close #6951
2023-10-24 09:36:10 +08:00
Evan You
733437691f
fix(hmr): fix hmr error for hoisted children array in v-for
...
fix #6978
close #7114
2023-10-21 21:08:49 +08:00
Carlos Rodrigues
d8990fc618
fix(ssr): fix hydration mismatch for disabled teleport at component root ( #9399 )
...
close #6152
2023-10-21 11:37:52 +08:00
skirtle
a8f663867b
fix(scheduler): ensure jobs are in the correct order ( #7748 )
...
close #7576
2023-10-21 10:38:54 +08:00
pupu
4162311efd
fix(teleport): ensure descendent component would be unmounted correctly ( #6529 )
...
fix #6347
2023-10-20 16:42:04 +08:00
Kael
75b8722135
fix(runtime-core): delete stale slots which are present but undefined ( #6484 )
...
close #9109
2023-10-20 16:25:06 +08:00
三咲智子 Kevin Deng
623ba514ec
chore: format code
2023-08-11 17:30:04 +08:00
丶远方
6a22b1f6c2
fix(types): ensure nextTick return type reflect correct Promise value ( #8406 )
2023-07-11 17:56:02 +08:00
白雾三语
140a89b833
fix(teleport): handle target change while disabled ( #7837 )
...
close #7835
2023-07-11 17:36:26 +08:00
Lioness100
6277cb994a
chore: fix typo ( #7693 )
2023-06-10 17:17:41 +08:00
丶远方
b01fc7ea84
chore: remove unnecessary imports ( #8262 )
2023-05-19 07:54:12 +08:00
Evan You
e1475129fc
fix(suspense): fix nested suspensible suspense with no asyn deps
...
close #8206
2023-05-08 16:37:46 +08:00
Evan You
526fa3b2cc
feat(deprecation): unwrap injected refs in Options API by default, deprecate app.config.unwrapInjectedRefs
2023-04-21 15:54:03 +08:00
Anthony Fu
cb37d0b9ff
feat(suspense): introduce suspensible option for `<Suspense>` ( #6736 )
...
close #5513
2023-04-21 14:43:30 +08:00
Eduardo San Martin Morote
5510ce385a
feat: hasInjectionContext() for libraries ( #8111 )
2023-04-20 10:12:18 +08:00
Evan You
94fa67a4f7
fix(hmr): force update cached slots during HMR
...
close #7155
close #7158
2023-04-20 10:06:06 +08:00
Himself65
c94ef02421
fix(runtime-core): properly merge props and emits options from mixins ( #8052 )
...
close #7989
2023-04-10 15:06:21 +08:00
三咲智子 Kevin Deng
14f3d747a3
feat(sfc): introduce `defineModel` macro and `useModel` helper ( #8018 )
2023-04-08 12:13:05 +08:00
Eduardo San Martin Morote
869f3fb93e
feat(app): app.runWithContext() ( #7451 )
2023-04-05 15:18:13 +08:00
魏
6003ef74c7
chore: remove duplicate test ( #8003 )
2023-04-04 18:20:56 +08:00
Evan You
e10a89e608
fix(compiler-sfc): fix function default value handling w/ props destructure
2023-03-29 22:21:27 +08:00
三咲智子 Kevin Deng
63ad77f6f6
feat(runtime-core): add skipCheck for prop ( #7548 )
2023-03-28 22:29:54 +08:00
Evan You
d77557c403
feat(types): `defineComponent()` with generics support ( #7963 )
...
BREAKING CHANGE: The type of `defineComponent()` when passing in a function has changed. This overload signature is rarely used in practice and the breakage will be minimal, so repurposing it to something more useful should be worth it.
close #3102
2023-03-27 18:28:43 +08:00
Evan You
d1181ad692
fix(build): avoid const enum conflicts
2023-02-06 09:44:12 +08:00
Evan You
53e3533b75
chore: bump deps
2023-02-03 05:47:40 +08:00
Evan You
c1cbb747b5
chore: fix types
2023-02-02 15:27:29 +08:00
Evan You
f19f803ea8
chore: fix jest reference in merged test case
2023-02-01 16:50:13 +08:00
Anthony Fu
e64c9ae957
fix(reactivity): `triggerRef` working with `toRef` from reactive ( #7507 )
...
* fix(reactivity): `triggerRef` working with `toRef` from reactive
* chore: refactor
2023-02-01 03:20:47 -05:00
Evan You
7e8f175db7
wip(vitest-migration): runtime-core tests passing
2023-01-26 20:48:47 +08:00
Evan You
8867bb259a
wip(vitest-migration): reactivity tests passing
2023-01-26 15:25:55 +08:00
Anthony Fu
4a16b204be
chore: run format
2023-01-12 12:58:11 +01:00
skirtle
4902354925
dx(runtime-core): warn when expose() is misused ( #7221 )
2023-01-09 15:23:10 +01:00