Commit Graph

4986 Commits

Author SHA1 Message Date
Tycho 9817c80187
fix(reactivity): correctly handle method calls on user-extended arrays (#11760)
close #11759
2024-09-03 17:32:13 +08:00
山吹色御守 52cdb0f991
fix(server-renderer): render `className` during SSR (#11722) 2024-09-03 08:26:08 +08:00
edison ca12e776bc
fix(hydration): escape css var name to avoid mismatch (#11739)
close #11735
2024-09-03 08:25:00 +08:00
renovate[bot] cb843e0be3
fix(deps): update dependency postcss to ^8.4.44 (#11774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 08:22:26 +08:00
Evan You 0f7c0e5dc0
fix(compiler-sfc): fix import usage check for kebab-case same name shorthand binding
fix #11745
close #11754
2024-09-02 17:29:59 +08:00
chirokas d86fe0ec00
feat(types): add loading prop to iframe (#11767) 2024-09-02 17:10:14 +08:00
edison c756da24b2
fix(hydration): handle text nodes with 0 during hydration (#11772)
close #11771
2024-09-02 17:09:38 +08:00
Maisha Tremblay 3de5556521
test(reactive): use vitest fn instead of counting manually (#11746) 2024-09-02 17:08:19 +08:00
Cédric Exbrayat d427bcd71c
chore: document parameters of onWatcherCleanup (#11768) 2024-09-02 17:06:30 +08:00
Evan You d298c431cc
release: v3.5.0-rc.1 2024-08-29 15:25:43 +08:00
edison f1d1831f07
fix(custom-element): handle keys set on custom elements (#11655)
close #11641
2024-08-29 15:09:15 +08:00
lidlanca 1d988b5b99
test(reactivity): test case for #6358 (#6376) 2024-08-29 14:20:04 +08:00
Evan You 313e4bf552
fix(reactivity): avoid infinite recursion when mutating ref wrapped in reactive
close #11696
2024-08-29 14:10:29 +08:00
cyrilluce 9c4c2e51b0
fix(compiler-sfc): skip circular tsconfig project reference (#11680)
Co-authored-by: cluezhang <cluezhang@futurefab.ai>

close #11382
2024-08-29 11:42:35 +08:00
Evan You ac9e7e8bfa
test: adjust coverage config, use v8 coverage 2024-08-29 10:41:29 +08:00
linzhe 29c321bfd3
fix(keep-alive): reset keep alive flag when the component is removed from include (#11718)
close #11717
2024-08-29 10:41:19 +08:00
HEGGRIA 64e1ca2657
chore(reactivity): effectScope.ts variable declarations optimized and remove useless code in effect.ts (#11721)
* chore(reactivity): effectScope.ts variable declarations optimized and remove useless code in effect.ts

* fix(reactivity): batchDepth count error fixed

* fix(reactivity): batchDepth count error fixed

* chore(reactivity): modify the batchDepth increase type
2024-08-28 18:16:59 +08:00
Paul Werner 334d47ddf3
dx(compiler-sfc): improve error message for missing template and script tag in vue file (#11723) 2024-08-28 17:49:33 +08:00
Evan You d875de54e9
fix(runtime-dom): setting innerHTML when patching props should go through trusted types 2024-08-28 17:37:39 +08:00
Evan You 42e8df6203
fix(types): GlobalDirective / GlobalComponents should not be records 2024-08-28 15:00:36 +08:00
edison 342657b717
chore: correct the issue number (#11715) [ci skip] 2024-08-26 18:08:46 +08:00
yangxiuxiu fbc0c42bcf
fix(reactivity): ensure watcher with once: true are properly removed from effect scope (#11665) 2024-08-20 16:35:08 +08:00
Evan You f2ea25dc54
refactor(watch): reuse watch types 2024-08-20 16:16:25 +08:00
Evan You 8c3fdd1a7d
release: v3.5.0-beta.3 2024-08-20 08:24:06 +08:00
Rizumu Ayaka 205e5b5e27
feat(reactivity): base `watch`, `getCurrentWatcher`, and `onWatcherCleanup` (#9927) 2024-08-20 08:21:44 +08:00
yangxiuxiu 44973bb3e7
fix(types): strip non-prop default values from return type of withDefaults (#9998)
close #9899
2024-08-19 16:29:43 +08:00
zhangenming bb6babca8f
perf( runtime-core): use `apply` to avoid spreading. (#5985) 2024-08-19 16:25:01 +08:00
edison 98b83e86d1
fix(ssr): apply ssr props to the the fallback vnode-based branch in ssr (#7247)
close #6123
2024-08-19 16:22:05 +08:00
edison ac2a410e46
fix(runtime-core): ensure suspense content inherit scopeId (#10652)
close #5148
2024-08-19 16:19:24 +08:00
skirtle 4b608a9449
refactor(scheduler): remove invalidateJob (#11650)
Co-authored-by: Evan You <evan@vuejs.org>
2024-08-19 10:49:59 +08:00
renovate[bot] 448c2396b9
chore(deps): update dependency postcss-selector-parser to ^6.1.2 (#11652)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 10:34:10 +08:00
skirtle 7fbf4964e4
refactor(scheduler): remove redundant sorting (#11646) 2024-08-19 10:17:45 +08:00
skirtle b332f80f0e
fix(runtime-core): pre jobs without an id should run first (#7746) 2024-08-19 10:13:50 +08:00
edison 9de1d101f9
fix(reactivity): extended methods respect reactive (#11629)
close #11628
2024-08-16 16:23:09 +08:00
Andy Li 5e0f6d5f8f
fix(types/custom-element): `defineCustomElement` with required props (#11578) 2024-08-16 16:22:03 +08:00
Jakob 8bcaad4a32
fix(watch): handle errors in computed used as watch source (#11626)
close #11624
2024-08-16 16:14:08 +08:00
山吹色御守 d7d0371e74
fix(runtime-core): correct type inference for PascalCase emits (#11579)
fix vuejs/language-tools#4269
2024-08-15 17:49:43 +08:00
Evan You 7d700c215d
release: v3.5.0-beta.2 2024-08-15 15:29:43 +08:00
Evan You e19fc27042
fix(custom-element): keep instance.isCE for backwards compat 2024-08-15 15:18:19 +08:00
Evan You 3d6f01571b
fix(compiler-sfc): fix prefixIdentifier default value 2024-08-15 14:29:28 +08:00
disservin fe008152c0
fix(compiler-sfc): handle keyof operator with index object (#11581) 2024-08-15 10:24:04 +08:00
Evan You e9e08155bf
fix(build): revert entities to 4.5 to avoid runtime resolution errors
close #11603
2024-08-15 10:16:32 +08:00
Evan You 5861229475
fix(compiler-core): use ast-based check for function expressions when possible
close #11615
2024-08-15 09:58:30 +08:00
Raman Paulau c96ec67c87
chore(types): update examples in JSDoc for augmenting global properties and custom options to align with docs (#11609) 2024-08-14 15:12:13 +08:00
Tycho 5cf5a1620d
fix(types/computed): ensure type safety for `WritableComputedRef` (#11608) 2024-08-14 15:11:10 +08:00
linzhe 3bda3e83fd
fix(reactivity): sync watch should be executed correctly (#11589)
close #11577
2024-08-13 22:54:08 +08:00
btea 3653bc0f45
fix(keep-alive): ensure include/exclude regexp work with global flag (#11595) 2024-08-13 22:07:35 +08:00
Tycho fee669764f
fix(types): add fallback stub for DOM types when DOM lib is absent (#11598) 2024-08-13 22:06:10 +08:00
edison 73fa91fabd
refactor: remove unnecessary check as filter is always non-null (#11599) 2024-08-13 22:05:14 +08:00
edison 4e7d5db4d2
feat(deprecated): remove deprecated parseExpressions option (#11597) 2024-08-13 22:04:48 +08:00