Evan You
|
1f25e0d863
|
test(vapor): v-model runtime tests
|
2025-02-02 15:53:04 +08:00 |
Evan You
|
0392eb41e0
|
test(vapor): update vModel compiler tests
|
2025-02-02 12:27:17 +08:00 |
Evan You
|
d51403c1d3
|
wip(vapor): v-show work on components
|
2025-02-02 12:18:51 +08:00 |
Evan You
|
250127c13d
|
wip(vapor): v-model checkbox, radio, select, dynamic
|
2025-02-01 22:37:34 +08:00 |
Evan You
|
01d6aa0d33
|
chore(lint): allow DOM globals in runtime-vapor
|
2025-02-01 21:07:06 +08:00 |
Evan You
|
5a62266e13
|
wip(vapor): v-model text reuse from runtime-dom
|
2025-02-01 21:06:40 +08:00 |
Evan You
|
aa28e9c496
|
refactor: reuse htmlNesting from compiler-dom
|
2025-01-31 22:32:05 +08:00 |
Evan You
|
e5af194486
|
wip(vapor): simplified builtin directive v-show
|
2025-01-31 22:29:51 +08:00 |
Evan You
|
9f1025d854
|
wip(vapor): createDynamicComponent
|
2025-01-31 17:04:56 +08:00 |
Evan You
|
cad7f0e583
|
wip(vapor): improve v-for codegen + minor optimization
|
2025-01-31 13:14:16 +08:00 |
Evan You
|
2b0731a43d
|
test(vapor): add test cases for v-for destructure with rest and default value
|
2025-01-31 11:24:00 +08:00 |
Evan You
|
a13db00c59
|
chore: mark test as todo
|
2025-01-30 22:45:41 +08:00 |
Evan You
|
34a0ad7499
|
wip(vapor): optimize v-for getItem
|
2025-01-30 22:36:41 +08:00 |
Evan You
|
c89e01efbf
|
wip(vapor): support default values in v-for destructure
|
2025-01-30 21:51:48 +08:00 |
Evan You
|
95cf749f8b
|
wip(vapor): support rest elements in v-for destructure
|
2025-01-30 21:15:25 +08:00 |
Evan You
|
5d88c53cd3
|
wip(compiler-vapor): support expressions in idMap
|
2025-01-30 20:45:44 +08:00 |
Evan You
|
1ff6b136db
|
refactor: remove prefixIdentifier and mode usage in compiler-vapor
vapor compilation always assume module mode + prefixIdentifier: true
|
2025-01-30 20:10:40 +08:00 |
Evan You
|
fca1aef896
|
wip: v-for destructure expression rewrite (part 1)
|
2025-01-30 20:06:41 +08:00 |
Evan You
|
e49c5a17da
|
test(vapor): enable more test cases
|
2025-01-30 10:12:36 +08:00 |
Evan You
|
6979952613
|
refactor(reactivity): improve shallowRef treeshaking
|
2025-01-29 21:35:13 +08:00 |
Jeff Muizelaar
|
7ecd2a22c7
|
test(e2e): Replace deprecated 'clickCount' property with 'count' (#12778)
This fixes double clicks when using WebDriver BiDi.
See https://github.com/puppeteer/puppeteer/issues/13550
|
2025-01-29 20:22:20 +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
|
1e9062c075
|
refactor(reactivity): avoid setting up debug flags on falsy onTrigger value
|
2025-01-29 15:45:54 +08:00 |
Evan You
|
674151c9b9
|
chore: Merge branch 'minor' into vapor
|
2025-01-29 15:37:54 +08:00 |
edison
|
568e824200
|
fix(runtime-vapor): properly mount component only with template in production mode (#12727)
Co-authored-by: Evan You <evan@vuejs.org>
|
2025-01-29 12:30:00 +08:00 |
edison
|
733d6fc13d
|
test: update test cases (#12678)
|
2025-01-29 12:13:42 +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 |
Evan You
|
8008509aac
|
refactor: fix type errors
|
2025-01-29 12:08:32 +08:00 |
edison
|
fd2917c8b6
|
fix(runtime-vapor): properly handle dynamic slot work with v-if (#12660)
|
2025-01-29 10:21:30 +08:00 |
edison
|
b6d539997b
|
fix(runtime-vapor): properly normalize emits options if emits is an array (#12614)
|
2025-01-28 17:04:48 +08:00 |
edison
|
0b7f508432
|
refactor(runtime-vapor): cache event handlers on element (#12610)
|
2025-01-28 17:03:42 +08:00 |
daiwei
|
edc79e7052
|
Merge branch 'main' into minor
|
2025-01-24 09:23:17 +08:00 |
Tycho
|
29216853d4
|
chore(compiler-sfc): remove unused variable (#12750)
|
2025-01-21 09:28:04 +08:00 |
renovate[bot]
|
0f12fb7ea9
|
fix(deps): update dependency postcss to ^8.5.1 (#12747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2025-01-20 09:43:23 +08:00 |
renovate[bot]
|
50b7aa17e9
|
chore(deps): update all non-major dependencies (#12742)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2025-01-20 08:41:00 +08:00 |
edison
|
82da43d167
|
fix(test): use LaunchOptions instead of PuppeteerLaunchOptions (#12734)
ref puppeteer/puppeteer#13426
|
2025-01-17 09:26:12 +08:00 |
Johnson Chu
|
9d651e2774
|
refactor(reactivity): ports alien-signals 1.0.0 (#12570)
|
2025-01-15 11:19:27 +08:00 |
edison
|
c950b4c0c4
|
chore(deps): manually update puppeteer + @vitest/eslint-plugin (#12706)
|
2025-01-14 10:09:08 +08:00 |
renovate[bot]
|
2d6bcc4537
|
chore(deps): update all non-major dependencies (#12685)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2025-01-12 09:57:53 +08:00 |
renovate[bot]
|
23d2f453d1
|
chore(deps): update dependency minimatch to v10 (#12691)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2025-01-12 09:38:25 +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 |
edison
|
679cbdf480
|
fix(reactivity): ensure multiple effectScope `on()` and `off()` calls maintains correct active scope (#12641)
|
2025-01-08 18:03:40 +08:00 |
edison
|
20cd429766
|
fix(compiler-vapor): once modifier work with component event (#12606)
|
2025-01-08 15:19:08 +08:00 |
edison
|
58b49749c7
|
refactor(compiler-vapor): cache multiple access to the same expression (#12568)
|
2025-01-08 15:05:48 +08:00 |
edison
|
757b3df56e
|
refactor(compiler-vapor): cache inline handlers passed to component (#12563)
|
2025-01-08 14:35:09 +08:00 |
edison
|
ef6986fbc3
|
refactor(compiler-vapor): move operation with constant values out of renderEffect (#12547)
|
2024-12-16 14:30:38 +08:00 |
edison
|
bd130019d1
|
refactor(vapor): import v-o withModifiers or withKeys on demand (#12539)
|
2024-12-16 14:28:56 +08:00 |
edison
|
e79a6df093
|
fix(vapor/defineProps): register type bindings before compile template + props destructure work with vapor (#12545)
|
2024-12-16 14:18:27 +08:00 |
renovate[bot]
|
d07cdead2c
|
chore(deps): update all non-major dependencies (#12557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2024-12-16 10:48:44 +08:00 |
LiquidAssContainer
|
11c053a542
|
fix(typos): fix comments referencing transformElement.ts (#12551)[ci-skip]
|
2024-12-16 10:43:01 +08:00 |
Evan You
|
6c0e8a8f24
|
wip(vapor): handle slot fallback when content changes
|
2024-12-14 22:17:16 +08:00 |
Evan You
|
4318129b96
|
wip(vapor): createIf
|
2024-12-14 20:37:43 +08:00 |
Evan You
|
bcb9209c4c
|
wip(vapor): optimize unmounted children removal
|
2024-12-14 16:28:05 +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
|
c07734debf
|
wip(vapor): further tweak single root attr fallthrough behavior
|
2024-12-13 20:23:20 +08:00 |
Evan You
|
f9a6e8cd58
|
wip(vapor): handle class / style merging behavior
|
2024-12-13 18:00:58 +08:00 |
Evan You
|
4160b6d567
|
test(vapor): fix templateRef compiler tests
|
2024-12-13 09:39:29 +08:00 |
Evan You
|
023f72f049
|
test(vapor): useTemplateRef tests
|
2024-12-13 09:37:49 +08:00 |
Evan You
|
0d1df25f23
|
wip(vapor): templateRef adjustments
|
2024-12-12 22:34:35 +08:00 |
Evan You
|
e38805354d
|
chore: fix setStyle and tests
|
2024-12-12 22:02:30 +08:00 |
Evan You
|
c4b853d997
|
chore: remove no longer needed file
|
2024-12-12 21:02:45 +08:00 |
Evan You
|
4505727412
|
wip: refactor vapor vBind codegen
|
2024-12-12 18:17:29 +08:00 |
Evan You
|
dfe06f8f4e
|
wip: cache setProp prev value on element, simplify codegen
Also separate `setClass`/`setClassIncremental` and `setStyle`/
`setStyleIncremental`
|
2024-12-12 13:18:04 +08:00 |
Evan You
|
e41858cde4
|
chore: todos
|
2024-12-11 14:33:16 +08:00 |
Evan You
|
64e007eabe
|
chore: Merge branch 'main' into vapor
|
2024-12-11 14:27:54 +08:00 |
edison
|
1bb9a0f8c7
|
refactor: drop recordPropMetadata + merge renderEffect (#301)
|
2024-12-11 14:02:34 +08:00 |
Evan You
|
23fe7f991f
|
chore: make type check pass
|
2024-12-11 11:50:17 +08:00 |
Evan You
|
92526b06de
|
chore: fix dts build
|
2024-12-11 08:55:19 +08:00 |
Evan You
|
dbdc0aa9dd
|
chore: make compile type consistent
|
2024-12-10 21:45:50 +08:00 |
Evan You
|
b191beb876
|
chore: fix vapor apiExpose test
|
2024-12-10 21:39:09 +08:00 |
Evan You
|
dff54a17fb
|
test(vapor): componentSlots
|
2024-12-10 21:36:06 +08:00 |
Evan You
|
7f3b883aea
|
chore: make types pass in vapor directive tests
|
2024-12-10 19:41:29 +08:00 |
Evan You
|
5648dda0c0
|
test(vapor): componentEmits
|
2024-12-10 19:37:55 +08:00 |
Evan You
|
a1276f7577
|
test(vapor): componentAttrs
|
2024-12-10 19:22:25 +08:00 |
Evan You
|
25989f6ede
|
chore: update compiler-vapor inline mode snapshots
|
2024-12-10 18:44:36 +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
|
baf68a0fe4
|
test(vapor): apiSetupContext
|
2024-12-10 15:50:57 +08:00 |
Evan You
|
217e1e6f86
|
wip(vapor): make createComponent rawProps/rawSlots accept wider types for internal use
|
2024-12-10 15:50:49 +08:00 |
Evan You
|
c2e7312da4
|
test(vapor): lifecycle (partial)
|
2024-12-10 15:30:40 +08:00 |
Evan You
|
89707e8b5f
|
test(vapor): inject
|
2024-12-10 15:19:00 +08:00 |
Evan You
|
48fc65f25c
|
test(vapor): apiCreateVaporApp
|
2024-12-10 12:49:47 +08:00 |
Evan You
|
443ac60394
|
chore: remove stale test lines
|
2024-12-10 11:53:35 +08:00 |
Evan You
|
08c4967086
|
wip: avoid iife for vapor prod mode
|
2024-12-10 08:35:54 +08:00 |
Evan You
|
c2ff3bd564
|
chore: fix compat props default test
|
2024-12-10 08:11:36 +08:00 |
Evan You
|
ab6f75d1da
|
test(vapor): skip todo tests
|
2024-12-10 07:34:23 +08:00 |
Evan You
|
527905a85b
|
test(vapor): errorHandling
|
2024-12-09 23:42:23 +08:00 |
Evan You
|
8540ee4af9
|
test(vapor): componentProps
|
2024-12-09 22:04:15 +08:00 |
Evan You
|
ac43b11897
|
fix(reactivity): toRefs should be allowed on plain objects
|
2024-12-09 21:47:55 +08:00 |
Evan You
|
b7aec139cb
|
test(vapor): block tests
|
2024-12-09 20:57:40 +08:00 |
Evan You
|
ec23ab9e3a
|
test(vapor): renderEffect
|
2024-12-09 18:35:41 +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
|
2b05c1e906
|
wip: remove setInheritAttrs codegen
|
2024-12-09 17:19:16 +08:00 |
Evan You
|
edde81cf67
|
wip: respect inheritAttrs
|
2024-12-09 13:12:37 +08:00 |
Evan You
|
4df4624415
|
chore: make vapor compiler tests pass
|
2024-12-09 13:09:31 +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
|
366dcb7c76
|
wip: vapor app.unmount + unmounted hooks
|
2024-12-08 23:18:22 +08:00 |
Evan You
|
4f613dcabf
|
chore: remove vue/vapor
|
2024-12-08 23:13:20 +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
|
6f5493c677
|
wip: make dev mode work for sfc generated code
|
2024-12-08 16:22:23 +08:00 |
Evan You
|
7e8edcd9cd
|
build: add runtime-with-vapor format + fix sfc playground for vapor mode
|
2024-12-08 15:18:16 +08:00 |
Evan You
|
9a8645d0c5
|
wip: adjust slot props compilation
|
2024-12-08 11:02:11 +08:00 |
Evan You
|
f8a7046e65
|
wip: slot props
|
2024-12-08 10:16:25 +08:00 |
Evan You
|
f413e00e43
|
chore: element -> node
|
2024-12-07 22:08:08 +08:00 |
Evan You
|
407b9abc0b
|
chore: BlockFn
|
2024-12-07 22:05:11 +08:00 |
Evan You
|
aa96762ad4
|
wip: dynamic slots
|
2024-12-07 21:56:54 +08:00 |
Evan You
|
e6d4a24f1f
|
wip: adjust slots codegen
|
2024-12-07 18:30:33 +08:00 |
Evan You
|
4b6100623f
|
wip: slots
|
2024-12-07 15:12:32 +08:00 |
Evan You
|
8331aa43c4
|
wip: avoid proxy when slots are static
|
2024-12-06 23:11:30 +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
|
68aa9bd768
|
wip: respect rootProps in createVaporApp
|
2024-12-06 22:50:53 +08:00 |
Evan You
|
3ef1656d4a
|
wip: slots proxy
|
2024-12-06 22:45:45 +08:00 |
Evan You
|
685f7820a1
|
wip: fix props/attrs bugs
|
2024-12-06 22:13:48 +08:00 |
Evan You
|
238d1817cc
|
wip: get instance from rawProps to fix proxy handler caching
|
2024-12-06 21:27:24 +08:00 |
Evan You
|
e60ec9f399
|
wip: proxy refs on setup ctx during dev
|
2024-12-06 11:12:54 +08:00 |
Evan You
|
ae5ec075ad
|
wip: component with fallback
|
2024-12-06 11:10:35 +08:00 |
Evan You
|
300bb0859a
|
wip: fix all runtime-core type errors
|
2024-12-06 01:19:20 +08:00 |
Evan You
|
30e24ce986
|
wip(vapor): updated/beforeUpdate
|
2024-12-06 00:55:00 +08:00 |
Evan You
|
ebe787108d
|
wip(vapor): mounted/beforeMounted lifecycle hooks
|
2024-12-05 23:19:51 +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
|
fc9aa62248
|
wip: handle props case matching
|
2024-12-05 17:33:39 +08:00 |
Evan You
|
93a16af08e
|
wip: vapor component props validation
|
2024-12-05 16:14:38 +08:00 |
Evan You
|
8725954244
|
wip: should resolve dynamic props first + optimize ownKeys
|
2024-12-05 13:17:28 +08:00 |
renovate[bot]
|
c86a08b946
|
chore(deps): update all non-major dependencies (#12492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2024-12-05 09:22:52 +08:00 |
Evan You
|
004e23f9dd
|
wip: cache normalized options for dev check
|
2024-12-04 23:50:59 +08:00 |
Evan You
|
caca46bb73
|
wip: fix value casting
|
2024-12-04 23:47:28 +08:00 |
Evan You
|
33d1b8bcec
|
wip: use proxy for static props too
|
2024-12-04 23:29:01 +08:00 |
Evan You
|
23ba438be1
|
wip(vapor): align compiler with new props runtime behavior
|
2024-12-04 21:08:12 +08:00 |
Evan You
|
59b1aeda51
|
chore: notes
|
2024-12-04 15:24:52 +08:00 |
Evan You
|
b1b3baeb6e
|
wip: make sfc playground work after refactor + support dev mode
|
2024-12-04 15:07:40 +08:00 |
Evan You
|
3a6915b587
|
refactor: remove @vue/vapor package
|
2024-12-04 14:22:26 +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
|
ccd3f3f5c6
|
refactor(reactivity): only setup onTrigger debug flags on assign
|
2024-12-03 23:26:30 +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 |