Commit Graph

4969 Commits

Author SHA1 Message Date
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
Tycho d0f882d5bb
chore: add explicit type annotation to `initDirectivesForSSR` (#11596) 2024-08-13 22:02:57 +08:00
renovate[bot] 4c4e12ae28
fix(deps): update dependency postcss to ^8.4.41 (#11585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 09:31:46 +08:00
Evan You 85ee76f29d
chore: bump transition tests buffer in ci 2024-08-12 08:07:41 +08:00
Evan You 6a5b2098e1
workflow: move private packages to separate directory 2024-08-12 08:02:03 +08:00
Evan You 90caac473d
test(custom-element): test custom element hydration w/ declarative shadow dom 2024-08-10 16:39:20 +08:00
edison 4085def1ba
fix(reactivity): ensure extended method arguments are not lost (#11574)
close #11570
2024-08-10 15:54:38 +08:00
Evan You 23e098807b
release: v3.5.0-beta.1 2024-08-08 23:31:46 +08:00
Evan You 741d8a0710
chore: Merge branch 'main' into minor 2024-08-08 23:06:53 +08:00
Kevin Deng 三咲智子 928af5fe2f
refactor(types): enable `isolatedDeclarations` (#11178) 2024-08-08 23:05:21 +08:00
Evan You 28db2e69f4
release: v3.4.37 2024-08-08 22:36:10 +08:00
disservin c6841bdf4e
test(compiler-sfc): add assertion for template functional (#11557) 2024-08-08 21:08:58 +08:00
LiuSeen f8ce86bad7
chore(playground): support copying vue version (#11558) 2024-08-08 21:07:57 +08:00
Evan You 506c4c53fd
fix(custom-element): delete prop on attribute removal
close #11276
2024-08-08 18:37:54 +08:00
山吹色御守 236fb7abeb
fix(compiler-core): use `isProp.arg.loc` instead of `isProp.loc` (#11547) 2024-08-08 17:13:24 +08:00
Evan You be84f33ab0
chore(sfc-playground): default isCustomElement for sfc playground 2024-08-08 16:49:16 +08:00
Evan You a07e7bf553
fix(custom-element): support early-set domProps for async custom elements
close #11081
close #11082
2024-08-08 16:26:48 +08:00
Evan You 9b531d5716
test: rectify accidentally passing test 2024-08-08 15:57:07 +08:00