Base Library Changelog
v7.0.1 (2024-08-15)
Feature
- General pre-fetching capability
- Added Settings Related API
v6.7.1 (2024-08-06)
Feature
- Added white screen detection capability
v6.6.1 (2024-07-25)
BugFix
v6.5.0 (2024-06-27)
Feature
- Added
apiType
parameter for ad requests
BugFix
v6.4.0 (2024-05-28)
Feature
- Optimized staged timing capability
- Added audio component capability
v6.3.2 (2024-05-13)
Feature
- Enhanced exception monitoring capability
- Improved dynamic lazy loading for image component
BugFix
- Fixed issue where lazy-loaded images would not display fallback image upon failure
v6.2.1 (2024-04-07)
Feature
- Added staged timing capability for the core library
v6.0.0 (2024-02-01)
Feature
- Added
darkThemeIsEnabled
API for dark mode status query - Added dark mode adaptation
v5.3.1 (2024-01-18)
BugFix
- Fixed bug in hybrid page stack routing
v5.2.0 (2024-01-02)
Feature
- Introduced hybrid page stack
- Added non-overlay component:
native-webview
- Added webview capabilities related to
native-webview
- Added error log reporting for mini-programs
v5.1.1 (2023-11-21)
Feature
- Refactored routing management, added
getCurrentPages
API - Added
VideoContext
capability for video component - Introduced performance monitoring and reporting capabilities
v4.4.0 (2023-11-21)
Feature
- Introduced performance monitoring and reporting capabilities
v4.2.0 (2023-10-17)
Feature
- Added dynamic component capability, optimized core library package size
- Added
preloadVideo
API for video pre-fetching - Added
openSystemSetting
API for navigation to settings - Added
innerBackInterceptor
related API for back navigation interception - Added
getMiniappResumedStatus
API to check if the mini-program is in the foreground
BugFix
- Fixed video pagination component issues, handled
onResize
events
v4.1.0 (2023-09-11)
Feature
- Added
navigateBackToHomePage
API for returning to the homepage
v3.10.0 (2023-08-22)
Feature
- Optimized
setData
batch processing logic - Enhanced IDE error handling compatibility
- Added
onchangestart
event for short video sliding container
v3.8.0 (2023-07-27)
Feature
- Added
preloadWebview
API - Added
preloadAssets
API - Added
preloadResources
API - Added
onTabReselected
API - Enhanced
addToHomeScreen
API with scene values - Optimized
setData
and spliceData
capabilities for batch processing - Enhanced
scrollView
scrolling, added navigation to specific pages for short video container component
v3.6.8 (2023-07-11)
Feature
- Added non-overlay native video component
native-video
- Added short video vertical switching component
short-videos-view
- Added
spliceData
function - Added
getHardwareInfo
API - Added mute toggle event for video component
v3.5.1 (2023-06-15)
Feature
scroll-view
now supports pull-up at the bottom
v3.4.1 (2023-05-24)
Feature
- Added API to get layout information of menu button (top-right capsule button)
- Added APIs for long and short vibration
- Added support for array in
previewImage
API - Added API to set screen always-on state
- Added API to navigate to system Bluetooth settings
- Added API to navigate to current host system's app authorization management page
- Added APIs to set tabBar style, badge text, and badge dot style
- Added API for dynamically setting overall tabBar style
- Added API for mini-program updates
- Added APIs for enabling and disabling mini-program page return confirmation dialog
- Added API to exit the current mini-program
v3.3.1 (2023-05-07)
Feature
- Added parameters for video component to set play, pause, and replay states
- Added
strictMode
field for scrollView
, optimized scroll animation after setting scroll distance - Added
addToHomeScreen
API
BugFix
- Optimized ad content adaptation for mini-program ads
v3.2.0 (2023-04-13)
Feature
- Added
picker
component (excluding time and date picker) - Added
getEntranceUrl
API (for internal use and cha cha) - Added
updateMessageScopeStatus
and updateNotifyMessageStatus
APIs
BugFix
- Handled callback processing for
requestPayment
API
v3.1.0 (2023-03-16)
Feature
v3.0.0 (2023-03-02)
Feature
- Added
takeScreenshot
API - Added
getStatusBarHeight
API - Added
getCountryInfo
API - Added
navigation
component - Added APIs related to
FileSystemManager
- Added
switchTab
API - Added
setNavigationBarTransparent
API - Added
changeNavigationBarProgress
API - Added
showActionSheet
API - Added
compressImage
API - Optimized
onNetworkStatusChange
API - Optimized
offNetworkStatusChange
API - Optimized
getMiniAppInfo
API - Optimized
scanCode
API - Optimized
request
and abortHttpRequest
APIs - Optimized
uploadFile
and abortUploadRequest
APIs - Optimized
downloadFile
and abortDownloadRequest
APIs - Optimized
enableRefresh
API - Optimized
chooseMedia
API
BugFix
- Addressed compatibility issues for image component mode
aspectFill
v2.9.0 (2022-12-28)
Feature
- Added native and interstitial ad formats for advertising capability
BugFix
- Supplemented parameters for
uploadFile
API
v2.8.0 (2022-12-13)
BugFix
- Added
extraData
field for navigateToMiniProgram
API
v2.7.0 (2022-12-08)
Feature
- Added sound effect API
- Added dynamic tabBar setting API
- Standardized API callback handling
- Added compliant communication via bridge
- Optimized rendering framework size
- Added privacy agreement popup for toC scenarios
v2.5.0 (2022-11-30)
Feature
- Added
extraData
field for navigateToMiniProgram
API
v2.4.0 (2022-11-17)
Feature
- Added exposure component
- Added
getSelectLanguage
API to get negative screen language settings
v2.3.0 (2022-11-15)
Feature
- Added
navigateToOutsideBrowser
API - Added
getLaunchOptions
API - Added
getUniqueId
API - Added Bluetooth-related APIs
- Added WiFi-related APIs
- Added IP address API
- Added recently used and favorited APIs
BugFix
- Fixed issue with ad component tracking and reporting
- Modified tracking and reporting methods
v2.2.0 (2022-11-03)
Feature
- Added ad component
- Added
scrollView
component
v2.1.0 (2022-10-20)
Feature
- Optimized image component with property passthrough, lazy loading, and error events
v2.0.0 (2022-09-22)
Feature
- Added
pageScrollTo
API - Added
getOneId
API - Added
onPageScroll
lifecycle method - Added
getCurrentPages
global method - Added compatibility handling for
sjs cancelAnimationFrame
and requestAnimationFrame
BugFix
- Adjusted custom component style rendering strategy
- Fixed known issues with video component
- Addressed issue with editor component on older Android phones
- Fixed issue with Sjs event response method name not matching due to spaces in parameters
v1.1.0 (2022-10-20)
Feature
- Optimized image component with property passthrough, lazy loading, and error events
v1.0.1 (2022-09-22)
Feature
- Added
pageScrollTo
API - Added
getOneId
API - Added
onPageScroll
lifecycle method - Added
getCurrentPages
global method