Commit Graph

2587 Commits

Author SHA1 Message Date
edison 772b0087cb
fix(suspense): handle edge case in patching list nodes within Suspense (#13306)
close #13305
2025-05-16 08:32:55 +08:00
edison 80055fddfb
fix(hydration): skip lazy hydration for patched components (#13283)
close #13255
2025-05-16 08:22:01 +08:00
Adrian Cerbaro b9910755a5
fix(custom-element): allow injecting values ​​from app context in nested elements (#13219)
close #13212)
2025-05-16 08:07:32 +08:00
daiwei 77067abd33 chore: merge main into minor
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
2025-05-15 16:27:31 +08:00
daiwei d0253a0b7e release: v3.5.14
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
2025-05-15 11:13:02 +08:00
edison 1f98a9c493
fix(hmr): avoid hydration for hmr root reload (#12450)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
close vitejs/vite-plugin-vue#146
close vitejs/vite-plugin-vue#477
2025-05-13 22:23:23 +08:00
tonicli 626450590d
fix(runtime-core): inherit comment nodes during block patch in production build (#10748)
close #10747
close #12650
2025-05-13 22:18:28 +08:00
yangxiuxiu 343c891224
fix(transition): fix KeepAlive with transition out-in mode behavior in production (#12468)
close #12465
2025-05-13 22:16:45 +08:00
edison 9c4dbbc518
fix(hmr): avoid hydration for hmr updating (#12262)
close #7706
close #8170
2025-05-13 22:15:50 +08:00
edison d8ae428172 chore: Merge branch 'minor' into vapor
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
2025-05-08 18:14:18 +08:00
Tycho 3f27c58ffb
fix(runtime-core): respect immutability for readonly reactive arrays in `v-for` (#13091)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
close #13087
2025-05-02 02:55:24 -07:00
yangxiuxiu 9196222ae1
fix(slots): properly warn if slot invoked in setup (#12195)
close #12194
2025-05-02 02:53:14 -07:00
edison 2206cd235a
fix(ssr): properly init slots during ssr rendering (#12441)
close #12438
2025-05-02 02:48:03 -07:00
edison 5e37dd0095
fix(hmr/teleport): adjust static children traversal for HMR in dev mode (#12819)
close #12816
2025-05-02 02:18:01 -07:00
dopamine 016c472bd2
fix(runtime-core): stop tracking deps in setRef during unmount (#13210) 2025-05-01 02:56:42 -07:00
edison 5d166f3796
fix(compiler-core): remove slot cache from parent renderCache during unmounting (#13215)
* fix(compiler-core): remove slot cache from parent renderCache during unmounting

* chore: update
2025-05-01 02:55:36 -07:00
dopamine b3ecee3da8
fix(runtime-core): update __vnode of static nodes when patching along the optimized path (#13223)
* fix(runtime-core):  update __vnode of static nodes when patching along the optimized path

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-01 02:54:40 -07:00
edison ff31f50b87
chore: remove warnRecursiveComputed (#13128) 2025-04-10 23:36:38 -07:00
edison f78a9d068d
Merge branch 'minor' into vapor 2025-04-01 21:01:53 +08:00
daiwei d523d24ac0 Merge remote-tracking branch 'origin/main' into minor 2025-03-29 13:51:19 +08:00
Tycho f6f64befb8
types: enhance plugin type inference for better IDE support (#13063)
* types: enhance plugin type inference for better JSDoc and IDE support

* test: clean up

* chore: tweaks
2025-03-19 11:44:32 +08:00
Buer Yang 10e54dcc86
fix(types): the directive's modifiers should be optional (#12605)
* fix(types): the directive's modifiers should be optional

* fix: test

---------

Co-authored-by: edison <daiwei521@126.com>
2025-03-19 11:38:59 +08:00
edison fdbd026583
fix(customFormatter): properly accessing ref value during debugger (#12948) 2025-03-14 08:19:06 +08:00
Shinigami 636a8619f0
feat(types): add type TemplateRef (#12645)
* feat(types): add type TemplateRef

* chore: simplify

Co-authored-by: jh-leong <jh.leong@outlook.com>

---------

Co-authored-by: jh-leong <jh.leong@outlook.com>
2025-03-14 08:17:49 +08:00
edison 05d9b429a4
fix(vapor): handle next host node for vapor component (#12820) 2025-02-28 17:02:11 +08:00
daiwei 61604f6375 Merge remote-tracking branch 'origin/main' into minor 2025-02-13 09:43:47 +08:00
edison d6a6ec13ce
fix(runtime-core): prevent unmounted vnode from being inserted during transition leave (#12862)
close #12860
2025-02-12 15:30:08 +08:00
Evan You 2a0cfc03b8
chore: warn vapor hydration for now 2025-02-08 15:06:27 +08:00
Evan You 23939d09c6
wip(vapor): vapor slots in vdom 2025-02-07 21:32:22 +08:00
Evan You 99d70ddd31
wip(vapor): vdom slots in vapor component 2025-02-06 18:12:54 +08:00
Evan You a770a83de6
wip(vapor): support vapor component as root in vdom app 2025-02-05 14:23:32 +08:00
Evan You ccd42b151b
refactor: adjust vapor/vdom interop 2025-02-05 14:16:39 +08:00
Evan You be5c2a2f51
wip: vdom in vapor hmr reload 2025-02-04 22:44:17 +08:00
Evan You 4b12529878
wip(vapor): fix setScopeId for vdom in vapor 2025-02-04 21:55:32 +08:00
Evan You c3e4f6621c
wip(vapor): vdom in vapor interop 2025-02-04 21:38:09 +08:00
Evan You f09e343962
wip(vapor): optimize vapor interop update 2025-02-04 13:11:51 +08:00
Evan You b20bcf1fb6
chore: fix runtime-vapor dts build 2025-02-03 15:46:40 +08:00
Evan You 3464620f12
wip(vapor): vapor in vdom interop 2025-02-02 23:15:39 +08:00
Evan You e49c5a17da
test(vapor): enable more test cases 2025-01-30 10:12:36 +08:00
Evan You 181d3403f7
wip(vapor): v-for 2025-01-29 19:07:40 +08:00
Evan You e6ba91cfac
perf: avoid now() overhead during dev measure calls 2025-01-29 15:53:20 +08:00
Evan You 674151c9b9
chore: Merge branch 'minor' into vapor 2025-01-29 15:37:54 +08:00
edison 7b222990ae
test(runtime-vapor): port tests from rendererComponent.spec.ts (#12677) 2025-01-29 12:12:52 +08:00
edison 139448556d
refactor(runtime-core): useModel work with vapor mode (#12666) 2025-01-29 12:12:44 +08:00
daiwei edc79e7052 Merge branch 'main' into minor 2025-01-24 09:23:17 +08:00
Johnson Chu 9d651e2774
refactor(reactivity): ports alien-signals 1.0.0 (#12570) 2025-01-15 11:19:27 +08:00
Evan You 22dcbf3e20
fix(reactivity): ensure multiple effectScope on() and off() calls maintains correct active scope
close #12631
close #12632

This is a combination of changes from both 8dec243 and #12641
2025-01-08 18:07:44 +08:00
Evan You 76e8d2c4d0
wip(vapor): init feature flags + set devtools when creating vapor app 2024-12-14 16:25:35 +08:00
Evan You 0d1df25f23
wip(vapor): templateRef adjustments 2024-12-12 22:34:35 +08:00
Evan You 92526b06de
chore: fix dts build 2024-12-11 08:55:19 +08:00
Evan You 5648dda0c0
test(vapor): componentEmits 2024-12-10 19:37:55 +08:00
Evan You 4366a7e213
test(vapor): apiWatch 2024-12-10 18:43:26 +08:00
Evan You 12ef12105b
test(vapor): api expose (partial) 2024-12-10 17:00:35 +08:00
Evan You 48fc65f25c
test(vapor): apiCreateVaporApp 2024-12-10 12:49:47 +08:00
Evan You c2ff3bd564
chore: fix compat props default test 2024-12-10 08:11:36 +08:00
Evan You 527905a85b
test(vapor): errorHandling 2024-12-09 23:42:23 +08:00
Evan You 2bbb6d2fc5
fix(scheduler): recover nextTick from error in post flush cb 2024-12-09 18:35:28 +08:00
Evan You f2b69d79ca
chore: remove non-function-related changes from vapor branch 2024-12-09 09:03:43 +08:00
Evan You 54c29aba9a
wip: vapor hmr reload 2024-12-08 23:37:40 +08:00
Evan You 83be45ea88
wip: optimize vapor currentInstance setting 2024-12-08 22:47:05 +08:00
Evan You bb0787b8d4
wip: prepare hmr reload 2024-12-08 21:22:51 +08:00
daiwei f7d95ce28d Merge remote-tracking branch 'origin/main' into minor 2024-12-08 19:53:34 +08:00
Evan You 4833c1c96e
wip: vapor hmr rerender 2024-12-08 17:20:34 +08:00
Evan You 6c4018652b
chore: fix vdom slots currentInstance 2024-12-08 16:42:07 +08:00
Evan You e8067f1cd9
wip: prepare hmr for vapor 2024-12-08 16:32:29 +08:00
Evan You db3151b1a5
wip: avoid including vdom-only public properties map in bundle 2024-12-06 23:06:11 +08:00
Evan You 300bb0859a
wip: fix all runtime-core type errors 2024-12-06 01:19:20 +08:00
Evan You e23a6a8746
wip: unify currentInstance between vdom and vapor + provide/inject 2024-12-05 23:13:24 +08:00
Evan You ee7a93df27
refactor: split current instance logic to separate file 2024-12-05 21:25:16 +08:00
Evan You 4baaa7bca3
wip: optimize props validation 2024-12-05 17:50:09 +08:00
Evan You 93a16af08e
wip: vapor component props validation 2024-12-05 16:14:38 +08:00
Evan You c73ee16345
refactor: remove runtime-shared 2024-12-04 13:50:54 +08:00
Evan You 4fe05bdd74
wip(vapor): reuse createApp from core 2024-12-04 11:54:26 +08:00
Evan You cc2439c9e6
wip: vapor warning context integration 2024-12-04 10:53:29 +08:00
Evan You 65fc9769f2
wip: emits 2024-12-03 22:49:28 +08:00
Evan You 72d82353ee
refactor: make core warning and errorHandling vdom/vapor generic 2024-12-03 21:43:18 +08:00
Evan You 4ea66770be
wip: filter emits 2024-12-03 17:20:07 +08:00
Evan You 9d89d7ab27
refactor: expose scheduler for vapor 2024-12-03 16:58:07 +08:00
Evan You 783d8b4d0d
refactor: reuse props logic from core 2024-12-03 16:48:28 +08:00
Johnson Chu 313dc61bef
perf(reactivity): refactor reactivity core by porting alien-signals (#12349) 2024-12-02 21:05:12 +08:00
Liu Bo 06310e82f5
fix(types): allow return any for Options API lifecycle hooks (#5914)
Co-authored-by: edison <daiwei521@126.com>
2024-11-19 20:29:08 +08:00
三咲智子 Kevin Deng f6ce3f9d43
Merge tag 'v3.5.13' 2024-11-16 02:48:30 +08:00
Evan You 6eb29d345a
release: v3.5.13 2024-11-15 22:45:28 +08:00
edison 983eb50a17
fix(templateRef): set ref on cached async component which wrapped in KeepAlive (#12290)
close #4999
close #5004
2024-11-15 22:32:22 +08:00
edison da7ad5e3d2
fix(ssr): avoid updating subtree of async component if it is resolved (#12363)
close #12362
2024-11-15 22:11:21 +08:00
linzhe a20a4cb36a
fix(hydration): the component vnode's el should be updated when a mismatch occurs. (#12255)
close #12253
2024-11-15 18:18:58 +08:00
edison 1022eabaa1
fix(types): defineEmits w/ interface declaration (#12343)
close #8457
2024-11-15 10:46:59 +08:00
edison 660132df6c
fix(Transition): fix transition memory leak edge case (#12182)
close #12181
2024-11-15 10:40:26 +08:00
edison 8bff142f99
fix(teleport): handle deferred teleport update before mounted (#12168)
close #12161
2024-11-14 20:55:18 +08:00
edison 37300fc261
fix(v-once): setting hasOnce to current block only when in v-once (#12374)
close #12371
2024-11-14 14:53:55 +08:00
edison bee2f5ee62
fix(reactivity): release nested effects/scopes on effect scope stop (#12373)
close #12370
2024-11-14 14:24:22 +08:00
Evan You b1260e0dd6
Merge remote-tracking branch 'upstream/main' 2024-11-11 17:05:52 +08:00
btea a038505c65
chore: improve `renderComponentRoot` warn message (#10914) 2024-10-14 10:14:32 +08:00
skirtle 1755ac0a10
perf(runtime-core): use feature flag for call to resolveMergedOptions (#12163)
Reduce bundle size when using `__VUE_OPTIONS_API__: false`
2024-10-14 08:18:18 +08:00
Evan You 770ea67a9c
release: v3.5.12 2024-10-11 21:12:32 +08:00
Michael Brevard 1ae545a378
fix(hydration): provide compat fallback for idle callback hydration strategy (#11935) 2024-10-11 11:22:01 +08:00
edison 05685a9d7c
fix(types): retain union type narrowing with defaults applied (#12108)
close #12106
2024-10-11 11:17:48 +08:00
YangLGggggggggg 9da1ac1565
fix(runtime-core): fix required prop check false positive for kebab-case edge cases (#12034)
close #12011
2024-10-11 11:02:58 +08:00
edison 10a46f43c0
chore(runtime-core): warn if use a non-ref to hold the element reference in DEV (#12051)
close #12029
2024-10-11 10:53:45 +08:00
linzhe 76a8223199
fix(teleport): handle disabled teleport with updateCssVars (#12113)
close #12112
2024-10-11 10:50:36 +08:00