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
dadb3632a0
build: use swc minify for prod builds
2024-06-18 18:12:26 +08:00
Evan You
1c3327a0fa
ci: use node-version-file for autofix and canary workflows
2024-06-17 22:16:54 +08:00
renovate[bot]
97f45f363a
chore(deps): update dependency vite to ^5.3.1 ( #11153 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 12:04:00 +08:00
Snoppy
5a382b7a17
chore: fix typo [skip ci] ( #11154 )
2024-06-17 11:55:52 +08:00
renovate[bot]
3568ab2e24
chore(deps): update lint ( #11156 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 11:55:15 +08:00
renovate[bot]
b9f646a87a
chore(deps): update test ( #11157 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 11:51:58 +08:00
renovate[bot]
98a0b42527
chore(deps): update all non-major dependencies ( #11152 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 11:43:37 +08:00
Evan You
e5ca13a3af
release: v3.4.29
2024-06-14 18:02:36 +02:00
Evan You
cc04fd2b4f
chore: exclude sfc local proxy files from tsconfig
2024-06-14 17:59:30 +02:00
Evan You
1e42f24d8f
workflow: improve release script ci status check
2024-06-14 17:59:12 +02:00
Doctor Wu
8296e19855
fix(reactivity): avoid infinite loop when render access a side effect computed ( #11135 )
...
close #11121
2024-06-14 23:51:19 +08:00
Evan You
a23e99bedf
fix(compiler-sfc): support @vue-ignore comment on more type sources
2024-06-14 17:46:50 +02:00
Evan You
a476692ed2
fix(compiler-sfc): fix parsing of mts, d.mts, and mtsx files
2024-06-14 16:47:24 +02:00
Evan You
4ec387b100
fix(compiler-sfc): fix missing scope for extends error message
2024-06-14 16:46:26 +02:00
Evan You
11cc12b915
fix(build): fix accidental inclusion of runtime-core in server-renderer cjs build
...
close #11137
2024-06-14 16:13:18 +02:00
Evan You
bda5ff1d3f
chore: fix missing type import
2024-06-14 16:04:04 +02:00
Evan You
7c8b12620a
fix(custom-element): support same direct setup function signature in defineCustomElement
...
close #11116
2024-06-14 15:19:42 +02:00
Evan You
3e89a0da21
release: v3.4.28
2024-06-14 11:30:16 +02:00
Zhaolin Liang
495263a9cb
fix(compiler-sfc): support type resolve for keyof for intersection & union types ( #11132 )
...
close #11129
2024-06-14 17:10:46 +08:00
Tycho
b557d3fb8a
fix(runtime-core): avoid traversing static children for vnodes w/ PatchFlags.BAIL ( #11115 )
...
close #10547
2024-06-14 17:10:13 +08:00
Evan You
04729ba216
fix(compat): only warn ATTR_FALSE_VALUE when enabled
...
close #11126
2024-06-14 11:03:04 +02:00
ericgll
73fb15c236
chore(build): update warning message for missing `temp/packages` ( #11120 )
2024-06-14 16:12:47 +08:00
Aviv Keller
30cf237e9f
chore(security): add @RedYetiDev to HoF ( #11114 )
2024-06-14 16:11:39 +08:00
Tycho
8cf357ec04
chore(perf): replace startsWith with === ( #11124 )
2024-06-14 16:09:39 +08:00
Micha Huhn
70773d0098
docs: fix typo ( #11105 )
2024-06-11 14:19:52 +08:00
Evan You
df686abb4f
fix(ssr): directive binding.instance should respect exposed during ssr
...
close #7499
close #7502
2024-06-10 17:46:59 +08:00
Evan You
9daf90e29f
refactor(runtime-core): extract getComponentPublicInstance helper
2024-06-10 17:37:32 +08:00
Evan You
b7f6c54f67
chore: fix release script type
2024-06-10 17:37:20 +08:00
Xu Wei
188f3ae533
fix(runtime-dom): support Symbol for input value bindings ( #10608 )
...
close #10597
2024-06-10 17:01:56 +08:00
dopamine
612bbf0507
fix(types): improve `app.provide` type checking ( #10603 )
...
close #10602
2024-06-10 16:09:46 +08:00
Tycho
aae2d78875
fix(types/apiWatch): correct type inference for reactive array ( #11036 )
...
close #9416
2024-06-10 16:07:25 +08:00
n0099
ec424f6cd9
fix(npm): explicitly add `@vue/reactivity` as dependency of `@vue/runtime-dom` ( #10468 )
2024-06-10 15:29:37 +08:00
Tycho
80e402975b
refactor(shared): improve handling of out-of-range start and end values in generateCodeFrame ( #10883 )
...
related: #10854
2024-06-10 15:28:00 +08:00
cyrilluce
bdeac377c7
fix(compile-sfc): Support project reference with folder, ( #10908 )
...
close #10907
2024-06-10 15:25:47 +08:00
renovate[bot]
d6990dc587
chore(deps): update lint ( #11102 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 15:21:28 +08:00
Zhaolin Liang
2594b1df57
fix(compiler-sfc): support as keyword with template literal types ( #11100 )
...
close #10962
2024-06-10 15:19:39 +08:00
renovate[bot]
953e09670a
chore(deps): update build ( #11098 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 15:16:08 +08: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
renovate[bot]
cd52d34fb7
chore(deps): update all non-major dependencies ( #11097 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 15:05:46 +08:00
No Two
2c78f8921d
chore: improve compileTemplate warn message ( #11085 )
2024-06-07 17:30:35 +08:00
edison
edf263847e
fix(runtime-core): fix stale v-memo after v-if toggle ( #6606 )
...
close #6593
2024-06-07 17:29:28 +08:00
Tycho
293cf4e131
fix(compiler-sfc): improve type resolving for the keyof operator ( #10921 )
...
close #10920
close #11002
2024-06-07 16:27:43 +08:00
Rodrigo Pimentel
5afc76c229
fix(hydration): log hydration error even when using async components ( #9403 )
...
close #9369
2024-06-07 15:45:16 +08:00
edison
aa156ed5c4
fix(runtime-core): do not fire mount/activated hooks if unmounted before mounted ( #9370 )
...
close #8898
close #9264
close #9617
2024-06-07 13:48:50 +08:00
tomasvn
32262a9af5
chore: use PropertyKey type ( #11056 )
...
close #8559
2024-06-06 18:23:21 +08:00
Peixin Liu
a88295dc07
fix(custom-elements): compatibility of createElement in older versions of Chrome ( #9615 )
...
close #9614
2024-06-06 18:21:28 +08:00
Tycho
d04417da41
test(effect): verify cleanupEffect clears multiple dependencies ( #9503 )
...
close #5541
2024-06-06 17:52:01 +08:00
chenfan
71c2c0af74
test(reactivity): should not observe well-known symbol keyed properties in has operation ( #9174 )
2024-06-06 17:41:15 +08:00
Evan You
8d606c44ec
chore: format
2024-06-05 23:41:40 +08:00