Releases: mitojs/mitojs
Releases · mitojs/mitojs
@mitojs/[email protected]
v3.0.1
3.0.1 (2021-12-02)
Bug Fixes
- utils/errorid: correct getRealPath (e242098)
Features
- wx-mini: add options param in OnShareTimeline and OnShareAppMessage (d2ea0c2)
- wx-mini: add silentPageOnShareAppMessage and silentPageOnShareTimeline (b0e51b4)
BREAKING CHANGES
wx-mini:
- onShareAppMessage to pageOnShareAppMessage
- onShareTimeline to pageOnShareTimeline
- onTabItemTap to pageOnTabItemTap
- onPageNotFound to appOnPageNotFound
v3.0.0
Features
-
add react ErrorBoundary component
-
collect Vue3 prop data when code error @mitojs/vue
-
multiple instances,more info click here
-
add wx-mini hooks:
- pageOnLoad
- pageOnUnload
-
add wx-mini options:
- silentRequest
- silentRoute
- silentAppOnError
- silentAppOnUnhandledRejection
- silentAppOnPageNotFound
Documentation
- docuemnt: new document for mitojs
BREAKING CHANGES
-
browser: the singleton change to multiple instances,more info click here
-
remove MITO.log and add MitoInstance.log
-
remove trackDsn
-
remove window.__MITO__ and replace to MitoInstance
-
ErrorTypes change:
JAVASCRIPT_ERROR change to JAVASCRIPTLOG_ERROR change to LOG
HTTP_ERROR change to HTTP
VUE_ERROR change to VUE
REACT_ERROR change to REACT
RESOURCE_ERROR change to RESOURCE
PROMISE_ERROR change to PROMISE
ROUTE_ERROR change to ROUTE