Evan You
d94d8d4bff
fix(compiler-sfc): use compilerOptions when re-parsing consumed AST
...
fixes hydration error for custom elements
2024-01-02 21:38:13 +08:00
Evan You
8f85b6da44
release: v3.4.3
2023-12-30 21:34:23 +08:00
Evan You
274f6f71fc
test: test case for sfc parse options cache invalidation
2023-12-30 21:09:15 +08:00
Evan You
b8d58ec4f4
fix(compiler-sfc): respect sfc parse options in cache key
2023-12-30 20:38:58 +08:00
Evan You
b010cb9939
release: v3.4.2
2023-12-30 19:41:35 +08:00
Evan You
c3fd577177
chore: fix snapshot
2023-12-30 18:57:22 +08:00
Evan You
dce99c12df
fix(compiler-sfc): fix dev regression for dot / namespace component usage
...
close #9947
2023-12-30 18:20:14 +08:00
Evan You
63c3e621ce
test: split import usage check tests into dedicated file
2023-12-30 18:13:35 +08:00
Evan You
f787337b47
release: v3.4.1
2023-12-30 09:02:48 +08:00
Evan You
6fab8551e4
feat(compiler-sfc): support passing template parsing options when parsing sfc
...
- This is released in a patch because it is an relatively internal API
but required to properly fix https://github.com/vitejs/vite-plugin-vue/issues/322
- `parseExpressions` is now deprecated because it can be passed using
original template parsing options (`prefixIdentifiers`)
2023-12-30 08:44:39 +08:00
Evan You
d702b66482
release: v3.4.0
2023-12-29 10:50:32 +08:00
Evan You
ef90a99208
release: v3.4.0-rc.3
2023-12-27 10:15:44 +08:00
Evan You
a772031ea8
feat(defineModel): support modifiers and transformers
2023-12-26 22:13:04 +08:00
三咲智子 Kevin Deng
bfe6b459d3
style: update format & lint config ( #9162 )
...
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
Evan You
947aacf5ea
release: v3.4.0-rc.2
2023-12-26 15:52:53 +08:00
Evan You
25c726eca8
feat(compiler-sfc): export aggregated error messages for compiler-core and compiler-dom
2023-12-26 15:06:56 +08:00
Evan You
9cbb27745d
release: v3.4.0-rc.1
2023-12-25 16:42:12 +08:00
Evan You
5ec937723a
chore: Merge branch 'main' into minor
2023-12-24 22:50:06 +08:00
Evan You
a8d0b1b38b
fix(compiler-sfc): fix type resolution for shared type w/ different generic parameters
...
close #9871
2023-12-23 00:44:26 +08:00
Evan You
7aa3f250f2
fix(compiler-core): fix parsing `<script setup>` generics with >
...
close #9890
2023-12-22 22:49:30 +08:00
renovate[bot]
e01bb5bdaf
chore(deps): update compiler to ^7.23.6 ( #9858 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 10:38:35 +08:00
Evan You
048dffd7ee
release: v3.4.0-beta.4
2023-12-19 18:23:57 +08:00
Evan You
7c49a9c4d8
release: v3.3.13
2023-12-19 18:12:48 +08:00
Evan You
8f339ea144
chore: reuse descriptor ast in compileScript inlineTemplate mode by default
2023-12-19 18:06:04 +08:00
edison
eb51b23d85
fix(compile-sfc): fix identifier prefixing edge case caused by reused AST ( #9867 )
...
close #9853
close #9863
2023-12-19 18:04:36 +08:00
Evan You
317b783a53
release: v3.4.0-beta.3
2023-12-16 14:41:29 +08:00
Evan You
4e7967f016
release: v3.3.12
2023-12-16 14:23:40 +08:00
Evan You
c51ab4c765
release: v3.4.0-beta.2
2023-12-14 10:28:34 +08:00
Evan You
e00b160435
release: v3.4.0-beta.1
2023-12-13 18:52:16 +08:00
三咲智子 Kevin Deng
ef688ba92b
feat(compiler-sfc): promote defineModel stable ( #9598 )
2023-12-12 17:28:40 +08:00
Evan You
982a145d38
chore: Merge branch 'main' into minor
2023-12-11 22:03:28 +08:00
丶远方
9d1ca320c4
refactor(compiler-sfc): avoid unnecessary switch case fallthrough ( #8998 )
2023-12-11 18:23:02 +08:00
三咲智子 Kevin Deng
cf77435338
refactor(compiler-core): reuse unwrapTS utility function ( #9795 )
2023-12-11 10:46:28 +08:00
三咲智子 Kevin Deng
aa954b969b
test: update snapshot
2023-12-08 18:16:22 +08:00
三咲智子 Kevin Deng
5b2bd1df78
feat(compiler-sfc): support import attributes and `using` syntax ( #8786 )
2023-12-08 15:22:27 +08:00
Evan You
19b590fa3a
release: v3.3.11
2023-12-08 14:13:52 +08:00
白雾三语
d74d364d62
fix(custom-element): correctly handle number type props in prod ( #8989 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-06 08:16:16 +01:00
Evan You
a817883c26
chore: Merge branch 'main' into minor
2023-12-05 10:54:20 +08:00
Evan You
e2f2b75b62
chore(deps): bump vitest to 1.0
2023-12-05 10:48:04 +08:00
Evan You
c0d396b785
release: v3.4.0-alpha.4
2023-12-04 23:24:43 +08:00
Evan You
e12b10ac3e
chore: Merge branch 'main' into minor
2023-12-04 23:17:41 +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
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
Evan You
f12db7fb56
fix(compiler-sfc): avoid passing forEach index to genMap
2023-12-04 15:43:29 +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
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
edison
8d74ca0e6f
fix(compiler-sfc): generate more treeshaking friendly code ( #9507 )
...
close #9500
2023-12-01 02:52:26 +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