Fernando Fernández
42f4ccceda
feat(compiler-core): add allowSideEffectTag option
...
By default, the compiler drops `<script>` and `<style>` tags from SFC files. There are good use cases for these tags (like generating stylesheets based on some refs or application state).
I see no documented reason to not allow a bypass if the user knows what's doing, so that's why I'm adding this new option
Signed-off-by: GitHub <noreply@github.com>
2024-06-20 19:23:39 +00:00
Evan You
e5ca13a3af
release: v3.4.29
2024-06-14 18:02:36 +02:00
Evan You
3e89a0da21
release: v3.4.28
2024-06-14 11:30:16 +02:00
renovate[bot]
2438b75ed6
fix(deps): update compiler to ^7.24.7 ( #11101 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 15:06:09 +08:00
Vadim Kruglov
29425df1ac
fix(compiler-core): fix :key shorthand on v-for ( #10942 )
...
close #10882
close #10939
2024-06-04 20:18:24 +08:00
Wouter
5d258502a0
fix(compiler-core): emit TS-compatible function declaration when requested ( #9363 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-05-30 18:19:04 +08:00
Travis
3ea964473d
fix(compiler-core): allow unicode to appear in simple identifiers ( #6765 )
...
close #6367
2024-05-30 17:45:11 +08:00
huangcheng
b9ca202f47
fix(compiler-core): v-for expression missing source with spaces should emit error ( #5821 )
...
close #5819
2024-05-30 17:24:37 +08:00
Kevin Deng 三咲智子
cdb1d1795d
chore: disallow optional chaining ( #10919 )
2024-05-29 15:03:20 +08:00
linzhe
87c5443044
fix(compiler-core): should set `<math>` tag as block to retain MathML namespace after patching ( #10891 )
...
Co-authored-by: linzhe141 <linzhe141@qq.com>
2024-05-28 14:26:29 +08:00
Haoqun Jiang
07b3c4b786
fix(compat): correctly transform non-identifier expressions in legacy filter syntax ( #10896 )
...
close #10852
2024-05-27 17:04:48 +08:00
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
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
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
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