Commit Graph

201 Commits

Author SHA1 Message Date
Kevin Deng 三咲智子 928af5fe2f
refactor(types): enable `isolatedDeclarations` (#11178) 2024-08-08 23:05:21 +08:00
Evan You f15ba2c2e2
chore: Merge branch 'main' into minor 2024-07-17 17:32:31 +08:00
skirtle 0126cfff9d
fix(shared): unwrap refs in toDisplayString (#7306)
close #5578
close #5593
close #11199
close #11201
2024-06-23 09:34:52 +08:00
Evan You 26356264d2
chore: Merge branch 'main' into minor 2024-06-14 12:32:28 +02: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
Evan You cd0ea0d479
fix(compiler-core): change node hoisting to caching per instance (#11067)
close #5256
close #9219
close #10959
2024-06-04 20:09:54 +08:00
Wick f8eba75d0a
chore(reactivity): change literal flag properties to enum flag properties (#10367) 2024-05-30 19:09:04 +08:00
Evan You 1d8727ec97
chore: Merge branch 'main' into minor 2024-05-30 11:21:12 +08:00
4xi-2000 a501a85a7c
feat(compiler-core): support `Symbol` global in template expressions (#9069) 2024-05-27 17:21:54 +08:00
Tycho 9b40d0f25d
fix(shared): ensure invokeArrayFns handles undefined arguments (#10869)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>

Close #10863
2024-05-20 19:28:22 +08:00
Guo c9c9dff805
refactor(perf): assign value in `if` block (#10836) 2024-04-29 18:57:56 +08:00
Evan You 801b8dea3b
chore: Merge branch 'main' into minor 2024-04-29 18:46:20 +08:00
edison 9c2de6244c
fix(runtime-core): ensure slot compiler marker writable (#10825)
close #10818
2024-04-29 11:47:40 +08:00
Evan You 75c8cf63a1
feat(types): provide internal options for directly using user types in language tools (#10801) 2024-04-27 11:48:37 +08:00
Evan You 2ae908d00c
chore(types): perform strict es2016 lib check when building dts 2024-04-15 15:52:48 +08:00
chenfan d46df6bdb1
perf: add `__NO_SIDE_EFFECTS__` comments (#9053)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-13 21:48:45 +08:00
Evan You 81d307a1e9 refactor: use shared isAttrRenderable logic between ssr and hydration 2024-01-18 11:23:59 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
Divyansh Singh ebd78d2c99
fix(mathml): update known mathML tags (#9829) 2023-12-14 22:08:55 +08:00
Evan You 982a145d38 chore: Merge branch 'main' into minor 2023-12-11 22:03:28 +08:00
丶远方 0d61b429ec
fix(types): add `xmlns:xlink` to `SVGAttributes` (#9300)
close #9299
2023-12-08 22:16:25 +08:00
Fabian Gündel d42b6ba3f5
feat: MathML support (#7836)
close #7820
2023-12-08 18:25:01 +08:00
agoni1212 2744a09f3a
chore: typo (#9767) 2023-12-07 13:28:07 +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 e12b10ac3e chore: Merge branch 'main' into minor 2023-12-04 23:17:41 +08:00
Evan You 38aaa8c886 perf: optimize on* prop check 2023-11-30 17:52:51 +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
ZHAO Jin-Xiang fff7b864f4
feat: use enum to replace const enum (#9261)
close #1228
2023-11-29 12:24:50 +08:00
Evan You ae6fba9495 perf: optimize makeMap 2023-11-25 16:18:29 +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
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 2a2810c716 chore: upgrade to typescript 5.1 2023-07-11 18:44:19 +08:00
丶远方 6a22b1f6c2
fix(types): ensure nextTick return type reflect correct Promise value (#8406) 2023-07-11 17:56:02 +08:00
丶远方 97b6fae6b4
chore(shared): improve isPromise check in accordance with Promise A+ specification (#8506) 2023-07-11 17:41:09 +08:00
qiang eee709081b
refactor(types): improve capitalize types (#6212) 2023-07-09 19:37:32 +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
Lioness100 6277cb994a
chore: fix typo (#7693) 2023-06-10 17:17:41 +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
Evan You 91f1c62e63 fix: avoid regex s flag for old browsers
close #8316
2023-05-17 09:23:09 +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
zhangenming fe762247f8
feat: allow accessing console in template (#6508)
close #7939
2023-04-21 15:10:36 +08:00
Evan You 4c9bfd2b99 feat(dx): improve readability of displayed types for props 2023-03-24 15:06:43 +08:00
Evan You 58e5c51149 build: upgrade to TypeScript 5.x 2023-03-23 17:11:35 +08:00
Evan You aac163110f refactor: remove circular dependencies in compiler 2023-03-23 16:30:42 +08:00
白雾三语 bef85e7975
fix(shared): `feDistanceLight` changed to `feDistantLight` (#7540)
close https://github.com/vuejs/core/issues/7535
2023-01-16 09:46:56 +01:00
Evan You b55846f05c fix(shared): toNumber should only coerce strings 2022-11-14 17:50:56 +08:00
Evan You 7d0c63ff43 fix(custom-elements): use strict number casting
close #4946
close #2598
close #2604

This commit also refactors internal usage of previous loose
implementation of `toNumber` to the stricter version where applicable.
Use of `looseToNumber` is preserved for `v-model.number` modifier to
ensure backwards compatibility and consistency with Vue 2 behavior.
2022-11-14 16:20:12 +08:00
Tamay Eser Uysal 7443174e2a
fix(compiler): add `hgroup` to supported `HTML_TAGS` (#6321)
close #6313
2022-11-13 20:28:56 -05:00