]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
edison [Sun, 1 Dec 2024 09:04:42 +0000 (17:04 +0800)]
perf(runtime-vapor): optimize `setDOMProp` on static tag + key (#294)
Evan You [Sun, 1 Dec 2024 08:41:51 +0000 (16:41 +0800)]
perf(vapor): improve component instantiation by using class
Mounting 10k components went from ~100ms to ~60ms with this change.
Rizumu Ayaka [Sat, 30 Nov 2024 10:32:16 +0000 (18:32 +0800)]
perf(runtime-vapor): `setup()` returning object is only needed in __DEV__ (HMR) (#296)
edison [Wed, 27 Nov 2024 08:55:45 +0000 (16:55 +0800)]
perf(runtime-vapor): use `setAttr` or `setDOMProp` instead of `setDynamicProp` when possible (#291)
Co-authored-by: Doctor Wu <doctorwu@moego.pet>
Kevin Deng 三咲智子 [Sun, 17 Nov 2024 20:51:15 +0000 (04:51 +0800)]
refactor(vapor): drop `v-memo` (#288)
* refactor(runtime-vapor): drop memo
* drop
三咲智子 Kevin Deng [Fri, 15 Nov 2024 22:58:26 +0000 (06:58 +0800)]
feat(vapor): support more magic vars
三咲智子 Kevin Deng [Fri, 15 Nov 2024 22:33:38 +0000 (06:33 +0800)]
fix(vapor): destructure in `v-for`
三咲智子 Kevin Deng [Fri, 15 Nov 2024 20:23:21 +0000 (04:23 +0800)]
fix(compiler-vapor): stringify number prop value
三咲智子 Kevin Deng [Fri, 15 Nov 2024 20:03:33 +0000 (04:03 +0800)]
fix(runtime-vapor): attach scope id only to root sub-element
三咲智子 Kevin Deng [Fri, 15 Nov 2024 19:51:08 +0000 (03:51 +0800)]
fix(runtime-vapor): export types from reactivity
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:48:30 +0000 (02:48 +0800)]
Merge tag 'v3.5.13'
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:43:56 +0000 (02:43 +0800)]
refactor(runtime-vapor): extract fallback component
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:36:38 +0000 (02:36 +0800)]
test(runtime-vapor): tidy custom directives test
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:24:42 +0000 (02:24 +0800)]
refactor(runtime-vapor): re-organize block
Evan You [Fri, 15 Nov 2024 14:45:28 +0000 (22:45 +0800)]
release: v3.5.13
edison [Fri, 15 Nov 2024 14:32:39 +0000 (22:32 +0800)]
fix(ssr): handle initial selected state for select with v-model + v-for option (#12399)
close #12395
edison [Fri, 15 Nov 2024 14:32:22 +0000 (22:32 +0800)]
fix(templateRef): set ref on cached async component which wrapped in KeepAlive (#12290)
close #4999
close #5004
edison [Fri, 15 Nov 2024 14:11:21 +0000 (22:11 +0800)]
fix(ssr): avoid updating subtree of async component if it is resolved (#12363)
close #12362
Bulat Aikaev [Fri, 15 Nov 2024 14:02:50 +0000 (09:02 -0500)]
fix(ssr): ensure v-text updates correctly with custom directives in SSR output (#12311)
close #12309
Tadas [Fri, 15 Nov 2024 13:36:21 +0000 (15:36 +0200)]
fix(transition): reflow before leave-active class after leave-from (#12288)
re-fix #2593
linzhe [Fri, 15 Nov 2024 10:18:58 +0000 (18:18 +0800)]
fix(hydration): the component vnode's el should be updated when a mismatch occurs. (#12255)
close #12253
Evan You [Fri, 15 Nov 2024 09:20:59 +0000 (17:20 +0800)]
fix(custom-element): avoid triggering mutationObserver when relecting props
close #12214
close #12215
Evan You [Fri, 15 Nov 2024 09:04:11 +0000 (17:04 +0800)]
chore(playground): reset version when opening local playground from reproduction
zhangenming [Fri, 15 Nov 2024 03:00:24 +0000 (11:00 +0800)]
perf(reactivity): do not track inner key `__v_skip`` (#11690)
edison [Fri, 15 Nov 2024 02:56:08 +0000 (10:56 +0800)]
fix(compiler-dom): properly stringify template string style (#12392)
close #12391
Evan You [Fri, 15 Nov 2024 02:50:26 +0000 (10:50 +0800)]
test: add test case for transition memory leaks
from https://github.com/vuejs/core/pull/12190
edison [Fri, 15 Nov 2024 02:46:59 +0000 (10:46 +0800)]
fix(types): defineEmits w/ interface declaration (#12343)
close #8457
edison [Fri, 15 Nov 2024 02:40:26 +0000 (10:40 +0800)]
fix(Transition): fix transition memory leak edge case (#12182)
close #12181
edison [Fri, 15 Nov 2024 02:37:55 +0000 (10:37 +0800)]
chore(deps): update dependency postcss-selector-parser to v7 (#12289)
edison [Fri, 15 Nov 2024 02:37:24 +0000 (10:37 +0800)]
chore(reactivity): remove unecessary array copy (#12400)
三咲智子 Kevin Deng [Thu, 14 Nov 2024 20:49:06 +0000 (04:49 +0800)]
feat(runtime-vapor): export createBranch
三咲智子 Kevin Deng [Thu, 14 Nov 2024 20:10:59 +0000 (04:10 +0800)]
fix(runtime-vapor): add scope id for fallback component
三咲智子 Kevin Deng [Thu, 14 Nov 2024 19:47:35 +0000 (03:47 +0800)]
fix(runtime-vapor): switch to fallback when slot is empty
三咲智子 Kevin Deng [Thu, 14 Nov 2024 17:21:30 +0000 (01:21 +0800)]
fix(runtime-vapor): scope id for `v-if`
三咲智子 Kevin Deng [Thu, 14 Nov 2024 16:42:54 +0000 (00:42 +0800)]
fix(runtime-vapor): `v-if` with inherit attrs
三咲智子 Kevin Deng [Thu, 14 Nov 2024 15:59:37 +0000 (23:59 +0800)]
fix(runtime-vapor): invoke getter for static attrs
Evan You [Thu, 14 Nov 2024 15:33:58 +0000 (23:33 +0800)]
build: strip pure comments in minified builds
edison [Thu, 14 Nov 2024 12:55:18 +0000 (20:55 +0800)]
fix(teleport): handle deferred teleport update before mounted (#12168)
close #12161
三咲智子 Kevin Deng [Thu, 14 Nov 2024 12:52:19 +0000 (20:52 +0800)]
feat: scope id for child component
三咲智子 Kevin Deng [Thu, 14 Nov 2024 12:01:10 +0000 (20:01 +0800)]
feat(vapor): merge inherited attrs with current attrs
linzhe [Thu, 14 Nov 2024 07:58:28 +0000 (15:58 +0800)]
fix(runtime-dom): set css vars on update to handle child forcing reflow in onMount (#11561)
Evan You [Thu, 14 Nov 2024 07:49:39 +0000 (15:49 +0800)]
fix(runtime-dom): set css vars before user onMounted hooks
close #11533
linzhe [Thu, 14 Nov 2024 07:14:29 +0000 (15:14 +0800)]
fix(compiler-core): handle v-memo + v-for with functional key (#12014)
close #12013
edison [Thu, 14 Nov 2024 06:53:55 +0000 (14:53 +0800)]
fix(v-once): setting hasOnce to current block only when in v-once (#12374)
close #12371
edison [Thu, 14 Nov 2024 06:24:22 +0000 (14:24 +0800)]
fix(reactivity): release nested effects/scopes on effect scope stop (#12373)
close #12370
Evan You [Thu, 14 Nov 2024 06:12:41 +0000 (14:12 +0800)]
fix(reactiivty): avoid unnecessary watcher effect removal from inactive scope
close #5783
close #5806
Evan You [Thu, 14 Nov 2024 00:38:48 +0000 (08:38 +0800)]
workflow: bench against bundled dist file to avoid import access overhead
ref https://github.com/vitest-dev/vitest/issues/6903
Evan You [Wed, 13 Nov 2024 16:22:38 +0000 (00:22 +0800)]
chore: add well-known funding manifest urls [ci skip]
Kevin Deng 三咲智子 [Wed, 13 Nov 2024 08:53:44 +0000 (16:53 +0800)]
feat(runtime-vapor): fallback component (#232)
* feat(runtime-vapor): fallback component
* fix
三咲智子 Kevin Deng [Wed, 13 Nov 2024 08:36:23 +0000 (16:36 +0800)]
chore(compiler-vapor): fix type error
三咲智子 Kevin Deng [Wed, 13 Nov 2024 07:45:28 +0000 (15:45 +0800)]
fix(runtime-vapor): don't overridden attrs in static template
closes #253
Evan You [Wed, 13 Nov 2024 07:31:17 +0000 (15:31 +0800)]
chore: enable format on save in workspace settings
三咲智子 Kevin Deng [Wed, 13 Nov 2024 06:56:39 +0000 (14:56 +0800)]
feat(vapor): dynamic component
Evan You [Wed, 13 Nov 2024 06:13:32 +0000 (14:13 +0800)]
workflow: improve bench scripts
三咲智子 Kevin Deng [Wed, 13 Nov 2024 02:57:22 +0000 (10:57 +0800)]
fix(runtime-vapor): component self-reference
三咲智子 Kevin Deng [Wed, 13 Nov 2024 02:12:12 +0000 (10:12 +0800)]
feat(compiler-vapor): support implicit prop in template
三咲智子 Kevin Deng [Wed, 13 Nov 2024 01:28:15 +0000 (09:28 +0800)]
fix(compiler-vapor): nested component
三咲智子 Kevin Deng [Wed, 13 Nov 2024 01:00:50 +0000 (09:00 +0800)]
fix(vue-vapor): remove compiler version
Kevin Deng 三咲智子 [Wed, 13 Nov 2024 00:41:02 +0000 (08:41 +0800)]
refactor(runtime-vapor): simplify directive mechanism (#278)
* feat: custom directive v2
* wip
* fix: directive
* fix
* refactor
* refactor: remove ref for el
三咲智子 Kevin Deng [Wed, 13 Nov 2024 00:21:16 +0000 (08:21 +0800)]
refactor(compiler-vapor): drop browser build
Evan You [Mon, 11 Nov 2024 09:05:52 +0000 (17:05 +0800)]
Merge remote-tracking branch 'upstream/main'
Rizumu Ayaka [Mon, 11 Nov 2024 09:01:53 +0000 (17:01 +0800)]
workflow(benchmark): warmup run (#287)
Rizumu Ayaka [Mon, 11 Nov 2024 09:01:44 +0000 (17:01 +0800)]
workflow: fix inaccurate test timer in benchmark (#286)
renovate[bot] [Mon, 11 Nov 2024 02:20:54 +0000 (10:20 +0800)]
fix(deps): update dependency postcss to ^8.4.48 (#12356)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 11 Nov 2024 02:17:49 +0000 (10:17 +0800)]
chore(deps): update build (#12357)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sun, 10 Nov 2024 19:17:52 +0000 (03:17 +0800)]
chore: migrate renovate config (#12354)
* chore(config): migrate config .github/renovate.json5
* chore: fix lint
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
renovate[bot] [Mon, 4 Nov 2024 06:38:05 +0000 (14:38 +0800)]
chore(deps): update dependency @types/node to v22 (#12320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 4 Nov 2024 06:19:14 +0000 (14:19 +0800)]
chore(deps): update lint (#12319)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 4 Nov 2024 01:25:09 +0000 (09:25 +0800)]
chore(deps): update all non-major dependencies (#12316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 4 Nov 2024 01:09:02 +0000 (09:09 +0800)]
chore(deps): update build (#12317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 28 Oct 2024 05:44:08 +0000 (13:44 +0800)]
chore(deps): update pnpm to v9.12.3 (#12278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 28 Oct 2024 01:23:54 +0000 (09:23 +0800)]
chore(deps): update dependency typescript-eslint to ^8.11.0 (#12276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 28 Oct 2024 01:23:14 +0000 (09:23 +0800)]
chore(deps): update dependency npm-run-all2 to v7 (#12277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 28 Oct 2024 01:17:49 +0000 (09:17 +0800)]
chore(deps): update all non-major dependencies (#12275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 28 Oct 2024 01:17:21 +0000 (09:17 +0800)]
chore(deps): update build (#12274)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 22 Oct 2024 01:53:31 +0000 (09:53 +0800)]
chore(deps): update all non-major dependencies (#12222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 21 Oct 2024 02:31:21 +0000 (10:31 +0800)]
chore(deps): update lint (#12226)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 21 Oct 2024 02:25:22 +0000 (10:25 +0800)]
chore(deps): update build (#12223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Tycho [Thu, 17 Oct 2024 04:00:03 +0000 (12:00 +0800)]
docs: update package name to `@vue/compiler-core` (#12192)[ci skip]
renovate[bot] [Mon, 14 Oct 2024 07:14:41 +0000 (15:14 +0800)]
chore(deps): update dependency typescript-eslint to ^8.8.1 (#12167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: edison <daiwei521@126.com>
renovate[bot] [Mon, 14 Oct 2024 07:14:27 +0000 (15:14 +0800)]
chore(deps): update dependency magic-string to ^0.30.12 (#12166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: edison <daiwei521@126.com>
edison [Mon, 14 Oct 2024 03:24:13 +0000 (11:24 +0800)]
fix(test): update snapshot (#12169)
btea [Mon, 14 Oct 2024 02:14:32 +0000 (10:14 +0800)]
chore: improve `renderComponentRoot` warn message (#10914)
远方os [Mon, 14 Oct 2024 02:10:27 +0000 (10:10 +0800)]
test(shared): improve test coverage (#8456)
Co-authored-by: edison <daiwei521@126.com>
zr [Mon, 14 Oct 2024 02:09:13 +0000 (10:09 +0800)]
test(defineProps): add intersection type test (#8684)
Co-authored-by: daiwei <daiwei521@126.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
renovate[bot] [Mon, 14 Oct 2024 02:07:11 +0000 (10:07 +0800)]
chore(deps): update dependency @swc/core to ^1.7.35 (#12165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 14 Oct 2024 02:06:33 +0000 (10:06 +0800)]
chore(deps): update all non-major dependencies (#12164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
skirtle [Mon, 14 Oct 2024 00:18:18 +0000 (01:18 +0100)]
perf(runtime-core): use feature flag for call to resolveMergedOptions (#12163)
Reduce bundle size when using `__VUE_OPTIONS_API__: false`
Evan You [Fri, 11 Oct 2024 13:12:32 +0000 (21:12 +0800)]
release: v3.5.12
skirtle [Fri, 11 Oct 2024 13:10:09 +0000 (14:10 +0100)]
refactor(reactivity): reduce size of collectionHandlers (#12152)
Tycho [Fri, 11 Oct 2024 13:00:08 +0000 (21:00 +0800)]
fix(runtime-dom): prevent unnecessary updates in v-model checkbox when value is unchanged (#12146)
close #12144
Evan You [Fri, 11 Oct 2024 03:25:48 +0000 (11:25 +0800)]
chore: format
KevinXi [Fri, 11 Oct 2024 03:24:03 +0000 (11:24 +0800)]
test(reactivity): test for verifying no unnecessary calls of reactive array identity methods (#11328)
related: #9511
Michael Brevard [Fri, 11 Oct 2024 03:22:01 +0000 (06:22 +0300)]
fix(hydration): provide compat fallback for idle callback hydration strategy (#11935)
edison [Fri, 11 Oct 2024 03:17:15 +0000 (11:17 +0800)]
fix(types): retain union type narrowing with defaults applied (#12108)
close #12106
山吹色御守 [Fri, 11 Oct 2024 03:07:07 +0000 (11:07 +0800)]
fix(compiler): clone loc to `ifNode` (#12131)
fix vuejs/language-tools#4911
山吹色御守 [Fri, 11 Oct 2024 03:05:54 +0000 (11:05 +0800)]
fix(compiler-sfc): use sass modern api if available and avoid deprecation warning (#11992)
YangLGggggggggg [Fri, 11 Oct 2024 03:02:58 +0000 (11:02 +0800)]
fix(runtime-core): fix required prop check false positive for kebab-case edge cases (#12034)
close #12011
edison [Fri, 11 Oct 2024 02:53:45 +0000 (10:53 +0800)]
chore(runtime-core): warn if use a non-ref to hold the element reference in DEV (#12051)
close #12029
linzhe [Fri, 11 Oct 2024 02:51:57 +0000 (10:51 +0800)]
fix(compiler-sfc): do not skip TSInstantiationExpression when transforming props destructure (#12064)