Commit Graph

6347 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng b023b9b845
test(compiler-vapor): add scopeId test 2024-06-05 04:36:07 +08:00
三咲智子 Kevin Deng 598b55f1e8
test(runtime-vapor): finish expose and inject tests 2024-06-05 04:35:13 +08:00
三咲智子 Kevin Deng bbd1944ce5
test(runtime-vapor): finish createVaporApp unit tests 2024-06-05 04:20:20 +08:00
Doctor Wu 8ccfce5ec7
refactor(compiler/runtime-vapor): remove unnecessary slot key (#225) 2024-06-03 22:34:47 +08:00
Doctor Wu 8a59311a22
perf(compiler-vapor/runtime-vapor): finer update granularity (#222) 2024-06-03 06:48:13 +08:00
Rizumu Ayaka 208dbc6d65
feat(compiler-vapor): v-slot props + v-slot on component (#223)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-06-03 06:41:14 +08:00
三咲智子 Kevin Deng cef446af7a
fix(compiler-sfc): `vapor` attribute on template tag 2024-06-03 03:24:23 +08:00
Rizumu Ayaka b2259a5f92
refactor: general destructuring function (#221) 2024-05-31 15:49:49 +08:00
三咲智子 Kevin Deng 5a0a2bfa9b
refactor: remove optional chaining 2024-05-30 21:46:51 +08:00
三咲智子 Kevin Deng 334e72eeee
Merge remote-tracking branch 'upstream/minor' 2024-05-30 21:41:53 +08:00
Wick f8eba75d0a
chore(reactivity): change literal flag properties to enum flag properties (#10367) 2024-05-30 19:09:04 +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
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