Base Library Update Log (v2.x)
Latest Version
v2.4.4 (2019.01.05)
U
Updated frameworks to enable native components to nest in movable-view, swiper, and scroll-view to scroll with the page. Details U
Updated the component button to support success callback when redirecting to an app. F
Fixed frameworks to rectify the issue where App.onError
was triggered repeatedly for the same error message. F
Fixed the component canvas to rectify the issue where gradient could not be drawn on Weixin DevTools. Feedback Details F
Fixed the component video to rectify the issue where poster could not be displayed on Android and Weixin DevTools. {% post(0000a220e74c30ac8c877ac425bc00)
v2.4.3 (2018.12.21)
U
Updated plug-ins to skip domain name check when debugging was enabled. {% post(000e862141c6a028045715bdc5b000) U
Updated the component swiper to add the transition event. F
Fixed plug-ins to rectify the issue where exceptions occurred when plug-ins were referenced using the same appid and when the plug-in feature page was used. Feedback Details F
Fixed the API wx.getBatteryInfo to rectify the issue where the res.errMsg error was returned when calling was successful.
v2.4.2 (2018.12.04)
U
Updated the API SelectorQuery
to select VideoContext
, CanvasContext
, LivePlayerContext
, and MapContext
. Details F
Fixed frameworks to rectify the issue where a crash occurred occasionally in iOS 10.0.2. F
Fixed frameworks to rectify the issue where if tabBar was set, unload could not be performed on tabBar in other pages when reLaunch was called. Feedback Details F
Fixed frameworks to rectify the issue where incorrect page and method were displayed after the error of async method was reported. Feedback Details F
Fixed frameworks to rectify the issue where undefined
was returned by require
when module.export
was false. Feedback Details F
Fixed the component live-pusher to rectify the issue where the recording authorization window popped up twice on DevTools. Feedback Details F
Fixed the component map to rectify the issue where a prompt indicating authentication failure was displayed on DevTools. Feedback Details F
Fixed the component video to rectify the issue where src could not be set via setData
on DevTools. Feedback Details F
Fixed the component input to rectify the issue where value failed to be updated on iOS. Feedback Details F
Fixed the component image to rectify the issue where a square flashed first for the round style on iOS. F
Fixed the API wx.previewImage to rectify the issue where the Mini Program referer was missing in the request. Feedback Details F
Fixed the API RequestTask.abort
to rectify the issue of invalid API call.
v2.4.1 (2018.11.21)
U
Updated plug-ins to support Cloud Base. Details U
Updated plug-ins to improve the cancellation callback for the plug-in feature page. U
Updated the component rich-text to support consecutive spaces. Details U
Updated the component progress to add animation completion event. Details F
Fixed frameworks to rectify the issue where inserting scrolling elements such as scroll-view to native components would lead to failure to reclaim Mini Program webview
on iOS. F
Fixed frameworks to rectify the issue where conversion of negative numbers was inconsistent with that of positive numbers in rpx. Feedback Details F
Fixed frameworks to rectify the issue where the return value of shareTicket
was undefined
after the page was shared. F
Fixed the component video to rectify the issue where the video crashed in full screen mode on iOS. F
Fixed the component official-account to rectify the issue where the Mini Program was not displayed after the QR code of the trial version was scanned. F
Fixed the component swiper to rectify the issue where the page crashed when swiping the screen. F
Fixed the component video to rectify the issue where initial-time
was invalid on iOS. Feedback Details F
Fixed the API wx.off*
to rectify the issue where listening could not be disabled. F
Fixed the API wx.canIUse to rectify the issue where some new APIs could not be identified. F
Fixed the API MapContext.getScale
to rectify the issue where incorrect scale was returned on Weixin DevTools. F
Fixed the API InnerAudioContext
to rectify the issue where incorrect paused
value was returned. F
Fixed the API wx.getLocation to rectify the issue where the incoming parameter altitude
could not be read on iOS.
v2.4.0 (2018.11.05)
A
Added a framework to enable screen rotation on mobile. Details A
Added a plug-in to support the feature page of recipient addresses. Details A
Added a plug-in to add APIs wx.setBackgroundTextStyle and wx.setBackgroundColor for setting the interface background. Details A
Added an API for communication over LAN via mDNS. Details A
Added an API to support dynamic messages. Details A
Added the API wx.compressImage for image compression. Details U
Updated frameworks to enable rpx in component property settings. U
Updated plug-ins to enable users to be redirected to the plug-in feature page from the owner Mini Program. U
Updated the API wx.onCompassChange to obtain precision. Details U
Updated the component camera to parse QR codes. Details U
Updated the component video to obtain the length of buffered data. Details U
Updated the component live-pusher to enable sound mixture in live stream components. Details U
Updated the component video for fast forward gesture. F
Fixed frameworks to rectify the issue where the Widget
debugging log could not be output. F
Fixed frameworks to rectify the issue where white screen occurred when more than 7 pages were open and all were navigated via wx.navigateBack to the home page at a time on iOS. Feedback Details F
Fixed a framework issue where conflict occurred when writing to the file if a resource was downloaded locally at the same time on Android. F
Fixed frameworks to rectify the issue where a 404 page appeared before the correct page when App.onPageNotFound
was triggered on iOS. F
Fixed frameworks to rectify the issue where inconsistent incoming parameters were fetched when the QR code was scanned on iOS. Feedback Details F
Fixed plug-ins to rectify the issue where plug-ins were reloaded when subpackages were loaded. Feedback Details F
Fixed the API wx.chooseImage that png images were converted to jpg images on iOS. Feedback Details F
Fixed the API BackgroundAudioManager
to rectify the issue where pause returns 0 and 1 with no alignment in DevTools on iOS and that bool was returned on Android. U
Updated the API BackgroundAudioManager
to support local files on Android. F
Fixed the API wx.request to rectify the issue where fail was not called back directly when request data could not be UTF8 decoded on iOS. F
Fixed the API wx.createInnerAudioContext to rectify the issue where it could not be called after a Mini Program was redirected to another Mini Program on Android. Feedback Details F
Fixed the component input to rectify the issue where the navigation bar fell down when focus was set in the page on iOS. {% post(000ce289f008a0c9e437a792e51c00) F
Fixed the component input to rectify the issue where the input box at the bottom of the page was blocked by the keyboard when focus was set in the page on Android. F
Fixed the component input to rectify the issue where the keyboard was hidden after double-click on iOS 12 beta. F
Fixed the component input to rectify the issue where no content was obtained when the cursor was positioned at the front of the input box Android. Feedback Details F
Fixed the component input to rectify the issue where no content was obtained when color was set to rgba on Android. Feedback Details F
Fixed the component input to rectify the issue where the delete operation did not trigger any event when the content was empty on iOS. F
Fixed the component input to rectify the issue where the input box was blocked by the keyboard when the type was number/digits on Android. Feedback Details F
Fixed the component textarea to rectify the issue where bindinput
was not triggered when using the English input method on Samsung. Feedback Details F
Fixed the component textarea to rectify the issue where the keyboard and focus disappeared when emojis in the input method were tapped on iOS. Feedback Details F
Fixed the component textarea to rectify the issue where blank screen occurred when switch between language keyboard and emoji keyboard on iOS. Feedback Details F
Fixed the component textarea to rectify the issue where the input box was blocked at the bottom of the page on Android. Feedback Details F
Fixed the component textarea to rectify the issue where the text area was blocked by the input box when in focus on a bezel-less Android phone. Feedback Details F
Fixed the component canvas to rectify the issue where local files were not supported for drawimage
on Android. Feedback Details F
Fixed the component canvas to rectify the issue where disable-scroll
remained effective after the finger left and the page could not scroll on iOS. Feedback Details F
Fixed the component canvas to rectify the issue where error occurred to the data point returned by GetImageData
on iOS. Feedback Details F
Fixed the component swiper to rectify the issue where the memory increased dramatically in the auto loop mode on DevTools. Feedback Details F
Fixed the component cover-image to rectify the issue where a path could not be set to empty after it was set. Feedback Details F
Fixed the component cover-image to rectify the issue where image update failed on iOS. F
Fixed the component cover-image to rectify the issue where circular setting of src resulted in repeated download on iOS. F
Fixed the component cover-view to rectify the issue where \n failed once re-rendered on iOS. F
Fixed the component web-view to rectify the issue where the right side of the page could not be filled and was displayed as a white border on Android. Feedback Details F
Fixed the component web-view to rectify the issue where the content at the bottom of the page was truncated in the built-in full screen mode on Android. F
Fixed the component web-view to rectify the issue where JSSDK failed to be called when alert was called in components. F
Fixed the component web-view to rectify the issue where postMessage
failed to be called when the data parameter was string on Android. F
Fixed the issue to make the component camera to adapt to iPhonex. Feedback Details F
Fixed the component movable-view to rectify the issue of conflicts caused by pull-down-to-refresh. Feedback Details F
Fixed the component video to rectify the issue where the components in the page moved down due to the share button on iOS. Feedback Details
v2.3.2 (2018.10.25)
U
Updated the debugging vConsole to support printing objects with circular references. Details U
Updated the API wx.getLogManager to set the content to be printed. Details F
Fixed the API console
to rectify the issue where an error occurred in certain cases when Symbol
variables were printed on Android. F
Fixed to rectify the issue where the callback of APIs wx.showModal, wx.showActionSheet and wx.requestPayment failed to call wx.openSetting in certain cases. F
Fixed the API SocketTask.close
to rectify the issue where the code
error was returned. Feedback Details F
Fixed the API to rectify the issue where logs printed via console
in Worker
could not be displayed in Weixin DevTools. Feedback Details F
Fixed the component input to rectify the issue where ghosting occurred when placeholderClass changed with the focus status. Feedback Details F
Fixed the component picker-view to rectify the issue where pullDown was triggered when the page was swiped up on iOS. Feedback Details F
Fixed the component cover-view to rectify the issue where the position:fixed
style was invalid on iOS. F
Fixed the component view to rectify the issue where an error occurred when the border of was set to 1rpx
. F
Fixed custom components to rectify the issue listening failed in certain cases when events multiSlots and capture were used at the same time. Feedback Details
v2.3.1 (2018.10.22)
U
Updated the debugging vConsole to support printing more types of log data. Details U
Updated frameworks to add up to 4 characters for the text in the upper right corner of tabBar with "…" displayed at the end if this limit was exceeded. U
Updated the API wx.navigateToMiniProgram to pop up a window asking the user to confirm whether to open the target Mini Program when this API was called. Details U
Updated the component picker-view to add an event to start scrolling. Details U
Updated the component progress to define fillets and custom fonts. Details U
Updated the component navigator to pop up a window asking the user to confirm whether to open the target Mini Program before it was opened. Details U
Updated plug-ins to call wx.switchTab and wx.switchTab. Details U
Updated plug-ins to call wx.login and wx.getUserInfo after user authorization was obtained from the feature page of login. Details F
Fixed frameworks to rectify the issue where a scene value obtained by a nearby Mini Program was incorrect. Feedback Details F
Fixed the API wx.getSystemInfo to rectify the issue where benchmarkLevel
was returned when an error occurred while calling this API on Android. F
Fixed the API to rectify the issue where the API wx.navigateToMiniProgram failed to be called after payment. F
Fixed the API SelectorQuery
to rectify the issue where it would fail to be called on the first page of Weixin DevTools. F
Fixed the API wx.cloud.downloadFile
to rectify the issue of the occurrence of statusCode 404 failure. F
Fixed the API wx.getBackgroundAudioManager to rectify the issue where the status of paused was false after the stop method was called. Feedback Details F
Fixed the Mini Game API wx.onShowto rectify the issue where an error occurred while parsing query. F
Fixed the component map to rectify the issue where the 3-digit abbreviation was not supported for color values. F
Fixed the component input to rectify the issue where the component width was exceptional when width ratio was set. Feedback Details F
Fixed the component cover-image to rectify the issue where the error event could not be triggered when invalid src was loaded on iOS. F
Fixed the component textarea to rectify the issue where the scrollbar was exceptional when auto-height was set on Weixin DevTools. Feedback Details F
Fixed the component input to rectify the issue where two search icons were added using padding-left. Feedback Details F
Fixed the component image to rectify the issue where a load event was still triggered after lazyload
was loaded. Feedback Details F
Fixed the component swiper to rectify the issue where swiper failed to slide when scroll-view was used. Feedback Details F
Fixed the component radio to rectify the issue where color remained effective after disabled: true
was set. Feedback Details F
Fixed the component video to rectify the issue where an error occurred with the rendering position in certain cases. Feedback Details F
Fixed the component video to rectify the issue where the video was misplaced when full screen was exited. F
Fixed custom components to rectify the issue where an exception occurred while updating data when a component was updated multiple times. Feedback Details F
Fixed the component canvas to rectify the issue where the parameter name of the touch event was incorrect. Feedback Details F
Fixed the component map to rectify the issue where bubbles were not displayed when the marked points were tapped on Weixin DevTools. Feedback Details F
Fixed the component textarea to rectify the issue where the linechange event was inaccurate on DevTools. Feedback Details
v2.3.0 (2018.09.10)
A
Added a framework to support loading subpackags separately. Details A
Added a framework to support configuration-based subpackage preload. Details A
Added a framework to allow screen rotation for Mini Programs on iPad. Details A
Added a plug-in to support live-player and live-pusher components. Details A
Added APIs wx.onWindowResize and wx.offWindowResize to enable/disable listening to a screen rotation event on iPad. Details A
Added the API wx.chooseInvoice to select invoices. Details A
Added the API wx.setInnerAudioOption to set InnerAudio playback options. Details A
Added an API to listen to gyroscope data. Details A
Added an API to listen to device orientation changes. Details U
Updated the API wx.getRecorderManager by adding onInterruptionBegin
and onInterruptionEnd
to listen to recording interruption by the system. Details U
Updated the API wx.startBeaconDiscovery by adding the ignoreBluetoothAvailable
parameter to skip Bluetooth On/Off verification on iOS. Details U
Updated APIs FileSystemManager.stat
, FileSystemManager.mkdir
, FileSystemManager.mkdirSync
, FileSystemManager.rmdir
, and FileSystemManager.rmdirSync
by adding the recursive
parameter to support recursion. Details U
Updated APIs to return a cloud function execution ID (requestID) when a cloud function was called. Details U
Updated the component map to allow bindpoitap
to listen to the callback of a POI tap event. Details U
Updated the component map to allow markers
to support network images. Details U
Updated the component map to allow markers
to control hierarchy via zIndex
. Details U
Updated the component map to allow callout
to support the setting of a border and transparent background. Details U
Updated the component map by adding the show-compass
property to control whether to show a compass. Details U
Updated the component map by adding the enable-3D
property to control whether to show 3D blocks. Details U
Updated the component map by adding the enable-overlooking
property to control whether to support overlooking. Details U
Updated the component map by adding the polygons
property to draw a polygonal area on a map. Details U
Updated the component map by adding the subkey
property to customize the style of a base map. Details U
Updated the component map by adding enable-zoom
, enable-scroll
, and enable-rotate
properties to control the zooming, sliding, and rotation of components. Details U
Updated the component map by adding the causedBy
parameter for the bindregionchange
callback to determine event sources. Details U
Updated the component live-pusher by adding the device-position
property to initially configure a front or rear camera. Details U
Updated the component live-pusher by adding the waiting-image
property to support network paths, temporary files, and paths in packages. Details U
Updated the component web-view by adding bindload
and binderror
event listening properties. Details F
Fixed the component input to rectify the issue where Sogou Pinyin Method triggered focus
on iOS. Feedback Details F
Fixed the component input to rectify the issue where the value
of the input
event was empty on certain Android models. Feedback Details F
Fixed the component input to rectify the issue where there was no response to taps after swiping right to return to the previous page on iOS. F
Fixed the component video to rectify the issue where there was no response to taps after swiping right to return to the previous page in full screen mode on iOS. Feedback Details F
Fixed the component video to rectify the issue where auto play was not supported when initial-time
was set on Android. F
Fixed the component video to rectify the issue where videos cannot be played on iOS when src
containing spaces. Feedback Details F
Fixed the component live-player to rectify the issue where playback continued after it was removed on Android. Feedback Details F
Fixed the component camera to rectify the issue where there was no sound when a user recorded the video while playing the background music on iOS. Feedback Details F
Fixed the component canvas to rectify the issue where rotation was performed incorrectly when transform
was used on Android. F
Fixed the component canvas to rectify the issue where the drawing result was incorrect on iOS. Feedback Details F
Fixed the component textarea to rectify the issue where text could not be input in textarea after input via input on Android. Feedback Details F
Fixed the component input to rectify the issue where words could not be selected during input on iOS, causing invalid input. Feedback Details F
Fixed the component map to rectify the issue where the setting of the arrowLine
property under polyline
was invalid on iOS. F
Fixed the component map to rectify the issue where a display failure occurred when bgColor
was not set for label
on Android. F
Fixed the component web-view to rectify the issue where the contact book failed to be displayed via the tel://
link on the Mini Program page for Huawei Mate 9. F
Fixed the component textarea to rectify the issue where the setting of the adjust-positon
property was invalid on Android. Feedback Details F
Fixed the API wx.createCameraContext to rectify the issue where it failed to be called after returning to the previous page on Android. Feedback Details F
Fixed the API wx.scanCode to rectify the problem that scanType
returned on iOS, Android, and Weixin DevTools was inconsistent after a QR code was scanned. Feedback Details F
Fixed the API wx.previewImage to avoid forced termination on Android. Feedback Details F
Fixed the API FileSystemManager.writeFile
to rectify the issue where it failed to be called when encoding=hex
was set on iOS. F
Fixed the API wx.chooseImage to rectify the issue where iCloud
images would be missing in the returned array when they were selected on iOS. Feedback Details F
Fixed the API wx.showModal to rectify the issue where the content of the header could not be displayed on Android when the content was excessively long. Feedback Details F
Fixed the API wx.showModal to rectify the issue where the modal box would be closed after users tapped outside the box on Android. Feedback Details F
Fixed the API wx.showModal to rectify the issue where cancel
returned false
when the back button was tapped for cancellation. F
Fixed the API wx.chooseImage to rectify the issue where images were out of order when the API was called to select and compress images on iOS. F
Fixed the API wx.getRecorderManager to rectify the issue where an incorrect duration was returned when recording was stopped after being paused twice on Android. Feedback Details F
Fixed the API wx.hideLoading to close wx.showToast. Feedback Details F
Fixed the API CanvasContext.drawImage
to rectify the issue where drawing was done incorrectly on Android. F
Fixed the API UpdateManager.onCheckForUpdate
to rectify the issue where it was not triggered on Android in certain scenarios. F
Fixed the API BackgroundAudioManager
to rectify the issue where audio could not be played in a 4G environment after being downloaded locally on iOS. Feedback Detailss F
Fixed the Mini Game BannerAd
to rectify the issue where the style moved down after button
was tapped during card download. F
Fixed the Mini Game RewardedVideoAd
to rectify the issue where the ad closing style and the exit button overlapped when a user went back to the Mini Game. F
Fixed the Mini Game API to rectify the issue where timestamp parameter names were different in onTouch*
events. Feedback Details F
Fixed the issue where tabBar was not displayed when a user tapped the upper right corner to return to the homepage after entering a Mini Program from a shared page and going to a subordinate page on Android. Feedback Details F
Fixed the issue where a user could tap the mask to close the forced update dialog box to cancel the update. Feedback Details F
Fixed Mini Games to rectify the issue where an error was reported when image.onload
was set to null
in an open data domain.
v2.2.5 (2018.08.30)
F
Fixed plug-ins to rectify the issue of request failure in certain cases. F
Fixed the component rich-text to rectify the issue where HTML fragments cannot be parsed correctly in certain cases.
v2.2.4 (2018.08.24)
A
Added a framework to enable getApp
to return a default implementation when App
was not defined. U
Updated Mini Programs to combine scene values of "My Mini Programs" and "Recently Used". Feedback Details U
Updated the component cover-view to support touch events. Details F
Fixed plug-ins to rectify the issue where the feature page failed to be pulled up from a cold start. F
Fixed custom components to rectify the issue where the call to setData.call
was invalid. F
Fixed components to rectify the issue where ad components could not be displayed under native components. F
Fixed the component cover-view to rectify the issue where it jumped around when location was fixed on iOS. F
Fixed the component cover-view to rectify the problem of slow data erasure on Android. F
Fixed the component video to rectify the issue where a transition animation appeared when the value of the hidden property changed. F
Fixed the component movable-view to rectify the issue where it failed to slide when displayed again after being hidden. Feedback Details F
Fixed the component movable-view to rectify the issue where the location information obtained was incorrect during panning after zooming. Feedback Details F
Fixed the issue where instance methods could not be found in certain scenes after they were added in some pages dynamically.
Changes to Weixin 6.7.2
U
** Updated the component web-view to cancel the display in full screen.** U
Updated the API wx.getBackgroundAudioManager to rectify the issue where the configuration of requiredBackgroundModes
was required to support playback in the background. Details
v2.2.3 (2018.08.19)
A
Added the Mini Program Cloud Base SDK Details A
Added image, video, cover-image, wx.previewImage, wx.getBackgroundAudioManager, and wx.createInnerAudio
to support cloud file IDs. Details A
Added a custom component to support the global style feature. Details A
Added a custom component with lifetimes
definition field to include existing lifecycles. Details A
Added a custom component withpageLifetimes
definition field to obtain the lifecycle of the component's page. Details A
Added a custom component to support the extension feature. Details A
Added a custom component with behavior wx://component-export
to support the export
definition field. Details A
Added API wx.nextTick to defer some operations until the next time slice. Details A
Added the API BackgroundAudioManager
to support listening via onSeeking
and onSeeked
. Details U
Updated the Mini Game API wx.requestMidasPayment to subdivide errMsg when the value of errCode was 1003. U
Updated plug-ins to disable the web-view component U
Updated vConsole on how it prints Function, ArrayBuffer, and objects with circular references. F
Fixed the issue where Mini Program images could not be displayed correctly on iPad. F
Fixed the issue where upload failed when the feedback page was filled in. F
Fixed the component map to rectify the issue where a crash occurred when the number of points of polyline was 0. F
Fixed the component button to rectify the issue where the tap
event was triggered when the component was disabled
. F
Fixed APIs to rectify the issue where callback values of wx.onAccelerometerChange were measured in angles not radians on iOS. F
Fixed the Mini Game API BannerAd.offResize
to rectify the issue where the call to it was invalid.
v2.2.2 (2018.08.02)
A
Added the API wx.getAccountInfoSync to obtain the basic information of a Mini Program. Details A
Added a plug-in to support redirection to the current plug-in page by calling wx.navigateTo and wx.redirectTo. Details F
Fixed APIs to rectify the issue where (node) warning: possible EventEmitter memory leak detected.
was displayed in certain cases. F
Fixed the API wx.showKeyboard to rectify the issue where an error occurred when maxLength
and defaultValue
were passed at the same time and defaultValue
was a number. F
Fixed the Mini Game API wx.createGameClubButton to rectify the issue where the setting of image
was invalid. F
Fixed the component picker to rectify the issue where the start
property was invalid when fields="month"
was set. Feedback Details F
Fixed the component canvas to rectify the issue where the result returned from the arcTo
API was not as expected on Android. Feedback Details F
Fixed the component cover-view to rectify the issue where background-color
was displayed incorrectly in full screen mode on iOS. Feedback Details F
Fixed the component button to rectify the issue where it could not be fixed together with cover-view. Feedback Details F
Fixed the component textarea to rectify the issue where word-wrapped text was displayed incorrectly on iOS when auto-grow was adopted for a page. Feedback Details F
Fixed plug-ins to rectify the issue where a callback was not triggered in certain cases.
v2.2.1 (2018.07.23)
F
Fixed the issue where lagging occurred when the base library called accessSync
in the remote debugging mode. F
Fixed the component video to rectify the issue where other video components was displayed incorrectly after a video component exited full screen mode on iOS. F
Fixed the component button to rectify the issue where redirection to an app failed in certain cases. F
Fixed the API BackgroundAudioManager.paused
to rectify the issue where incorrect results were returned in certain cases on Android. Feedback Details F
Fixed APIs to rectify the issue where a video or an audio was not paused after a Mini Program ran in the background. F
Fixed the Mini Game API wx.onError to rectify the issue where the callback function was executed twice. F
Fixed plug-ins to rectify the plug-ins to rectify the issue the callback event was triggered several times on the feature page.
v2.2.0 (2018.07.12)
A
Added the API wx.navigateToMiniProgram to enable redirection from a Mini Game to a Mini Program. Details F
Fixed the API wx.scanCode to rectify the issue where an incorrect scanType
was returned on Android. Feedback Details
v2.1.3 (2018.07.09)
v2.1.2 (2018.07.04)
v2.1.1 (2018.06.21)
V2.1.0 (2018.06.14)
A
Added the API wx.loadFontFace to support dynamic font loading. Details A
Added the API wx.getLogManager to record user operation logs, allowing users to submit feedback to developers for troubleshooting. Details A
Added the component camera with scanCode
mode to recognize barcode. Details U
Updated the API wx.createSelectorQuery to get the style information of nodes. Details U
Updated the API wx.scanCode to add a new field rawData
in return parameter. Details U
Updated the API wx.createLivePusherContext by adding the toggleTorch
method to support switching of flashlight. Details A
Added the API wx.getAvailableAudioSources to get available audio sources. Details A
Added the API wx.getMenuButtonBoundingClientRect to get the layout information of the menu button. Details A
Added the API wx.onDeviceOrientationChange to listen to the changes of screen orientations. Details A
Added the API FileSystemManager.appendFile
to append file content. Details A
Added APIs wx.setBackgroundColor and wx.setBackgroundTextStyle to set background information dynamically. Details A
Added the Mini Game API wx.updateKeyboard to update the keyboard. Details A
Added the Mini Game API wx.loadSubpackage to load subpackages. Details U
Updated the component button to be nested in the native components and displayed on top of the native components. Details U
Updated the component button by adding an open-type
value of feedback
to open the "Feedback" page. Details U
Updated components cover-view and cover-image to add the scroll-top
property. Details U
Updated components cover-view and cover-image to set the style of rotate and scale. Details U
Updated the component cover-image to add bindload
and binderror
events. Details U
Updated the component movable-view to add the animation
property. Details U
Updated the component live-pusher by adding the zoom
property to adjust focal length. Details U
Updated the component input to return the key value of keyCode
if bindinput
was used. Details U
Updated the API wx.startAccelerometer by adding the interval
parameter to specify the callback frequency. Details F
Fixed the API wx.reportAnalytics to rectify the issue where an exception occurred while calling it in plug-ins. F
Fixed the API wx.hideToast to rectify the issue where the previous showLoading
failed to be overridden on iOS. F
Fixed the component image to rectify the issue where images were displayed incorrectly due to constant updating of src. F
Fixed the component image to rectify the issue where flashes occurred when border-radius was set. F
Fixed the canvas component to rectify the issue where fillStyle was affected by the configured shadow. F
Fixed the component movable-view to rectify the issue of zooming. Feedback Details F
Fixed the component input to rectify the issue where it failed to be destroyed in certain cases. Feedback Details F
Fixed the component video to rectify the issue where playbackRate could not be set to 1.25. F
Fixed the component map to rectify the issue where bindregionchange
was not triggered after double-click on map zooming in Weixin DevTools.Feedback Details F
Fixed frameworks to rectify the issue where the font became larger when performing setData operations after a video was switched to full screen.
v2.0.9 (2018.06.08)
V2.0.8 (2018.05.18)
U
Update Mini Program/Mini Game forwarding-related APIs and removed forwarding callback only for the DevTools.
v2.0.7 (2018.05.16)
U
Discarded the Mini Program/Mini Game wx.openSetting API only for the DevTools. U
Discarded the Mini Program wx.navigateToMiniProgram API only for the DevTools. U
Updated the Mini Program component button to add a valid value openSetting
to open-type
. Details U
Updated the Mini Program component navigator by adding the target
property to redirect to a bound Mini Program. Details A
Added the Mini Game API wx.createOpenSettingButton. Details
v2.0.6 (2018.05.11)
v2.0.5 (2018.05.08)
v2.0.4 (2018.04.28)
v2.0.3 (2018.04.26)
v2.0.2 (2018.04.20)
v2.0.1 (2018.04.14)
v2.0.0 (2018.04.12)
A
Added require
to support circular dependency. U
Updated the API wx.saveImageToPhotosAlbum to save files in packages. F
Fixed the API wx.hideTabBar to rectify the issue where the first call failed. Feedback Details F
Fixed the API wx.showToast to rectify the issue where configuration of custom images in plug-ins failed. Feedback Details F
Fixed the API wx.closeBluetoothAdapter to rectify the issue where resources were not released on Android. Feedback Details F
Fixed the API wx.chooseVideo to rectify the issue where there was no sound when using the front camera to record a video on iOS. F
Fixed the API wx.getBackgroundAudioManager to rectify the issue where a video automatically paused after four seconds when the playback of an audio file ended on iOS. Feedback Details F
Fixed the API wx.openDocument to rectify the issue where an error was reported directly when it was called by oversea users on Android. F
Fixed the API wx.previewImage to rectify the issue where the second call failed on Android. Feedback Details F
Fixed the API wx.getSystemInfo to rectify the issue where the returned screenHeight
value was incorrect during tab switching for the first time. F
Fixed the component map to rectify the issue where manually changing latitude and longitude in DevTools did not trigger regionchange. F
Fixed the component cover-image to rectify the issue where height was not automatically adjusted after the image was loaded. F
Fixed the component textarea to rectify the issue where the bindfocus
event could not be triggered when adjust-position="false"
was set. Feedback Details F
Fixed the component video to rectify the issue where the video did not automatically exit full screen mode when hidden in full screen mode. F
Fixed the component canvas to rectify the issue where the call to drawImage
was invalid during the ready
lifecycle of a custom component. Feedback Details F
Fixed the component canvas to rectify the issue where images exported via the wx.canvasToTempFilePath API were in wrong positions after setTextAlign
was called on iOS. Feedback Details F
Fixed the component picker to rectify the issue of font adaptation on iOS. Feedback Details F
Fixed the issue where Behavior could not be used in plug-ins. F
Fixed the issue where backgroundColor
became invalid when backgroundColorTop
was set in iOS Settings. F
Fixed the issue where trigger sequences of lifecycles onItemTap
and onShow
were different on iOS and on Android. Feedback Details F
Fixed an issue where the top Mini Program control button moved up when you focused on an input box to display the keyboard in the custom title bar mode on iOS. Feedback Details F
Fixed the issue where the display of tabBar on iOS, Android, and Weixin DevTools was not aligned.
Historical Versions
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.