Commit Graph

4269 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
丶远方 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
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
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 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
renovate[bot] 176d59058c
fix(deps): update dependency @vue/repl to ^2.6.3 (#9540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-03 17:48:58 +08:00
renovate[bot] 5cef325f41
fix(deps): update dependency @vue/repl to ^2.6.2 (#9536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-02 20:57:38 +08:00
zhiyuanzmj 26399aa6fa
feat(compiler-core): support v-bind shorthand for key and value with the same name (#9451) 2023-11-02 17:48:11 +08:00
Johnson Chu 48b47a1ab6
feat(reactivity): expose last result for computed getter (#9497) 2023-10-31 22:19:40 +08:00
renovate[bot] d261ad73ae
chore(deps): update all non-major dependencies (#9501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 22:07:38 +08:00
木杉 a9893458ec
fix(compile-sfc): support `Error` type in `defineProps` (#5955) 2023-10-30 15:45:58 +08:00
Kaine 72fdafa0cf
types(runtime-dom): update aria-relevant type (#9043) 2023-10-30 15:15:17 +08:00
丶远方 a75d1c5c62
fix(compiler-core): known global should be shadowed by local variables in expression rewrite (#9492)
fix #9482
2023-10-28 15:22:03 +08:00
Evan You 3c828f3cfb release: v3.4.0-alpha.1 2023-10-28 11:33:46 +09:00
Johnson Chu 16e06ca08f
feat(reactivity): more efficient reactivity system (#5912)
fix #311, fix #1811, fix #6018, fix #7160, fix #8714, fix #9149, fix #9419, fix #9464
2023-10-27 23:28:40 +09:00
三咲智子 Kevin Deng feb2f2edce
feat: export runtime error strings (#9301)
These strings are used for automatically generating error references in the documentation and should be considered internal. The code-to-string mapping is **not** part of the public API and can change between non-major versions.

They are also exposed only in dev or the esm-bundler builds.
2023-10-27 23:28:40 +09:00
花果山大圣 f7e80ee4a0
feat(compiler-core): export error message (#8729) 2023-10-27 23:28:40 +09:00
三咲智子 Kevin Deng 9e77580c0c
feat(compiler-sfc): expose resolve type-based props and emits (#8874) 2023-10-27 23:28:40 +09:00
丶远方 a645e7aa51
feat(runtime-core): add `once` option to watch (#9034) 2023-10-27 23:28:40 +09:00
丶远方 f32ec17131
chore: remove unnecessary imports from vitest (#8562) 2023-10-26 16:34:14 +08:00
Evan You 1789c1caac release: v3.3.7 2023-10-25 07:35:08 +08:00
edison e09c26bc9b
fix(compiler-ssr): proper scope analysis for ssr vnode slot fallback (#7184)
close #7095
2023-10-25 01:01:29 +08:00
Carlos Rodrigues 7374e93f02
fix(types): fix ComponentCustomProps augmentation (#9468)
close #8376
2023-10-24 18:42:47 +08:00
edison 5ea8a8a4fa
fix(transition/ssr): make transition appear work with SSR (#8859)
close #6951
2023-10-24 09:36:10 +08:00
Carlos Rodrigues 16ecb44c89
fix(types): improve `h` overload to support union of string and component (#5432)
fix #5431
2023-10-23 23:40:06 +08:00
Evan You 28a6f05bf5 chore: remove internal flag on hmr option 2023-10-22 09:10:43 +08:00
Carlos Rodrigues 00de3e61ed
fix(Suspense): calling hooks before the transition finishes (#9388)
close #5844
close #5952
2023-10-21 21:24:30 +08:00
Evan You 733437691f fix(hmr): fix hmr error for hoisted children array in v-for
fix #6978
close #7114
2023-10-21 21:08:49 +08:00
edison c568778ea3
fix(compiler-sfc): avoid gen useCssVars when targeting SSR (#6979)
close #6926
2023-10-21 12:11:41 +08:00
Carlos Rodrigues d8990fc618
fix(ssr): fix hydration mismatch for disabled teleport at component root (#9399)
close #6152
2023-10-21 11:37:52 +08:00
skirtle a8f663867b
fix(scheduler): ensure jobs are in the correct order (#7748)
close #7576
2023-10-21 10:38:54 +08:00
Haoqun Jiang 089d36d167
fix: correctly resolve types from relative paths on Windows (#9446)
close #8671
close https://github.com/vuejs/vue-loader/issues/2048
2023-10-21 10:35:16 +08:00
skirtle e9e2778e9e
fix(reactivity): assigning array.length while observing a symbol property (#7568) 2023-10-21 09:48:59 +08:00
Evan You a09ed44446 release: v3.3.6 2023-10-20 21:04:11 +08:00
edison cdb2e725e7
fix(compiler-ssr): fix ssr compile error for select with non-option children (#9442)
fix #9440
2023-10-20 20:39:31 +08:00
三咲智子 Kevin Deng df81da8be9
fix(compiler-sfc): model name conflict (#8798) 2023-10-20 17:36:36 +08:00
白雾三语 26ca89e5cf
fix(types): support contenteditable="plaintext-only" (#8796) 2023-10-20 17:35:53 +08:00
JayFate 21a89af9e6
chore: use git default short commit-id (#7761) 2023-10-20 17:31:50 +08:00
丶远方 712f96d6ac
perf: replace Map/Set with WeakMap/WeakSet (#8549) 2023-10-20 17:11:52 +08:00
pupu 4162311efd
fix(teleport): ensure descendent component would be unmounted correctly (#6529)
fix #6347
2023-10-20 16:42:04 +08:00
白雾三语 8f0472c9ab
fix(runtime-core): fix error when using cssvars with disabled teleport (#7341)
close #7342
2023-10-20 16:34:11 +08:00
Kael 75b8722135
fix(runtime-core): delete stale slots which are present but undefined (#6484)
close #9109
2023-10-20 16:25:06 +08:00
白雾三语 61c1357427
fix(compiler-ssr): fix missing scopeId on server-rendered TransitionGroup (#7557)
close #7554
2023-10-20 16:21:41 +08:00
Jeff Tian 36c99a9c6b
fix(compiler-sfc): support asset paths containing spaces (#8752)
By decoding them before generating them as JavaScript import paths

fix https://github.com/vuejs/vitepress/issues/2596
fix https://github.com/vuejs/vitepress/issues/573
2023-10-20 15:49:58 +08:00
白雾三语 59762335ac
chore(template-explorer): Fix template-explorer highlighting (#8956) 2023-10-20 15:43:49 +08:00
三咲智子 Kevin Deng f0ef0425b8
chore: remove @types/estree (#9158) 2023-10-20 15:40:32 +08:00
Evan You 5ebb459fc7 release: v3.3.5 2023-10-20 11:50:49 +08:00
dependabot[bot] 13d8b060c1
chore: bump postcss from 8.4.30 to 8.4.31 (#9354)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.30 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.30...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 10:56:44 +08:00
renovate[bot] 93b79e6314
chore(deps): update compiler (#9322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 10:46:13 +08:00
renovate[bot] 2ac90512ac
chore(deps): update all non-major dependencies (#9286)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 10:45:54 +08:00
Evan You f5a253f69f chore(deps): update lru-cache to v10
ref #9267
2023-10-20 10:38:41 +08:00
renovate[bot] 856dadb18a
chore(deps): update build (#9260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 10:27:34 +08:00
Vít Stanislav e3c2d699f6
fix(compat): return value of vue compat set() (#9377)
According to https://v2.vuejs.org/v2/api/#Vue-set, Returns: the set value.
2023-10-19 20:58:59 +08:00
renovate[bot] 8611874e09
fix(deps): update dependency monaco-editor to ^0.44.0 (#9237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:38:48 +08:00
Haoqun Jiang 0a8be4537a
build: use `stripInternal` (#9379)
Unlike our custom plugin, TypeScript won't automatically remove
re-exports of internal types, so we need to explicitly mark them as
`@internal`.
2023-10-17 21:10:14 +08:00
renovate[bot] 4711158afe
chore(deps): update dependency marked to v9 (#9324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-10-12 07:27:36 +00:00
renovate[bot] 30c6b12957
chore(deps): update dependency execa to v8 (#9266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-09-21 07:25:32 -05:00
renovate[bot] 021a47ac02
chore(deps): update compiler (#9157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-09-20 11:16:58 -05:00
renovate[bot] 92cd5955d3
chore(deps): update build (#9181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 16:32:31 +08:00
renovate[bot] 8b44316118
chore(deps): update all non-major dependencies (#9180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 15:33:33 +08:00
renovate[bot] c8566a22b7
fix(deps): update playground (#9154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 16:10:50 -05:00
renovate[bot] ca00cf245e
chore(deps): update test (major) (#9148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-09-06 12:12:48 -05:00
chenfan e33d554cae
refactor(reactivity): add instance check for effect (#9055) 2023-09-05 03:27:54 -05:00
Evan You 5479d1e5bb chore: format 2023-09-05 15:24:10 +08:00
Daniel Roe 8f311c6f82
fix(runtime-core): swap client/server debug labels (#9089) 2023-09-05 15:21:20 +08:00
丶远方 2ffe3d5b3e
refactor: use symbol for private properties (#8681) 2023-08-22 16:57:15 +08:00
Waleed Khaled 02c6924bcd
refactor(reactivity): encapsulate reactive handlers in class (#8586)
reactive obj create has a huge positive impact (200% - 700%)
get/set reactive obj props has a small negative impact (1% - 5%)
2023-08-22 16:50:27 +08:00
三咲智子 Kevin Deng 1b56405299
ci: improved size report (#8992) 2023-08-21 11:33:51 +08:00
三咲智子 Kevin Deng 623ba514ec
chore: format code 2023-08-11 17:30:04 +08:00
Evan You 37a14a5dae Revert "fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351)"
This reverts commit 516fabb725.
2023-07-12 11:38:59 +08:00
丶远方 24d98f0327
perf(custom-element): cancel `MutationObserver` listener when disconnected (#8666) 2023-07-12 11:13:20 +08:00
三咲智子 Kevin Deng 70c3ac746d
dx(compiler-sfc): warn when disabled defineModel (#8534) 2023-07-12 11:05:43 +08:00
三咲智子 Kevin Deng 24db9516d8
fix(compiler-sfc): don't hoist props and emit (#8535)
fix #7805
close #7812
2023-07-12 11:03:14 +08:00
Evan You 2a2810c716 chore: upgrade to typescript 5.1 2023-07-11 18:44:19 +08:00
Artyom Tuchkov e404a699f4
fix(compiler-sfc): handle dynamic directive arguments in template usage check (#8538)
close #8537
2023-07-11 18:38:27 +08:00
zqran f07cb18fed
fix(types): correct withDefaults return type for boolean prop with undefined default value (#8602) 2023-07-11 18:35:22 +08:00
丶远方 6a22b1f6c2
fix(types): ensure nextTick return type reflect correct Promise value (#8406) 2023-07-11 17:56:02 +08:00
Anthony Fu 438027cf9e
perf: mark `defineComponent` as side-effects-free (#8512) 2023-07-11 17:52:43 +08:00
丶远方 97b6fae6b4
chore(shared): improve isPromise check in accordance with Promise A+ specification (#8506) 2023-07-11 17:41:09 +08:00
zqran 736cf154cc
chore(test): replace deprecated `initEvent` (#8490) 2023-07-11 17:38:32 +08:00
zqran 7c2e44ff5f
test(reactivity): use vitest fn instead of counting manually (#8476) 2023-07-11 17:37:56 +08:00
白雾三语 701fa735fc
dx(compiler-sfc): enhance `:deep` warnings (#8328)
close #8313
2023-07-11 17:36:54 +08:00
白雾三语 140a89b833
fix(teleport): handle target change while disabled (#7837)
close #7835
2023-07-11 17:36:26 +08:00
Kid ceb0732e0b
fix(types/jsx): add `inert` attribute and missing `hidden` values (#8090) 2023-07-11 17:30:01 +08:00
vaakian X 776ebf25b2
fix(compiler-sfc): fix using imported ref as template ref during dev (#7593)
close #7567
2023-07-11 17:26:31 +08:00
edison 201c46df07
fix(ssr): render correct initial selected state for select with v-model (#7432)
close #7392
2023-07-11 17:13:18 +08:00
丶远方 3decc57d0c
chore: remove unnecessary type assertions (#8386) 2023-07-10 18:18:53 +08:00
13b72317c5
refactor(reactivity): use hasChanged to avoid tracking NaN key twice (#7378) 2023-07-10 18:17:26 +08:00
b401243855
chore(types): remove unnecessary @ts-ignore or use @ts-expected-error (#7178) 2023-07-10 18:00:32 +08:00
JayMe DotDot 364dc53c7c
fix(types): support correct types for style on svg elements (#6322) 2023-07-10 17:59:44 +08:00
Innei 68d6b43f7e
fix(types/jsx): add missing loading attr for img element (#6160) 2023-07-10 17:58:53 +08:00
Eavan 381b4977af
fix(compiler-sfc): ignore style v-bind in double slash comments (#5409) 2023-07-10 17:56:26 +08:00
zouhang d6446a6d40
fix(compiler-sfc): pass options directly to stylus (#3848) 2023-07-10 17:52:56 +08:00
zqran 924069891e
test(reactivity): bigint test for non-observable values (#6177) 2023-07-10 17:51:30 +08:00
三咲智子 Kevin Deng 788527e29c
workflow: support custom TS version for playground (#8735) 2023-07-10 00:18:59 +08:00
qiang eee709081b
refactor(types): improve capitalize types (#6212) 2023-07-09 19:37:32 +08:00
OrbisK 7121c925c5
types: update `TextareaHTMLAttributes` and `InputHTMLAttributes` (#6294)
* types: update `TextareaHTMLAttributes` and `InputHTMLAttributes`

add `InputTypeHTMLAttribute` (from `@types/react`) to `InputHTMLAttributes['type' ]`

* chore: format

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:05:18 +08:00
BeADre 5ee992cfea
fix(playground): fix github button style (#7722)
* fix(playground): fix github button style

* style: merge selector

* Update Header.vue

---------

Co-authored-by: GU Yiling <justice360@gmail.com>
2023-07-09 13:04:47 +08:00
Daniel Rosenwasser 516fabb725
fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351)
* fix(types): propagate type parameter constraints for TypeScript 4.8

* fix: add more constraints

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:04:08 +08:00
webfansplz 57afa2236b
chore: fix typo (#8732) [ci skip] 2023-07-09 13:03:30 +08:00
白雾三语 3127c4113e
workflow: add light theme for sfc playground (#8667) 2023-06-28 13:19:32 +08:00
三咲智子 Kevin Deng 9f8e98af89
workflow: upgrade repl, add tsconfig for sfc playground (#8636) 2023-06-24 22:58:24 +08:00
Evan You 124160e417
workflow: upgrade repl, use monaco + volar for sfc playground (#8625) 2023-06-23 09:03:52 +08:00
Evan You ae7453f0f1 chore: use moduleResolution: bundler + shim estree-walker 2023-06-23 08:54:25 +08:00
Evan You d2c3d8b70b perf(compiler-sfc): lazy require typescript 2023-06-15 16:38:44 +08:00
三咲智子 Kevin Deng 6f45f76df2
fix(compiler-sfc): don't registerTS when bundling for browsers (#8582) 2023-06-15 16:35:41 +08:00
Evan You 60cd23c752 chore: bump repl 2023-06-14 19:04:06 +08:00
Haoqun Jiang 63dfe8eab4
fix: add isGloballyWhitelisted back, but deprecated (#8556)
Fixes the regression described at https://github.com/vuejs/core/issues/8416#issuecomment-1566583260
2023-06-14 14:02:53 +08:00
Evan You 96c76facb7 fix(transition): handle possible auto value for transition/animation durations
close #8409
2023-06-14 12:12:22 +08:00
三咲智子 Kevin Deng 7cdd13bd1e
chore: fix typo 2023-06-11 11:29:10 +08:00
Lioness100 6277cb994a
chore: fix typo (#7693) 2023-06-10 17:17:41 +08:00
Cédric Exbrayat fd1a3f9599
fix(compiler-sfc): typo in experimental feature warnings (#8513) 2023-06-10 17:17:21 +08:00
Vadim 23c81691d9
chore: fix typo (#7416) 2023-06-10 17:10:20 +08:00
zqran e78c223b30
chore: fix typo (#8392) 2023-06-10 17:09:44 +08:00
丶远方 00e0766934
refactor(shared): merge if statements (#8394) 2023-06-10 17:08:02 +08:00
Evan You a95e612b25 chore: rename globals allow list
close #8416
2023-05-26 11:07:13 -05:00
Simon Johansson 020851e57d
fix(ssr): reset current instance if setting up options component errors (#7743)
close #7733
2023-05-19 09:09:21 +08:00
Evan You 372ec35482 chore: mark reactivity transform apis as deprecated 2023-05-19 08:26:44 +08:00
Phentom f0691e4581
chore: typo (#8345) [ci skip] 2023-05-19 07:59:09 +08:00
丶远方 b01fc7ea84
chore: remove unnecessary imports (#8262) 2023-05-19 07:54:12 +08:00
丶远方 3798c5480b
chore: remove unnecessary type assertions (#8311) 2023-05-19 07:49:28 +08:00
丶远方 5ddeb45e82
chore: remove unused imports (#8327) 2023-05-19 07:47:23 +08:00
丶远方 702711e771
chore(compiler-sfc): break in switch statement (#8347) 2023-05-19 07:46:39 +08:00
edison 4fa8da8576
fix(compiler-sfc): support resolve multiple re-export /w same source type name (#8365)
close #8364
2023-05-19 07:45:28 +08:00
Evan You 0e8bbe873e release: v3.3.4 2023-05-18 16:31:03 +08:00
Evan You 5aec717a24 fix(compiler-sfc): handle imported types from default exports
close #8355
2023-05-18 16:15:27 +08:00
Evan You d621d4c646 fix(build): ensure correct typing for node esm 2023-05-18 13:53:51 +08:00
Evan You fecd5c4044 release: v3.3.3 2023-05-18 13:10:52 +08:00
白雾三语 ecbd42a144
fix(compiler-sfc): parses correctly when inline mode is off (#8337)
close #6088
2023-05-18 13:07:08 +08:00
三咲智子 Kevin Deng b133e0fd97
fix(compiler-sfc): support defineEmits type reference with unions (#8299)
close #7943
2023-05-18 12:59:12 +08:00
Evan You fab9c72780 fix(compiler-sfc): fix type import from path aliased vue file
close #8348
2023-05-18 12:50:47 +08:00
三咲智子 Kevin Deng 8ec73a3aea
fix(compiler-sfc): don't hoist regexp literial (#8300) 2023-05-18 11:09:40 +08:00
Evan You b36addd3bd fix(compiler-sfc): handle ts files with relative imports with .js extension
close #8339
2023-05-17 10:14:44 +08:00
Kalven Schraut f69dbabf87
fix(compiler-sfc): fix props destructing default value type checking with unresolved type (#8340)
close #8326
2023-05-17 09:59:49 +08:00
Carlos Rodrigues 216f26995b
fix(types): support generic usage with withDefaults + defineProps (#8335)
fix #8310
fix #8331
fix #8325
2023-05-17 09:25:48 +08:00
Evan You 91f1c62e63 fix: avoid regex s flag for old browsers
close #8316
2023-05-17 09:23:09 +08:00
Evan You a374d7e6ed release: v3.3.2 2023-05-12 13:25:05 +01:00
Evan You 82350721a4 fix(compiler-sfc): raise specific warning for failed extends and allow ignoring extends
ref #8286
2023-05-12 13:17:55 +01:00
Evan You f25bd37c67 fix(compiler-sfc): fix regression on props destructure when transform is not enabled
close #8289
2023-05-12 12:53:36 +01:00
Evan You 80a708f17a chore: bump plugin-vue 2023-05-12 12:37:25 +01:00
Evan You 574c83b522 refactor(compiler-sfc): move prop key escape logic to utils 2023-05-12 11:26:33 +01:00
白雾三语 690ef29635
fix(compiler-sfc): handle prop keys that need escaping (#7803)
close #8291
2023-05-12 18:24:59 +08:00
Evan You aa1e77d532 fix(compiler-sfc): properly parse d.ts files when resolving types
close #8285
2023-05-12 11:08:29 +01:00
Evan You 8dc8cf852b fix(compiler-core): treat floating point numbers as constants
close #8295
2023-05-12 10:53:40 +01:00
Evan You c454b9d7f4 fix(compiler-dom): do not throw in production on side effect tags
close #8287
close #8292
2023-05-12 10:25:37 +01:00
Cédric Exbrayat ab9256a4bb
chore: fix typos in defineOptions (#8277) 2023-05-11 19:34:27 +08:00
Evan You 6e1966a92f release: v3.3.1 2023-05-11 09:00:14 +01:00
白雾三语 a3f5485785 fix(suspense): handle nested sync suspense for hydration
ref e1475129fc
2023-05-11 08:47:01 +01:00
Evan You 483a4e7e3b release: v3.3.0 2023-05-11 08:44:38 +01:00
Evan You 847658b7a2 release: v3.3.0-beta.5 2023-05-08 16:40:41 +08:00
Evan You e1475129fc fix(suspense): fix nested suspensible suspense with no asyn deps
close #8206
2023-05-08 16:37:46 +08:00
Evan You 62e71b5320 chore: add sfc playground local debug shortcut 2023-05-08 15:50:11 +08:00
Haoqun Jiang 287bd99994
fix(compiler-sfc): transform destructured props when reactivity transform option is enabled (#8252)
fixup 862edfd91a
2023-05-08 15:27:28 +08:00
linghaoSu 4495373d28
fix(runtime-dom): check attribute value when setting option value (#8246)
fix #8227
2023-05-08 15:26:14 +08:00
ntnyq bf16697e25
chore: fix broken vite plugin url in warning message (#8224) 2023-05-08 14:47:02 +08:00
LiuSeen 8ccc570022
chore(compileScript): remove unused methods (#8211) 2023-05-08 14:43:39 +08:00
丶远方 3294e50b0b
chore: update tests to use expect.toBeInstanceOf (#8154) 2023-05-08 14:34:24 +08:00
Evan You 6b194bcf3b fix(compiler-sfc): fix built-in type resolving in external files
close #8244
2023-05-08 12:30:19 +08:00
Evan You c2172f3a0e fix(build): retain defineComponent() treeshakability in Rollup
close #8236
2023-05-08 12:12:15 +08:00
Evan You b2be75bad4 fix(runtime-core): ensure defineComponent name in extraOptions takes higher priority 2023-05-08 12:06:49 +08:00
Evan You 1279b17300 fix(types): remove short syntax support in defineSlots()
ref: https://github.com/vuejs/language-tools/issues/2758
2023-05-08 11:53:49 +08:00