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
Evan You
862edfd91a
fix(compiler-sfc): enable props destructure when reactivity transform option is enabled
...
...to retain backwards compatible behavior before removal
2023-05-06 16:55:38 +08:00
Evan You
cc09cc7e28
release: v3.3.0-beta.4
2023-05-05 17:15:14 +08:00
Johnson Chu
3cb4dc9e55
feat(types): add slots types for built-in components ( #6033 )
2023-05-05 17:12:51 +08:00
丶远方
1b1242f4d1
fix(runtime-core): handle template ref with number values ( #8233 )
...
close #8230
2023-05-05 16:00:01 +08:00
Evan You
038cd830d5
fix(types): retain compatibility for provide() usage with explicit type parameter
2023-05-02 21:35:28 +08:00
Evan You
d40d4a3380
chore: experimental warnings for reactive props destructure and defineModel
2023-05-02 16:23:02 +08:00
Evan You
bff63c5498
feat(types): provide ExtractPublicPropTypes utility type
...
ref #5272
close #8168
2023-05-02 11:06:32 +08:00
Joaquín Sánchez
918ec8a5cb
feat(compiler-dom): treat inert as boolean attribute ( #8209 )
...
close #8208
2023-05-02 10:21:19 +08:00
Evan You
4e2607a3d3
chore: move files into correct test block
2023-05-01 14:01:38 +08:00
Evan You
5d4c3c60a8
release: v3.3.0-beta.3
2023-05-01 12:28:29 +08:00
Evan You
c117d9c257
fix(hmr): keep slots proxy mutable for hmr
...
close #8188
2023-05-01 12:21:10 +08:00
Evan You
45765488d4
feat(compiler-sfc): expose parseCache
...
So that users can adjust cache's max size.
close #8202
2023-05-01 11:33:07 +08:00
Evan You
de87e6e405
fix(types): fix provide type checking for ref value
...
fix #8201
2023-05-01 11:27:05 +08:00
Evan You
b434d12bf6
fix(compiler-core): handle slot argument parsing edge case
...
ref https://github.com/vuejs/language-tools/issues/2710
2023-04-27 16:55:37 +08:00
Evan You
a778034a3e
release: v3.3.0-beta.2
2023-04-25 16:41:04 +08:00
Evan You
1c0be5c744
feat(compiler-sfc): support project references when resolving types
...
close #8140
2023-04-25 16:30:11 +08:00
Evan You
a370e8006a
perf(compiler-sfc): infer ref binding type for more built-in methods
2023-04-25 09:29:30 +08:00
Evan You
433a58ccb6
fix(compiler-sfc): props bindings should not override user declared bindings
...
fix #8148
2023-04-25 09:21:14 +08:00
Evan You
01f43c1741
ci: setup windows ci for compiler and SSR tests ( #8143 )
2023-04-24 11:31:13 +08:00
edison
29da504687
fix(compiler-sfc): normalize windows paths when resolving types ( #8136 )
2023-04-24 11:03:57 +08:00
Evan You
2d9f6f9264
fix(compiler-sfc): avoid all hard errors when inferring runtime type
2023-04-21 16:48:21 +08:00
Evan You
1447596bf4
release: v3.3.0-beta.1
2023-04-21 16:26:10 +08:00
Evan You
1849b9940f
test: update tests for deprecations
2023-04-21 16:06:08 +08:00
Evan You
7670bb9a3f
chore: bump repl
2023-04-21 16:03:05 +08:00
Evan You
7b2ff1e207
chore: remove deprecated ref sugar warning
2023-04-21 15:54:51 +08:00
Evan You
526fa3b2cc
feat(deprecation): unwrap injected refs in Options API by default, deprecate app.config.unwrapInjectedRefs
2023-04-21 15:54:03 +08:00
Evan You
bbd8301a13
feat(deprecation): deprecate v-is directive
2023-04-21 15:30:26 +08:00
Evan You
5f0394a5ab
feat(deprecation): deprecate @vnode hooks in favor of vue: prefix
2023-04-21 15:20:12 +08:00
zhangenming
fe762247f8
feat: allow accessing console in template ( #6508 )
...
close #7939
2023-04-21 15:10:36 +08:00
Anthony Fu
cb37d0b9ff
feat(suspense): introduce suspensible option for `<Suspense>` ( #6736 )
...
close #5513
2023-04-21 14:43:30 +08:00
Evan You
15847f38a0
chore: bump vite & vitest
2023-04-21 14:41:41 +08:00
edison
1d1d728949
feat(compiler-sfc): improve utility type Partial and Required ( #8103 )
2023-04-20 21:17:10 +08:00
Evan You
5cdaac2590
release: v3.3.0-alpha.13
2023-04-20 21:13:34 +08:00
Evan You
50c0bbe522
feat(compiler-sfc): support ExtractPropTypes when resolving types
...
close #8104
2023-04-20 21:02:50 +08:00
Evan You
5c6989557d
chore: avoid hard error when inferring types
2023-04-20 16:57:36 +08:00
Evan You
4496456d7d
feat(compiler-sfc): support dynamic imports when resolving types
2023-04-20 16:18:35 +08:00
Evan You
7c3ca3cc3e
feat(compiler-sfc): support export * when resolving types
2023-04-20 15:56:24 +08:00
Evan You
f17a82c769
fix(hmr): always traverse static children in dev
...
fix #7921
close #8100
2023-04-20 14:31:54 +08:00
Evan You
d53e157805
fix(compiler-sfc): handle type merging + fix namespace access when inferring type
...
close #8102
2023-04-20 14:13:08 +08:00
Eduardo San Martin Morote
5510ce385a
feat: hasInjectionContext() for libraries ( #8111 )
2023-04-20 10:12:18 +08:00
白雾三语
2f9f6eceb9
chore: delete outdated content in readme ( #8093 ) [ci skip]
...
close #8084
2023-04-20 10:11:22 +08:00
n028
f630555caa
chore: fix typo ( #8113 ) [ci skip]
2023-04-20 10:08:00 +08:00
agoni1212
a58785945d
chore: typo ( #8108 ) [ci skip]
2023-04-20 10:07:31 +08:00
Evan You
94fa67a4f7
fix(hmr): force update cached slots during HMR
...
close #7155
close #7158
2023-04-20 10:06:06 +08:00
Evan You
9b5a34bf8c
fix(compiler-sfc): normalize filename when invalidating cache
2023-04-18 22:21:29 +08:00
Evan You
72be89423d
release: v3.3.0-alpha.12
2023-04-18 22:18:56 +08:00
Evan You
0f77a2b1d1
fix(compiler): fix expression codegen for literal const bindings in non-inline mode
2023-04-18 11:39:53 +08:00
Evan You
57f0fbe76a
release: v3.3.0-alpha.11
2023-04-17 21:17:17 +08:00
Evan You
271df09470
fix(compiler-sfc): normalize windows paths when resolving types
2023-04-17 21:11:22 +08:00
Evan You
33adc2a17a
release: v3.3.0-alpha.10
2023-04-17 18:15:17 +08:00
Evan You
4b5b384485
fix(hmr): invalidate cached props/emits options on hmr
2023-04-17 18:05:17 +08:00
Evan You
4e028b9669
feat(compiler-sfc): support specifying global types for sfc macros
...
ref: https://github.com/vuejs/core/pull/8083#issuecomment-1508468713
2023-04-16 15:49:41 +08:00
Evan You
f22e32e365
feat(compiler-sfc): expose type resolve APIs
2023-04-16 11:11:26 +08:00
Evan You
6b13e04b4c
feat(compiler-sfc): mark props destructure as experimental and require explicit opt-in
2023-04-15 22:09:08 +08:00
Evan You
760755f4f8
feat(compiler-sfc): support string/number indexed types in macros
2023-04-15 22:08:39 +08:00
Evan You
8d8ddd686c
feat(compiler-sfc): expose type import deps on compiled script block
2023-04-15 22:08:39 +08:00
Evan You
075498c959
refactor: avoid hard error when inferring runtime type
2023-04-15 22:08:39 +08:00
Evan You
a9f5e14c7c
chore: comments [ci skip]
2023-04-15 22:08:39 +08:00
Evan You
34a007d00d
test: refactor resolveType test
2023-04-15 22:08:39 +08:00
Evan You
3982bef533
feat(compiler-sfc): support resolving type imports from modules
2023-04-15 22:08:39 +08:00
Evan You
8451b92a7a
wip: cache fileToScope + improve vue file offset
2023-04-15 22:08:39 +08:00
Evan You
c93c11710e
refactor: improve type resolve error output
2023-04-15 22:08:39 +08:00
Evan You
8aa4ea81d6
feat(compiler-sfc): support relative imported types in macros
2023-04-15 22:08:39 +08:00
Evan You
1c06fe1d02
chore: improve sfc-playground typing + bump repl for 3.3 external type resolve support
...
close #8051
2023-04-13 15:45:58 +08:00
Evan You
5ff40bb0dc
feat(compiler-sfc): support namespace members type in macros
2023-04-13 12:32:52 +08:00
Evan You
3f779ddbf8
feat(compiler-sfc): support string indexed type in macros
2023-04-13 11:21:09 +08:00
Evan You
51773d5d1d
refactor: adjust ResolvedElements shape
2023-04-13 10:42:15 +08:00
Evan You
1cfab4c695
feat(compiler-sfc): support limited built-in utility types in macros
2023-04-13 10:28:22 +08:00
Evan You
fb8ecc803e
feat(compiler-sfc): support mapped types, string types & template type in macros
2023-04-13 09:59:54 +08:00
Evan You
d1f973bff8
feat(compiler-sfc): support intersection and union types in macros
...
close #7553
2023-04-12 21:34:13 +08:00
Evan You
a6dedc33ba
test: split compileScript macro tests
2023-04-12 16:46:26 +08:00
Evan You
b2cdb2645f
refactor(compiler-sfc): rework macro type resolution
2023-04-11 23:00:28 +08:00
Evan You
ae5a9323b7
refactor(compiler-sfc): split normal script logic
2023-04-11 16:05:00 +08:00
Evan You
3da1bb36b1
refactor(compiler-sfc): split all macros
2023-04-11 16:05:00 +08:00
Evan You
c52157c87d
refactor(compiler-sfc): split more logic
2023-04-11 16:05:00 +08:00
Evan You
0232c00e11
refactor(compiler-sfc): simplify props destructure arguments
2023-04-11 16:05:00 +08:00
Evan You
5a529bbf23
refactor(compiler-sfc): extract defineEmits logic
2023-04-11 16:05:00 +08:00
Evan You
9f2ca5155e
refactor(compiler-sfc): extract processDefineModel, move main magic string instance to context
2023-04-11 16:05:00 +08:00
Evan You
9f5692e052
refactor(compiler-sfc): collapse genRuntimeProps logic
2023-04-11 16:05:00 +08:00
Evan You
d0ac57872c
refactor(compiler-sfc): extract more defineProps logic
2023-04-11 16:05:00 +08:00
Evan You
fe9760188d
refactor(compiler-sfc): remove useless type generation
...
we are no longer type-checking generated code
2023-04-11 16:05:00 +08:00
Evan You
acd7eb22cf
refactor(compiler-sfc): (wip) split compileScript logic, use context, move defineProps
2023-04-11 16:05:00 +08:00
Himself65
c94ef02421
fix(runtime-core): properly merge props and emits options from mixins ( #8052 )
...
close #7989
2023-04-10 15:06:21 +08:00
丶远方
2ce23f0e09
chore(reactivity): remove unnecessary type assertions. ( #8046 )
2023-04-10 14:06:56 +08:00
JayFate
37701a88c0
chore: replace brotli with node:zlib ( #8045 )
...
Signed-off-by: JayFate <48240828+JayFate@users.noreply.github.com>
2023-04-10 14:06:28 +08:00
Evan You
19e17a951c
perf(compiler): use source-map-js
2023-04-09 16:50:20 +08:00
Evan You
681ac7c896
release: v3.3.0-alpha.9
2023-04-08 13:33:46 +08:00
Evan You
851635157f
chore: make vercel silent
2023-04-08 12:28:30 +08:00
三咲智子 Kevin Deng
14f3d747a3
feat(sfc): introduce `defineModel` macro and `useModel` helper ( #8018 )
2023-04-08 12:13:05 +08:00
Evan You
3b02c27e6d
chore: bump repl for sfc playground
2023-04-06 18:10:10 +08:00
三咲智子 Kevin Deng
f7f4624191
fix(compiler-sfc): fix binding type for constants when hoistStatic is disabled ( #8029 )
2023-04-06 17:19:00 +08:00
丶远方
cac1512390
chore(reactive): remove unref type assertion ( #8007 )
2023-04-06 17:15:27 +08:00
-isum
3ccbea08e0
fix(compiler-sfc): accept `StringLiteral` node in `defineEmit` tuple syntax ( #8041 )
...
close #8040
2023-04-06 17:13:34 +08:00
Evan You
6e540d6ac7
chore: enable cors for sfc as temporary fix
2023-04-06 13:02:55 +08:00
Evan You
4c022ccb01
chore: enable cors for sfc as temporary fix
2023-04-06 12:46:19 +08:00
Evan You
593da4069a
chore: update playground url
2023-04-06 12:42:07 +08:00
Evan You
af563bf428
fix(types): more public type argument order fix
2023-04-06 11:12:49 +08:00
Evan You
bdf557f6f2
fix(types): retain type parameters order for public types
2023-04-05 22:30:50 +08:00
Evan You
b117b88448
Revert "chore: remove unused args passed to ssrRender"
...
This reverts commit 2a9e379655
.
2023-04-05 20:39:59 +08:00
三咲智子 Kevin Deng
955752951e
fix(compiler-sfc): skip empty `defineOptions` and support TypeScript type assertions ( #8028 )
2023-04-05 17:33:29 +08:00
Evan You
91a931ae87
fix(types): improve defineProps return type with generic arguments
2023-04-05 17:21:31 +08:00
Evan You
b2c874e3b9
refactor(compiler-sfc): move related files into separate directories
2023-04-05 16:35:10 +08:00
Eduardo San Martin Morote
869f3fb93e
feat(app): app.runWithContext() ( #7451 )
2023-04-05 15:18:13 +08:00
Evan You
2a9e379655
chore: remove unused args passed to ssrRender
2023-04-05 11:16:08 +08:00
Evan You
05f94cf7b0
fix(compiler-ssr): disable v-once transform in ssr vdom fallback branch
...
fix #7644
2023-04-05 11:10:21 +08:00
Evan You
036914c10b
release: v3.3.0-alpha.8
2023-04-04 18:23:06 +08:00
魏
6003ef74c7
chore: remove duplicate test ( #8003 )
2023-04-04 18:20:56 +08:00
Evan You
f3145a915a
fix(compiler-sfc): check binding is prop before erroring
...
fix #8017
2023-04-04 18:10:13 +08:00
Evan You
9a09e47667
release: v3.3.0-alpha.7
2023-04-03 18:19:11 +08:00
三咲智子 Kevin Deng
5a2f5d59cf
feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option ( #7982 )
2023-04-03 16:49:16 +08:00
Evan You
59e828448e
feat(reactivity): improve support of getter usage in reactivity APIs ( #7997 )
2023-04-02 10:17:51 +08:00
Evan You
dfb21a5363
chore: add docs links for sfc macros
2023-04-02 10:02:33 +08:00
Roland Hummel
c346af2b6a
docs: comments on reactivity functions ( fixes #4832 ) ( #4836 )
...
close #4832
2023-03-31 17:06:10 +08:00
白雾三语
5261085113
fix(compiler-dom): handle newlines when evaluating constants during stringification ( #7995 )
...
fix #7994
2023-03-31 16:33:00 +08:00
Evan You
482f2e3434
fix(compiler-sfc): use dynamic defaults merging for methods with computed keys
...
ref #7113
2023-03-31 09:08:23 +08:00
Evan You
fe619443d2
feat(compiler-sfc): support arbitrary expression as withDefaults argument
...
ref #6459
2023-03-31 09:04:27 +08:00
Evan You
566748c1ed
chore: remove unused param
2023-03-31 08:58:03 +08:00
Evan You
4af5d1b075
feat(sfc): revert withDefaults() deprecation
...
In some cases, the user still needs access to the full props object,
in such cases withDefaults() is still needed.
2023-03-31 08:53:15 +08:00
Evan You
f5971468e5
refactor(compiler-sfc): remove unnecessary emits type codegen
...
This is no longer necessary as we no longer recommend type checking generated code
2023-03-30 20:06:11 +08:00
Evan You
ef73ea53ea
feat(compiler-sfc): codegen support for defineEmits() short syntax (followup of #7992 )
2023-03-30 19:59:07 +08:00
Evan You
8876dccf42
feat(sfc): support more ergnomic defineEmits type syntax ( #7992 )
2023-03-30 19:24:32 +08:00
Evan You
8ac0620c1b
release: v3.3.0-alpha.6
2023-03-30 18:22:42 +08:00