]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
7 months agofix(scheduler): recover nextTick from error in post flush cb
Evan You [Mon, 9 Dec 2024 10:35:28 +0000 (18:35 +0800)] 
fix(scheduler): recover nextTick from error in post flush cb

7 months agowip: remove setInheritAttrs codegen
Evan You [Mon, 9 Dec 2024 09:19:16 +0000 (17:19 +0800)] 
wip: remove setInheritAttrs codegen

7 months agowip: respect inheritAttrs
Evan You [Mon, 9 Dec 2024 05:12:37 +0000 (13:12 +0800)] 
wip: respect inheritAttrs

7 months agochore: make vapor compiler tests pass
Evan You [Mon, 9 Dec 2024 05:09:31 +0000 (13:09 +0800)] 
chore: make vapor compiler tests pass

7 months agochore: remove non-function-related changes from vapor branch
Evan You [Mon, 11 Nov 2024 14:45:34 +0000 (22:45 +0800)] 
chore: remove non-function-related changes from vapor branch

7 months agowip: vapor hmr reload
Evan You [Sun, 8 Dec 2024 15:37:40 +0000 (23:37 +0800)] 
wip: vapor hmr reload

7 months agowip: vapor app.unmount + unmounted hooks
Evan You [Sun, 8 Dec 2024 15:16:49 +0000 (23:16 +0800)] 
wip: vapor app.unmount + unmounted hooks

7 months agochore: fix vapor playground tsconfig
Evan You [Sun, 8 Dec 2024 15:16:31 +0000 (23:16 +0800)] 
chore: fix vapor playground tsconfig

7 months agochore: remove vue/vapor
Evan You [Sun, 8 Dec 2024 15:13:20 +0000 (23:13 +0800)] 
chore: remove vue/vapor

7 months agowip: optimize vapor currentInstance setting
Evan You [Sun, 8 Dec 2024 14:32:18 +0000 (22:32 +0800)] 
wip: optimize vapor currentInstance setting

7 months agowip: prepare hmr reload
Evan You [Sun, 8 Dec 2024 13:22:51 +0000 (21:22 +0800)] 
wip: prepare hmr reload

7 months agobuild: fix esm-bundler vapor re-exports
Evan You [Sun, 8 Dec 2024 12:51:42 +0000 (20:51 +0800)] 
build: fix esm-bundler vapor re-exports

7 months agowip: vapor hmr rerender
Evan You [Sun, 8 Dec 2024 09:20:34 +0000 (17:20 +0800)] 
wip: vapor hmr rerender

7 months agochore: fix vdom slots currentInstance
Evan You [Sun, 8 Dec 2024 08:41:53 +0000 (16:41 +0800)] 
chore: fix vdom slots currentInstance

7 months agowip: prepare hmr for vapor
Evan You [Sun, 8 Dec 2024 08:32:29 +0000 (16:32 +0800)] 
wip: prepare hmr for vapor

7 months agowip: make dev mode work for sfc generated code
Evan You [Sun, 8 Dec 2024 08:12:08 +0000 (16:12 +0800)] 
wip: make dev mode work for sfc generated code

7 months agochore: fix playground import
Evan You [Sun, 8 Dec 2024 07:55:23 +0000 (15:55 +0800)] 
chore: fix playground import

7 months agobuild: trim vapor intenral helper exports form runtime-core in non-esm-bunlder builds
Evan You [Sun, 8 Dec 2024 07:53:13 +0000 (15:53 +0800)] 
build: trim vapor intenral helper exports form runtime-core in non-esm-bunlder builds

7 months agobuild: add runtime-with-vapor format + fix sfc playground for vapor mode
Evan You [Sun, 8 Dec 2024 07:18:16 +0000 (15:18 +0800)] 
build: add runtime-with-vapor format + fix sfc playground for vapor mode

7 months agowip: adjust slot props compilation
Evan You [Sun, 8 Dec 2024 03:02:11 +0000 (11:02 +0800)] 
wip: adjust slot props compilation

7 months agowip: slot props
Evan You [Sun, 8 Dec 2024 02:16:25 +0000 (10:16 +0800)] 
wip: slot props

7 months agochore: element -> node
Evan You [Sat, 7 Dec 2024 14:08:08 +0000 (22:08 +0800)] 
chore: element -> node

7 months agochore: BlockFn
Evan You [Sat, 7 Dec 2024 14:05:11 +0000 (22:05 +0800)] 
chore: BlockFn

7 months agowip: dynamic slots
Evan You [Sat, 7 Dec 2024 13:43:08 +0000 (21:43 +0800)] 
wip: dynamic slots

7 months agowip: adjust slots codegen
Evan You [Sat, 7 Dec 2024 10:27:57 +0000 (18:27 +0800)] 
wip: adjust slots codegen

7 months agowip: slots
Evan You [Sat, 7 Dec 2024 07:12:32 +0000 (15:12 +0800)] 
wip: slots

7 months agowip: avoid proxy when slots are static
Evan You [Fri, 6 Dec 2024 15:10:41 +0000 (23:10 +0800)] 
wip: avoid proxy when slots are static

7 months agochore: minify config for playground
Evan You [Fri, 6 Dec 2024 15:06:37 +0000 (23:06 +0800)] 
chore: minify config for playground

7 months agowip: avoid including vdom-only public properties map in bundle
Evan You [Fri, 6 Dec 2024 15:06:11 +0000 (23:06 +0800)] 
wip: avoid including vdom-only public properties map in bundle

7 months agowip: respect rootProps in createVaporApp
Evan You [Fri, 6 Dec 2024 14:50:53 +0000 (22:50 +0800)] 
wip: respect rootProps in createVaporApp

7 months agowip: slots proxy
Evan You [Fri, 6 Dec 2024 14:45:45 +0000 (22:45 +0800)] 
wip: slots proxy

7 months agowip: fix props/attrs bugs
Evan You [Fri, 6 Dec 2024 14:07:21 +0000 (22:07 +0800)] 
wip: fix props/attrs bugs

7 months agowip: get instance from rawProps to fix proxy handler caching
Evan You [Fri, 6 Dec 2024 13:08:24 +0000 (21:08 +0800)] 
wip: get instance from rawProps to fix proxy handler caching

7 months agochore: update playground vapor welcome
Evan You [Fri, 6 Dec 2024 13:07:42 +0000 (21:07 +0800)] 
chore: update playground vapor welcome

7 months agowip: proxy refs on setup ctx during dev
Evan You [Fri, 6 Dec 2024 03:12:54 +0000 (11:12 +0800)] 
wip: proxy refs on setup ctx during dev

7 months agowip: component with fallback
Evan You [Fri, 6 Dec 2024 03:10:35 +0000 (11:10 +0800)] 
wip: component with fallback

7 months agowip: fix all runtime-core type errors
Evan You [Thu, 5 Dec 2024 17:19:20 +0000 (01:19 +0800)] 
wip: fix all runtime-core type errors

7 months agowip(vapor): updated/beforeUpdate
Evan You [Thu, 5 Dec 2024 16:55:00 +0000 (00:55 +0800)] 
wip(vapor): updated/beforeUpdate

7 months agochore: disable options api in playground
Evan You [Thu, 5 Dec 2024 15:40:57 +0000 (23:40 +0800)] 
chore: disable options api in playground

7 months agowip(vapor): mounted/beforeMounted lifecycle hooks
Evan You [Thu, 5 Dec 2024 15:19:51 +0000 (23:19 +0800)] 
wip(vapor): mounted/beforeMounted lifecycle hooks

7 months agowip: unify currentInstance between vdom and vapor + provide/inject
Evan You [Thu, 5 Dec 2024 15:13:24 +0000 (23:13 +0800)] 
wip: unify currentInstance between vdom and vapor + provide/inject

7 months agorefactor: split current instance logic to separate file
Evan You [Thu, 5 Dec 2024 13:25:16 +0000 (21:25 +0800)] 
refactor: split current instance logic to separate file

7 months agowip: optimize props validation
Evan You [Thu, 5 Dec 2024 09:50:09 +0000 (17:50 +0800)] 
wip: optimize props validation

7 months agowip: handle props case matching
Evan You [Thu, 5 Dec 2024 09:33:39 +0000 (17:33 +0800)] 
wip: handle props case matching

7 months agowip: vapor component props validation
Evan You [Thu, 5 Dec 2024 08:14:24 +0000 (16:14 +0800)] 
wip: vapor component props validation

7 months agowip: should resolve dynamic props first + optimize ownKeys
Evan You [Thu, 5 Dec 2024 05:17:28 +0000 (13:17 +0800)] 
wip: should resolve dynamic props first + optimize ownKeys

7 months agowip: cache normalized options for dev check
Evan You [Wed, 4 Dec 2024 15:50:59 +0000 (23:50 +0800)] 
wip: cache normalized options for dev check

7 months agowip: fix value casting
Evan You [Wed, 4 Dec 2024 15:47:28 +0000 (23:47 +0800)] 
wip: fix value casting

7 months agowip: use proxy for static props too
Evan You [Wed, 4 Dec 2024 15:02:15 +0000 (23:02 +0800)] 
wip: use proxy for static props too

7 months agochore: vapor playground preview script
Evan You [Wed, 4 Dec 2024 14:25:50 +0000 (22:25 +0800)] 
chore: vapor playground preview script

7 months agowip(vapor): align compiler with new props runtime behavior
Evan You [Wed, 4 Dec 2024 12:55:10 +0000 (20:55 +0800)] 
wip(vapor): align compiler with new props runtime behavior

7 months agochore: notes
Evan You [Wed, 4 Dec 2024 07:24:52 +0000 (15:24 +0800)] 
chore: notes

7 months agowip: make sfc playground work after refactor + support dev mode
Evan You [Wed, 4 Dec 2024 07:07:40 +0000 (15:07 +0800)] 
wip: make sfc playground work after refactor + support dev mode

7 months agorefactor: remove @vue/vapor package
Evan You [Wed, 4 Dec 2024 06:22:26 +0000 (14:22 +0800)] 
refactor: remove @vue/vapor package

7 months agorefactor: remove runtime-shared
Evan You [Wed, 4 Dec 2024 05:50:54 +0000 (13:50 +0800)] 
refactor: remove runtime-shared

7 months agowip(vapor): reuse createApp from core
Evan You [Wed, 4 Dec 2024 03:54:26 +0000 (11:54 +0800)] 
wip(vapor): reuse createApp from core

7 months agowip: vapor warning context integration
Evan You [Wed, 4 Dec 2024 02:53:29 +0000 (10:53 +0800)] 
wip: vapor warning context integration

7 months agochore: playground
Evan You [Tue, 3 Dec 2024 14:55:48 +0000 (22:55 +0800)] 
chore: playground

7 months agowip: emits
Evan You [Tue, 3 Dec 2024 14:49:28 +0000 (22:49 +0800)] 
wip: emits

7 months agorefactor: make core warning and errorHandling vdom/vapor generic
Evan You [Tue, 3 Dec 2024 13:43:18 +0000 (21:43 +0800)] 
refactor: make core warning and errorHandling vdom/vapor generic

7 months agowip: filter emits
Evan You [Tue, 3 Dec 2024 09:20:07 +0000 (17:20 +0800)] 
wip: filter emits

7 months agorefactor: expose scheduler for vapor
Evan You [Tue, 3 Dec 2024 08:58:07 +0000 (16:58 +0800)] 
refactor: expose scheduler for vapor

7 months agorefactor: reuse props logic from core
Evan You [Tue, 3 Dec 2024 08:48:28 +0000 (16:48 +0800)] 
refactor: reuse props logic from core

7 months agowip: attr fallthrough
Evan You [Tue, 3 Dec 2024 05:21:10 +0000 (13:21 +0800)] 
wip: attr fallthrough

7 months agowip: inheritAttrs
Evan You [Mon, 2 Dec 2024 16:30:33 +0000 (00:30 +0800)] 
wip: inheritAttrs

7 months agowip: props casting
Evan You [Mon, 2 Dec 2024 15:51:48 +0000 (23:51 +0800)] 
wip: props casting

7 months agochore: avoid toHandlers not treeshaken
Evan You [Mon, 2 Dec 2024 13:00:52 +0000 (21:00 +0800)] 
chore: avoid toHandlers not treeshaken

7 months agochore: disable modulePreload
Evan You [Mon, 2 Dec 2024 13:00:34 +0000 (21:00 +0800)] 
chore: disable modulePreload

7 months agowip: props handling
Evan You [Mon, 2 Dec 2024 12:35:45 +0000 (20:35 +0800)] 
wip: props handling

7 months agowip: save
Evan You [Mon, 2 Dec 2024 01:36:49 +0000 (09:36 +0800)] 
wip: save

7 months agochore: remove unnecessary config in dev config [ci skip]
Evan You [Sun, 1 Dec 2024 10:21:26 +0000 (18:21 +0800)] 
chore: remove unnecessary config in dev config [ci skip]

7 months agoperf: use class for SetupContext
Evan You [Sun, 1 Dec 2024 09:00:38 +0000 (17:00 +0800)] 
perf: use class for SetupContext

7 months agochore: use actual production build for playground build and preview
Evan You [Sun, 1 Dec 2024 09:37:17 +0000 (17:37 +0800)] 
chore: use actual production build for playground build and preview

7 months agochore: revert temporarily commented lines
Evan You [Sun, 1 Dec 2024 09:25:25 +0000 (17:25 +0800)] 
chore: revert temporarily commented lines

7 months agochore: fix test
Evan You [Sun, 1 Dec 2024 09:16:34 +0000 (17:16 +0800)] 
chore: fix test

7 months agoperf(runtime-vapor): optimize `setDOMProp` on static tag + key (#294)
edison [Sun, 1 Dec 2024 09:04:42 +0000 (17:04 +0800)] 
perf(runtime-vapor): optimize `setDOMProp` on static tag + key (#294)

7 months agoperf(vapor): improve component instantiation by using class
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.

7 months agoperf(runtime-vapor): `setup()` returning object is only needed in __DEV__ (HMR) ...
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)

7 months agoperf(runtime-vapor): use `setAttr` or `setDOMProp` instead of `setDynamicProp` when...
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>
7 months agorefactor(vapor): drop `v-memo` (#288)
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

7 months agofeat(vapor): support more magic vars
三咲智子 Kevin Deng [Fri, 15 Nov 2024 22:58:26 +0000 (06:58 +0800)] 
feat(vapor): support more magic vars

7 months agofix(vapor): destructure in `v-for`
三咲智子 Kevin Deng [Fri, 15 Nov 2024 22:33:38 +0000 (06:33 +0800)] 
fix(vapor): destructure in `v-for`

7 months agofix(compiler-vapor): stringify number prop value
三咲智子 Kevin Deng [Fri, 15 Nov 2024 20:23:21 +0000 (04:23 +0800)] 
fix(compiler-vapor): stringify number prop value

7 months agofix(runtime-vapor): attach scope id only to root sub-element
三咲智子 Kevin Deng [Fri, 15 Nov 2024 20:03:33 +0000 (04:03 +0800)] 
fix(runtime-vapor): attach scope id only to root sub-element

7 months agofix(runtime-vapor): export types from reactivity
三咲智子 Kevin Deng [Fri, 15 Nov 2024 19:51:08 +0000 (03:51 +0800)] 
fix(runtime-vapor): export types from reactivity

7 months agoMerge tag 'v3.5.13'
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:48:30 +0000 (02:48 +0800)] 
Merge tag 'v3.5.13'

7 months agorefactor(runtime-vapor): extract fallback component
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:43:56 +0000 (02:43 +0800)] 
refactor(runtime-vapor): extract fallback component

7 months agotest(runtime-vapor): tidy custom directives test
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:36:38 +0000 (02:36 +0800)] 
test(runtime-vapor): tidy custom directives test

7 months agorefactor(runtime-vapor): re-organize block
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:24:42 +0000 (02:24 +0800)] 
refactor(runtime-vapor): re-organize block

7 months agorelease: v3.5.13 v3.5.13
Evan You [Fri, 15 Nov 2024 14:45:28 +0000 (22:45 +0800)] 
release: v3.5.13

7 months agofix(ssr): handle initial selected state for select with v-model + v-for option (...
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

7 months agofix(templateRef): set ref on cached async component which wrapped in KeepAlive (...
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

7 months agofix(ssr): avoid updating subtree of async component if it is resolved (#12363)
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

7 months agofix(ssr): ensure v-text updates correctly with custom directives in SSR output (...
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

7 months agofix(transition): reflow before leave-active class after leave-from (#12288)
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

7 months agofix(hydration): the component vnode's el should be updated when a mismatch occurs...
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

7 months agofix(custom-element): avoid triggering mutationObserver when relecting props
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

7 months agochore(playground): reset version when opening local playground from reproduction
Evan You [Fri, 15 Nov 2024 09:04:11 +0000 (17:04 +0800)] 
chore(playground): reset version when opening local playground from reproduction

7 months agoperf(reactivity): do not track inner key `__v_skip`` (#11690)
zhangenming [Fri, 15 Nov 2024 03:00:24 +0000 (11:00 +0800)] 
perf(reactivity): do not track inner key `__v_skip`` (#11690)

7 months agofix(compiler-dom): properly stringify template string style (#12392)
edison [Fri, 15 Nov 2024 02:56:08 +0000 (10:56 +0800)] 
fix(compiler-dom): properly stringify template string style (#12392)

close #12391