]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
白雾三语 [Tue, 6 Aug 2024 15:33:57 +0000 (23:33 +0800)]
feat(custom-element): support css `:host` selector by applying css vars on host element (#8830)
close #8826
edison [Tue, 6 Aug 2024 10:20:40 +0000 (18:20 +0800)]
chore: fix typo (#11522)
Evan You [Tue, 6 Aug 2024 07:41:43 +0000 (15:41 +0800)]
feat(custom-element): support nonce option for injected style tags
close #6530
Evan You [Tue, 6 Aug 2024 07:37:28 +0000 (15:37 +0800)]
feat(custom-element): support passing custom-element-specific options via 2nd argument of defineCustomElement
Evan You [Mon, 5 Aug 2024 12:49:28 +0000 (20:49 +0800)]
feat(custom-element): inject child components styles to custom element shadow root (#11517)
close #4662
close #7941
close #7942
Evan You [Mon, 5 Aug 2024 08:33:48 +0000 (16:33 +0800)]
refactor: isCE -> ce
Evan You [Mon, 5 Aug 2024 08:33:05 +0000 (16:33 +0800)]
chore: warn style injection in shadowRoot: false mode
Andy Li [Mon, 5 Aug 2024 03:14:36 +0000 (11:14 +0800)]
fix(types/custome-element): `defineCustomElement` props inference with array emits (#11384)
close #11353
远方os [Mon, 5 Aug 2024 02:51:56 +0000 (10:51 +0800)]
feat(types): allow computed getter and setter types to be unrelated (#11472)
close #7271
Tycho [Mon, 5 Aug 2024 02:50:43 +0000 (10:50 +0800)]
feat(types): provide internal options for using refs type in language tools (#11492)
Tycho [Mon, 5 Aug 2024 02:40:17 +0000 (10:40 +0800)]
refactor(types/ref): update `MaybeRef` to include all ref-like types (#11379)
Co-authored-by: Evan You <evan@vuejs.org>
Evan You [Sun, 4 Aug 2024 02:25:39 +0000 (10:25 +0800)]
chore(deps): bump TypeScript to 5.5
郝晨光 [Sat, 3 Aug 2024 06:48:21 +0000 (14:48 +0800)]
feat(custom-element): support for expose on customElement (#6256)
close #5540
Evan You [Sat, 3 Aug 2024 06:19:19 +0000 (14:19 +0800)]
feat(custom-element): useShadowRoot() helper
close #6113
close #8195
Evan You [Sat, 3 Aug 2024 05:46:58 +0000 (13:46 +0800)]
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
Evan You [Sat, 3 Aug 2024 05:40:57 +0000 (13:40 +0800)]
fix(custom-element): ignore scoped id
Evan You [Sat, 3 Aug 2024 05:14:22 +0000 (13:14 +0800)]
feat(custom-element): support shadowRoot: false in defineCustomElement()
close #4314
close #4404
远方os [Fri, 2 Aug 2024 06:41:27 +0000 (14:41 +0800)]
feat(reactivity/watch): add pause/resume for ReactiveEffect, EffectScope, and WatchHandle (#9651)
Tycho [Fri, 2 Aug 2024 05:18:58 +0000 (13:18 +0800)]
dx(useTemplateRef): warn when declaring with the same key (#11462)
Haoqun Jiang [Fri, 2 Aug 2024 04:46:12 +0000 (12:46 +0800)]
feat(runtime-dom): Trusted Types compatibility (#10844)
Damian Głowala [Fri, 2 Aug 2024 04:43:22 +0000 (06:43 +0200)]
feat(types): export `MultiWatchSources` type (#9563)
远方os [Fri, 2 Aug 2024 03:38:07 +0000 (11:38 +0800)]
feat(watch): support passing number to `deep` option to control the watch depth (#9572)
Evan You [Fri, 2 Aug 2024 03:11:03 +0000 (11:11 +0800)]
fix(types): allow using InjectionKey as valid property key
close #5089
Evan You [Thu, 1 Aug 2024 03:13:56 +0000 (11:13 +0800)]
feat: support specifying allowed keys via generic argument in useTemplateRef()
Evan You [Wed, 31 Jul 2024 08:57:19 +0000 (16:57 +0800)]
release: v3.5.0-alpha.5
Evan You [Wed, 31 Jul 2024 08:49:22 +0000 (16:49 +0800)]
chore: Merge branch 'main' into minor
Evan You [Wed, 31 Jul 2024 08:42:04 +0000 (16:42 +0800)]
release: v3.4.35
Evan You [Wed, 31 Jul 2024 08:09:56 +0000 (16:09 +0800)]
fix(teleport/ssr): fix Teleport hydration regression due to targetStart anchor addition
edison [Wed, 31 Jul 2024 07:46:39 +0000 (15:46 +0800)]
fix(Teleport): ensure targetAnchor and targetStart not null during hydration (#11456)
close #11400
Evan You [Wed, 31 Jul 2024 04:14:51 +0000 (12:14 +0800)]
feat: lazy hydration strategies for async components (#11458)
Evan You [Mon, 29 Jul 2024 14:07:40 +0000 (22:07 +0800)]
test: make transition tests more stable locally
skirtle [Mon, 29 Jul 2024 13:47:23 +0000 (14:47 +0100)]
perf(runtime-core): improve efficiency of normalizePropsOptions (#11409)
close #9739
Tycho [Mon, 29 Jul 2024 13:26:48 +0000 (21:26 +0800)]
chore(types): reuse built-in Iterator type (#11435)
renovate[bot] [Mon, 29 Jul 2024 12:18:02 +0000 (20:18 +0800)]
chore(deps): update dependency conventional-changelog-cli to v5 (#11449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 29 Jul 2024 12:17:45 +0000 (20:17 +0800)]
chore(deps): update dependency eslint-plugin-import-x to v3 (#11450)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Tycho [Mon, 29 Jul 2024 02:52:38 +0000 (10:52 +0800)]
fix(types/ref): allow getter and setter types to be unrelated (#11442)
wzc520pyfm [Mon, 29 Jul 2024 01:43:25 +0000 (09:43 +0800)]
chore(sfc-playgroud): highlight the commit and latest version when active in dropdown (#11445)
renovate[bot] [Mon, 29 Jul 2024 01:26:54 +0000 (09:26 +0800)]
chore(deps): update lint (#11448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 29 Jul 2024 01:24:03 +0000 (09:24 +0800)]
chore(deps): update build (#11447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Tycho [Mon, 29 Jul 2024 01:22:18 +0000 (09:22 +0800)]
refactor(reactivity): simplify the wrapping logic for returned values in array instrumentations (#11434)
renovate[bot] [Mon, 29 Jul 2024 01:11:08 +0000 (09:11 +0800)]
chore(deps): update test (#11417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
wzc520pyfm [Mon, 29 Jul 2024 01:10:52 +0000 (09:10 +0800)]
chore(docs): update the minimum requeird version of node and pnpm (#11443) [ci skip]
renovate[bot] [Mon, 29 Jul 2024 01:06:40 +0000 (09:06 +0800)]
fix(deps): update compiler (#11416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 29 Jul 2024 01:06:19 +0000 (09:06 +0800)]
chore(deps): update all non-major dependencies (#11415)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 29 Jul 2024 01:06:00 +0000 (09:06 +0800)]
chore(deps): update autofix-ci/action digest to
ff86a55 (#11414)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Evan You [Thu, 25 Jul 2024 03:22:27 +0000 (11:22 +0800)]
feat(hydration): support suppressing hydration mismatch via data-allow-mismatch
Evan You [Wed, 24 Jul 2024 15:41:40 +0000 (23:41 +0800)]
release: v3.5.0-alpha.4
Evan You [Wed, 24 Jul 2024 15:37:31 +0000 (23:37 +0800)]
chore: Merge branch 'main' into minor
Evan You [Wed, 24 Jul 2024 15:30:30 +0000 (23:30 +0800)]
release: v3.4.34
Evan You [Wed, 24 Jul 2024 15:26:13 +0000 (23:26 +0800)]
refactor: use hasChanged for useModel comparisons
Tycho [Wed, 24 Jul 2024 15:25:22 +0000 (23:25 +0800)]
fix(defineModel): correct update with multiple changes in same tick (#11430)
close #11429
Evan You [Wed, 24 Jul 2024 15:08:56 +0000 (23:08 +0800)]
fix(useId): properly mark async boundary for already resolved async component
Evan You [Wed, 24 Jul 2024 14:50:31 +0000 (22:50 +0800)]
test: add test case for useId
Evan You [Wed, 24 Jul 2024 14:15:25 +0000 (22:15 +0800)]
fix(suspense/hydration): fix hydration timing of async component inside suspense
close #6638
Evan You [Wed, 24 Jul 2024 13:58:04 +0000 (21:58 +0800)]
refactor: remove unnecessary else
Evan You [Fri, 19 Jul 2024 10:14:31 +0000 (18:14 +0800)]
release: v3.5.0-alpha.3
Evan You [Fri, 19 Jul 2024 10:07:42 +0000 (18:07 +0800)]
chore: Merge branch 'main' into minor
Evan You [Fri, 19 Jul 2024 10:06:02 +0000 (18:06 +0800)]
feat(runtime-core): useId() (#11404)
Evan You [Fri, 19 Jul 2024 09:24:34 +0000 (17:24 +0800)]
release: v3.4.33
edison [Fri, 19 Jul 2024 09:02:14 +0000 (17:02 +0800)]
refactor(runtime-core): remove attrsProxy and slotsProxy from instance (#11390)
Tycho [Fri, 19 Jul 2024 08:52:03 +0000 (16:52 +0800)]
fix(runtime-dom): handle undefined values in v-html (#11403)
Hongkun Peng [Fri, 19 Jul 2024 08:48:13 +0000 (16:48 +0800)]
chore(build): fix build error on Windows (#11389)
Evan You [Fri, 19 Jul 2024 07:50:20 +0000 (15:50 +0800)]
chore: move useTemplateRef tests
Evan You [Fri, 19 Jul 2024 04:02:24 +0000 (12:02 +0800)]
fix(build): enable SSR branches in esm-browser builds
This enables the logic necessary to pick up the correct current instance
when using esm-browser builds for in-browser SSR, and fixes the problem
of `getCurrentInstance()` returning null during SSR in the SFC playground.
Evan You [Fri, 19 Jul 2024 03:14:00 +0000 (11:14 +0800)]
workflow: enable prod hydration details in dev script
Evan You [Fri, 19 Jul 2024 02:50:06 +0000 (10:50 +0800)]
refactor: move useTemplateRef file
Evan You [Thu, 18 Jul 2024 13:15:27 +0000 (21:15 +0800)]
test(teleport): test for accessing template ref inside teleport in mounted
Evan You [Thu, 18 Jul 2024 13:06:48 +0000 (21:06 +0800)]
feat(teleport): support deferred Teleport (#11387)
close #2015
close #11386
Evan You [Wed, 17 Jul 2024 10:20:23 +0000 (18:20 +0800)]
feat: useTemplateRef()
Evan You [Wed, 17 Jul 2024 10:01:13 +0000 (18:01 +0800)]
chore: update comments for proxyRefs
Evan You [Wed, 17 Jul 2024 09:32:31 +0000 (17:32 +0800)]
chore: Merge branch 'main' into minor
Evan You [Wed, 17 Jul 2024 09:07:05 +0000 (17:07 +0800)]
release: v3.4.32
yangxiuxiu [Wed, 17 Jul 2024 08:46:10 +0000 (16:46 +0800)]
fix(runtime-core): do not emit when defineModel ref is set with same value (#11162)
close #11125
linzhe [Wed, 17 Jul 2024 08:37:14 +0000 (16:37 +0800)]
fix(runtime-dom): properly handle innerHTML unmount into new children (#11159)
close #9135
Zhaolin Liang [Wed, 17 Jul 2024 07:06:14 +0000 (15:06 +0800)]
fix(compiler-sfc): correctly resolve type annotation for declared function (#11279)
close #11266
Evan You [Wed, 17 Jul 2024 06:29:54 +0000 (14:29 +0800)]
test: test case for #11286
Evan You [Wed, 17 Jul 2024 04:14:25 +0000 (12:14 +0800)]
fix(hydration): fix tracking of reactive style objects in production
close #11372
Evan You [Wed, 17 Jul 2024 03:41:02 +0000 (11:41 +0800)]
fix(compiler-sfc): should properly walk desutructured props when reactive destructure is not enabled
close #11325
Tycho [Wed, 17 Jul 2024 02:09:57 +0000 (10:09 +0800)]
fix(reactivity): ensure `unref` correctly resolves type for `ShallowRef` (#11360)
close #11356
Evan You [Wed, 17 Jul 2024 02:05:09 +0000 (10:05 +0800)]
feat(runtime-core): add app.config.throwUnhandledErrorInProduction
close #7876
Evan You [Tue, 16 Jul 2024 10:05:44 +0000 (18:05 +0800)]
fix(runtime-core): avoid recursive warning
close #8074
Evan You [Tue, 16 Jul 2024 09:17:25 +0000 (17:17 +0800)]
fix(teleport): skip teleported nodes when locating patch anchor
close #9071
close #9134
close #9313
Tests reused from #9313
LiuSeen [Tue, 16 Jul 2024 07:07:06 +0000 (15:07 +0800)]
fix(reactivity): shallowReactive map "unwraps" the nested refs (#8503)
fix #8501
fix #11249
Linghao Su [Tue, 16 Jul 2024 03:40:53 +0000 (11:40 +0800)]
test(runtime-core): test effectscope instance null (#8397)
Evan You [Tue, 16 Jul 2024 03:09:34 +0000 (11:09 +0800)]
chore: format
Evan You [Tue, 16 Jul 2024 03:06:45 +0000 (11:06 +0800)]
fix(hydration): handle consectuvie text nodes during hydration
close #7285
close #7301
fang-ng4 [Mon, 15 Jul 2024 14:36:48 +0000 (22:36 +0800)]
test: edge case for decodeHtmlBrowser (#11339)
Co-authored-by: unknown <fangliang@qq.com>
Vlad [Mon, 15 Jul 2024 14:31:27 +0000 (01:31 +1100)]
perf(server-render): avoid unnecessary checks in `createBuffer` (#11364)
renovate[bot] [Mon, 15 Jul 2024 13:56:55 +0000 (21:56 +0800)]
chore(deps): update dependency rollup to ^4.18.1 (#11358)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
skirtle [Mon, 15 Jul 2024 13:56:37 +0000 (14:56 +0100)]
fix(runtime-core): use separate prop caches for components and mixins (#11350)
Co-authored-by: Red Huang <gcaaa31928@gmail.com>
close #7998
_Kerman [Mon, 15 Jul 2024 13:54:53 +0000 (21:54 +0800)]
fix(hmr): hmr reload should work with async component (#11248)
btea [Mon, 15 Jul 2024 08:31:27 +0000 (16:31 +0800)]
chore: fix @babel/types version in pnpm catalog (#11349)
Evan You [Mon, 15 Jul 2024 08:29:25 +0000 (16:29 +0800)]
chore: remove codspeed plugin
Evan You [Mon, 15 Jul 2024 08:28:47 +0000 (16:28 +0800)]
chore: remove terser dep
Evan You [Mon, 15 Jul 2024 08:25:58 +0000 (16:25 +0800)]
fix(build): use consistent minify options from previous terser config
renovate[bot] [Mon, 15 Jul 2024 08:22:03 +0000 (16:22 +0800)]
chore(deps): update all non-major dependencies (#11357)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Evan You [Sat, 13 Jul 2024 13:38:32 +0000 (21:38 +0800)]
fix(v-once): properly unmount v-once cached trees
close #5154
close #8809
Evan You [Sat, 13 Jul 2024 13:07:45 +0000 (21:07 +0800)]
refactor: isVNode -> isVOnce
Evan You [Sat, 13 Jul 2024 13:05:06 +0000 (21:05 +0800)]
refactor: memoIndex -> cacheIndex
Evan You [Sat, 13 Jul 2024 10:21:02 +0000 (18:21 +0800)]
refactor(compiler): move patchFlag text generation to codegen phase