Commit Graph

7021 Commits

Author SHA1 Message Date
Evan You 7ecf91f760
chore(deps): limit minimatch range
minimatch 10+ only supports Node 20+
2024-08-05 14:48:22 +08:00
renovate[bot] d4db35a677
chore(deps): update dependency magic-string to ^0.30.11 (#11497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 14:45:52 +08:00
renovate[bot] 1a40c378de
chore(deps): update dependency puppeteer to ~22.15.0 (#11499)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 14:45:39 +08:00
renovate[bot] 59d2284f47
chore(deps): update all non-major dependencies (#11494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 14:43:59 +08:00
Evan You ea190f24e4
chore(deps): upgrade to entities 5.0
close #11507
2024-08-05 14:14:52 +08:00
Evan You 67bb820904
fix(compiler-core): properly handle for loop variable declarations in expression transforms
ref https://github.com/vuejs/core/pull/11467#issuecomment-2263069794
2024-08-05 14:07:44 +08:00
renovate[bot] f3efff1909
chore(deps): update dependency rimraf to v6 (#11505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 14:06:57 +08:00
renovate[bot] 47bda15788
chore(deps): update dependency typescript-eslint to v8 (#11506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 14:06:21 +08:00
Evan You 077a1aeb3c
fix(compiler-core): fix expression transform for try...catch block params
close #11465
close #11467
2024-08-05 13:46:51 +08:00
renovate[bot] 2f9023d3dc
chore(deps): update dependency marked to v13 (#11500)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 13:08:33 +08:00
Andy Li e94b01bd8a
fix(types/custome-element): `defineCustomElement` props inference with array emits (#11384)
close #11353
2024-08-05 11:14:36 +08:00
Tycho 4592b63c6a
fix(types/withDefaults): ensure default values of type `any` do not include `undefined` (#11490) 2024-08-05 10:59:44 +08:00
btea 3430bffa4b
test(runtime-core): test cases when the value of the `$stable` flag is false (#11485) 2024-08-05 10:53:21 +08:00
远方os a01675ef8f
feat(types): allow computed getter and setter types to be unrelated (#11472)
close #7271
2024-08-05 10:51:56 +08:00
Tycho 5ffd1a8945
feat(types): provide internal options for using refs type in language tools (#11492) 2024-08-05 10:50:43 +08:00
Sunny Fu 33cd61356f
chore(runtime-test): remove useless test code (#11483) 2024-08-05 10:42:13 +08:00
Tycho ba2092981c
refactor(types/ref): update `MaybeRef` to include all ref-like types (#11379)
Co-authored-by: Evan You <evan@vuejs.org>
2024-08-05 10:40:17 +08:00
Evan You d6af69428e
chore(deps): bump TypeScript to 5.5 2024-08-04 10:25:39 +08:00
郝晨光 af838c1b5e
feat(custom-element): support for expose on customElement (#6256)
close #5540
2024-08-03 14:48:21 +08:00
Evan You 5a1a89bd61
feat(custom-element): useShadowRoot() helper
close #6113
close #8195
2024-08-03 14:19:19 +08:00
Evan You e181bff6dc
feat(custom-element): support emit with options
In a custom element created via `defineCustomElement`, if the first
event argument is an object, it will be used as the options object
for the emitted CustomEvent. The entire argument list is still exposed
via the CustomEvent's `detail` property.

```js
emit('event', { bubbles: true })
```

close #7605
2024-08-03 13:46:58 +08:00
Evan You 7f2c505f92
fix(custom-element): ignore scoped id 2024-08-03 13:40:57 +08:00
Evan You 37d2ce5d8e
feat(custom-element): support shadowRoot: false in defineCustomElement()
close #4314
close #4404
2024-08-03 13:14:22 +08:00
远方os 267093c314
feat(reactivity/watch): add pause/resume for ReactiveEffect, EffectScope, and WatchHandle (#9651) 2024-08-02 14:41:27 +08:00
Tycho 55acabe88c
dx(useTemplateRef): warn when declaring with the same key (#11462) 2024-08-02 13:18:58 +08:00
Haoqun Jiang 6d4eb94853
feat(runtime-dom): Trusted Types compatibility (#10844) 2024-08-02 12:46:12 +08:00
Damian Głowala 998dca59f1
feat(types): export `MultiWatchSources` type (#9563) 2024-08-02 12:43:22 +08:00
David Matter 2a29a71d8a
test(types): add test for generic discriminated unions in props (#9336) 2024-08-02 11:45:23 +08:00
远方os 22f7d96757
feat(watch): support passing number to `deep` option to control the watch depth (#9572) 2024-08-02 11:38:07 +08:00
Evan You 321d80758c
fix(types): allow using InjectionKey as valid property key
close #5089
2024-08-02 11:11:03 +08:00
Evan You 1fbfa6962b
feat: support specifying allowed keys via generic argument in useTemplateRef() 2024-08-01 11:13:56 +08:00
Evan You f6babf3236
release: v3.5.0-alpha.5 2024-07-31 16:57:19 +08:00
Evan You f35080daf5
chore: Merge branch 'main' into minor 2024-07-31 16:49:22 +08:00
Evan You 0b8ba6320e
release: v3.4.35 2024-07-31 16:42:04 +08:00
Evan You 7b18cdb0b5
fix(teleport/ssr): fix Teleport hydration regression due to targetStart anchor addition 2024-07-31 16:10:23 +08:00
edison 12667da487
fix(Teleport): ensure targetAnchor and targetStart not null during hydration (#11456)
close #11400
2024-07-31 15:46:39 +08:00
Evan You d14a11c1cd
feat: lazy hydration strategies for async components (#11458) 2024-07-31 12:14:51 +08:00
Evan You af60e3560c
test: make transition tests more stable locally 2024-07-29 22:08:08 +08:00
skirtle 5680142e68
perf(runtime-core): improve efficiency of normalizePropsOptions (#11409)
close #9739
2024-07-29 21:47:23 +08:00
Tycho 87923f6af1
chore(types): reuse built-in Iterator type (#11435) 2024-07-29 21:26:48 +08:00
renovate[bot] 208f5c04e7
chore(deps): update dependency conventional-changelog-cli to v5 (#11449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 20:18:02 +08:00
renovate[bot] 5bca503d1e
chore(deps): update dependency eslint-plugin-import-x to v3 (#11450)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 20:17:45 +08:00
三咲智子 Kevin Deng f0405f1528
Merge tag 'v3.5.0-alpha.4' 2024-07-29 13:59:31 +08:00
三咲智子 Kevin Deng 61ddfe933b
chore: remove todo from README
See #233
2024-07-29 13:58:36 +08:00
Rizumu Ayaka be332dc5a8
perf(runtime-vapor): `children` helper (#263)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-07-29 13:54:33 +08:00
Tycho e0b2975ef6
fix(types/ref): allow getter and setter types to be unrelated (#11442) 2024-07-29 10:52:38 +08:00
wzc520pyfm 8e052eecf3
chore(sfc-playgroud): highlight the commit and latest version when active in dropdown (#11445) 2024-07-29 09:43:25 +08:00
renovate[bot] c803e6a107
chore(deps): update lint (#11448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 09:26:54 +08:00
renovate[bot] b0d899d68a
chore(deps): update build (#11447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 09:24:03 +08:00
Tycho e28c58138c
refactor(reactivity): simplify the wrapping logic for returned values in array instrumentations (#11434) 2024-07-29 09:22:18 +08:00