Commit Graph

7133 Commits

Author SHA1 Message Date
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
Rizumu Ayaka 868c4294a0
feat: destructuring + nesting in v-for (#217)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-29 16:25:08 +08:00
三咲智子 Kevin Deng 00c6e6dc73
refactor(compiler-vapor): inline literal value into template 2024-05-29 16:23:32 +08:00
Kevin Deng 三咲智子 cdb1d1795d
chore: disallow optional chaining (#10919) 2024-05-29 15:03:20 +08:00
Doctor Wu 107569b922
feat(runtime-vapor): resolve assets of components & directives (#214) 2024-05-29 01:43:47 +08:00
三咲智子 Kevin Deng 4ed4fb633f
fix(vue-vapor): build dts 2024-05-28 21:32:29 +08:00
三咲智子 Kevin Deng c97dee3e3c
refactor(compiler-vapor): remove Object.entries 2024-05-28 21:31:30 +08:00
shellingfordly ca61022e69
fix(playground): import type error (#219)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-28 20:39:18 +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
Rizumu Ayaka b5ecb72864
feat: directive lifecycle hooks in `v-for`, `v-if` and component (#123)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-27 02:47:51 +08:00
ubugeeei 969f53f2e7
test(runtime-vapor): api lifecycle hooks (#215)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-27 02:37:06 +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 三咲智子 1008199647
ci: fix RCE vulnerability in file overwrite
https://github.com/vuejs/core/pull/10985

Special thanks to @RedYetiDev
2024-05-21 08:52:43 +08:00
Doctor Wu 4e13a57d9c
feat(compiler/runtime-vapor): implement v-slots + v-for / v-if (#207)
Co-authored-by: Rizumu Ayaka <rizumu@ayaka.moe>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-21 08:50:10 +08:00
Rizumu Ayaka 2e2f3e2b96
test(vue-vapor): todomvc e2e test (#115) 2024-05-21 08:43:46 +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
Tycho 9b40d0f25d
fix(shared): ensure invokeArrayFns handles undefined arguments (#10869)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>

Close #10863
2024-05-20 19:28:22 +08:00
三咲智子 Kevin Deng d77c7ade77
feat(runtime-vapor): implement app plugin 2024-05-17 20:54:08 +08:00
Jevon b776f92596
feat: v-once for component and v-for (#201)
* feat: v-once with v-for / v-once for component

* refactor

* refactor

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-17 20:44:58 +08:00
三咲智子 Kevin Deng f5f1150d8a
feat(runtime-vapor): add globalProperties 2024-05-17 20:39:10 +08:00
OrbisK 6a8d548506
docs: set propper highlighting for commit convention regex (#10949) [skip ci] 2024-05-15 18:03:54 +08:00