Commit Graph

1123 Commits

Author SHA1 Message Date
renovate[bot] b63566aaeb
fix(deps): update compiler (#11024)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 16:51:43 +08:00
Ray 5b8c1afb74
fix(compiler-core): make `ForIteratorExpression`'s `returns` property optional (#11011) 2024-05-27 16:15:54 +08:00
renovate[bot] 7cef876afa
fix(deps): update compiler to ^7.24.5 (#10924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 17:10:34 +08:00
Evan You 461946175d
release: v3.4.27 2024-05-06 16:59:48 -07:00
Evan You b295cdf4e9
release: v3.5.0-alpha.2 2024-05-03 17:03:13 -07:00
huangcheng ca7d421e87
fix(compiler-core): add support for arrow aysnc function with unbracketed (#5789)
close #5788
2024-04-29 18:55:58 +08:00
Evan You 801b8dea3b
chore: Merge branch 'main' into minor 2024-04-29 18:46:20 +08:00
Evan You 96e8e99304
test: fix test case name 2024-04-29 18:12:27 +08:00
Evan You 241790937c
release: v3.4.26 2024-04-29 16:36:54 +08:00
Evan You fefce06b41
fix(compiler-core): fix bail constant for globals 2024-04-29 16:21:25 +08:00
skirtle d00632b1de
refactor: remove optional chaining (#10792) 2024-04-29 14:04:05 +08:00
Evan You 09b4df809e
fix(compiler-core): remove unnecessary constant bail check
member expressions and call expressions can only happen when there are identifiers

close #10807
2024-04-29 12:21:38 +08:00
Evan You 5590ca3694
release: v3.5.0-alpha.1 2024-04-29 10:49:53 +08:00
Evan You 574c3e63bb
release: v3.4.25 2024-04-24 18:37:52 +08:00
Evan You 958286e3f0
release: v3.4.24 2024-04-22 23:29:58 +08:00
Evan You b92c25f53d
fix(compiler-core): properly parse await expressions in edge cases
close #10754
2024-04-22 23:21:18 +08:00
Evan You f12c81efca
fix(compiler-ssr): fix hydration mismatch for conditional slot in transition
close #10743
2024-04-22 22:23:09 +08:00
Vadim Kruglov da7adefa84
fix(compiler-core): handle template ref bound via v-bind object on v-for (#10706)
close #10696
2024-04-22 20:46:11 +08:00
renovate[bot] 15df5c1b26
fix(deps): update compiler (#10760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 15:04:41 +08:00
Haoqun Jiang ea494af993
chore: update to ESLint 9 (#10705) 2024-04-17 21:58:35 +08:00
Evan You 46c2b63981
release: v3.4.23 2024-04-16 22:55:56 +08:00
Evan You b4b856b3f0
release: v3.4.22 2024-04-15 23:59:36 +08:00
Evan You 04af9504a7
fix(compiler-core): fix v-bind shorthand for component :is
close #10469
close #10471
2024-04-15 17:36:05 +08:00
Evan You 7ae9dbf57d
chore(deps): bump TS to 5.4 2024-04-15 13:36:43 +08:00
Evan You 16174da21d
fix(compiler-core): fix loc.source for end tags with whitespace before >
close #10694
close #10695
2024-04-15 11:50:57 +08:00
Evan You f709238c30
chore: use correct parse in parser tests for whitespace: condense 2024-04-15 11:35:05 +08:00
renovate[bot] 01172fdb77
fix(deps): update compiler (#10581)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 16:22:58 +08:00
renovate[bot] c6e245efe4
chore(deps): update all non-major dependencies (#10580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:10:49 +08:00
renovate[bot] c3dd9378b0
chore(deps): update all non-major dependencies (#10539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 15:14:20 +08:00
renovate[bot] de0336a7c3
fix(deps): update compiler (#10492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 16:08:51 +08:00
Evan You f66a75ea75 release: v3.4.21 2024-02-28 12:12:15 +01:00
Evan You 89de26cdcd release: v3.4.20 2024-02-26 10:07:13 +08:00
Evan You e0e02535cd fix(parser): should not treat uppercase components as special tags
close #10395
2024-02-25 23:05:15 +08:00
孟世博 3199189901
chore: standardize the spelling of TypeScript (#10186) [ci skip] 2024-02-20 21:43:45 +08:00
Evan You 272ab9fbdc release: v3.4.19 2024-02-13 18:08:22 +08:00
Evan You 64f431aab0 release: v3.4.18 2024-02-09 10:31:29 +08:00
Evan You dfb271a293 release: v3.4.17 2024-02-09 08:38:19 +08:00
Evan You 1339330850 release: v3.4.16 2024-02-08 11:45:34 +08:00
Evan You 2b0a706dc7 chore: move X_V_BIND_INVALID_SAME_NAME_ARGUMENT to preserve error code order 2024-02-08 11:36:51 +08:00
Evan You cb87b6213d fix(compiler-core): handle same-name shorthand edge case for in-DOM templates
Also add error for invalid arguments for same-name shorthand.

close #10280
2024-02-07 12:15:39 +08:00
zhoulixiang 91f058a90c
fix(compiler-core): support v-bind shorthand syntax for dynamic slot name (#10218)
close #10213
2024-02-06 17:54:06 +08:00
renovate[bot] 336bb65820
fix(deps): update compiler (#10269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:34:34 +08:00
Evan You ee4cd78a06 release: v3.4.15 2024-01-18 21:34:34 +08:00
Evan You c3087ff2cc fix: correct url for production error reference links 2024-01-18 20:00:01 +08:00
Evan You 07922dacc7 release: v3.4.14 2024-01-15 23:41:12 +08:00
Evan You 3a642fb95c release: v3.4.13 2024-01-13 16:03:45 +08:00
Evan You ffd0473e0f release: v3.4.12 2024-01-13 10:41:29 +08:00
Evan You fd337dddd1 release: v3.4.11 2024-01-12 22:15:16 +08:00
Evan You c60479146a dx(defineModel): warn against reference of setup scope variables in defineModel options
close #10093
2024-01-12 22:07:16 +08:00
Evan You bb6b7a297e release: v3.4.10 2024-01-11 23:04:20 +08:00
Evan You 9636357c89 release: v3.4.9 2024-01-11 18:49:05 +08:00
Evan You 92514db708
build: add node production/development condition in package exports (#10036)
follow up of #9977
2024-01-11 18:04:32 +08:00
Evan You 8d656ce88d release: v3.4.8 2024-01-11 01:03:51 +08:00
Evan You a3725a729c release: v3.4.7 2024-01-09 18:15:03 +08:00
zhangenming 9c54dacd0d
chore: use NOOP. (#9938) 2024-01-09 15:24:10 +08:00
Haoqun Jiang 923d560d0b
fix(parser): skip compat mode check for SFC root `<template>` tags (#10034)
Fixes https://github.com/vitejs/vite-plugin-vue/issues/330
2024-01-09 11:14:00 +08:00
Evan You dc91463eb6 release: v3.4.6 2024-01-08 23:01:54 +08:00
Evan You 7bd4e90506 fix(build): revert "build: add production/development export conditions (#9977)"
This reverts commit e790e1bdd7.

close #10012
close #10020
2024-01-08 22:29:08 +08:00
Evan You 0275dd329d release: v3.4.5 2024-01-04 17:21:24 +08:00
Evan You ae60a91cc2 fix(compiler-sfc): fix sfc template unref rewrite for class instantiation
close #6483
close #6491
2024-01-04 15:58:13 +08:00
Daniel Roe e790e1bdd7
build: add production/development export conditions (#9977) 2024-01-04 11:24:17 +08:00
Evan You f70f7ca9ae release: v3.4.4 2024-01-03 18:40:28 +08:00
Evan You 8f85b6da44 release: v3.4.3 2023-12-30 21:34:23 +08:00
Evan You b010cb9939 release: v3.4.2 2023-12-30 19:41:35 +08:00
Evan You f787337b47 release: v3.4.1 2023-12-30 09:02:48 +08:00
Masa-Shin 77d33e263c
fix(compat): correct enum value for COMPILER_FILTERS feature (#9875) 2023-12-29 12:41:21 +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
三咲智子 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 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 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 95f6fffea2 chore: Merge branch 'main' into minor 2023-12-19 18:16:16 +08:00
Evan You 7c49a9c4d8 release: v3.3.13 2023-12-19 18:12:48 +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
白雾三语 bae79ddf85
fix(compiler-core): fix v-on with modifiers on inline expression of undefined (#9866)
close #9865
improve isMemberExpression check for undefined
2023-12-19 17:08:46 +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
Cédric Exbrayat 7bc3c9e205
fix(compiler-core): vnode hooks error message (#9842) 2023-12-15 23:07:15 +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
Evan You 0b6effb423 chore: preserve error code enum order 2023-12-13 00:48:32 +08:00
三咲智子 Kevin Deng cf77435338
refactor(compiler-core): reuse unwrapTS utility function (#9795) 2023-12-11 10:46:28 +08:00
Evan You 2ffc1e8cfd
feat(ssr): improve ssr hydration mismatch checks (#5953)
- Include the actual element in the warning message
- Also warn class/style/attribute mismatches

Note: class/style/attribute mismatches are check-only and will not be
rectified.

close #5063
2023-12-08 15:49:09 +08:00
Adrien Foulon 638f1abbb6
feat(compiler-core): add current filename to TransformContext (#8950) 2023-12-08 15:23:50 +08:00
Evan You 19b590fa3a release: v3.3.11 2023-12-08 14:13:52 +08:00
三咲智子 Kevin Deng 0dc875d53e
fix(compiler-core): use the same resolved options for all compile stages (#9760) 2023-12-06 14:41:21 +08: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 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
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 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 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