三咲智子 Kevin Deng
a8248cf152
Merge remote-tracking branch 'upstream/minor'
2024-07-19 18:52:32 +08:00
Evan You
73ef1561f6
feat(runtime-core): useId() ( #11404 )
2024-07-19 18:06:02 +08:00
Evan You
f476b7f030
feat(runtime-core): add app.config.throwUnhandledErrorInProduction
...
close #7876
2024-07-17 10:05:09 +08:00
三咲智子 Kevin Deng
cf8be999df
Merge remote-tracking branch 'upstream/minor'
2024-06-16 17:01:49 +08:00
Evan You
26356264d2
chore: Merge branch 'main' into minor
2024-06-14 12:32:28 +02:00
Evan You
9daf90e29f
refactor(runtime-core): extract getComponentPublicInstance helper
2024-06-10 17:37:32 +08:00
dopamine
612bbf0507
fix(types): improve `app.provide` type checking ( #10603 )
...
close #10602
2024-06-10 16:09:46 +08:00
三咲智子 Kevin Deng
639c847c0c
refactor(runtime-shared): move `Data`
2024-05-11 23:14:26 +08:00
三咲智子 Kevin Deng
7cd70505d5
Merge remote-tracking branch 'upstream/minor'
2024-05-11 22:11:30 +08:00
Evan You
908f70adc0
fix(types): fix app.component() typing with inline defineComponent
...
close #10843
2024-05-03 16:29:23 -07:00
Thorsten Lünborg
582a3a382b
feat(runtime-core): add app.onUnmount() for registering cleanup functions ( #4619 )
...
close #4516
2024-04-29 18:47:56 +08:00
三咲智子 Kevin Deng
5819dc9001
Merge remote-tracking branch 'upstream/main'
2024-02-25 21:07:09 +08:00
Wick
76c9c742e9
chore(runtime-core): optimize validateComponentName ( #10378 )
2024-02-25 20:41:08 +08:00
Evan You
b31dd7468b
dx(reactivity): disable recursive computed warning by default
...
Now can be enabled with app.config.warnRecursiveComputed option.
close #10341
2024-02-25 20:38:33 +08:00
三咲智子 Kevin Deng
5e52ac9ab4
Merge remote-tracking branch 'upstream/main'
2024-02-07 22:02:23 +08:00
yangxiuxiu
75e02b5099
fix(runtime-core): support for nested calls to runWithContext ( #10261 )
...
close #10260
2024-02-07 13:33:44 +08:00
Rizumu Ayaka
a82d070890
Merge remote-tracking branch 'upstream/minor'
2023-12-29 21:03:21 +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
三咲智子 Kevin Deng
597eae423b
Merge remote-tracking branch 'upstream/minor'
2023-12-16 16:12:55 +08:00
Carles Mitjans
a41409ed02
feat(types): support passing generics when registering global directives ( #9660 )
2023-12-11 22:07:24 +08:00
三咲智子 Kevin Deng
fa4969e7a3
feat(types): export ObjectPlugin and FunctionPlugin types ( #8946 )
...
close #8577
2023-12-11 22:04:56 +08:00
Fabian Gündel
d42b6ba3f5
feat: MathML support ( #7836 )
...
close #7820
2023-12-08 18:25:01 +08:00
三咲智子 Kevin Deng
41a7079493
refactor: extract Data
2023-12-07 01:55:00 +08:00
Evan You
682f24047f
chore: remove deprecated AppConfig.unwrapInjectedRef option
2023-12-05 00:13:04 +08:00
Evan You
7f00ec2d97
chore: remove deprecated AppConfig.unwrapInjectedRef option
2023-12-01 11:32:34 +08:00
Carlos Rodrigues
1c525f75a3
types: support app.component to be `defineComponent` ( #9662 )
2023-11-22 22:18:02 +08:00
丶远方
712f96d6ac
perf: replace Map/Set with WeakMap/WeakSet ( #8549 )
2023-10-20 17:11:52 +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
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
三咲智子 Kevin Deng
7cdd13bd1e
chore: fix typo
2023-06-11 11:29:10 +08:00
丶远方
3798c5480b
chore: remove unnecessary type assertions ( #8311 )
2023-05-19 07:49:28 +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
Eduardo San Martin Morote
869f3fb93e
feat(app): app.runWithContext() ( #7451 )
2023-04-05 15:18:13 +08:00
Evan You
6213b73cd2
build: custom const enum processing
2023-02-03 09:54:15 +08:00
Tony Trinh
c513126c5d
types(runtime-core): support plugin options type inference ( #3969 )
2022-11-13 20:13:32 -05:00
nandi95
506a42a9a5
types(runtime-core): added `ComponentCustomProperties` type to `globalProperties` ( #5389 )
2022-10-26 05:00:47 -04:00
Evan You
5381abc057
fix(types): support TypeScript 4.8
...
fix #6554
2022-08-31 14:03:08 +08:00
zs
0c07f12541
chore: warn when mounting different apps on the same host element ( #5573 )
2022-05-12 21:09:18 -04:00
qinxiaosen_ccc
292ce69439
chore: remove outdated type comment ( #5103 )
2022-05-06 06:44:28 -04:00
Evan You
7efb9dba30
refactor: remove use of Object.assign
...
TS already transpiles spread to Object.assign with target:es2016
2022-04-12 15:22:11 +08:00
Yuchao
d121a9bc7e
fix(runtime-core): Avoid mutating original options object in createApp ( #4840 )
...
fix #4398
2022-04-12 03:14:23 -04:00
Evan You
50f13278f9
chore: avoid api-extractor warnings
2021-12-12 00:14:25 +08:00
skirtle
5aa4255808
fix(runtime-core): return the exposeProxy from mount ( #4606 )
2021-09-21 12:55:08 -04:00
Evan You
561e210157
fix(inject): should auto unwrap injected refs
...
fix #4196
2021-07-27 17:52:37 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Guillaume
2b52d5d7c5
fix(devtools): expose root instance
...
related to https://github.com/vuejs/vue-devtools/issues/1376
2021-06-07 23:23:45 +02:00
Evan You
51d2be2038
perf: avoid deopt for props/emits normalization when global mixins are used
2021-06-02 15:22:52 -04:00
Evan You
e2ca67b59a
fix(runtime-core): align option merge behavior with Vue 2
...
fix #3566 , #2791
2021-06-02 15:19:56 -04:00
Evan You
1e35a860b9
refactor: adjust component options merge cache strategy
...
BREAKING CHANGE: optionMergeStrategies functions no longer receive
the component instance as the 3rd argument. The argument was technically
internal in Vue 2 and only used for generating warnings, and should not
be needed in userland code. This removal enables much more efficient
caching of option merging.
2021-06-02 10:42:52 -04:00
Evan You
b10db86711
wip: make legacy global apis available on app instance as well
2021-05-06 17:15:11 -04:00