Commit Graph

6436 Commits

Author SHA1 Message Date
Evan You 93c95dd4cd
fix(reactivity): fix nested batch edge case 2024-09-27 23:10:20 +08:00
Evan You aa9ef2386a
fix(reactivity): only clear notified flags for computed in first batch iteration
close #12045
2024-09-27 11:25:58 +08:00
Evan You 60c2029f77
test: add test case for #11928 2024-09-27 11:06:34 +08:00
Tycho e2c19c20cf
fix(types/ref): handle nested refs in UnwrapRef (#12049)
close #12044
2024-09-27 10:23:01 +08:00
Evan You ea3efa09e0
fix(custom-element): properly set kebab-case props on Vue custom elements
close #12030
close #12032
2024-09-27 09:25:00 +08:00
Evan You a77b95992a
workflow: link to release workflow in release script [ci skip] 2024-09-26 19:30:19 +08:00
Evan You 01f15beeb0
release: v3.5.9 2024-09-26 19:28:03 +08:00
Evan You 10ff159240
fix(reactivity): fix recursive sync watcher on computed edge case
close #12033
close #12037
2024-09-26 18:38:13 +08:00
edison cb34b28a4a
fix(runtime-core): avoid rendering plain object as VNode (#12038)
close #12035
close vitejs/vite-plugin-vue#353
2024-09-26 17:08:48 +08:00
renovate[bot] faf55a15d7
chore(deps): update build (#12001)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 17:07:20 +08:00
edison fa0ba24b3a
fix(vue): properly cache runtime compilation (#12019) 2024-09-26 17:05:37 +08:00
山吹色御守 4da688141d
fix(types): correct type inference of union event names (#12022) 2024-09-26 17:00:05 +08:00
Evan You 6001e5c81a
fix(reactivity): fix property dep removal regression
close #12020
close #12021
2024-09-26 16:58:38 +08:00
yangxiuxiu c0e9434414
refactor(reactivity): avoid optional chaining in getDepFromReactive (#12007) 2024-09-24 18:02:01 +08:00
btea 7a00f6f093
chore: remove unused argument (#12006) 2024-09-24 18:01:20 +08:00
Boshen 5d9e81d3da
chore(types): disambiguate the `Comment` type in hydration.ts (#12009) 2024-09-24 18:00:39 +08:00
Evan You a177092754
fix(runtime-core): make useId() always return a string 2024-09-23 08:38:38 +08:00
Evan You 5e8898572f
release: v3.5.8 2024-09-22 11:53:14 +08:00
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