Commit Graph

61 Commits

Author SHA1 Message Date
Evan You f15ba2c2e2
chore: Merge branch 'main' into minor 2024-07-17 17:32:31 +08:00
Evan You f476b7f030
feat(runtime-core): add app.config.throwUnhandledErrorInProduction
close #7876
2024-07-17 10:05:09 +08:00
Evan You ee0248accf
fix(runtime-core): errors during component patch should be caught by error handlers 2024-07-12 01:24:17 +08: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
caomingrui 53d15d3f76
fix(runtime-core): handle invalid values in callWithAsyncErrorHandling 2024-04-15 22:37:16 +08:00
丶远方 ab59bedae4
fix(runtime-core): fix errorHandler causes an infinite loop during execution (#9575)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-19 20:47:52 +08:00
OnlyWick 5f7a0a08b2
chore(errorHandling): directly return value in callWithErrorHandling function (#10315) 2024-02-13 17:15:18 +08:00
Evan You c3087ff2cc fix: correct url for production error reference links 2024-01-18 20:00:01 +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
Evan You 8e727d62ab chore: update new issue url in scheduler error message 2023-12-26 16:15:24 +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 9f8ba9821f feat(dx): link errors to docs in prod build (#9165) 2023-11-28 07:39:11 +08:00
Evan You 8867bb259a wip(vitest-migration): reactivity tests passing 2023-01-26 15:25:55 +08:00
Evan You ae4b0783d7 chore: update repo references 2022-01-18 16:43:59 +08:00
LordTerabyte d069796b8f
fix(runtime-core): add missing serverPrefetch hook error string (#4014) 2021-06-28 15:30:20 -04:00
ᴜɴвʏтᴇ 4d20ac8173
fix(runtime-core): make errorCaptured return value handling consistent with Vue 2 (#2289)
fix #2267
2020-10-05 17:37:26 -04:00
Evan You df954dc90f chore: do not log warned error during tests 2020-09-16 13:37:12 -04:00
Evan You c7b4a379cf fix(runtime-core/async-component): fix error component when there are no error handlers
fix #2129
2020-09-16 11:10:16 -04:00
Evan You 3cc768f9f2 refactor(runtime-core): adjust error handling behavior
- Crash in dev to make the errors more noticeable
- Recover in prod to reduce impact on end users
2020-07-28 10:40:25 -04:00
Evan You 352c369704 chore: remove stale _isVue checks 2020-04-30 14:45:25 -04:00
Evan You c3bb3169f4 feat(runtime-core): async component support 2020-03-21 16:01:08 -04:00
Evan You ba9a91c48c refactor: remove null comparisons 2020-03-18 18:14:51 -04:00
Evan You aa4ab39c1a refactor: separate vnode hooks and directive hooks 2020-03-18 12:30:26 -04:00
hareku 257727569a
types(runtime-core): update error type to unknown (#798) 2020-03-09 15:58:52 -04:00
Evan You e81c8a32c7 feat(runtime-core): emit now returns array of return values from all triggered handlers
close #635
2020-01-20 11:24:08 -05:00
Sören Schwert 1081ef8089 chore: fix error reporting URL to point to vue-next (#624) [ci skip] 2020-01-15 21:50:06 -05:00
Evan You c97d83aff2 refactor(runtime-core): tweak component proxy implementation 2019-12-10 11:14:29 -05:00
JiZhi ec2feeafad chore: typo (#488) [ci skip] 2019-12-01 12:03:26 -05:00
Evan You 79f23a2f77 feat(transition): support component child 2019-11-20 22:46:32 -05:00
Evan You 300a705221 refactor: use __TEST__ flag 2019-11-04 14:28:01 -05:00
Dmitry Sharshakov 325e15ef41 feat(createRenderer): handle errors in function refs (#403) 2019-10-28 12:03:30 -04:00
Evan You b5886189ba types: massive refactor 2019-10-22 11:53:32 -04:00
Jooger 67eb29f63b refactor(errorHandlling): handle array in callWithAsyncErrorHandling (#332) 2019-10-21 13:59:10 -04:00
Evan You f241c92917 chore: remove todo 2019-10-21 10:04:02 -04:00
Dmitry Sharshakov 7305f693b1 refactor(runtime-core): extract promise check into shared (#325) 2019-10-17 15:47:26 -04:00
Carlos Rodrigues fbabae0c0a chore: replace some type casts and fix variable and filename typos (#93) 2019-10-05 10:38:02 -04:00
月迷津渡 9d6783053c types: simplify types (#104) 2019-10-05 10:09:34 -04:00
Evan You 54a78f3856 chore: remove unnecessary enum initial value 2019-09-16 13:15:20 -04:00
Evan You 3b1d87efbe test: test suspense error handling 2019-09-12 01:52:14 -04:00
Evan You 360f3b4f37 types: improve type exports 2019-09-06 12:58:31 -04:00
Evan You 98d1406214 test: test for app-level APIs 2019-09-03 18:11:04 -04:00
Evan You aac807bc63 test: test for directives 2019-09-02 12:09:29 -04:00
Evan You 0f0ca4ae7c wip: vnodeXXX directive hooks 2019-08-31 17:06:39 -04:00
Evan You 1c6ecf4144 wip: avoid including full error type strings in prod 2019-08-31 16:43:02 -04:00
Evan You be28f976af test: tests for error handling 2019-08-30 16:08:10 -04:00
Evan You 09593c94c3 feat: error handling in scheduler 2019-08-30 15:15:23 -04:00
Evan You 966d7b5487 feat: error handling for setup / render / watch / event handlers 2019-08-30 15:05:39 -04:00
Evan You 7fe82398f7 refactor: call instead of wrap 2019-08-30 12:22:41 -04:00
Evan You 3d681f8bcd feat: error handling for lifecycle hooks 2019-08-30 12:16:09 -04:00
Evan You bb2ff037b9 build: bump rollup version 2019-08-20 10:34:25 -04:00