Commit Graph

6220 Commits

Author SHA1 Message Date
Zeke Zhang 36bd9b0a1f
fix(hmr): avoid infinite recursion when reloading hmr components (#6936)
close #6930
2024-05-31 23:41:13 +08:00
Evan You f1cc478819
chore: format 2024-05-31 23:26:16 +08:00
Evan You 537a571f8c
fix(runtime-dom): also set attribute for form element state
close #6007
close #6012
2024-05-31 23:22:42 +08:00
远方os a52a02f43f
fix(v-model): fix the lazy modifier is not reset by other modifications (#8547)
close #8546
close #6564
close #6773
2024-05-31 21:05:41 +08:00
Kevin Deng 三咲智子 34a97edd2c
fix(compiler-sfc): throw error when import macro as alias (#11041) 2024-05-31 17:08:54 +08:00
Alex Liu f8994da00f
types: improve readability of built-in type (#9129) 2024-05-30 19:41:38 +08:00
Wick f8eba75d0a
chore(reactivity): change literal flag properties to enum flag properties (#10367) 2024-05-30 19:09:04 +08:00
远方os 70f2f283ee
refactor(types/compat): improve the types for $set and $delete (#8719) 2024-05-30 18:27:38 +08:00
Haoqun Jiang 3a0b463a2c
chore: fix typo (DistrubuteRef -> DistributeRef) (#11040) 2024-05-30 18:22:11 +08:00
Wouter 5d258502a0
fix(compiler-core): emit TS-compatible function declaration when requested (#9363)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-05-30 18:19:04 +08:00
Travis 3ea964473d
fix(compiler-core): allow unicode to appear in simple identifiers (#6765)
close #6367
2024-05-30 17:45:11 +08:00
mmis1000 4c74302aae
fix(ssr): fix the bug that multi slot scope id does not work on component (#6100)
close #6093
2024-05-30 17:43:34 +08:00
huangcheng b9ca202f47
fix(compiler-core): v-for expression missing source with spaces should emit error (#5821)
close #5819
2024-05-30 17:24:37 +08:00
bqy_fe 189573dcee
feat(types): export more emit related types (#11017)
Co-authored-by: Evan You <yyx990803@gmail.com>
2024-05-30 11:26:17 +08:00
Evan You 8708a7f1ef
chore: fix lint 2024-05-30 11:25:39 +08:00
Evan You 1d8727ec97
chore: Merge branch 'main' into minor 2024-05-30 11:21:12 +08:00
skirtle a3e8aafbcc
fix(watch): support traversing symbol properties in deep watcher (#10969)
close #402
2024-05-30 11:03:44 +08:00
Kevin Deng 三咲智子 6f9587f63b
ci: omit pr number (#11033)
In the latest version of `maintain-one-comment`, pr number can be set automatically
https://github.com/actions-cool/maintain-one-comment/pull/9
2024-05-30 10:51:55 +08:00
Yi Yang 15ee43f66a
fix(teleport): do not throw target warning when teleport is disabled (#9818) 2024-05-30 10:51:30 +08:00
Kevin Deng 三咲智子 cdb1d1795d
chore: disallow optional chaining (#10919) 2024-05-29 15:03:20 +08:00
远方os 94b9b37362
test: improve test coverage (#9203)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-05-28 17:36:29 +08:00
linzhe 87c5443044
fix(compiler-core): should set `<math>` tag as block to retain MathML namespace after patching (#10891)
Co-authored-by: linzhe141 <linzhe141@qq.com>
2024-05-28 14:26:29 +08:00
远方os 521988d7e1
types(runtime-core): add `OnCleanup` parameter type in `this.$watch` (#9371) 2024-05-28 00:25:07 +08:00
renovate[bot] c6a4c08be9
chore(deps): update lint (#11025)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 18:09:17 +08:00
renovate[bot] 78ed837e7d
chore(deps): update build (#11021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 18:01:56 +08:00
skirtle 7d4e5750ba
dx(runtime-core): log the component object when warning about missing template/render function (#10263) 2024-05-27 18:01:25 +08:00
Simon He 56f5692fb6
refactor(compiler-sfc): defineOptions avoid redundant conditional judgments (#9453) 2024-05-27 17:59:29 +08:00
chenfan baa656ee41
chore(reactivity): improve readonly/reactive warning message (#9095) 2024-05-27 17:31:11 +08:00
4xi-2000 a501a85a7c
feat(compiler-core): support `Symbol` global in template expressions (#9069) 2024-05-27 17:21:54 +08:00
远方os 82458b2239
refactor: replace `Object.assign` with `extend` (#8988) 2024-05-27 17:08:14 +08:00
远方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
Evan You 392bd9baa1
chore: dedupe deps 2024-05-21 16:32:58 +08:00
Kevin Deng 三咲智子 8bf1469df1
ci: fix RCE vulnerability in file overwrite (#10985)
Special thanks to @RedYetiDev
2024-05-21 07:05:08 +08:00
btea efd090b50f
test: update coverage exclude (#10915) 2024-05-21 00:38:15 +08:00
renovate[bot] cc1139a08d
chore(deps): update build (#10981)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 21:42:35 +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