Evan You
e12b10ac3e
chore: Merge branch 'main' into minor
2023-12-04 23:17:41 +08:00
Evan You
53aaa1eb28
fix(parser): fix interpolation parsing in v-pre
...
ref: https://github.com/vuejs/docs/issues/2586
2023-12-04 23:06:56 +08:00
Evan You
d5a88ef9d7
release: v3.3.10
2023-12-04 21:42:18 +08:00
yangxiuxiu
c3e2c556b5
fix(compiler-sfc): fix :where and :is selector in scoped mode with multiple selectors ( #9735 )
...
close #9707
2023-12-04 16:53:21 +08:00
三咲智子 Kevin Deng
25f90b2a97
chore: fix lint
2023-12-04 16:45:26 +08:00
renovate[bot]
bf7269ac47
chore(deps): update compiler ( #9745 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 16:43:47 +08:00
Carlos Rodrigues
ec715854ca
fix(app): prevent template from being cached between apps with different options ( #9724 )
...
close #9618
2023-12-04 16:43:30 +08:00
edison
65f3fe2731
fix(runtime-core): Suspense get anchor properly in Transition ( #9309 )
...
close #8105
2023-12-04 16:41:55 +08:00
三咲智子 Kevin Deng
f3e80d7706
feat: support more directive hook
2023-12-04 16:08:15 +08:00
Evan You
f12db7fb56
fix(compiler-sfc): avoid passing forEach index to genMap
2023-12-04 15:43:29 +08:00
Carlos Rodrigues
43c3cfdec5
fix(types): improve return type withKeys and withModifiers ( #9734 )
2023-12-04 07:59:01 +08:00
三咲智子 Kevin Deng
db151e1b43
feat: custom directlve
...
closes #19
2023-12-03 18:36:54 +08:00
三咲智子 Kevin Deng
21e7a37865
refactor: extract transformInterpolation
2023-12-03 14:52:11 +08:00
三咲智子 Kevin Deng
3dfe3854ee
refactor: DirectiveTransform for v-on
2023-12-03 03:56:54 +08:00
白雾三语
28caf8f566
feat: v-on modifiers support native options and keyboards ( #28 )
...
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-03 03:49:44 +08:00
Jeff Yang
c7cd2e4764
fix: do not wrap registering event listeners under effect ( #27 )
...
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-03 01:46:07 +08:00
三咲智子 Kevin Deng
5a424218f1
feat: DirectiveTransform
2023-12-03 01:43:31 +08:00
三咲智子 Kevin Deng
03344eea7e
refactor: transformElement
2023-12-02 16:59:43 +08:00
Rizumu Ayaka
886d16f458
feat: implement error handling for v-html ( #30 )
2023-12-02 15:59:09 +08:00
三咲智子 Kevin Deng
89cefda3ad
fix: identifier source map
2023-12-02 00:49:17 +08:00
三咲智子 Kevin Deng
2180706cad
fix: preamble in inline mode
2023-12-02 00:35:30 +08:00
三咲智子 Kevin Deng
f2512b5319
refactor: error
2023-12-02 00:18:27 +08:00
三咲智子 Kevin Deng
13d0993cd3
feat: source map for expressions
2023-12-02 00:07:24 +08:00
三咲智子 Kevin Deng
2f029b659c
refactor: process expression
2023-12-01 23:30:21 +08:00
三咲智子 Kevin Deng
919644faaf
refactor: codegen indent
2023-12-01 22:45:08 +08:00
三咲智子 Kevin Deng
9843175c2c
feat: push codegen
2023-12-01 22:12:19 +08:00
Reii
9ea2b868be
chore(template-explorer): fix overflow screen problem ( #7282 ) [ci skip]
2023-12-01 21:28:48 +08:00
edison
eb5e307c0b
fix(compiler-sfc): support inferring generic types ( #8511 )
...
close #8482
2023-12-01 21:21:12 +08:00
Evan You
634519720a
fix(compiler-sfc): deindent pug/jade templates
...
close #3231
close #3842
close #7723
2023-12-01 16:45:53 +08:00
edison
30d5d93a92
fix(ssr): avoid computed being accidentally cached before server render ( #9688 )
...
close #5300
2023-12-01 15:55:17 +08:00
Evan You
c3b704e446
chore: remove v-is deprecation enum
...
support is already removed during parser rewrite
2023-12-01 11:57:22 +08:00
Evan You
8abc754d5d
feat(compiler): lift vnode hooks deprecation warning to error
2023-12-01 11:56:29 +08:00
Evan You
7f00ec2d97
chore: remove deprecated AppConfig.unwrapInjectedRef option
2023-12-01 11:32:34 +08:00
Evan You
e8bbc946cb
feat(compiler-sfc): analyze import usage in template via AST ( #9729 )
...
close #8897
close nuxt/nuxt#22416
2023-12-01 11:14:48 +08:00
三咲智子 Kevin Deng
fe1780d9ff
refactor(compiler-vapor): import alias
2023-12-01 08:26:01 +08:00
三咲智子 Kevin Deng
d28d57bd3f
Merge remote-tracking branch 'upstream/minor'
2023-12-01 08:16:50 +08:00
三咲智子 Kevin Deng
0d9f0867d7
refactor(compiler-vapor): errors
2023-12-01 08:05:43 +08:00
三咲智子 Kevin Deng
cfd6d40d72
feat(compiler-vapor): node transform
2023-12-01 07:42:43 +08:00
三咲智子 Kevin Deng
0b765bcea3
feat: codegen context
2023-12-01 06:01:25 +08:00
三咲智子 Kevin Deng
5957c18a0b
fix(compiler-vapor): prefix identifiers
2023-12-01 06:01:25 +08:00
edison
8d74ca0e6f
fix(compiler-sfc): generate more treeshaking friendly code ( #9507 )
...
close #9500
2023-12-01 02:52:26 +08:00
花果山大圣
cdb2df707b
chore(dx): improve color contrast in dark mode for custom formatter ( #8704 )
2023-12-01 02:45:03 +08:00
Blake Newman
887e54c347
fix(types): expose emits as props in functional components ( #9234 )
2023-12-01 02:37:51 +08:00
三咲智子 Kevin Deng
ad27473701
fix(types): fix reactive collection types ( #8960 )
...
close #8904
2023-12-01 02:33:09 +08:00
三咲智子 Kevin Deng
281d468020
style: format
2023-12-01 01:28:16 +08:00
Evan You
f8b74dcf29
chore: group parser edge case tests
2023-11-30 22:39:55 +08:00
Evan You
dd26e98233
chore(playground): use CodeMirror during local dev
2023-11-30 21:44:28 +08:00
Evan You
4d94ebfe75
perf(v-on): constant handlers with modifiers should not be treated as dynamic
2023-11-30 19:26:36 +08:00
Evan You
da4a4fb5e8
perf(runtime-dom): cache modifier wrapper functions
...
close #8882
2023-11-30 19:00:00 +08:00
三咲智子 Kevin Deng
4936d2e11a
fix(compiler-sfc): throw error when failing to load TS during type resolution ( #8883 )
2023-11-30 18:41:21 +08:00
edison
5199a12f88
fix(cssVars): cssVar names should be double-escaped when generating code for ssr ( #8824 )
...
close #7823
2023-11-30 18:35:20 +08:00
Evan You
6fcec3b2c7
chore: fix width/height check condition
2023-11-30 18:34:06 +08:00
edison
7cbcee3d83
fix(compiler-sfc): support resolving components from props ( #8785 )
2023-11-30 18:03:23 +08:00
Evan You
9845f1d2a1
chore: optimize widht/height element check
2023-11-30 17:59:27 +08:00
Evan You
38aaa8c886
perf: optimize on* prop check
2023-11-30 17:52:51 +08:00
zhoulixiang
bfc1838f31
fix(runtime-dom): set width/height with units as attribute ( #8781 )
...
Technically, width / height on `<img>`, `<video>` etc must be integers and cannot contain units. When set as a DOM property, the DOM force converts strings with units to 0. However, this is such a common mistake that most browsers nowadays supports such usage, and it makes sense for Vue to at least let it be set as an attribute.
2023-11-30 17:27:23 +08:00
Eduardo San Martin Morote
bcca475dbc
feat(compiler-core): support accessing Error as global in template expressions ( #7018 )
2023-11-30 16:39:40 +08:00
Evan You
2a507e32f0
feat(compiler-sfc): bump postcss-modules to v6
2023-11-30 16:37:40 +08:00
Evan You
c46f91fd9e
chore: bump @vue/repl
2023-11-30 13:11:27 +08:00
Rizumu Ayaka
184feee3ba
test: v-pre ( #14 )
...
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-11-30 05:31:26 +08:00
ubugeeei
503615a31e
feat(compiler): v-on event modifier ( #8 )
2023-11-30 05:11:59 +08:00
ubugeeei
61f339ce7d
feat: vapor component base ( #5 )
...
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-11-30 02:11:21 +08:00
三咲智子 Kevin Deng
da931ea942
refactor: use enum
2023-11-29 22:09:46 +08:00
三咲智子 Kevin Deng
b3fdccec6f
refactor: remove InsertPosition
2023-11-29 21:20:05 +08:00
三咲智子 Kevin Deng
5df8f0e134
Merge remote-tracking branch 'upstream/minor'
2023-11-29 21:16:14 +08:00
ZHAO Jin-Xiang
3071de44bc
fix(compiler-core): fix referencing typo ( #9708 )
2023-11-29 21:15:44 +08:00
三咲智子 Kevin Deng
377723d8b2
Merge remote-tracking branch 'upstream/minor'
2023-11-29 21:10:26 +08:00
三咲智子 Kevin Deng
55ef2f0c5f
fix(compiler-sfc): vue import
2023-11-29 20:58:10 +08:00
Jeff Yang
0ff307988a
chore: fix typo in compiler-vapor ( #10 )
2023-11-29 20:54:45 +08:00
edison
509c192ff4
chore: fix typo ( #9689 )
2023-11-29 12:26:10 +08:00
ZHAO Jin-Xiang
fff7b864f4
feat: use enum to replace const enum ( #9261 )
...
close #1228
2023-11-29 12:24:50 +08:00
三咲智子 Kevin Deng
4549e28665
fix: playground
2023-11-29 02:38:01 +08:00
三咲智子 Kevin Deng
ab9a2d28d7
feat: build vapor & add @vue/vapor package
2023-11-29 01:26:01 +08:00
Evan You
47ea285be3
fix(parser): properly set initial inXML state based on root ns
2023-11-28 18:37:17 +08:00
Evan You
ef97e8b07d
fix(parser): should reset inRCDATA state
2023-11-28 18:31:17 +08:00
Rizumu Ayaka
4200d4e2d0
feat: add vapor errors of `v-bind` / `v-on` ( #3 )
...
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-11-28 18:17:41 +08:00
白雾三语
c1ddb700a8
test: add dynamic root nodes and interpolation ( #1 )
...
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-11-28 13:06:44 +08:00
Evan You
7d89887f71
release: v3.4.0-alpha.3
2023-11-28 08:26:01 +08:00
Evan You
5afd04cbb8
chore: Merge branch 'main' into minor
2023-11-28 08:14:04 +08:00
renovate[bot]
3a65134360
chore(deps): update all non-major dependencies ( #9682 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 08:03:07 +08:00
renovate[bot]
31f6ebc4df
fix(deps): update compiler to ^7.23.4 ( #9681 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 08:02:38 +08:00
三咲智子 Kevin Deng
9f8ba9821f
feat(dx): link errors to docs in prod build ( #9165 )
2023-11-28 07:39:11 +08:00
三咲智子 Kevin Deng
8b075796d7
feat: scheduler
2023-11-27 23:48:36 +08:00
Evan You
e49dffc9ec
fix(parser): directive arg should be undefined on shorthands with no arg
2023-11-27 18:10:00 +08:00
Evan You
ebaeb2e0aa
release: v3.4.0-alpha.2
2023-11-27 17:26:22 +08:00
Evan You
41ff68ea57
feat(compiler): improve parsing tolerance for language-tools
2023-11-27 16:55:54 +08:00
Evan You
0721daf22d
chore: Merge branch 'main' into minor
2023-11-27 15:59:07 +08:00
Evan You
fb619cf9a4
fix(compiler-sfc): fix ast reuse for ssr
2023-11-27 15:38:30 +08:00
Evan You
678378afd5
fix(compiler-sfc): use correct compiler when re-parsing in ssr mode
2023-11-27 15:06:07 +08:00
Evan You
2e65ea481f
fix(compiler-core): fix line/column tracking when fast forwarding
2023-11-27 14:49:13 +08:00
Evan You
50cde7cfbc
perf(compiler-sfc): use faster source map addMapping
2023-11-27 14:42:12 +08:00
Evan You
d193666fdc
chore: use MappingItem type
2023-11-27 14:16:16 +08:00
三咲智子 Kevin Deng
c53af4d57d
refactor: extract dynamicChildren
2023-11-27 14:16:11 +08:00
三咲智子 Kevin Deng
339a658cef
fix: use parser from runtime-dom
2023-11-27 14:13:09 +08:00
Evan You
f15d2f6cf6
perf: avoid sfc source map unnecessary serialization and parsing
2023-11-27 12:26:51 +08:00
三咲智子 Kevin Deng
0867ca0139
feat: add size report for compiler vapor
2023-11-27 07:16:24 +08:00
三咲智子 Kevin Deng
f9c607dbe4
chore: add todo comment for prepend append
2023-11-27 06:34:37 +08:00
三咲智子 Kevin Deng
71cf732d6d
feat: append & prepend multiple elements
2023-11-27 06:22:10 +08:00
三咲智子 Kevin Deng
6ff8b1bf0d
feat: use Array for Fragment, instead of native DocumentFragment
2023-11-27 05:29:38 +08:00
三咲智子 Kevin Deng
07373d41fd
feat: append multiple node
2023-11-27 05:16:21 +08:00