Commit Graph

7198 Commits

Author SHA1 Message Date
Evan You 37ccb9b9a0
fix(custom-element): delay mounting of custom elements with async parent
close #8127
close #9341
close #9351

the fix is based on #9351 with reused tests
2024-08-07 02:18:54 +08:00
白雾三语 03a9ea2b88
feat(custom-element): support css `:host` selector by applying css vars on host element (#8830)
close #8826
2024-08-06 23:33:57 +08:00
Evan You 7c75cc3988
workflow: sign the release commit in workflow 2024-08-06 22:57:52 +08:00
Evan You 5b6caab8d1
chore: changelog [ci skip] 2024-08-06 22:28:00 +08:00
Evan You 9e7aa04edb
workflow: auto create gh release tag in release 2024-08-06 22:24:19 +08:00
Evan You a6c411371b
chore: fix 3.4.36 changelog [ci skip] 2024-08-06 22:13:32 +08:00
vue-bot 1cbbb04008 release: v3.4.36 2024-08-06 14:00:05 +00:00
Evan You c82afc0471
workflow: add registry-url 2024-08-06 21:29:15 +08:00
Evan You 13834c81ea
workflow: fix release script error handling 2024-08-06 21:14:32 +08:00
Evan You ae09d24f41
workflow: bail release when skipping prompts + CI not passed yet 2024-08-06 21:07:58 +08:00
Evan You 244545c1c7
workflow: fix release workflow [ci skip] 2024-08-06 20:55:26 +08:00
Evan You 4e5cafe77b
workflow: update size report to compare against pr target branch 2024-08-06 20:47:46 +08:00
Haoqun Jiang a586901a76
workflow: add a "publish" workflow for automated releases (#9690) 2024-08-06 20:42:36 +08:00
edison 275354caba
fix(compiler-ssr): don't render v-if comments in TransitionGroup + static tag (#11515)
close #11514
2024-08-06 18:25:13 +08:00
edison 917c0631cc
chore: fix typo (#11522) 2024-08-06 18:20:40 +08:00
三咲智子 Kevin Deng 669c295475
ci: remove release concurrency limit 2024-08-06 18:18:36 +08:00
Evan You 79602f9ecd
fix(ssr): respect textContent/innerHTML from getSSRProps in optimized SSR output
close #8112
2024-08-06 18:14:59 +08:00
三咲智子 Kevin Deng d23095e866
Merge tag 'v3.5.0-alpha.5' 2024-08-06 17:39:59 +08:00
Evan You 7d473b7721
fix(hydration): force hydrate custom element dynamic props
close #7203
close #8038
2024-08-06 15:58:45 +08:00
Evan You bb4a02a70c
feat(custom-element): support nonce option for injected style tags
close #6530
2024-08-06 15:41:54 +08:00
Evan You 60a88a2b12
feat(custom-element): support passing custom-element-specific options via 2nd argument of defineCustomElement 2024-08-06 15:37:28 +08:00
David Matter 63fd8b683a
ci: fix canary release workflow (#11516) 2024-08-06 14:34:31 +08:00
Evan You 56c76a8b05
feat(custom-element): inject child components styles to custom element shadow root (#11517)
close #4662
close #7941
close #7942
2024-08-05 20:49:28 +08:00
Evan You b74687c0bb
refactor: isCE -> ce 2024-08-05 16:33:48 +08:00
Evan You 6e541db29f
chore: warn style injection in shadowRoot: false mode 2024-08-05 16:33:05 +08:00
renovate[bot] e26fd7b1d1
chore(deps): update dependency lint-staged to ^15.2.8 (#11498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 14:49:27 +08:00
renovate[bot] ed1bf72715
chore(deps): update build (#11495)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 14:49:04 +08:00
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