Base Library Update Log (v1.x)
Latest Version
v1.9.98 (2018.04.04)
v1.9.97 (2018.03.30)
v1.9.96 (2018.03.22)
v1.9.95 (2018.03.20)
v1.9.94 (2018.03.15)
v1.9.93 (2018.03.08)
v1.9.92 (2018.03.05)
A
Added the API wx.createWorker to create multi-threaded workers. A
Added the API wx.getUpdateManager to force update the Mini Program. A
Added the API canvasContext.measureText
to view the text in the same size as it appears in the current canvas. A
Added the API canvasContext.globalCompositeOperation
to set the type of compositing operation to apply when drawing new shapes. A
Added the API canvasContext.arcTo
to add a circular arc to the current path using control points and radius. A
Added the API canvasContext.strokeText
to provide text drawing methods. A
Added the API canvasContext.lineDashOffset
to set the line dash offset. A
Added the API canvasContext.createPattern
to create a pattern for the specific image. A
Added the API canvasContext.shadowBlur/shadowColor/shadowOffsetX/shadowOffsetY
to set the shadow style. A
Added the API canvasContext.font
to set the current font style. A
Added the API canvasContext.transform
to multiply the current transformation with matrix. A
Added the API canvasContext.setTransform
to reset (override) the current transformation with matrix. A
Added the API LivePusherContext.snapshot
to take a snapshot in push stream. A
Added the configuration window.backgroundColorTop
window.backgroundColorBottom
to set the background color at the top and bottom of the window separately. U
Updated the API wx.createInnerAudioContext and added volumn
property to adjust the volume. U
Updated the API wx.login wx.getUserInfo wx.getShareInfo wx.getWeRunData and added timeout
parameter to set the timeout length. U
Updated the API wx.getImageInfo and added the return value of orientation
and type
. U
Updated the component cover-view to support setting overflow: scroll
to create local scrolling region. U
Updated the component cover-view to support setting position: fixed
to fix the position relative to the window. U
Updated the component open-data to support rendering userInfo. U
Updated the component movable-view and added bindchange
event. U
Updated the component movable-view to support zoom gestures. U
Updated the component movable-view with the bindvtouchmove
event. U
Updated the component movable-view and added disabled
property to disable swipe gesture. U
Updated the component input textarea and added adjust-position
property to control whether to push up the page automatically. U
Updated the component input textarea to return keyboard height in bindfocus
event callback. U
Updated the component picker and added bindcancel
event. U
Updated the component and added bindtouchforcechange
event. U
Updated custom component to add a prefix to the style to pass the class name. F
Fixed the API wx.showModal to rectify the issue where cancelText
and confirmText
only allowed to input 4 English characters. F
Fixed the component live-player to rectify the issue where playing could not be stopped. Feedback Details F
Fixed the component input to rectify the issue where only one space among multiple spaces was displayed when out of focus. Feedback Details F
Fixed the component input to rectify the issue where color could not be set in disabled state. F
Fixed the component slider to rectify the issue where setting transform caused abnormal sliding of the slider. F
Fixed the component form to rectify the issue where submit event was not triggered when the keyboard was shown in Android. F
Fixed frameworks to rectify the issue where tapping while scrolling in Android triggered tap event. F
Fixed frameworks to rectify the issue where quick sliding causes abnormal number of triggers on onReachBottom
event. Feedback Details F
Fixed frameworks to rectify the issue where rpx unit cannot be converted. Feedback Details
v1.9.91 (2018.02.09)
v1.9.90 (2018.02.07)
v1.9.9 (2018.02.05)
v1.9.8 (2018.02.03)
Discarded in v1.9.7
v1.9.6 (2018.01.29)
v1.9.5 (2018.01.24)
A
Added the configuration window.navigationStyle
to support viewing the Mini Program in full screen. U
Updated the component button open-type
and added launchApp
property.
v1.9.4 (2018.01.25)
v1.9.3 (2018.01.23)
v1.9.2 (2018.01.09)
v1.9.1 (2018.01.04)
v1.9.0 (2018.01.02)
A
Added tabBar related APIs. A
Added the API wx.canvasGetImageData to return the pixel data of canvas. A
Added the API wx.canvasPutImageData to draw pixel data onto canvas. U
Updated the component swiper and added current-item-id
, previous-margin
, next-margin
, display-multiple-items
, skip-hidden-item-layout
and bindanimationfinish
properties. U
Updated the component input to support selection. U
Updated the component textarea to support selection. U
Updated the component live-player and added bindnetstatus
event. U
Updated the component live-pusher and added bindnetstatus
event. U
Updated the component video to allow more granular control over the control bar. U
Updated the component slider to support setting the slider size with block-size
and slider color with block-color
. U
Updated the background audio API backgroundAudioManager
to support live stream audio. U
Updated the API canvasContext.drawImage
to support drawing clipped source image onto canvas. U
Updated the API wx.showToast to limit the text to 7 Chinese characters and add text without icon. F
Fixed the API wx.chooseVideo to rectify the issue where the compressed
parameter was invalid. F
Fixed the API WebSocket to rectify the issue where error
and close
events were not triggered as soon as service connection failed in Android, but rather waited until timeout. F
Fixed the Android background audio API backgroundAudioManager
to rectify the issue where local files could not be played. Feedback Details) F
Fixed the API wx.setEnableDebug to rectify the issue where the Mini Program kept restarting in Android. F
Fixed the API wx.showToast to rectify the issue where the mask layer was not removed when calling wx.hideToast a third time after two successive calls in iOS. F
Fixed the API wx.startPullDownRefresh to rectify the issue where onPullDownRefresh
event was not triggered in iOS. F
Fixed the API wx.previewImage to rectify the issue where the Mini Program exited after pressing and holding GIF to send it in Android. F
Fixed the API wx.pageScrollTo to rectify the issue where fixed element flashed and added duration
parameter. F
Fixed the issue where custom components ran twice when using the callback method set dynamically. Feedback Details
v1.7.4 (2017.12.22)
v1.7.3 (2017.12.19)
v1.7.2 (2017.12.15)
v1.7.1 (2017.12.08)
v1.7.0 (2017.12.04)
A
Added debugging support in Weixin DevTools for the component camera. U
Updated the API WebSocket
to support creating multiple WebSocket connections. U
Updated the API wx.request to support sending and receiving ArrayBuffer data. U
Updated draw
of the API wx.createCanvasContext and completed the rendering of callback notification. U
Updated the API wx.canvasToTempFilePath to support setting output image format and quality parameters. U
Updated the API wx.createInnerAudioContext to remove the strategy of resuming playback when switching to foreground. U
Updated the component slider and added bindchanging
event. U
Updated the component progress and added active-mode
property. U
Updated the component video to add duration
return parameter to timeupdate
event callback. U
Updated the component video and added direction
parameter to support setting screen direction in full screen mode. U
Updated the component scroll-view to optimize the trigger frequency of scrolltoupper
and scrolltolower
events. U
Updated the component cover-view to optimize the rendering performance in Android. F
Fixed the API wx.createInnerAudioContext to rectify the issue where the time unit of the return parameter was incorrect. F
Fixed the API wx.hideLoading to rectify the issue where wx.showToast was hided. F
Fixed the issue where API wx.hideLoading disappears when called. Feedback Details F
Fixed the API wx.canvasToTempFilePath to rectify the issue where export failed and crash occurred when canvas was invisible. Feedback Details F
Fixed the API wx.uploadFile to rectify the issue of incorrect file format. Feedback Details F
Fixed the API wx.getRecorderManager to rectify the issue where the maximum duration could not be set to 10 minutes in iOS. F
Fixed the API wx.getRecorderManager to rectify the issue where the default behavior when the Mini Program ran in the background changed from stopping recording to pausing recording in Android. F
Fixed the issue where font style was invalid when component input was disabled. Feedback Details F
Fixed the component navigator to rectify the issue where two new pages were opened when clicking quickly. F
Fixed the issue of fillet radius in component cover-view in iOS. Feedback Details F
Fixed the component cover-view to rectify the issue where setting text-align: center
also middle aligned the text in Android. F
Fixed the issue where component cover-image was always displayed on top of cover-view. F
Fixed the component audio to rectify the issue where the background music didn't fade back in at the end of play. F
Fixed the component picker to rectify the issue where two clicks were required occasionally to collapse it. F
Fixed the component image to rectify the issue where the height was not updated when mode
was changed from widthFix
to other values. F
Fixed the component scroll-view to rectify the issue where flash occurred when scrolling. F
Fixed the component video to rectify the issue where the full screen mode was exited after pulling the system control panel in full screen. F
Fixed the issue where trace panel cannot connect to devices.
v1.6.8 (2017.12.20)
v1.6.7 (2017.12.15)
v1.6.6 (2017.11.15)
v1.6.5 (2017.11.07)
v1.6.4 (2017.10.30)
v1.6.3 (2017.10.23)
v1.6.2 (2017.10.19)
v1.6.1 (2017.10.14)
v1.6.0 (2017.10.11)
A
Added the API checkIsSoterEnrolledInDevice
to determine whether fingerprints and other biological information have been entered in the device. A
Added the API getRecorderManager
to obtain globally unique recording manager. A
Added the API createInnerAudioContext
to create and return the innerAudioContext object in the inner audio context. A
Added the component camera. U
Updated the API startRecord
and added duration parameter to set the maximum recording time. U
Updated the API chooseVideo
and added compressed parameter to set whether to compress the video selected by the user. U
Updated the component map polyline to support arrowIconPath parameter to change arrow icons. U
Updated the label parameter of component map marker to add style settings. U
Updated the component map and added rendering update completion event bindupdated. U
Updated the component video to support pageGesture property to control whether to enable volume and brightness gestures in non-full-screen mode. U
Updated the component video to return screen direction information in the detail of bindfullscreenchange. U
Updated the component video to support initial-time property to specify the position to initialize the playback. U
Updated the component canvas to support clipping with the clip method. U
Updated the component canvas to support setting the dash line styles with the setLineDash method. U
Updated the component cover-view to support animations U
Updated the component cover-image iconPath to support web images. U
Updated the component textarea to support show-confirm-bar to set whether to display the bar with Done button on top of the keyboard. U
Updated the component textarea to support returning a cursor in bindblur callback and returning to the cursor position when the keyboard is collapsed. U
Updated the component swiper to optimize the performance and support hiding pages other than the current and previous/next ones to avoid lagging when switching between complicated pages. U
Updated the framework referrerInfo.appId
and added the return value of referrerInfo.appId for Mini Program redirecting scenarios in onLaunch and onShow. U
Updated the vConsole WXML panel for debugging to support displaying Computed Styles. F
Fixed the API openDocument
to rectify the issue where password could not be entered when opening PDF files with password protection in iOS. F
Fixed the API openDocument
to rectify the issue where tabs could not be switched when Excel is opened in iOS. F
Fixed the API authorize
to rectify the issue where the three-way callback behaviors were inconsistent when the scope is array. F
Fixed the API showActionSheet
to rectify the issue where success and fail were called back simultaneously when cancellation was made. F
Fixed the API getSystemInfo
to rectify the issue where brand field was not returned in Weixin DevTools. F
Fixed the API chooseInvoiceTitle
to rectify the issue where invoiceTitleInfo field was not returned in Weixin DevTools. F
Fixed the issue where API pageScrollTo
was invalid in Weixin DevTools. F
Fixed the issue where API startPullDownRefresh
was invalid in Weixin DevTools. F
Fixed the API getFileInfo
to rectify the issue where only complete was called back in Weixin DevTools. F
Fixed the API startBluetoothDevicesDiscovery
to rectify the issue where the return value in Weixin DevTools was inconsistent with that in a physical device. F
Fixed the API onBluetoothDeviceFound
to rectify the issue where devices error returned a 2-dimensional array in Weixin DevTools. F
Fixed the API playBackgroundAudio
to rectify the issue where an error "fail no current music" was reported in iOS, but music could be played as usual. F
Fixed the issue where API request
was still counted in concurrency after aborted. F
Fixed the API createAnimation
to rectify the issue where backgroundColor could not use gradient background color. F
Fixed the API setNavigationBarColor
to rectify the issue where the titles and buttons of the navigation bar became transparent in iOS. F
Fixed the component image to rectify the issue where 404 was shown in Weixin DevTools but the display was not affected. F
Fixed the component map to rectify the issue where event dispatch behaviors were inconsistent between different ends. F
Fixed the component map to rectify the issue where the callout of markers didn't limit the value range of borderRadius. F
Fixed the component map to rectify the issue where the title and callout of markers behaved differently at each end. F
Fixed the component map to rectify the issue where the triangle below the callout of the marker was missing in Android. F
Fixed the component input to rectify the issue where the timestamp event object dispatched by bindinput was not timeStamp in Weixin DevTools. F
Fixed the component canvas to rectify the issue where the trigger type of longtap event in Weixin DevTools was binglongtap instead of longtap. F
Fixed the component video to rectify the issue where part of the next video was shown when playing in full screen in iOS. F
Fixed the component video to rectify the issue where controls didn't work after Play was clicked in Weixin DevTools. F
Fixed the component input to rectify the issue where bindinput contained the English characters entered when Chinese characters were input in Android. F
Fixed the component textarea to rectify the issue where value and auto-height could not be set using setData in Android. F
Fixed the component picker to rectify the issue where the geographical information of Zhongshan and Dongguan was missing in the Province/City/District selector in Android. F
Fixed the component picker to rectify the issue where a year earlier than 1970 was invalid in Android. F
Fixed the component textarea to rectify the issue where continuous switch between two textareas didn't trigger the blur of the first textarea. F
Fixed the component swiper to rectify the issue where only part of the bugs were shown. Feedback Details F
Fixed frameworks to rectify the issue where Promise didn't execute resolve in iOS8.
v1.5.8 (2017.12.06)
v1.5.7 (2017.10.03)
v1.5.6 (2017.09.27)
v1.5.5 (2017.09.26)
v1.5.4 (2017.09.21)
v1.5.3 (2017.08.28)
F
Fixed the component swiper to rectify the issue where the first image didn't show initially in some cases in iOS. F
Fixed the API canIUse
to rectify the issue where the availability of getPhoneNumber
could not be determined.
v1.5.2 (2017.08.23)
F
Fixed the component map to rectify the issue where clicking leaded to "Cannot read property 'always' of null" error when neither callout nor title property was set in markers. F
Fixed the component image to rectify the issue where bindload was executed twice. F
Fixed the component image to rectify the issue where continuously updating src caused image error. F
Fixed the issue where API chooseInvoiceTitle
reported errors on tools. F
Fixed the issue where API SelectorQuery.selectViewport
was invalid.
v1.5.1 (2017.08.18)
F
Fixed the component image to rectify the issue where sibling nodes or image fillets were overridden without being displayed.
v1.5.0 (2017.08.17)
A
Added the biometric authentication API checkIsSupportSoterAuthentication
startSoterAuthentication
. A
Added the API startPullDownRefresh
to trigger pull-down-to-refresh actively. A
Added the API chooseInvoiceTitle
to choose invoice title. A
Added a framework to add capture phase for touch events. A
Added a framework to support long-press event longpress
. A
Added a framework page.json to support setting onReachBottom distance. U
Updated the API getSystemInfo
and added fontSizeSetting to support reading the user's font size settings. U
Updated the API getSystemInfo
and added brand to support reading mobile brand field. F
Fixed the API getSystemInfo
to rectify the issue where the obtained windowWidth and windowHeight were 0 on Huawei or Meizu devices with virtual buttons. U
Updated tje API writeBLECharacteristicValue
to determine callback time based on the characteristic value of the written property. U
Updated the API shareAppMessage
and added imageUrl parameter to support sharing custom image. U
Updated the API getBluetoothDevices
onBluetoothDeviceFound
and added localName field for device information. F
Fixed the API switchTab
to rectify the issue where calling caused errors before page registration. F
Fixed the API selectorQuery
to rectify the issue where components like movable-view could not be selected in the class selector in selectorQuery. F
Fixed the API setNavigationBarColor
to rectify the issue where settings were overwritten by navigationBarTextStyle in app.json in iOS. F
Fixed the API getSetting
openSetting
to rectify the issue where part of the lifecycle functions could not be called in iOS. F
Fixed the API canvasToTempFilePath
to rectify the issue where the exported image had a white background in iOS. F
Fixed the API captureScreen
to rectify the issue where the file extension generated was unknown in Android. F
Fixed the API getBeacons
to rectify the issue where beacons field was missing when no device was obtained in Android. F
Fixed the API chooseLocation
to rectify the issue wherethe latitude and longitude type of the callback function was string instead of number in Android. F
Fixed the API connectSocket
to rectify the issue where origin was missing in the request package header of the API in Android. F
Fixed the API previewImage
to rectify the issue where the index position (1/n) of the current image was not shown in the navigation bar in iOS. F
Fixed the API previewImage
to rectify the issue where the tabBar shifted to the center of the page when exiting landscape mode in iOS. F
Fixed the API chooseImage
to rectify the issue where image rotation was not processed in Android. F
Fixed the API showToast
showLoading
where show could not be called after asynchronous hiding in iOS. F
Fixed the API pageScrollTo
to rectify the issue where video component was misplaced. U
Updated the component picker and added custom-item to support custom items in region mode. F
Fixed the component picker to rectify the issue where clicking caused crash when mode=year in iOS U
Updated the component picker-view and added mask-style and mask-class to support custom translucent mask color. F
Fixed the component picker to rectify the issue where detail of form submit didn't return province/city/district in region mode. U
Updated the component textarea input and added cursor to support setting and reading cursor position actively. F
Fixed the component textarea to rectify the issue where the cursor jumped to the end when switching keyboards while editing in iOS. F
Fixed the component textarea to rectify the issue where value could not be set in onLoad page in Android. F
Fixed the component textarea to rectify the issue where cursor-spacing could not be set in Android. F
Fixed the component form to rectify the issue where forms could not be submitted when both textarea and input were used with textarea clicked first and input clicked later. F
Fixed the component input to rectify the issue where detail.cursor parameter was missing in bindinput event callback function in Android. F
Fixed the component input to rectify the issue where the numeric keypad was not shown when used together with the textarea of auto-height in Android. F
Fixed the component input to rectify the issue where all the inputs were invalid when chooseLocation and setData were called in bindfocus. U
Updated the component button and added show-message-card and other properties to support sharing cards in customer service chat. U
Updated the component image to support lazy loading of images. F
Fixed the component image to rectify the issue where the incoming local file path could not trigger browser redraw in iOS. F
Fixed the component movable-view to rectify the issue where the positioning of the dynamically generated movable-view was inaccurate. Feedback Details F
Fixed the component cover-view to rectify the issue where control with wx:if was invalid. F
Fixed the component map to rectify the issue where bindtap was triggered together with bindcontroltap event in iOS. F
Fixed the component canvas to rectify the issue where the line width was ignored when setting line gradient and width together in iOS. F
Fixed the component cover-view to rectify the issue where border-radius was invalid in Android. F
Fixed the component rich-text to rectify the issue where trim was performed automatically. F
Fixed the component video to rectify the issue where page slide could not be triggered when playing was not started in Android. F
Fixed the component cover-view to rectify the issue where ghost clicks happened in map and triggered the tap event of map. F
Fixed the issue where seek seconds would be rounded in video context, and no accurate position could be obtained. F
Fixed the framework onReachBottom
to rectify the issue where the warning indicating handler doesn't exist was shown abnormally in some cases. U
Updated the framework setData
to support asynchronous callback. U
Updated the framework hover-stop-propagation
to support blocking click state. U
Updated frameworks to optimize reLaunch when the Mini Program was pulled in the background. U
Updated frameworks to support calling interfaces for page redirection and pop-up authorization for App onLaunch. F
Fixed frameworks to rectify the issue where pages were enlarged in certain Android systems.
v1.4.4 (2017.07.26)
v1.4.3 (2017.07.20)
A
Added the API setTopBarText
to set the information sticky on top.
v1.4.2 (2017.07.19)
F
Fixed the issue where cover-view component was unable to overlay on map component on a physical device in some cases. Feedback Details F
Fixed the open-data component to rectify the issue of incorrect request data order. F
Fixed the component canvas to rectify the issue where an error occurred in canvasToTempFilePath
when the size was changed dynamically. Feedback Details
v1.4.1 (2017.07.17)
U
Updated the API createSelectorQuery
to obtain element properties. U
Updated the API reLaunch
logic so that reLaunch
cannot be called when the Mini Program runs in the background from this version on. F
Fixed the API getBLEDeviceCharacteristics
to rectify the issue where requests failed in Weixin DevTools. Feedback Details F
Fixed the API canvasToTempFilePath
to rectify the issue where coordinates were offset in iOS. Feedback Details F
Fixed the component rich-text to rectify the issue where checking whether a parameter is empty was not supported. Feedback Details F
Fixed the component open-data to rectify the issue where group names could not be obtained. Feedback Details F
Fixed the component map to rectify the issue where events could not be moved and triggered in Weixin DevTools. Feedback Details F
Fixed the component cover-image to rectify the issue where temporary images could not be previewed in Weixin DevTools. Feedback Details F
Fixed the component text-area to rectify the issue where color
could not be set in iOS. Feedback Details F
Fixed base frameworks to rectify the issue where App.onShow
could not obtain path
and query
correctly when the Mini Program was reopened.
v1.4.0 (2017.07.10)
A
Added the API createSelectorQuery
to obtain element layout information. A
Added the API getFileInfo
to obtain file information. A
Added the API onUserCaptureScreen
to listen on user screenshot events. A
Added the API pageScrollTo
to scroll the page to a specified position. A
Added the API setNavigationBarColor
to support modifying the color of the title bar. A
Added the API setEnableDebug
to control the opening and closing of the online version of vConsole. A
Added the API setKeepScreenOn
to allow the Mini Program to keep the screen on. U
Updated the API closeSocket
and added code and reason parameters. U
Updated the API connectSocket
and added support for protocols parameter to define sub-protocols. U
Updated the API getUserInfo
and added lang parameter to specify the language in which user information is returned. U
Updated the API openDocument
and added fileType parameter to specify file types. U
Updated the API request
to queue when the concurrency limit is exceeded. U
Updated the API request
to return requestTask and support abort operation. U
Updated the API uploadFile
downloadFile
to return uploadTask/downloadTask and support listening on progress updates and abort operation. F
Fixed the API canvasToTempFilePath
to rectify the issue where images saved in iOS were not clear. F
Fixed the API chooseLocation
to rectify the issue where the returned information was empty after successfully choosing the first default address. F
Fixed the API chooseVideo
to rectify the issue where an error occurred in the progress bar at the end of play for recorded videos longer than 10s. F
Fixed the API getSystemInfo
to rectify the issue where incorrect windowHeight was returned in onLaunch and onShow of App. F
Fixed the API onBluetoothDeviceFound
to rectify the issue where the format of the returned data was incorrect. F
Fixed the API reLaunch
to rectify the issue where redirecting failed on the client. F
Fixed the API request
to rectify the issue where an exception occured when the Http status code is 302 in Android. F
Fixed the issue where API showToast
scrolled with the page in iOS. A
Added the canvas context setTextBaseline
API to set the text baseline when drawing texts. F
Fixed the canvas context setTextAlign
to rectify the issue where center alignment didn't work when there were too many Chinese characters in iOS. F
Fixed the issue where canvas context disable-scroll
could not be set on the client. F
Fixed the canvas context drawImage
to rectify the issue where only one image was effective when drawing the same image multiple times simultaneously in Weixin DevTools. A
Added the map context translateMarker
to add rotate parameter. A
Added the map context getScale
getRegion
API to support returning the current zoom scale and range. F
Fixed the map context translateMarker
API to rectify the issue where errors occurred in auto rotation calculation. F
Fixed the map context includeMapPoint
API where the unit of its padding parameter is incorrect. A
Added the video context requestFullScreen
exitFullScreen
API to support full screen mode. A
Added the video context playbackRate
API to support multi-speed playback. F
Fixed the video context seek
API to rectify the issue where settings were invalid before playback. A
Added the component cover-view to display basic native views on native components. A
Added the component open-data to display Weixin open data. A
Added the component rich-text to support rich text. U
Updated the component map to add animation transition when changing scale. U
Updated the component picker to add multi-column modes and Province/City/District types. U
Updated the component swiper to indicate the cause of change by adding source
field in the return value of change event. U
Updated the component text to add space property to support multiple space display. U
Updated the component text to add decode property to support converting
to characters. U
Updated the component video to add loop property to support loop playback. U
Updated the component video to add muted property to support silent playback. U
Updated the component video to add bindfullscreenchange event to listen on the full screen changes of the video. U
Updated the component video to support gesture control of volume and brightness. U
Updated the component video to support adding icon prompt when dragging videos. U
Updated the component video to switch to the native player in Android. F
Fixed the component canvas to rectify the issue where disable-scroll did not match the file description in Weixin DevTools. F
Fixed the component input to rectify the issue where update failed while collapsing keyboard in Android. F
Fixed the component input to rectify the issue where value update was invalid when running bindfocus. F
Fixed the component map to rectify the issue where map did not change after longitude/latitude/scale property was updated. F
Fixed the component map to rectify the issue where event did not have target or other information. F
Fixed the component scroll-view to rectify the issue where the update of scroll-top parameter wasn't reflected immediately when it was updated simultaneously with the list. F
Fixed the component swpier to rectify the issue where rendering delayed in Android and Weixin DevTools. F
Fixed the component swiper to rectify the issue where dot area sliding was invalid. F
Fixed the component switch to rectify the issue where change event was not triggered when label was changed by clicking. F
Fixed the component textarea to rectify the issue where there was redundant space at bottom after setting auto-height. F
Fixed the component textarea to rectify the issue where update did not take effect after disabled was changed to false. F
Fixed the component video to rectify the issue where the progress bar started from the wrong position when a video was resumed. F
Fixed the component video to rectify the issue where barrage comments overlapped with each other. A
Added performance analysis. Added Trace feature for Weixin DevTools. A
Added the performance recommendation document. A
Added the page event onPageScroll
to listen on page scrolling events. U
Updated a framework Mini Program operation mechanism. F
Fixed the framework app.json to rectify the issue where backgroundColor was set incorrectly in Android. F
Fixed the framework to rectify the issue where the background audio would be killed when multiple Mini Programs were opened. A
Added vConsole to WXML panel.
v1.3.0 (2017.06.21)
A
Added wx.navigateToMiniProgram to open a Mini Program from another Mini Program. A
Added wx.navigateBackMiniProgram to return to the previous Mini Program.
v1.2.6 (2017.06.20)
v1.2.5 (2017.06.09)
v1.2.4 (2017.06.05)
v1.2.3 (2017.06.01)
v1.2.2 (2017.05.23)
F
Fixed the API wx.getBackgroundAudioPlayerState to rectify the issue where fail was returned after music started playing in the Weixin DevTools. F
Fixed the API mapContext.getCenterLocation
to rectify the issue where there is no success callback in the Weixin DevTools.
v1.2.1 (2017.05.20)
A
Added 6 iBeacon related APIs. A
Added the API wx.getSetting to obtain Mini Program authorization settings. A
Added the API wx.authorize to initiate the authorization request in advance. A
Added the API wx.getScreenBrightness to obtain screen brightness. A
Added the API wx.setScreenBrightness to set screen brightness. A
Added the API wx.addPhoneContact to save contacts to mobile contacts. A
Added the API wx.updateShareMenu to dynamically update forward menu settings. A
Added APIs wx.vibrateShort and wx.vibrateLong to support vibration. A
Added the API wx.getWeRunData to obtain WeRun data. A
Added the API wx.saveImageToPhotosAlbum to save images to system album. A
Added the API wx.saveVideoToPhotosAlbum to save videos to system album. A
Added the API wx.getBackgroundAudioManager to obtain background audio manager. U
Updated the API wx.canvasToTempFilePath to add parameters x
, y
, width
, height
, destWidth
, and destHeight
. U
Updated the API wx.getLocation to support returning height and horizontal/vertical accuracy. U
Updated the API wx.scanCode by adding the onlyFromCamera
parameter to specify that QR codes cannot be selected from the album. F
Fixed the API wx.getBluetoothDevices to rectify the issue of callback error on Android. F
Fixed the API wx.getLocation to rectify the issue where the position returned after moving was not updated when the API was called on Android. F
Fixed the API wx.makePhoneCall to rectify the issue where extension cannot be called on Android. F
Fixed the API wx.setNavigationBarTitle to rectify the issue of call exception. A
Added the component movable-view to support drag and drop. U
Updated the component button to add the share
property to open-type
. U
Updated the component map to support bubble window at the top of marker
. U
Updated the component [map]((map) to add label to marker
. U
Updated the component map to change the marker
icon anchor of the latitude and longitude. U
Updated the component map to add arrow style route. U
Updated the component map to set route border. U
Updated the component map by adding the translateMarker API to mapContext
to translate marker with animation. U
Updated the component map by adding the includePoints API to mapContext
to set padding. U
Optimized the component scroll-view by adding scroll-into-view
to support horizontal positioning. U
Optimized the component switch to add vibration feedback. U
Optimized the component picker-view to add sound and vibration feedback during scrolling. F
Fixed the component picker-view to rectify the issue where display was incorrect when lists and values were changed simultaneously. F
Fixed the component scroll-view to rectify the issue where horizontal scrolling lagged when setData was performed frequently. F
Fixed the component scroll-view to rectify the issue where scrolling exception occurred when min-height
was set in horizontal scrolling. F
Fixed the component scroll-view to rectify the issue where enable-back-to-top
was invalid when the component was displayed after being hidden by setting wx:if
. F
Fixed the component scroll-view to rectify the issue where the touch*
event was not triggered when tapping quickly after sliding stopped. F
Fixed the component swiper to rectify the issue where the first indicator point was missing in Android. F
Fixed the component image to rectify the issue where the displayed images did not disappear when src=""
was set dynamically. F
Fixed the component image to rectify the issue where images could not be displayed in Weixin due to the src property containing spaces. F
Fixed the component image to rectify the issue where the time sequence of local images and web images that were set sequentially was incorrect on iOS. F
Fixed the component input to rectify the issue where text ghosting occurred when the focus was lost. F
Fixed the component input to rectify the issue where the keyboard did not show up when switching to another input on Android. F
Fixed the component input to rectify the issue of password type ghosting. F
Fixed the component video to rectify the issue where the video orientation was incorrect in full screen mode after orientation lock was turned off in iOS. F
Fixed the component video to rectify the issue where videos recorded on iOS were reversely played on Android. F
Fixed the component video to rectify the issue where the barrage comments of the video were still shown after it was switched to the next one on Android. F
Fixed the component video to rectify the issue where barrage comments did not take effect when videos were played in full screen mode. F
Fixed the component video to rectify the issue where the barrage comments at the bottom of the screen were blocked by the progress bar on iOS. F
Fixed the component video to rectify the issue where the progress bar was distorted and kept flashing in full screen mode on iOS. F
Fixed the component video to rectify the issue where the button for barrage comments was displayed by default in the player on iOS. F
Fixed the component video to rectify the issue where the player got stuck after the user tapped the upper right corner to view the Mini Program's information during playback on iOS. F
Fixed the component video to rectify the issue where the screen froze after the buffered video was played when the network connection was disconnected during playback, but the progress bar was still running on iOS. F
Fixed the component video to rectify the issue where video addresses could not be switched in full screen mode on iOS F
Fixed the component video to rectify the issue where barrage comments overlapped with each other. F
Fixed the component video to rectify the issue about working with the progress bar of live stream videos. F
Fixed the component video to rectify the issue where native component hierarchy was disordered in full screen mode. A
Added a framework capability to obtain page paths via the route
field in Page
instances. A
Added a trial version for developers to support opening vConsole for debugging. A
Added a trial version for developers to add a performance panel to the client. U
Optimized the system capability to allow the Mini Program to be closed after screen lock on Android. U
Optimized the system capability to allow restart after a page crash on iOS. F
Fixed the custom analysis feature to rectify the issue where error report failed before the page was initialized.
v1.2.0 (2017.05.18)
v1.1.1 (2017.04.13)
A
Added the API wx.canIUse to implement compatibility. U
Optimized the code package limit from 1m to 2m. Developers can click **Project** > **Configurations** > **Refresh**
in DevTools to update project settings. F
Fixed the API wx.reLaunch to rectify the issue where relative paths could not be used. F
Fixed the component swiper to rectify the issue where an error occurred while updating the status when animation was interrupted. F
Fixed the component scroll-view to rectify the issue where the height of horizontal scrolling was incorrect during the first render. F
Fixed the component pick-view to rectify the issue where redundant events were triggered. F
Fixed the framework capability where the query
of App.onLaunch
and App.onShow
did not have a default value.
v1.1.0 (2017.03.31)
A
Added 18 Bluetooth-related APIs. A
Added the API wx.chooseAddress to obtain recipient addresses. A
Added the API wx.openSetting to open the Mini Program Settings interface. A
Added the API wx.reLaunch. A
Added APIs wx.arrayBufferToBase64
and wx.base64ToArrayBuffer
A
Added APIs wx.showLoading and wx.hideLoading. A
Added APIs wx.startAccelerometer and wx.stopAccelerometer. A
Added APIs wx.startCompass and wx.stopCompass. A
Added APIs wx.getClipboardData and wx.setClipboardData to work with the clipboard. A
Added APIs wx.addCard and wx.openCard to support Weixin coupons. A
Added the API wx.onNetworkStatusChange to listen to network changes. A
Added APIs wx.hideShareMenu
and wx.showShareMenu. A
Added the API CanvasContext.setTextAlign
for text alignment. U
Updated the API wx.getSystemInfo to return screenWidth
, screenHeight
, and SDKVersion
. U
Updated the API wx.showModal to return values when the user taps to cancel. U
Updated the API wx.showToast to support customizing prompt box images via the image
parameter. U
Updated the API wx.getUserInfo to add the withCredentials
parameter. F
Fixed the API wx.showNavigationBarLoading to rectify the issue where the first call would fail on iOS
. F
Fixed the API wx.requestPayment to rectify the issue where the template message could not be sent if the user did not tap the Done button for the payment that was completed after the API was called successfully. F
Fixed the API wx.onBackgroundAudioStop to rectify the issue where callbacks could not be triggered occasionally when the screen was locked. F
Fixed the API wx.playBackgroundAudio to rectify the issue where paused music could not be resumed in certain cases on Android
. F
Fixed the API wx.previewImage to rectify the issue where page.onShow
was triggered when values were returned on Android
. F
Fixed the API wx.chooseImage to rectify the issue where no image address was found in the return value if the image was edited when being selected. F
Fixed the API wx.onBackgroundAudioStop to rectify the issue where it might be accidentally triggered when wx.seekBackgroundAudio was called. F
Fixed the API wx.getBackgroundAudioPlayerState
to rectify the issue where callback results were inconsistent. A
Added a framework capability to obtain scene values for entering the Mini Program via App.onLaunch
and App.onShow
. U
Optimized the framework capability to support obtaining the user's forwarding status. U
Updated the indicator-color
and indicator-active-color
properties of the component swiper to edit the color of the panel indicator point. U
Updated the confirm-type
and confirm-hold
properties of the component input. U
Updated the duration
property of the component video. U
Updated the selectable
property of the component text to support selecting by holding. U
Updated the open-type
property of the component navigator by adding the available values reLaunch
and navigateBack
. U
Updated the indicator-class
property of the component picker-view. U
Optimized the iconPath
, marker
, and controls
of the component map to support temporary files. U
Optimized the component video to rectify the issue where the timeupdate
event was triggered frequently when the src
property was incorrect. U
Optimized the component image to support .svg
files. U
Optimized the component video to improve experience when using the control bar. U
Optimized the component picker-view
to support quick scrolling to tapped items for better experience. U
Optimized the component swiper to improve the experience when sliding right to return. U
Optimized components slider and process to unify the property names of color settings. F
Fixed the component form to rectify the issue where submission might not be triggered when the keyboard was displayed. F
Fixed the component slider to rectify the issue where default values could not be set via data binding. F
Fixed the component video to rectify the issue where danmuList
could not be set dynamically. F
Fixed the component textarea to rectify the issue where min-height
and max-height
styles were not supported. F
Fixed the component picker-view to rectify the issue where a blank page was shown when the external layer was hidden. F
Fixed the component video to rectify the issue where the cover image was not adaptive on iOS. F
Fixed the component video to rectify the issue where the loading icon appeared occasionally when a video was played. F
Fixed the component swiper to rectify the issue where images could not be shown in certain cases. F
Fixed the component picker to rectify the issue where the date selector on iOS only updated the year and left the month unchanged for the second selection. F
Fixed components to rectify the issue where the click status was invalid when the hover-class
property changed from none to another value. F
Fixed the component textarea to rectify the issue where the disabled property was invalid when displayed after hidden by default. F
Fixed the component swiper to rectify the issue where the internal swiper didn't work when swiper was embedded. F
Fixed the app for Android to rectify the issue where fail:interrupted
was returned when wx.request was called in certain cases. F
Fixed the app for iOS to rectify the issue where exception occurred in tabBar when the personal hotspot was turned on and connected.
v1.0.1 (2017.03.03)
v1.0.0 (2017.02.06)
A
Added the API wx.getNetworkType to return status without network connection. F
Fixed APIs wx.request, wx.uploadFile, and wx.downloadFile to rectify the issue where the type of statusCode
was not Number
on Android. F
Fixed the API wx.scanCode to rectify the issue where there was no callback when code scanning was canceled on iOS. F
Fixed the API wx.switchTab to rectify the issue where onShow
was not called in certain cases. F
Fixed the API wx.reqeust to rectify the issue where requests could not be initiated when data contained special characters. F
Fixed the API wx.getNetworkType to rectify the issue where invalid parameters were returned on iOS. F
Fixed the API wx.downloadFile to rectify the issue where the header
parameter was not processed on iOS. F
Fixed the API wx.playBackgroundAudio to rectify the issue where music could not be played after another music was paused. F
Fixed the API wx.playBackgroundAudio to rectify the issue where onBackgroundAudioStop
was triggered twice after playback ended on Android. F
Fixed the API video to rectify the issue where playback failed after seek was called on Android. F
Fixed APIs to rectify the issue where pop-up windows overlapped when authorization window was required. F
Fixed the component video to rectify the issue where the control bar didn't work when a video was played in full screen mode on iOS. F
Fixed the component video to rectify the issue where playback failed after seek was called in Android. U
Optimized App.onError
to rectify the issue where the fail
callbacks of APIs were not captured. F
Fixed wx:for
to rectify the issue where an exception occurred while rendering under the same scenario as wx:key
. F
Fixed wx:for
to rectify the issue where wx:index
was disordered when wx:key
was set and data was added, deleted or moved. F
Fixed the component picker-view-column to rectify the issue where the height was incorrect when the content was changed dynamically.
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.