Commit Graph

4640 Commits

Author SHA1 Message Date
远方os ae36b1a664
refactor(runtime-core): prevent users from manually calling lifecycle hook function (#8731) 2024-05-27 17:07:38 +08:00
白雾三语 a498b4ef15
refactor(server-renderer): slotScopeId scopeId uses optional argument syntax (#7891) 2024-05-27 17:06:48 +08:00
Travis 0f66de910f
chore(sfc-playground): add pnpm usage to download template (#7815) 2024-05-27 17:06:04 +08:00
Haoqun Jiang 07b3c4b786
fix(compat): correctly transform non-identifier expressions in legacy filter syntax (#10896)
close #10852
2024-05-27 17:04:48 +08:00
Evan You 37f9ef8174
chore: run prettier 2024-05-27 17:03:03 +08:00
nandi95 1ffd5a601b
chore(types): added `getSSRProps` type argument (#5691) 2024-05-27 16:56:59 +08:00
renovate[bot] b63566aaeb
fix(deps): update compiler (#11024)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 16:51:43 +08:00
edison d1011c07a9
fix(ssr): fix hydration for node with empty text node (#7216) 2024-05-27 16:50:49 +08:00
renovate[bot] b487acdf44
chore(deps): update all non-major dependencies (#11020)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 16:27:59 +08:00
Ray 5b8c1afb74
fix(compiler-core): make `ForIteratorExpression`'s `returns` property optional (#11011) 2024-05-27 16:15:54 +08:00
Haoqun Jiang 530d9ec5f6
chore: correct the comments in KeepAlive.ts (#11005) 2024-05-24 16:43:13 +08:00
edison 07764fe330
fix(KeepAlive): properly cache nested Suspense subtree (#10912)
* fix(KeepAlive): properly cache nested Suspense subtree

* test: add test case

* chore: add comments

* Update KeepAlive.ts
2024-05-24 16:37:38 +08:00
白雾三语 bbb5be299b
fix(custom-element): disconnect MutationObserver in nextTick in case that custom elements are moved (#10613)
Closes #10610
2024-05-22 00:14:02 +08:00
renovate[bot] 90cbcfefd1
chore(deps): update all non-major dependencies (#10980)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 21:40:41 +08:00
btea fd18ce70b1
fix: correct the type of `<details>`'s `onToggle` event handler (#10938)
Fixes #10928
2024-05-20 19:42:34 +08:00
Alexandre Ferrera 9fead52343
fix(compiler-core): change v-for key type to match Object.keys (#10963)
close #8819
2024-05-20 19:33:18 +08:00
Tycho 9b40d0f25d
fix(shared): ensure invokeArrayFns handles undefined arguments (#10869)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>

Close #10863
2024-05-20 19:28:22 +08:00
renovate[bot] 7cef876afa
fix(deps): update compiler to ^7.24.5 (#10924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 17:10:34 +08:00
renovate[bot] 7cb3db6faf
chore(deps): update all non-major dependencies (#10923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 17:09:13 +08:00
edison b2b5f57c2c
fix(compile-sfc): register props destructure rest id as setup bindings (#10888)
close #10885
2024-05-09 07:43:17 +08:00
Evan You 461946175d
release: v3.4.27 2024-05-06 16:59:48 -07:00
Tycho 10d34a5624
fix(compiler-sfc): handle keyof operator (#10874)
close #10871
2024-05-07 07:16:14 +08:00
Stanislav Lashmanov 83661264a4
fix(compat): include legacy scoped slots (#10868)
close #8869
2024-05-07 07:05:55 +08:00
Evan You f2c1412e46
fix(hydration): handle edge case of style mismatch without style attribute
ref #10786
2024-05-06 15:38:16 -07:00
btea 481b1b6f38
refactor(types): use explicit modifiers type (#10856) 2024-05-07 06:23:04 +08:00
renovate[bot] 8373350ce5
chore(deps): update build (#10867)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 06:22:14 +08:00
renovate[bot] bead21a2f6
chore(deps): update all non-major dependencies (#10866)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 06:14:19 +08:00
skirtle c0c9432b64
test(watch): watching a reactive array (#10848) 2024-05-04 04:26:49 +08:00
skirtle 0e3d6178b0
fix(compiler-dom): restrict createStaticVNode usage with option elements (#10846)
close #6568
close #7434
2024-05-02 00:03:17 +08:00
Guo c9c9dff805
refactor(perf): assign value in `if` block (#10836) 2024-04-29 18:57:56 +08:00
huangcheng ca7d421e87
fix(compiler-core): add support for arrow aysnc function with unbracketed (#5789)
close #5788
2024-04-29 18:55:58 +08:00
Evan You 96e8e99304
test: fix test case name 2024-04-29 18:12:27 +08:00
Evan You 241790937c
release: v3.4.26 2024-04-29 16:36:54 +08:00
Evan You fefce06b41
fix(compiler-core): fix bail constant for globals 2024-04-29 16:21:25 +08:00
edison 638a79f64a
fix(runtime-core): properly handle inherit transition during clone VNode (#10809)
close #3716
close #10497
close #4091
2024-04-29 14:39:14 +08:00
skirtle e8fd6446d1
fix(runtime-core): attrs should be readonly in functional components (#10767) 2024-04-29 14:37:11 +08:00
skirtle 2d56816aa8
refactor: simplify traverse() for deep watchers (#10795) 2024-04-29 14:29:55 +08:00
skirtle d00632b1de
refactor: remove optional chaining (#10792) 2024-04-29 14:04:05 +08:00
edison accf8396ae
fix(Transition): re-fix #10620 (#10832)
revert #10632
re-fix #10620
close #10827
2024-04-29 13:50:49 +08:00
Evan You 09b4df809e
fix(compiler-core): remove unnecessary constant bail check
member expressions and call expressions can only happen when there are identifiers

close #10807
2024-04-29 12:21:38 +08:00
edison 9c2de6244c
fix(runtime-core): ensure slot compiler marker writable (#10825)
close #10818
2024-04-29 11:47:40 +08:00
Evan You 47453f102e
types: match CompatVue app.use type to standard version
close #5760
2024-04-29 10:58:19 +08:00
Evan You 41df25015f
workflow(sfc-playground): fix file renaming by bumping repl
close #10791
2024-04-26 09:26:13 +08:00
Evan You 574c3e63bb
release: v3.4.25 2024-04-24 18:37:52 +08:00
Evan You 064e82f585
fix(runtime-core): use normal object as internal prototype for attrs and slots
to allow use of hasOwnProperty()
ref 6df53d85a2 (r141304923)
2024-04-24 18:28:49 +08:00
Evan You 4253a57f17
fix(defineModel): align prod mode runtime type generation with defineProps
close #10769
2024-04-24 18:21:57 +08:00
edison 3724693a25
fix(runtime-core): properly get keepAlive child (#10772)
close #10771
2024-04-24 16:32:39 +08:00
Evan You 958286e3f0
release: v3.4.24 2024-04-22 23:29:58 +08:00
Evan You b92c25f53d
fix(compiler-core): properly parse await expressions in edge cases
close #10754
2024-04-22 23:21:18 +08:00
Evan You f12c81efca
fix(compiler-ssr): fix hydration mismatch for conditional slot in transition
close #10743
2024-04-22 22:23:09 +08:00