Carlos Rodrigues
44135dc95f
feat(types): expose `PublicProps` type ( #2403 )
2023-12-08 22:17:46 +08:00
丶远方
0d61b429ec
fix(types): add `xmlns:xlink` to `SVGAttributes` ( #9300 )
...
close #9299
2023-12-08 22:16:25 +08:00
三咲智子 Kevin Deng
b1fe48d851
ci: add continuous reactivity benchmark ( #9638 )
2023-12-08 21:26:48 +08:00
Fabian Gündel
d42b6ba3f5
feat: MathML support ( #7836 )
...
close #7820
2023-12-08 18:25:01 +08:00
三咲智子 Kevin Deng
aa954b969b
test: update snapshot
2023-12-08 18:16:22 +08:00
Divyansh Singh
bc7698dbfe
feat(ssr): add `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` feature flag ( #9550 )
2023-12-08 16:41:15 +08:00
Evan You
2ffc1e8cfd
feat(ssr): improve ssr hydration mismatch checks ( #5953 )
...
- Include the actual element in the warning message
- Also warn class/style/attribute mismatches
Note: class/style/attribute mismatches are check-only and will not be
rectified.
close #5063
2023-12-08 15:49:09 +08:00
Adrien Foulon
638f1abbb6
feat(compiler-core): add current filename to TransformContext ( #8950 )
2023-12-08 15:23:50 +08:00
三咲智子 Kevin Deng
5b2bd1df78
feat(compiler-sfc): support import attributes and `using` syntax ( #8786 )
2023-12-08 15:22:27 +08:00
Evan You
19b590fa3a
release: v3.3.11
2023-12-08 14:13:52 +08:00
edison
b700328342
fix(Suspense): properly get anchor when mount fallback vnode ( #9770 )
...
close #9769
2023-12-08 12:29:15 +08:00
Rudy
6784f0b1f8
fix(watch): should not fire pre watcher on child component unmount ( #7181 )
...
close #7030
2023-12-08 12:24:44 +08:00
丶远方
cdac12161e
fix(types): ref() return type should not be any when initial value is any ( #9768 )
2023-12-07 16:28:16 +08:00
Evan You
b4ac0e6ac1
chore(dx): fix defineProps jsdoc + update defineEmits jsdoc example
2023-12-07 14:30:32 +08:00
agoni1212
2744a09f3a
chore: typo ( #9767 )
2023-12-07 13:28:07 +08:00
Evan You
6ecbd5ce2a
fix(reactivity): fix mutation on user proxy of reactive Array
...
close #9742
close #9751
close #9750
2023-12-07 13:26:30 +08:00
Evan You
983d45d4f8
fix(shared): handle more Symbol cases in toDisplayString
2023-12-07 10:40:27 +08:00
Carlos Rodrigues
364821d6bd
fix(shared): handle Map with symbol keys in toDisplayString ( #9731 )
...
close #9727
2023-12-07 10:33:48 +08:00
Evan You
5b002869c5
fix(runtime-dom): fix width and height prop check condition
...
close #9762
2023-12-07 10:09:26 +08:00
白雾三语
d74d364d62
fix(custom-element): correctly handle number type props in prod ( #8989 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-06 08:16:16 +01:00
三咲智子 Kevin Deng
0dc875d53e
fix(compiler-core): use the same resolved options for all compile stages ( #9760 )
2023-12-06 14:41:21 +08:00
dependabot[bot]
af5df91e95
chore(deps-dev): bump vite from 5.0.0 to 5.0.5 ( #9758 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-06 14:35:36 +08:00
nandi95
8e27692029
feat(runtime-core): provide full props to props validator functions ( #3258 )
2023-12-05 17:14:17 +08:00
sunjiang0018
af909b7d45
chore: fix typo ( #9752 ) [ci skip]
2023-12-05 12:05:53 +08:00
Evan You
a817883c26
chore: Merge branch 'main' into minor
2023-12-05 10:54:20 +08:00
Evan You
e2f2b75b62
chore(deps): bump vitest to 1.0
2023-12-05 10:48:04 +08:00
Carlos Rodrigues
243f504dc5
chore(playground): expose esm-browser files ( #9725 )
2023-12-05 03:08:21 +08:00
Evan You
c0d396b785
release: v3.4.0-alpha.4
2023-12-04 23:24:43 +08:00
Evan You
e12b10ac3e
chore: Merge branch 'main' into minor
2023-12-04 23:17:41 +08:00
Evan You
53aaa1eb28
fix(parser): fix interpolation parsing in v-pre
...
ref: https://github.com/vuejs/docs/issues/2586
2023-12-04 23:06:56 +08:00
Evan You
d5a88ef9d7
release: v3.3.10
2023-12-04 21:42:18 +08:00
yangxiuxiu
c3e2c556b5
fix(compiler-sfc): fix :where and :is selector in scoped mode with multiple selectors ( #9735 )
...
close #9707
2023-12-04 16:53:21 +08:00
renovate[bot]
bf7269ac47
chore(deps): update compiler ( #9745 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 16:43:47 +08:00
Carlos Rodrigues
ec715854ca
fix(app): prevent template from being cached between apps with different options ( #9724 )
...
close #9618
2023-12-04 16:43:30 +08:00
edison
65f3fe2731
fix(runtime-core): Suspense get anchor properly in Transition ( #9309 )
...
close #8105
2023-12-04 16:41:55 +08:00
Evan You
f12db7fb56
fix(compiler-sfc): avoid passing forEach index to genMap
2023-12-04 15:43:29 +08:00
Carlos Rodrigues
43c3cfdec5
fix(types): improve return type withKeys and withModifiers ( #9734 )
2023-12-04 07:59:01 +08:00
Reii
9ea2b868be
chore(template-explorer): fix overflow screen problem ( #7282 ) [ci skip]
2023-12-01 21:28:48 +08:00
edison
eb5e307c0b
fix(compiler-sfc): support inferring generic types ( #8511 )
...
close #8482
2023-12-01 21:21:12 +08:00
Evan You
634519720a
fix(compiler-sfc): deindent pug/jade templates
...
close #3231
close #3842
close #7723
2023-12-01 16:45:53 +08:00
edison
30d5d93a92
fix(ssr): avoid computed being accidentally cached before server render ( #9688 )
...
close #5300
2023-12-01 15:55:17 +08:00
Evan You
c3b704e446
chore: remove v-is deprecation enum
...
support is already removed during parser rewrite
2023-12-01 11:57:22 +08:00
Evan You
8abc754d5d
feat(compiler): lift vnode hooks deprecation warning to error
2023-12-01 11:56:29 +08:00
Evan You
7f00ec2d97
chore: remove deprecated AppConfig.unwrapInjectedRef option
2023-12-01 11:32:34 +08:00
Evan You
e8bbc946cb
feat(compiler-sfc): analyze import usage in template via AST ( #9729 )
...
close #8897
close nuxt/nuxt#22416
2023-12-01 11:14:48 +08:00
edison
8d74ca0e6f
fix(compiler-sfc): generate more treeshaking friendly code ( #9507 )
...
close #9500
2023-12-01 02:52:26 +08:00
花果山大圣
cdb2df707b
chore(dx): improve color contrast in dark mode for custom formatter ( #8704 )
2023-12-01 02:45:03 +08:00
Blake Newman
887e54c347
fix(types): expose emits as props in functional components ( #9234 )
2023-12-01 02:37:51 +08:00
三咲智子 Kevin Deng
ad27473701
fix(types): fix reactive collection types ( #8960 )
...
close #8904
2023-12-01 02:33:09 +08:00
Evan You
f8b74dcf29
chore: group parser edge case tests
2023-11-30 22:39:55 +08:00
Evan You
dd26e98233
chore(playground): use CodeMirror during local dev
2023-11-30 21:44:28 +08:00
Evan You
4d94ebfe75
perf(v-on): constant handlers with modifiers should not be treated as dynamic
2023-11-30 19:26:36 +08:00
Evan You
da4a4fb5e8
perf(runtime-dom): cache modifier wrapper functions
...
close #8882
2023-11-30 19:00:00 +08:00
三咲智子 Kevin Deng
4936d2e11a
fix(compiler-sfc): throw error when failing to load TS during type resolution ( #8883 )
2023-11-30 18:41:21 +08:00
edison
5199a12f88
fix(cssVars): cssVar names should be double-escaped when generating code for ssr ( #8824 )
...
close #7823
2023-11-30 18:35:20 +08:00
Evan You
6fcec3b2c7
chore: fix width/height check condition
2023-11-30 18:34:06 +08:00
edison
7cbcee3d83
fix(compiler-sfc): support resolving components from props ( #8785 )
2023-11-30 18:03:23 +08:00
Evan You
9845f1d2a1
chore: optimize widht/height element check
2023-11-30 17:59:27 +08:00
Evan You
38aaa8c886
perf: optimize on* prop check
2023-11-30 17:52:51 +08:00
zhoulixiang
bfc1838f31
fix(runtime-dom): set width/height with units as attribute ( #8781 )
...
Technically, width / height on `<img>`, `<video>` etc must be integers and cannot contain units. When set as a DOM property, the DOM force converts strings with units to 0. However, this is such a common mistake that most browsers nowadays supports such usage, and it makes sense for Vue to at least let it be set as an attribute.
2023-11-30 17:27:23 +08:00
Eduardo San Martin Morote
bcca475dbc
feat(compiler-core): support accessing Error as global in template expressions ( #7018 )
2023-11-30 16:39:40 +08:00
Evan You
2a507e32f0
feat(compiler-sfc): bump postcss-modules to v6
2023-11-30 16:37:40 +08:00
Evan You
c46f91fd9e
chore: bump @vue/repl
2023-11-30 13:11:27 +08:00
ZHAO Jin-Xiang
3071de44bc
fix(compiler-core): fix referencing typo ( #9708 )
2023-11-29 21:15:44 +08:00
edison
509c192ff4
chore: fix typo ( #9689 )
2023-11-29 12:26:10 +08:00
ZHAO Jin-Xiang
fff7b864f4
feat: use enum to replace const enum ( #9261 )
...
close #1228
2023-11-29 12:24:50 +08:00
Evan You
47ea285be3
fix(parser): properly set initial inXML state based on root ns
2023-11-28 18:37:17 +08:00
Evan You
ef97e8b07d
fix(parser): should reset inRCDATA state
2023-11-28 18:31:17 +08:00
Evan You
7d89887f71
release: v3.4.0-alpha.3
2023-11-28 08:26:01 +08:00
Evan You
5afd04cbb8
chore: Merge branch 'main' into minor
2023-11-28 08:14:04 +08:00
renovate[bot]
3a65134360
chore(deps): update all non-major dependencies ( #9682 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 08:03:07 +08:00
renovate[bot]
31f6ebc4df
fix(deps): update compiler to ^7.23.4 ( #9681 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 08:02:38 +08:00
三咲智子 Kevin Deng
9f8ba9821f
feat(dx): link errors to docs in prod build ( #9165 )
2023-11-28 07:39:11 +08:00
Evan You
e49dffc9ec
fix(parser): directive arg should be undefined on shorthands with no arg
2023-11-27 18:10:00 +08:00
Evan You
ebaeb2e0aa
release: v3.4.0-alpha.2
2023-11-27 17:26:22 +08:00
Evan You
41ff68ea57
feat(compiler): improve parsing tolerance for language-tools
2023-11-27 16:55:54 +08:00
Evan You
0721daf22d
chore: Merge branch 'main' into minor
2023-11-27 15:59:07 +08:00
Evan You
fb619cf9a4
fix(compiler-sfc): fix ast reuse for ssr
2023-11-27 15:38:30 +08:00
Evan You
678378afd5
fix(compiler-sfc): use correct compiler when re-parsing in ssr mode
2023-11-27 15:06:07 +08:00
Evan You
2e65ea481f
fix(compiler-core): fix line/column tracking when fast forwarding
2023-11-27 14:49:13 +08:00
Evan You
50cde7cfbc
perf(compiler-sfc): use faster source map addMapping
2023-11-27 14:42:12 +08:00
Evan You
d193666fdc
chore: use MappingItem type
2023-11-27 14:16:16 +08:00
Evan You
f15d2f6cf6
perf: avoid sfc source map unnecessary serialization and parsing
2023-11-27 12:26:51 +08:00
Evan You
157cfcb796
refactor: restore isSelfClosing as optional property
2023-11-25 22:55:39 +08:00
Evan You
bab5bd375b
chore: fix tests with rawExp
2023-11-25 22:50:40 +08:00
Evan You
e48cbf02be
refactor: restore SourceLocation.source
...
this is used extensively in @vue/language-tools and does not have
noticeable impact on performance
2023-11-25 19:22:39 +08:00
Evan You
08f0baa2ad
refactor: preserve source location convention in sfc mode for base parser
...
For compatibility w/ usage like https://github.com/vue-macros/vue-macros/blob/main/packages/setup-block/src/core/index.ts
2023-11-25 18:07:29 +08:00
Evan You
be6cae7dac
chore: remove isSelfClosing property
2023-11-25 18:03:22 +08:00
Evan You
ceec69c8cc
fix: avoid confusing breakage in @vitejs/plugin-vue
2023-11-25 16:39:42 +08:00
Evan You
6ec85ae872
chore: restructure parser files
2023-11-25 16:18:29 +08:00
Evan You
c11002f16a
perf(codegen): optimize source map generation
2023-11-25 16:18:29 +08:00
Evan You
3be53d9b97
perf(codegen): optimize line / column calculation during codegen
...
Previously, many CodegenContext.push() calls were unnecessarily
iterating through the entire pushed string to find newlines, when we
already know the newline positions for most of calls. Providing fast
paths for these calls significantly improves codegen performance when
source map is needed.
In benchmarks, this PR improves full SFC compilation performance by ~6%.
2023-11-25 16:18:29 +08:00
Evan You
e8e3ec6ca7
perf(compiler-sfc): remove magic-string trim on script
...
magic-string's trim method uses a regex check for aborting which turns
out to be extremely expensive - it cna take up to 10% time in total SFC
compilation! The usage here is purely aesthetic so simply removing it
for a big perf gain is well worth it.
2023-11-25 16:18:29 +08:00
Evan You
20732366b9
perf: optimize position cloning
2023-11-25 16:18:29 +08:00
Evan You
79d3cc6cec
wip: should not reuse AST when using custom compiler
2023-11-25 16:18:29 +08:00
Evan You
3ee343928a
wip: parser v2 compat
2023-11-25 16:18:29 +08:00
Evan You
6022ac05c4
chore: document rationale for ignoring some parsing errors
2023-11-25 16:18:29 +08:00
Evan You
e702b278d4
wip: shorten some method names
2023-11-25 16:18:29 +08:00
Evan You
59227d4124
wip: parse error tests
2023-11-25 16:18:29 +08:00
Evan You
b6886a80b1
wip: force re-parse on reused sfc template ast
2023-11-25 16:18:29 +08:00
Evan You
1b4efc30c3
wip: should parse sfc template with lang=html
2023-11-25 16:18:29 +08:00
Evan You
b59eabdc0d
refactor: use more efficient walk for importUsageCheck
2023-11-25 16:18:29 +08:00
Evan You
37f9d3da8f
wip: compiler-sfc should not attach ast on template with src import
2023-11-25 16:18:29 +08:00
Evan You
e41cf8dc59
refactor: better naming for baseCompile argument
2023-11-25 16:18:29 +08:00
Evan You
94c86269d0
refactor: fix v-bind no-exp shorthand for new parser
2023-11-25 16:18:29 +08:00
Evan You
e5afca6c1e
wip: treat template with preprocessor as plain text
2023-11-25 16:18:29 +08:00
Evan You
5fc695be26
wip: support reusing template ast from sfc descriptor
2023-11-25 16:18:29 +08:00
Evan You
fc4f801070
wip: decodeEntities test
2023-11-25 16:18:29 +08:00
Evan You
059caafc13
wip: pass all compiler-sfc tests
2023-11-25 16:18:29 +08:00
Evan You
dda4fd526e
wip: pass all compiler-ssr tests
2023-11-25 16:18:29 +08:00
Evan You
5a44b84cde
wip: pass all compiler-dom tests
2023-11-25 16:18:29 +08:00
Evan You
40f72d5e50
feat(compiler-core): support specifying root namespace when parsing
2023-11-25 16:18:29 +08:00
Evan You
a1b10a21ac
wip: pass more compiler-dom tests
2023-11-25 16:18:29 +08:00
Evan You
1912af04e3
wip: entities parsing in browser
2023-11-25 16:18:29 +08:00
Evan You
caabba7590
wip: tune perf
2023-11-25 16:18:29 +08:00
Evan You
082b5a71c6
wip: pass all compiler-core tests
2023-11-25 16:18:29 +08:00
Evan You
c4e50e46bb
wip: more tests passing
2023-11-25 16:18:29 +08:00
Evan You
e05ba29555
wip: pass all non-error parsing tests
2023-11-25 16:18:29 +08:00
Evan You
a60ad9180d
refactor: swap to new template parser
...
- get rid of SourceLocation.source for memory efficiency
- move source location generation logic transform phase into the parser
itself so that SourceLocation.source is no longer needed
- move v-for expression parsing into the parser itself
- added nameLoc on AttributeNode for use in transformElement
Tests are not passing yet.
2023-11-25 16:18:29 +08:00
Evan You
65b44045ef
wip: parse mode
2023-11-25 16:18:29 +08:00
Evan You
66c0ed0a3c
perf: optimize away isBuiltInType
2023-11-25 16:18:29 +08:00
Evan You
bc170c49fc
chore: disable parser tests for now
2023-11-25 16:18:29 +08:00
Evan You
59e38f18d8
wip: parseMode
2023-11-25 16:18:29 +08:00
Evan You
ae6fba9495
perf: optimize makeMap
2023-11-25 16:18:29 +08:00
Evan You
81e941da5b
wip: getting ready for textmode handling
2023-11-25 16:18:29 +08:00
Evan You
5a855c57d7
wip: comments
2023-11-25 16:18:29 +08:00
Evan You
a12abe72bc
wip: refine element type
2023-11-25 16:18:29 +08:00
Evan You
c342433cb5
wip: v-pre handling
2023-11-25 16:18:29 +08:00
Evan You
1a1f680536
wip: pre tag handling
2023-11-25 16:18:29 +08:00
Evan You
5762288bdf
wip: parse interpolation
2023-11-25 16:18:29 +08:00
Evan You
70edd1c61e
wip: check duplicated attributes
2023-11-25 16:18:29 +08:00
Evan You
ec33e61e87
wip: remove htmlMode
2023-11-25 16:18:29 +08:00
Evan You
db085b4a79
wip: remove foreignContext check
2023-11-25 16:18:29 +08:00
Evan You
65c0b31148
wip: modifiers
2023-11-25 16:18:29 +08:00
Evan You
b81415ceac
wip: source location for props
2023-11-25 16:18:29 +08:00
Evan You
08038a938c
wip: parse directive in tokenizer
2023-11-25 16:18:29 +08:00
Evan You
622d34efe1
wip: optimize condenseWhitespace
2023-11-25 16:18:29 +08:00
Evan You
9aa8effec3
wip: parse directives
2023-11-25 16:18:29 +08:00
Evan You
f131a4723b
wip: loc for elements
2023-11-25 16:18:29 +08:00
Evan You
f7db16b9cf
wip: refactor line / column generation
2023-11-25 16:18:29 +08:00
Evan You
6311ebbf32
wip: save
2023-11-25 16:18:29 +08:00
Evan You
19bd714239
wip: port parser
2023-11-25 16:18:29 +08:00
Evan You
2a6292e37f
wip: remove unused options
2023-11-25 16:18:29 +08:00
Evan You
bc37eae8b0
wip: strip xmlMode / htmlMode
2023-11-25 16:18:29 +08:00
Evan You
5b9141cc30
wip: setup
2023-11-25 16:18:29 +08:00
Evan You
069f838691
release: v3.3.9
2023-11-25 16:11:31 +08:00
Carlos Rodrigues
1c525f75a3
types: support app.component to be `defineComponent` ( #9662 )
2023-11-22 22:18:02 +08:00
三咲智子 Kevin Deng
79b8a0905b
feat!: remove reactivity transform ( #9321 )
...
BREAKING CHANGE: Reactivity Transform was marked deprecated in 3.3 and is now removed in 3.4. This change does not require a major due to the feature being experimental. Users who wish to continue using the feature can do so via the external plugin at https://vue-macros.dev/features/reactivity-transform.html
2023-11-21 18:06:42 +08:00
Evan You
afb21f7813
test: fix keepalive transition out-in test case
2023-11-21 17:57:44 +08:00
Evan You
1ea775633d
chore: Merge branch 'main' into minor
2023-11-21 09:48:26 +08:00
Evan You
fc772dbf73
chore: exclude private packages from version updates
2023-11-21 09:37:37 +08:00
Evan You
8fddb19c3a
workflow: use workspace deps
2023-11-21 09:22:12 +08:00
renovate[bot]
32fb79df41
chore(deps): update all non-major dependencies ( #9636 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 17:38:13 +08:00
renovate[bot]
07bd2cd27e
chore(deps): update dependency vite to v5 ( #9630 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-11-18 10:36:56 +08:00
renovate[bot]
16a6438236
chore(deps): update lint ( #9627 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-18 10:33:24 +08:00
三咲智子 Kevin Deng
83e618f316
docs: replace rollup-plugin-vue with vite version
2023-11-15 21:43:18 +08:00
Evan You
2859b653c9
fix(v-model): unnecessary value binding error should apply to dynamic instead of static binding
...
close #3596
2023-11-15 08:51:50 +08:00
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