Commit Graph

5283 Commits

Author SHA1 Message Date
Bogdan Kolesnyk f18a174979
fix(compiler-sfc): malformed filename on windows using path.posix.join() (#9478)
Closes: #8671, #9583

Not fixed with: #9446

Related: #9473
2023-11-13 15:48:25 +08:00
renovate[bot] e422023686
chore(deps): update compiler to ^7.23.3 (#9590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 15:45:51 +08:00
renovate[bot] 2b00fd9ad2
chore(deps): update all non-major dependencies (#9589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 15:45:29 +08:00
Evan You 5d077c8754 fix(types): revert class type restrictions
reverts #8012 due to breakage in downstream types
2023-11-13 15:23:16 +08:00
Evan You fc7902982a workflow(playground): prod/dev toggle should apply to runtime behavior as well
Previously, the prod/dev toggle in the SFC playground only affects the
SFC compiation behavior, but not the actual runtime. This can make it
confusing when users are trying to reproduce prod/dev behavior
inconsistency in the runtime code instead of the compiler.
2023-11-12 16:32:08 +08:00
Rick d5585184a1
chore: fix dev-sfc-prepare command (#9570) 2023-11-10 17:17:17 +08:00
renovate[bot] 60dd002818
chore(deps): update dependency puppeteer to ~21.5.1 (#9553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-10 17:16:15 +08:00
renovate[bot] f8b0793818
chore(deps): update lint (#9552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-10 17:16:02 +08:00
丶远方 176d476712
fix(types): fix `unref` and `toValue` when input union type contains ComputedRef (#8748)
close #8747
close #8857
2023-11-10 16:56:29 +08:00
花果山大圣 73fd810eeb
fix(reactivity): onCleanup also needs to be cleaned (#8655)
close #5151
close #7695
2023-11-10 16:47:08 +08:00
Cong 3227e50b32 fix(compiler-sfc): support `:is` and `:where` selector in scoped css rewrite (#8929) 2023-11-10 16:44:53 +08:00
Cong c6083dcad3
fix(compiler-sfc): support `:is` and `:where` selector in scoped css rewrite (#8929) 2023-11-10 16:44:08 +08:00
auvred 3e08d246df
fix(compiler-sfc): consistently escape type-only prop names (#8654)
close #8635
close #8910
close vitejs/vite-plugin-vue#184
2023-11-10 16:23:47 +08:00
edison 9e1b74bcd5
fix(compiler-sfc): support resolve extends interface for defineEmits (#8470)
close #8465
2023-11-10 16:00:04 +08:00
Evan You 2424013059 fix(types): widen ClassValue type 2023-11-10 15:36:30 +08:00
Anthony Fu 5156ac5b38
fix(ssr): hydration `__vnode` missing for devtools (#9328) 2023-11-10 15:27:16 +08:00
Evan You e15dc05655 chore: remove typeof NULL_DYNAMIC_COMPONENT for type compat with test-utils 2023-11-10 15:26:19 +08:00
zqran f15debc01a
fix(types): return type of withDefaults should be readonly (#8601) 2023-11-10 15:20:02 +08:00
Basil Gor 46e33744c8
fix(types): more precise types for class bindings (#8012) 2023-11-10 15:15:54 +08:00
丶远方 fa65cb6af1
test(shared): add test case for escapeHtmlComment (#8065) 2023-11-10 15:07:24 +08:00
skirtle f01afda159
dx(runtime-core): warn if `this` is used in a `<script setup>` template (#7866) 2023-11-10 15:05:39 +08:00
Evan You 5a41231352 chore: fix formatting + remove duplicated property in jsx type 2023-11-10 15:01:05 +08:00
被雨水过滤的空气-Rain b71a889f52
refactor(compiler-dom): use String's built-in repeat method (#6700) 2023-11-10 14:39:19 +08:00
Yuchao 3445356085
test(apiWatch): better indicate array pre & new values are the same object (#7251) 2023-11-10 14:37:46 +08:00
skirtle a5491e1cdd
dx(runtime-core): warn when the prop type is `[]` (#7608) 2023-11-10 14:32:10 +08:00
bqy_fe 58e2a94871
fix(types): update jsx type definitions (#8607) 2023-11-10 14:30:45 +08:00
Yuchao 17aa92b79b
fix(types): allow falsy value types in `StyleValue` (#7954)
close #7955
2023-11-10 14:23:54 +08:00
Tycho d5fd343555
refactor(compiler-sfc): reuse `forAliasRE` regex from compiler-core (#9568) 2023-11-10 14:22:00 +08:00
renovate[bot] ae6f164b03
chore(deps): update all non-major dependencies (#9551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-10 14:20:50 +08:00
Rudy 5d932a8e6d
fix(types): defineCustomElement using defineComponent return type with emits (#7937)
close #7782
2023-11-10 13:52:54 +08:00
Ha Pam 341b5416b2
chore: typo and grammar (#8568) [ci skip]
Co-authored-by: Han <phamvanhan@gmail.com>
2023-11-10 13:42:26 +08:00
王野未 3b3bcd4e79
chore(scripts): delete an unnecessary parameter + add jsdoc to build script (#8527) 2023-11-10 13:41:25 +08:00
Simon Lévesque 7c448000b0
fix(types): fix shallowRef return type with union value type (#7853)
close #7852
2023-11-10 13:40:47 +08:00
Evan You 364f319d21 fix(hydration): force hydration for v-bind with .prop modifier
ref #7490
2023-11-10 13:13:07 +08:00
Evan You 34b5a5da4a fix(hydration): properly hydrate indeterminate prop
close #7476
2023-11-10 12:19:27 +08:00
Rudy 0e1e8f919e
fix(types): fix instance type when props type is incompatible with setup returned type (#7338)
close #5885
2023-11-09 17:40:36 +08:00
657476dcdb
fix(reactivity): clear method on readonly collections should return undefined (#7316) 2023-11-09 17:32:21 +08:00
Nebula 6e0b068e92
chore: add name option for Teleport (#7315) 2023-11-09 17:21:38 +08:00
edison a2d810eb40
fix(compiler-core): avoid rewriting scope variables in inline for loops (#7245)
close #7238
2023-11-09 17:20:54 +08:00
被雨水过滤的空气-Rain d11e978fc9
fix(hmr/transition): fix kept-alive component inside transition disappearing after hmr (#7126)
fix #7121
2023-11-09 17:15:56 +08:00
白雾三语 40f4b77bb5
fix(v-model): avoid overwriting number input with same value (#7004)
close #7003
2023-11-09 15:14:38 +08:00
Carlos Rodrigues 94c049d930
fix(types): remove optional properties from defineProps return type (#6421)
close #6420
2023-11-09 14:52:28 +08:00
丶远方 9d0eba916f
fix(compiler-core): fix `resolveParserPlugins` decorators check (#9566)
close #9560
2023-11-09 14:32:08 +08:00
Evan You 2c0414fdca chore: bust sponsor image cache [ci skip] 2023-11-07 15:31:46 +08:00
Evan You bc5846939c release: v3.3.8 2023-11-06 18:54:26 +08:00
Evan You 2f8c769b6b chore: delete unrelated test case 2023-11-06 18:46:40 +08:00
Evan You dd8a0cf5dc fix(hydration): fix tagName access eeror on comment/text node hydration mismatch
fix #9531
2023-11-06 18:45:42 +08:00
Eduardo San Martin Morote 405f34587a
fix(warn): avoid warning on empty children with Suspense (#3962) 2023-11-06 17:48:40 +08:00
edison b39fa1f815
fix(compiler-sfc): fix dynamic directive arguments usage check for slots (#9495)
close #9493
2023-11-06 17:46:48 +08:00
Evan You 462aeb3b60 fix(types): avoid exposing lru-cache types in generated dts
close #9521
2023-11-06 17:36:02 +08:00