Commit Graph

6418 Commits

Author SHA1 Message Date
Jürg Lehni 0267a58801
fix(reactivity): do not remove dep from depsMap when cleaning up deps of computed (#11995) 2024-09-22 11:49:35 +08:00
Evan You d1764a142a
test: simplify computed last sub test case 2024-09-22 11:24:10 +08:00
Evan You 6fcb80172f
release: v3.5.7 2024-09-20 23:50:05 +08:00
Evan You 960706eebf
fix(reactivity): do not remove dep from depsMap when unsubbed by computed
follow up of 235ea4772 after discovering regression in vant ecosystem-ci tests
2024-09-20 23:39:59 +08:00
linzhe b030c8bc73
fix(reactivity): fix triggerRef call on ObjectRefImpl returned by toRef (#11986)
close #11982
2024-09-20 20:48:15 +08:00
山吹色御守 9eca65ee98
fix(types): correct type inference of all-optional props (#11644)
fix #11733
fix vuejs/language-tools#4704
2024-09-20 20:36:57 +08:00
Evan You 235ea4772e
fix(reactivity): fix memory leak from dep instances of garbage collected objects
close #11979
close #11971
2024-09-20 20:32:40 +08:00
Evan You 5c8b76ed6c
fix(reactivity): fix dev-only memory leak by updating dep.subsHead on sub removal
ref #11956
2024-09-20 20:06:39 +08:00
Alex Liu f927a4ae6f
fix(transition): respect `duration` setting even when it is `0` (#11967) 2024-09-20 16:47:01 +08:00
edison a2f6edeb02
fix(ssr): don't render comments in TransitionGroup (#11961)
close #11958
2024-09-20 16:46:45 +08:00
edison 62242886d7
fix(compile-core): fix v-model with newlines edge case (#11960)
close #8306
2024-09-20 16:45:47 +08:00
Hongkun 902bd9c438
chore(sfc-playground): resolve autosave conflict issue (#11970) 2024-09-20 16:44:49 +08:00
山吹色御守 215e154072
fix(compiler-sfc): initialize scope with null prototype object (#11963) 2024-09-20 16:44:14 +08:00
skirtle d18d6aa1b2
fix(scheduler): ensure recursive jobs can't be queued twice (#11955) 2024-09-20 16:43:35 +08:00
linzhe 7257e6a342
fix(hydration): avoid observing non-Element node (#11954)
close #11952
2024-09-20 16:41:58 +08:00
Michael Brevard e075dfad5c
perf(hydration): avoid observer if element is in viewport (#11639) 2024-09-18 15:45:31 +08:00
Evan You 9a36f2a0b8
release: v3.5.6 2024-09-16 16:11:38 +08:00
Evan You c74bb8c2dd
fix(reactivity): avoid exponential perf cost and reduce call stack depth for deeply chained computeds (#11944)
close #11928
2024-09-16 16:00:31 +08:00
renovate[bot] cbc39d54f0
fix(deps): update playground (#11939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 15:00:53 +08:00
edison 3db0a0f979
chore(deps): update vitest to ^2.1.1 (#11943) 2024-09-16 15:00:41 +08:00
Evan You 8492c3c49a
fix(compiler-sfc): preserve old behavior when using withDefaults with desutructure
close #11930
2024-09-16 11:25:04 +08:00
renovate[bot] fbae210d9d
chore(deps): update dependency eslint-plugin-import-x to v4 (#11942)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 11:13:23 +08:00
renovate[bot] 726db0ad2c
chore(deps): update lint (#11940)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 10:59:58 +08:00
renovate[bot] 47bda40653
fix(deps): update dependency postcss to ^8.4.47 (#11938)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 10:59:38 +08:00
renovate[bot] 732a38ef63
chore(deps): update dependency npm-run-all2 to ^6.2.3 (#11937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 10:59:26 +08:00
renovate[bot] 6b07244dd5
chore(deps): update build (#11936)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 10:59:15 +08:00
edison 85c138ced1
fix(compile-dom): should be able to stringify mathML (#11891) 2024-09-16 10:58:23 +08:00
Yang Mingshan 49fa673493
fix(watch): `once` option should be ignored by watchEffect (#11884) 2024-09-16 10:56:32 +08:00
Matt Garrett 2d6adf78a0
fix(watch): unwatch should be callable during SSR (#11925)
close #11924
2024-09-16 10:49:16 +08:00
Tycho bc3ddca9d0
chore(types): migrate global types to packages-private (#11904) 2024-09-16 10:30:58 +08:00
ML 1bad606eb3
types: improve app.directive type generics (#11926) 2024-09-16 10:30:04 +08:00
Tycho aa5dafd2b5
fix(reactivity): rely on dirty check only when computed has deps (#11931)
close #11929
2024-09-16 10:28:46 +08:00
Tycho 346bfaf760
refactor(reactivity): simplify isDirty condition (#11933) 2024-09-16 09:59:13 +08:00
2nofa11 817dca8712
chore:fix-issue-id (#11927) [ci skip] 2024-09-14 12:00:10 +08:00
edison effcccd258
docs: avoid pre rendering as html[ci skip] (#11922) 2024-09-13 22:05:01 +08:00
Evan You 7f2de3f53e
release: v3.5.5 2024-09-13 21:38:17 +08:00
Evan You a5f3c2eb4d
fix(hydration): fix mismatch of leading newline in <textarea> and <pre>
close #11873
close #11874
2024-09-13 21:24:59 +08:00
Evan You 3c4bf76276
fix(compiler-dom): should ignore leading newline in <textarea> per spec 2024-09-13 21:24:59 +08:00
edison 10a2c6053b
fix(hmr): reload async child wrapped in Suspense + KeepAlive (#11907)
close #11868
2024-09-13 20:19:47 +08:00
linzhe f2d8019188
fix(custom-element): handle nested customElement mount w/ shadowRoot false (#11861)
close #11851
close #11871
2024-09-13 20:18:10 +08:00
Evan You 1d99d61c1b
fix(compiler-dom): fix stringify static edge for partially eligible chunks in cached parent
close #11879
close #11890
2024-09-13 20:08:40 +08:00
edison 7571f20bc3
fix(TransitionGroup): not warn unkeyed text children with whitespece preserve (#11888)
close #11885
2024-09-13 18:37:42 +08:00
Evan You 8ea5d6d698
fix(reactivity): properly clean up deps, fix memory leak
close #11901
2024-09-13 18:35:16 +08:00
Evan You 11eebcb4df
refactor(reactivity): use class for Link 2024-09-13 18:35:16 +08:00
edison 7fe6c795a1
fix(runtime-core): properly update async component nested in KeepAlive (#11917)
close #11916
2024-09-13 17:17:56 +08:00
linzhe 0e7bc717e6
fix(compiler-sfc): nested css supports atrule and comment (#11899)
close #11896
2024-09-13 16:53:49 +08:00
edison 706d4ac1d0
fix(compiler-core): fix handling of delimiterOpen in VPre (#11915)
close #11913
2024-09-13 16:46:01 +08:00
Hongkun d0b513eb46
chore(sfc-playground): editor can modify whether auto-save is enabled (#11428) 2024-09-10 19:15:29 +08:00
Evan You f599321a65
chore: refactor scripts to js, remove need for tsx 2024-09-10 19:13:42 +08:00
Evan You 91212fa408
release: v3.5.4 2024-09-10 17:05:04 +08:00