Fabian Gündel
d42b6ba3f5
feat: MathML support ( #7836 )
...
close #7820
2023-12-08 18:25:01 +08:00
ZHAO Jin-Xiang
fff7b864f4
feat: use enum to replace const enum ( #9261 )
...
close #1228
2023-11-29 12:24:50 +08: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
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
Evan You
bff63c5498
feat(types): provide ExtractPublicPropTypes utility type
...
ref #5272
close #8168
2023-05-02 11:06:32 +08:00
Eduardo San Martin Morote
5510ce385a
feat: hasInjectionContext() for libraries ( #8111 )
2023-04-20 10:12:18 +08:00
三咲智子 Kevin Deng
14f3d747a3
feat(sfc): introduce `defineModel` macro and `useModel` helper ( #8018 )
2023-04-08 12:13:05 +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
三咲智子 Kevin Deng
bcf5841dde
feat(compiler-sfc): add defineOptions macro ( #5738 )
2023-03-28 10:43:51 +08:00
Evan You
eb0c1e7025
build: remove api-extractor
2023-02-03 15:57:00 +08:00
Evan You
124373db50
wip: isolatedModules + use rollup-plugin-esbuild
2023-02-03 04:30:19 +08:00
Evan You
3a6f5eb0f7
fix(build): ensure BaseTransition functions can be tree-shaken
2023-02-02 21:38:57 +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
Rudy
e4de623ea7
fix(types): support inferring injected properties in options api ( #6804 )
...
close #3031
close #5931
2022-11-08 01:09:53 -05:00
三咲智子 Kevin Deng
e9172db68b
fix(types): export `Raw` type ( #6380 )
...
fix #7048
2022-11-07 21:03:49 -05:00
Evan You
3cfe5f9fc8
build: include ssrUtils in server-renderer browser build
2022-05-25 13:52:54 +08:00
Carlos Rodrigues
0c7fd13ea6
fix(types): fix typescript error when spreading `$props`( #5968 )
2022-05-20 12:59:29 -04:00
Cédric Exbrayat
3e2850fa6c
fix(types): export ComponentProvideOptions ( #5947 )
2022-05-18 19:32:20 -04:00
Evan You
9fda9411ec
feat(reactivity): add isShallow api
2022-01-18 09:22:41 +08:00
Evan You
f4f0966b33
fix(ssr): make computed inactive during ssr, fix memory leak
...
fix #5208
2022-01-16 18:22:18 +08:00
Evan You
f4dcbbc7b9
chore: fix build
2021-12-11 23:48:32 +08:00
Evan You
db729ce99e
feat(reactivity-transform/types): restructure macro types + export types for all shorthand methods
2021-12-11 18:15:44 +08:00
Evan You
20a361541c
fix(types): fix ref unwrapping type inference for nested shallowReactive & shallowRef
...
fix #4771
2021-10-09 17:51:15 -04:00
Evan You
467e113b95
feat(compiler-sfc): `<script setup>` defineProps destructure transform ( #4690 )
2021-09-27 14:24:21 -04:00
Evan You
87c86e4cc2
refactor: ensure ssr branches are included in esm-bundler build
2021-09-23 15:02:19 -04:00
zhangenming
a6e6253319
types(reactivity): adjust type exports ( #4407 )
2021-09-01 16:49:12 -04:00
Evan You
b40845153c
feat(experimental): expose ref macro types using separate d.ts file
2021-08-23 20:35:12 -04:00
Evan You
00b76d3dc1
feat(sfc): support $shallowRef ref sugar
2021-08-11 10:19:58 -04:00
Evan You
bf2589b1f0
refactor(compiler-sfc): use shallowRef for ref sugar destructure
2021-08-04 15:39:32 -04:00
Evan You
ee4cbaeec9
fix(runtime-core): expose ssrUtils in esm-bundler build
...
this is necessary for worker environments where Vue needs to be
bundled (instead of using cjs build via Node.js require)
fix #4199
2021-07-27 17:59:13 -04:00
Evan You
d87d059ac1
feat(runtime-core): watchSyncEffect
2021-07-20 16:49:54 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Evan You
327c8983fb
types: typing for ref macros
2021-07-16 17:35:04 -04:00
Evan You
1bab53e717
chore: remove deprecated defineEmit & useContext APIs
2021-07-16 16:56:51 -04:00
Evan You
fcc6a54ee7
chore: expose watchPostEffect
2021-07-16 14:30:49 -04:00
Evan You
3b64508e3b
feat: v-memo
2021-07-16 14:30:49 -04:00
Anthony Fu
f5617fc3bb
feat(reactivity): new effectScope API ( #2195 )
2021-07-16 14:30:49 -04:00
HcySunYang
ceff89905b
perf: improve VNode creation performance with compiler hints ( #3334 )
2021-07-16 14:30:49 -04:00
wonderl17
735ada1507
fix(runtime-core): add useAttrs and useSlots export ( #4053 )
2021-07-02 07:51:09 -04:00
Guillaume
347d90173b
types: export CreateComponentPublicInstance
2021-07-02 00:10:07 +02:00
Evan You
0240e82a38
feat(sfc): auto restore current instance after await statements in async setup()
2021-06-29 09:24:12 -04:00
Evan You
4c5844a9ca
feat(sfc): withDefaults helper
2021-06-26 21:11:57 -04:00
Eduardo San Martin Morote
a137da8a9f
feat(sfc): add `defineEmits` and deprecate `defineEmit` ( #3725 )
2021-06-22 15:02:56 -04:00
Guillaume Chau
349eb0f0ad
feat: onServerPrefetch ( #3070 )
...
Support equivalent of `serverPrefetch` option via Composition API.
2021-05-07 12:00:52 -04:00
Evan You
ce0bbe053a
feat: support component-level `compilerOptions` when using runtime compiler
...
- The `delimiters` component option is deprecated.
Use `compilerOptions.delimiters` instead.
2021-04-28 11:40:16 -04:00
Evan You
7dc681c196
wip: filters compat
2021-04-19 12:29:55 -04:00
Evan You
115372dd5b
wip: refactor deprecations into a single file
2021-04-12 18:47:50 -04:00
Evan You
a2f441dc0e
wip: refactor compat check utils
2021-04-09 23:51:50 -04:00
Evan You
d71c488540
chore: fix dts
2021-04-08 17:15:02 -04:00