Commit Graph

6464 Commits

Author SHA1 Message Date
远方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
GaoNeng 1b2cb722fe
fix(playground): add `@vue/runtime-shared` dep (#210) 2024-05-14 03:51:49 +08:00
renovate[bot] 107e6143e7
chore(deps): update dependency esbuild to ^0.21.2 (#10925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 23:34:53 +08:00
renovate[bot] 2f8cd664f7
chore(deps): update lint (#10926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 17:13:46 +08:00
renovate[bot] 7cef876afa
fix(deps): update compiler to ^7.24.5 (#10924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 17:10:34 +08:00
renovate[bot] 7cb3db6faf
chore(deps): update all non-major dependencies (#10923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 17:09:13 +08:00
三咲智子 Kevin Deng dc574cc429
chore: update team list 2024-05-13 02:51:05 +08:00
三咲智子 Kevin Deng 4f9052358e
fix: pass warn to `toHandlers` only on dev mode 2024-05-13 02:19:11 +08:00
三咲智子 Kevin Deng e2b51d6e7a
feat(compiler-vapor): resolve directive 2024-05-13 02:15:28 +08:00
三咲智子 Kevin Deng 30f98942db
refactor(compiler-vapor): add placeholder for optional argument 2024-05-13 01:35:35 +08:00
三咲智子 Kevin Deng 72589be6aa
refactor(compiler-vapor): simplify generate code fragment 2024-05-12 19:44:38 +08:00
Rizumu Ayaka 9346f885b0
refactor(runtime-vapor): remove optional chaining syntax (#208) 2024-05-12 19:09:31 +08:00
Lulu b3cb392f5c
feat: support usage of `v-once` with `v-if` (#200)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-12 18:20:14 +08:00
三咲智子 Kevin Deng 75314f2695
fix(compiler-vapor): don't cache `v-once` 2024-05-12 18:15:44 +08:00
三咲智子 Kevin Deng 76595deefb
refactor(compiler-vapor): simplify ast check 2024-05-12 17:58:11 +08:00
Rizumu Ayaka 0c33ace61c
feat(compiler-vapor): implement basic usage of `v-slot` (#203)
Co-authored-by: Doctorwu <doctorwu@moego.pet>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-12 17:57:00 +08:00
三咲智子 Kevin Deng 1c54cae29a
refactor(runtime-vapor): remove default value 2024-05-12 00:01:27 +08:00
三咲智子 Kevin Deng 639c847c0c
refactor(runtime-shared): move `Data` 2024-05-11 23:14:26 +08:00
三咲智子 Kevin Deng 7cd70505d5
Merge remote-tracking branch 'upstream/minor' 2024-05-11 22:11:30 +08:00
edison b2b5f57c2c
fix(compile-sfc): register props destructure rest id as setup bindings (#10888)
close #10885
2024-05-09 07:43:17 +08:00