# 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)

  1. A Added the API wx.createWorker to create multi-threaded workers.
  2. A Added the API wx.getUpdateManager to force update the Mini Program.
  3. A Added the API canvasContext.measureText to view the text in the same size as it appears in the current canvas.
  4. A Added the API canvasContext.globalCompositeOperation to set the type of compositing operation to apply when drawing new shapes.
  5. A Added the API canvasContext.arcTo to add a circular arc to the current path using control points and radius.
  6. A Added the API canvasContext.strokeText to provide text drawing methods.
  7. A Added the API canvasContext.lineDashOffset to set the line dash offset.
  8. A Added the API canvasContext.createPattern to create a pattern for the specific image.
  9. A Added the API canvasContext.shadowBlur/shadowColor/shadowOffsetX/shadowOffsetY to set the shadow style.
  10. A Added the API canvasContext.font to set the current font style.
  11. A Added the API canvasContext.transform to multiply the current transformation with matrix.
  12. A Added the API canvasContext.setTransform to reset (override) the current transformation with matrix.
  13. A Added the API LivePusherContext.snapshot to take a snapshot in push stream.
  14. A Added the configuration window.backgroundColorTop window.backgroundColorBottom to set the background color at the top and bottom of the window separately.
  15. U Updated the API wx.createInnerAudioContext and added volumn property to adjust the volume.
  16. U Updated the API wx.login wx.getUserInfo wx.getShareInfo wx.getWeRunData and added timeout parameter to set the timeout length.
  17. U Updated the API wx.getImageInfo and added the return value of orientation and type.
  18. U Updated the component cover-view to support setting overflow: scroll to create local scrolling region.
  19. U Updated the component cover-view to support setting position: fixed to fix the position relative to the window.
  20. U Updated the component open-data to support rendering userInfo.
  21. U Updated the component movable-view and added bindchange event.
  22. U Updated the component movable-view to support zoom gestures.
  23. U Updated the component movable-view with the bindvtouchmove event.
  24. U Updated the component movable-view and added disabled property to disable swipe gesture.
  25. U Updated the component input textarea and added adjust-position property to control whether to push up the page automatically.
  26. U Updated the component input textarea to return keyboard height in bindfocus event callback.
  27. U Updated the component picker and added bindcancel event.
  28. U Updated the component and added bindtouchforcechange event.
  29. U Updated custom component to add a prefix to the style to pass the class name.
  30. F Fixed the API wx.showModal to rectify the issue where cancelText and confirmText only allowed to input 4 English characters.
  31. F Fixed the component live-player to rectify the issue where playing could not be stopped. Feedback Details
  32. F Fixed the component input to rectify the issue where only one space among multiple spaces was displayed when out of focus. Feedback Details
  33. F Fixed the component input to rectify the issue where color could not be set in disabled state.
  34. F Fixed the component slider to rectify the issue where setting transform caused abnormal sliding of the slider.
  35. F Fixed the component form to rectify the issue where submit event was not triggered when the keyboard was shown in Android.
  36. F Fixed frameworks to rectify the issue where tapping while scrolling in Android triggered tap event.
  37. F Fixed frameworks to rectify the issue where quick sliding causes abnormal number of triggers on onReachBottom event. Feedback Details
  38. 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)

  1. A Added the configuration window.navigationStyle to support viewing the Mini Program in full screen.
  2. 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)

  1. A Added tabBar related APIs.
  2. A Added the API wx.canvasGetImageData to return the pixel data of canvas.
  3. A Added the API wx.canvasPutImageData to draw pixel data onto canvas.
  4. U Updated the component swiper and added current-item-id, previous-margin, next-margin, display-multiple-items, skip-hidden-item-layout and bindanimationfinish properties.
  5. U Updated the component input to support selection.
  6. U Updated the component textarea to support selection.
  7. U Updated the component live-player and added bindnetstatus event.
  8. U Updated the component live-pusher and added bindnetstatus event.
  9. U Updated the component video to allow more granular control over the control bar.
  10. U Updated the component slider to support setting the slider size with block-size and slider color with block-color.
  11. U Updated the background audio API backgroundAudioManager to support live stream audio.
  12. U Updated the API canvasContext.drawImage to support drawing clipped source image onto canvas.
  13. U Updated the API wx.showToast to limit the text to 7 Chinese characters and add text without icon.
  14. F Fixed the API wx.chooseVideo to rectify the issue where the compressed parameter was invalid.
  15. 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.
  16. F Fixed the Android background audio API backgroundAudioManager to rectify the issue where local files could not be played. Feedback Details)
  17. F Fixed the API wx.setEnableDebug to rectify the issue where the Mini Program kept restarting in Android.
  18. 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.
  19. F Fixed the API wx.startPullDownRefresh to rectify the issue where onPullDownRefresh event was not triggered in iOS.
  20. 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.
  21. F Fixed the API wx.pageScrollTo to rectify the issue where fixed element flashed and added duration parameter.
  22. 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)

  1. A Added debugging support in Weixin DevTools for the component camera.
  2. U Updated the API WebSocket to support creating multiple WebSocket connections.
  3. U Updated the API wx.request to support sending and receiving ArrayBuffer data.
  4. U Updated draw of the API wx.createCanvasContext and completed the rendering of callback notification.
  5. U Updated the API wx.canvasToTempFilePath to support setting output image format and quality parameters.
  6. U Updated the API wx.createInnerAudioContext to remove the strategy of resuming playback when switching to foreground.
  7. U Updated the component slider and added bindchanging event.
  8. U Updated the component progress and added active-mode property.
  9. U Updated the component video to add duration return parameter to timeupdate event callback.
  10. U Updated the component video and added direction parameter to support setting screen direction in full screen mode.
  11. U Updated the component scroll-view to optimize the trigger frequency of scrolltoupper and scrolltolower events.
  12. U Updated the component cover-view to optimize the rendering performance in Android.
  13. F Fixed the API wx.createInnerAudioContext to rectify the issue where the time unit of the return parameter was incorrect.
  14. F Fixed the API wx.hideLoading to rectify the issue where wx.showToast was hided.
  15. F Fixed the issue where API wx.hideLoading disappears when called. Feedback Details
  16. F Fixed the API wx.canvasToTempFilePath to rectify the issue where export failed and crash occurred when canvas was invisible. Feedback Details
  17. F Fixed the API wx.uploadFile to rectify the issue of incorrect file format. Feedback Details
  18. F Fixed the API wx.getRecorderManager to rectify the issue where the maximum duration could not be set to 10 minutes in iOS.
  19. 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.
  20. F Fixed the issue where font style was invalid when component input was disabled. Feedback Details
  21. F Fixed the component navigator to rectify the issue where two new pages were opened when clicking quickly.
  22. F Fixed the issue of fillet radius in component cover-view in iOS. Feedback Details
  23. F Fixed the component cover-view to rectify the issue where setting text-align: center also middle aligned the text in Android.
  24. F Fixed the issue where component cover-image was always displayed on top of cover-view.
  25. F Fixed the component audio to rectify the issue where the background music didn't fade back in at the end of play.
  26. F Fixed the component picker to rectify the issue where two clicks were required occasionally to collapse it.
  27. F Fixed the component image to rectify the issue where the height was not updated when mode was changed from widthFix to other values.
  28. F Fixed the component scroll-view to rectify the issue where flash occurred when scrolling.
  29. 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.
  30. 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)

  1. A Added the API checkIsSoterEnrolledInDevice to determine whether fingerprints and other biological information have been entered in the device.
  2. A Added the API getRecorderManager to obtain globally unique recording manager.
  3. A Added the API createInnerAudioContext to create and return the innerAudioContext object in the inner audio context.
  4. A Added the component camera.
  5. U Updated the API startRecord and added duration parameter to set the maximum recording time.
  6. U Updated the API chooseVideo and added compressed parameter to set whether to compress the video selected by the user.
  7. U Updated the component map polyline to support arrowIconPath parameter to change arrow icons.
  8. U Updated the label parameter of component map marker to add style settings.
  9. U Updated the component map and added rendering update completion event bindupdated.
  10. U Updated the component video to support pageGesture property to control whether to enable volume and brightness gestures in non-full-screen mode.
  11. U Updated the component video to return screen direction information in the detail of bindfullscreenchange.
  12. U Updated the component video to support initial-time property to specify the position to initialize the playback.
  13. U Updated the component canvas to support clipping with the clip method.
  14. U Updated the component canvas to support setting the dash line styles with the setLineDash method.
  15. U Updated the component cover-view to support animations
  16. U Updated the component cover-image iconPath to support web images.
  17. 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.
  18. U Updated the component textarea to support returning a cursor in bindblur callback and returning to the cursor position when the keyboard is collapsed.
  19. 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.
  20. U Updated the framework referrerInfo.appId and added the return value of referrerInfo.appId for Mini Program redirecting scenarios in onLaunch and onShow.
  21. U Updated the vConsole WXML panel for debugging to support displaying Computed Styles.
  22. F Fixed the API openDocument to rectify the issue where password could not be entered when opening PDF files with password protection in iOS.
  23. F Fixed the API openDocument to rectify the issue where tabs could not be switched when Excel is opened in iOS.
  24. F Fixed the API authorize to rectify the issue where the three-way callback behaviors were inconsistent when the scope is array.
  25. F Fixed the API showActionSheet to rectify the issue where success and fail were called back simultaneously when cancellation was made.
  26. F Fixed the API getSystemInfo to rectify the issue where brand field was not returned in Weixin DevTools.
  27. F Fixed the API chooseInvoiceTitle to rectify the issue where invoiceTitleInfo field was not returned in Weixin DevTools.
  28. F Fixed the issue where API pageScrollTo was invalid in Weixin DevTools.
  29. F Fixed the issue where API startPullDownRefresh was invalid in Weixin DevTools.
  30. F Fixed the API getFileInfo to rectify the issue where only complete was called back in Weixin DevTools.
  31. F Fixed the API startBluetoothDevicesDiscovery to rectify the issue where the return value in Weixin DevTools was inconsistent with that in a physical device.
  32. F Fixed the API onBluetoothDeviceFound to rectify the issue where devices error returned a 2-dimensional array in Weixin DevTools.
  33. 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.
  34. F Fixed the issue where API request was still counted in concurrency after aborted.
  35. F Fixed the API createAnimation to rectify the issue where backgroundColor could not use gradient background color.
  36. F Fixed the API setNavigationBarColor to rectify the issue where the titles and buttons of the navigation bar became transparent in iOS.
  37. F Fixed the component image to rectify the issue where 404 was shown in Weixin DevTools but the display was not affected.
  38. F Fixed the component map to rectify the issue where event dispatch behaviors were inconsistent between different ends.
  39. F Fixed the component map to rectify the issue where the callout of markers didn't limit the value range of borderRadius.
  40. F Fixed the component map to rectify the issue where the title and callout of markers behaved differently at each end.
  41. F Fixed the component map to rectify the issue where the triangle below the callout of the marker was missing in Android.
  42. F Fixed the component input to rectify the issue where the timestamp event object dispatched by bindinput was not timeStamp in Weixin DevTools.
  43. F Fixed the component canvas to rectify the issue where the trigger type of longtap event in Weixin DevTools was binglongtap instead of longtap.
  44. F Fixed the component video to rectify the issue where part of the next video was shown when playing in full screen in iOS.
  45. F Fixed the component video to rectify the issue where controls didn't work after Play was clicked in Weixin DevTools.
  46. F Fixed the component input to rectify the issue where bindinput contained the English characters entered when Chinese characters were input in Android.
  47. F Fixed the component textarea to rectify the issue where value and auto-height could not be set using setData in Android.
  48. 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.
  49. F Fixed the component picker to rectify the issue where a year earlier than 1970 was invalid in Android.
  50. F Fixed the component textarea to rectify the issue where continuous switch between two textareas didn't trigger the blur of the first textarea.
  51. F Fixed the component swiper to rectify the issue where only part of the bugs were shown. Feedback Details
  52. 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)

  1. F Fixed the component swiper to rectify the issue where the first image didn't show initially in some cases in iOS.
  2. F Fixed the API canIUse to rectify the issue where the availability of getPhoneNumber could not be determined.

# v1.5.2 (2017.08.23)

  1. 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.
  2. F Fixed the component image to rectify the issue where bindload was executed twice.
  3. F Fixed the component image to rectify the issue where continuously updating src caused image error.
  4. F Fixed the issue where API chooseInvoiceTitle reported errors on tools.
  5. F Fixed the issue where API SelectorQuery.selectViewport was invalid.

# v1.5.1 (2017.08.18)

  1. 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)

  1. A Added the biometric authentication API checkIsSupportSoterAuthentication startSoterAuthentication.
  2. A Added the API startPullDownRefresh to trigger pull-down-to-refresh actively.
  3. A Added the API chooseInvoiceTitle to choose invoice title.
  4. A Added a framework to add capture phase for touch events.
  5. A Added a framework to support long-press event longpress.
  6. A Added a framework page.json to support setting onReachBottom distance.
  7. U Updated the API getSystemInfo and added fontSizeSetting to support reading the user's font size settings.
  8. U Updated the API getSystemInfo and added brand to support reading mobile brand field.
  9. 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.
  10. U Updated tje API writeBLECharacteristicValue to determine callback time based on the characteristic value of the written property.
  11. U Updated the API shareAppMessage and added imageUrl parameter to support sharing custom image.
  12. U Updated the API getBluetoothDevices onBluetoothDeviceFound and added localName field for device information.
  13. F Fixed the API switchTab to rectify the issue where calling caused errors before page registration.
  14. F Fixed the API selectorQuery to rectify the issue where components like movable-view could not be selected in the class selector in selectorQuery.
  15. F Fixed the API setNavigationBarColor to rectify the issue where settings were overwritten by navigationBarTextStyle in app.json in iOS.
  16. F Fixed the API getSetting openSetting to rectify the issue where part of the lifecycle functions could not be called in iOS.
  17. F Fixed the API canvasToTempFilePath to rectify the issue where the exported image had a white background in iOS.
  18. F Fixed the API captureScreen to rectify the issue where the file extension generated was unknown in Android.
  19. F Fixed the API getBeacons to rectify the issue where beacons field was missing when no device was obtained in Android.
  20. 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.
  21. F Fixed the API connectSocket to rectify the issue where origin was missing in the request package header of the API in Android.
  22. 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.
  23. 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.
  24. F Fixed the API chooseImage to rectify the issue where image rotation was not processed in Android.
  25. F Fixed the API showToast showLoading where show could not be called after asynchronous hiding in iOS.
  26. F Fixed the API pageScrollTo to rectify the issue where video component was misplaced.
  27. U Updated the component picker and added custom-item to support custom items in region mode.
  28. F Fixed the component picker to rectify the issue where clicking caused crash when mode=year in iOS
  29. U Updated the component picker-view and added mask-style and mask-class to support custom translucent mask color.
  30. F Fixed the component picker to rectify the issue where detail of form submit didn't return province/city/district in region mode.
  31. U Updated the component textarea input and added cursor to support setting and reading cursor position actively.
  32. F Fixed the component textarea to rectify the issue where the cursor jumped to the end when switching keyboards while editing in iOS.
  33. F Fixed the component textarea to rectify the issue where value could not be set in onLoad page in Android.
  34. F Fixed the component textarea to rectify the issue where cursor-spacing could not be set in Android.
  35. 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.
  36. F Fixed the component input to rectify the issue where detail.cursor parameter was missing in bindinput event callback function in Android.
  37. 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.
  38. F Fixed the component input to rectify the issue where all the inputs were invalid when chooseLocation and setData were called in bindfocus.
  39. U Updated the component button and added show-message-card and other properties to support sharing cards in customer service chat.
  40. U Updated the component image to support lazy loading of images.
  41. F Fixed the component image to rectify the issue where the incoming local file path could not trigger browser redraw in iOS.
  42. F Fixed the component movable-view to rectify the issue where the positioning of the dynamically generated movable-view was inaccurate. Feedback Details
  43. F Fixed the component cover-view to rectify the issue where control with wx:if was invalid.
  44. F Fixed the component map to rectify the issue where bindtap was triggered together with bindcontroltap event in iOS.
  45. F Fixed the component canvas to rectify the issue where the line width was ignored when setting line gradient and width together in iOS.
  46. F Fixed the component cover-view to rectify the issue where border-radius was invalid in Android.
  47. F Fixed the component rich-text to rectify the issue where trim was performed automatically.
  48. F Fixed the component video to rectify the issue where page slide could not be triggered when playing was not started in Android.
  49. F Fixed the component cover-view to rectify the issue where ghost clicks happened in map and triggered the tap event of map.
  50. F Fixed the issue where seek seconds would be rounded in video context, and no accurate position could be obtained.
  51. F Fixed the framework onReachBottom to rectify the issue where the warning indicating handler doesn't exist was shown abnormally in some cases.
  52. U Updated the framework setData to support asynchronous callback.
  53. U Updated the framework hover-stop-propagation to support blocking click state.
  54. U Updated frameworks to optimize reLaunch when the Mini Program was pulled in the background.
  55. U Updated frameworks to support calling interfaces for page redirection and pop-up authorization for App onLaunch.
  56. 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)

  1. A Added the API setTopBarText to set the information sticky on top.

# v1.4.2 (2017.07.19)

  1. F Fixed the issue where cover-view component was unable to overlay on map component on a physical device in some cases. Feedback Details
  2. F Fixed the open-data component to rectify the issue of incorrect request data order.
  3. 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)

  1. U Updated the API createSelectorQuery to obtain element properties.
  2. U Updated the API reLaunch logic so that reLaunch cannot be called when the Mini Program runs in the background from this version on.
  3. F Fixed the API getBLEDeviceCharacteristics to rectify the issue where requests failed in Weixin DevTools. Feedback Details
  4. F Fixed the API canvasToTempFilePath to rectify the issue where coordinates were offset in iOS. Feedback Details
  5. F Fixed the component rich-text to rectify the issue where checking whether a parameter is empty was not supported. Feedback Details
  6. F Fixed the component open-data to rectify the issue where group names could not be obtained. Feedback Details
  7. F Fixed the component map to rectify the issue where events could not be moved and triggered in Weixin DevTools. Feedback Details
  8. F Fixed the component cover-image to rectify the issue where temporary images could not be previewed in Weixin DevTools. Feedback Details
  9. F Fixed the component text-area to rectify the issue where color could not be set in iOS. Feedback Details
  10. 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)

  1. A Added the API createSelectorQuery to obtain element layout information.
  2. A Added the API getFileInfo to obtain file information.
  3. A Added the API onUserCaptureScreen to listen on user screenshot events.
  4. A Added the API pageScrollTo to scroll the page to a specified position.
  5. A Added the API setNavigationBarColor to support modifying the color of the title bar.
  6. A Added the API setEnableDebug to control the opening and closing of the online version of vConsole.
  7. A Added the API setKeepScreenOn to allow the Mini Program to keep the screen on.
  8. U Updated the API closeSocket and added code and reason parameters.
  9. U Updated the API connectSocket and added support for protocols parameter to define sub-protocols.
  10. U Updated the API getUserInfo and added lang parameter to specify the language in which user information is returned.
  11. U Updated the API openDocument and added fileType parameter to specify file types.
  12. U Updated the API request to queue when the concurrency limit is exceeded.
  13. U Updated the API request to return requestTask and support abort operation.
  14. U Updated the API uploadFile downloadFile to return uploadTask/downloadTask and support listening on progress updates and abort operation.
  15. F Fixed the API canvasToTempFilePath to rectify the issue where images saved in iOS were not clear.
  16. F Fixed the API chooseLocation to rectify the issue where the returned information was empty after successfully choosing the first default address.
  17. 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.
  18. F Fixed the API getSystemInfo to rectify the issue where incorrect windowHeight was returned in onLaunch and onShow of App.
  19. F Fixed the API onBluetoothDeviceFound to rectify the issue where the format of the returned data was incorrect.
  20. F Fixed the API reLaunch to rectify the issue where redirecting failed on the client.
  21. F Fixed the API request to rectify the issue where an exception occured when the Http status code is 302 in Android.
  22. F Fixed the issue where API showToast scrolled with the page in iOS.
  23. A Added the canvas context setTextBaseline API to set the text baseline when drawing texts.
  24. 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.
  25. F Fixed the issue where canvas context disable-scroll could not be set on the client.
  26. 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.
  27. A Added the map context translateMarker to add rotate parameter.
  28. A Added the map context getScale getRegion API to support returning the current zoom scale and range.
  29. F Fixed the map context translateMarker API to rectify the issue where errors occurred in auto rotation calculation.
  30. F Fixed the map context includeMapPoint API where the unit of its padding parameter is incorrect.
  31. A Added the video context requestFullScreen exitFullScreen API to support full screen mode.
  32. A Added the video context playbackRate API to support multi-speed playback.
  33. F Fixed the video context seek API to rectify the issue where settings were invalid before playback.
  34. A Added the component cover-view to display basic native views on native components.
  35. A Added the component open-data to display Weixin open data.
  36. A Added the component rich-text to support rich text.
  37. U Updated the component map to add animation transition when changing scale.
  38. U Updated the component picker to add multi-column modes and Province/City/District types.
  39. U Updated the component swiper to indicate the cause of change by adding source field in the return value of change event.
  40. U Updated the component text to add space property to support multiple space display.
  41. U Updated the component text to add decode property to support converting   to characters.
  42. U Updated the component video to add loop property to support loop playback.
  43. U Updated the component video to add muted property to support silent playback.
  44. U Updated the component video to add bindfullscreenchange event to listen on the full screen changes of the video.
  45. U Updated the component video to support gesture control of volume and brightness.
  46. U Updated the component video to support adding icon prompt when dragging videos.
  47. U Updated the component video to switch to the native player in Android.
  48. F Fixed the component canvas to rectify the issue where disable-scroll did not match the file description in Weixin DevTools.
  49. F Fixed the component input to rectify the issue where update failed while collapsing keyboard in Android.
  50. F Fixed the component input to rectify the issue where value update was invalid when running bindfocus.
  51. F Fixed the component map to rectify the issue where map did not change after longitude/latitude/scale property was updated.
  52. F Fixed the component map to rectify the issue where event did not have target or other information.
  53. 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.
  54. F Fixed the component swpier to rectify the issue where rendering delayed in Android and Weixin DevTools.
  55. F Fixed the component swiper to rectify the issue where dot area sliding was invalid.
  56. F Fixed the component switch to rectify the issue where change event was not triggered when label was changed by clicking.
  57. F Fixed the component textarea to rectify the issue where there was redundant space at bottom after setting auto-height.
  58. F Fixed the component textarea to rectify the issue where update did not take effect after disabled was changed to false.
  59. F Fixed the component video to rectify the issue where the progress bar started from the wrong position when a video was resumed.
  60. F Fixed the component video to rectify the issue where barrage comments overlapped with each other.
  61. A Added performance analysis. Added Trace feature for Weixin DevTools.
  62. A Added the performance recommendation document.
  63. A Added the page event onPageScroll to listen on page scrolling events.
  64. U Updated a framework Mini Program operation mechanism.
  65. F Fixed the framework app.json to rectify the issue where backgroundColor was set incorrectly in Android.
  66. F Fixed the framework to rectify the issue where the background audio would be killed when multiple Mini Programs were opened.
  67. A Added vConsole to WXML panel.

# v1.3.0 (2017.06.21)

  1. A Added wx.navigateToMiniProgram to open a Mini Program from another Mini Program.
  2. 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)

  1. F Fixed the API wx.getBackgroundAudioPlayerState to rectify the issue where fail was returned after music started playing in the Weixin DevTools.
  2. 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)

  1. A Added 6 iBeacon related APIs.
  2. A Added the API wx.getSetting to obtain Mini Program authorization settings.
  3. A Added the API wx.authorize to initiate the authorization request in advance.
  4. A Added the API wx.getScreenBrightness to obtain screen brightness.
  5. A Added the API wx.setScreenBrightness to set screen brightness.
  6. A Added the API wx.addPhoneContact to save contacts to mobile contacts.
  7. A Added the API wx.updateShareMenu to dynamically update forward menu settings.
  8. A Added APIs wx.vibrateShort and wx.vibrateLong to support vibration.
  9. A Added the API wx.getWeRunData to obtain WeRun data.
  10. A Added the API wx.saveImageToPhotosAlbum to save images to system album.
  11. A Added the API wx.saveVideoToPhotosAlbum to save videos to system album.
  12. A Added the API wx.getBackgroundAudioManager to obtain background audio manager.
  13. U Updated the API wx.canvasToTempFilePath to add parameters x, y, width, height, destWidth, and destHeight.
  14. U Updated the API wx.getLocation to support returning height and horizontal/vertical accuracy.
  15. U Updated the API wx.scanCode by adding the onlyFromCamera parameter to specify that QR codes cannot be selected from the album.
  16. F Fixed the API wx.getBluetoothDevices to rectify the issue of callback error on Android.
  17. 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.
  18. F Fixed the API wx.makePhoneCall to rectify the issue where extension cannot be called on Android.
  19. F Fixed the API wx.setNavigationBarTitle to rectify the issue of call exception.
  20. A Added the component movable-view to support drag and drop.
  21. U Updated the component button to add the share property to open-type.
  22. U Updated the component map to support bubble window at the top of marker.
  23. U Updated the component [map]((map) to add label to marker.
  24. U Updated the component map to change the marker icon anchor of the latitude and longitude.
  25. U Updated the component map to add arrow style route.
  26. U Updated the component map to set route border.
  27. U Updated the component map by adding the translateMarker API to mapContext to translate marker with animation.
  28. U Updated the component map by adding the includePoints API to mapContext to set padding.
  29. U Optimized the component scroll-view by adding scroll-into-view to support horizontal positioning.
  30. U Optimized the component switch to add vibration feedback.
  31. U Optimized the component picker-view to add sound and vibration feedback during scrolling.
  32. F Fixed the component picker-view to rectify the issue where display was incorrect when lists and values were changed simultaneously.
  33. F Fixed the component scroll-view to rectify the issue where horizontal scrolling lagged when setData was performed frequently.
  34. F Fixed the component scroll-view to rectify the issue where scrolling exception occurred when min-height was set in horizontal scrolling.
  35. 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.
  36. F Fixed the component scroll-view to rectify the issue where the touch* event was not triggered when tapping quickly after sliding stopped.
  37. F Fixed the component swiper to rectify the issue where the first indicator point was missing in Android.
  38. F Fixed the component image to rectify the issue where the displayed images did not disappear when src="" was set dynamically.
  39. F Fixed the component image to rectify the issue where images could not be displayed in Weixin due to the src property containing spaces.
  40. 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.
  41. F Fixed the component input to rectify the issue where text ghosting occurred when the focus was lost.
  42. F Fixed the component input to rectify the issue where the keyboard did not show up when switching to another input on Android.
  43. F Fixed the component input to rectify the issue of password type ghosting.
  44. 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.
  45. F Fixed the component video to rectify the issue where videos recorded on iOS were reversely played on Android.
  46. 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.
  47. F Fixed the component video to rectify the issue where barrage comments did not take effect when videos were played in full screen mode.
  48. 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.
  49. F Fixed the component video to rectify the issue where the progress bar was distorted and kept flashing in full screen mode on iOS.
  50. F Fixed the component video to rectify the issue where the button for barrage comments was displayed by default in the player on iOS.
  51. 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.
  52. 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.
  53. F Fixed the component video to rectify the issue where video addresses could not be switched in full screen mode on iOS
  54. F Fixed the component video to rectify the issue where barrage comments overlapped with each other.
  55. F Fixed the component video to rectify the issue about working with the progress bar of live stream videos.
  56. F Fixed the component video to rectify the issue where native component hierarchy was disordered in full screen mode.
  57. A Added a framework capability to obtain page paths via the route field in Page instances.
  58. A Added a trial version for developers to support opening vConsole for debugging.
  59. A Added a trial version for developers to add a performance panel to the client.
  60. U Optimized the system capability to allow the Mini Program to be closed after screen lock on Android.
  61. U Optimized the system capability to allow restart after a page crash on iOS.
  62. 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)

  1. A Added the API wx.canIUse to implement compatibility.
  2. U Optimized the code package limit from 1m to 2m. Developers can click **Project** > **Configurations** > **Refresh** in DevTools to update project settings.
  3. F Fixed the API wx.reLaunch to rectify the issue where relative paths could not be used.
  4. F Fixed the component swiper to rectify the issue where an error occurred while updating the status when animation was interrupted.
  5. F Fixed the component scroll-view to rectify the issue where the height of horizontal scrolling was incorrect during the first render.
  6. F Fixed the component pick-view to rectify the issue where redundant events were triggered.
  7. 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)

  1. A Added 18 Bluetooth-related APIs.
  2. A Added the API wx.chooseAddress to obtain recipient addresses.
  3. A Added the API wx.openSetting to open the Mini Program Settings interface.
  4. A Added the API wx.reLaunch.
  5. A Added APIs wx.arrayBufferToBase64 and wx.base64ToArrayBuffer
  6. A Added APIs wx.showLoading and wx.hideLoading.
  7. A Added APIs wx.startAccelerometer and wx.stopAccelerometer.
  8. A Added APIs wx.startCompass and wx.stopCompass.
  9. A Added APIs wx.getClipboardData and wx.setClipboardData to work with the clipboard.
  10. A Added APIs wx.addCard and wx.openCard to support Weixin coupons.
  11. A Added the API wx.onNetworkStatusChange to listen to network changes.
  12. A Added APIs wx.hideShareMenu and wx.showShareMenu.
  13. A Added the API CanvasContext.setTextAlign for text alignment.
  14. U Updated the API wx.getSystemInfo to return screenWidth, screenHeight, and SDKVersion.
  15. U Updated the API wx.showModal to return values when the user taps to cancel.
  16. U Updated the API wx.showToast to support customizing prompt box images via the image parameter.
  17. U Updated the API wx.getUserInfo to add the withCredentials parameter.
  18. F Fixed the API wx.showNavigationBarLoading to rectify the issue where the first call would fail on iOS.
  19. 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.
  20. F Fixed the API wx.onBackgroundAudioStop to rectify the issue where callbacks could not be triggered occasionally when the screen was locked.
  21. F Fixed the API wx.playBackgroundAudio to rectify the issue where paused music could not be resumed in certain cases on Android.
  22. F Fixed the API wx.previewImage to rectify the issue where page.onShow was triggered when values were returned on Android.
  23. 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.
  24. F Fixed the API wx.onBackgroundAudioStop to rectify the issue where it might be accidentally triggered when wx.seekBackgroundAudio was called.
  25. F Fixed the API wx.getBackgroundAudioPlayerState to rectify the issue where callback results were inconsistent.
  26. A Added a framework capability to obtain scene values for entering the Mini Program via App.onLaunch and App.onShow.
  27. U Optimized the framework capability to support obtaining the user's forwarding status.
  28. U Updated the indicator-color and indicator-active-color properties of the component swiper to edit the color of the panel indicator point.
  29. U Updated the confirm-type and confirm-hold properties of the component input.
  30. U Updated the duration property of the component video.
  31. U Updated the selectable property of the component text to support selecting by holding.
  32. U Updated the open-type property of the component navigator by adding the available values reLaunch and navigateBack.
  33. U Updated the indicator-class property of the component picker-view.
  34. U Optimized the iconPath, marker, and controls of the component map to support temporary files.
  35. U Optimized the component video to rectify the issue where the timeupdate event was triggered frequently when the src property was incorrect.
  36. U Optimized the component image to support .svg files.
  37. U Optimized the component video to improve experience when using the control bar.
  38. U Optimized the component picker-view to support quick scrolling to tapped items for better experience.
  39. U Optimized the component swiper to improve the experience when sliding right to return.
  40. U Optimized components slider and process to unify the property names of color settings.
  41. F Fixed the component form to rectify the issue where submission might not be triggered when the keyboard was displayed.
  42. F Fixed the component slider to rectify the issue where default values could not be set via data binding.
  43. F Fixed the component video to rectify the issue where danmuList could not be set dynamically.
  44. F Fixed the component textarea to rectify the issue where min-height and max-height styles were not supported.
  45. F Fixed the component picker-view to rectify the issue where a blank page was shown when the external layer was hidden.
  46. F Fixed the component video to rectify the issue where the cover image was not adaptive on iOS.
  47. F Fixed the component video to rectify the issue where the loading icon appeared occasionally when a video was played.
  48. F Fixed the component swiper to rectify the issue where images could not be shown in certain cases.
  49. 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.
  50. F Fixed components to rectify the issue where the click status was invalid when the hover-class property changed from none to another value.
  51. F Fixed the component textarea to rectify the issue where the disabled property was invalid when displayed after hidden by default.
  52. F Fixed the component swiper to rectify the issue where the internal swiper didn't work when swiper was embedded.
  53. F Fixed the app for Android to rectify the issue where fail:interrupted was returned when wx.request was called in certain cases.
  54. 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)

  1. A Added the API wx.getNetworkType to return status without network connection.
  2. F Fixed APIs wx.request, wx.uploadFile, and wx.downloadFile to rectify the issue where the type of statusCode was not Number on Android.
  3. F Fixed the API wx.scanCode to rectify the issue where there was no callback when code scanning was canceled on iOS.
  4. F Fixed the API wx.switchTab to rectify the issue where onShow was not called in certain cases.
  5. F Fixed the API wx.reqeust to rectify the issue where requests could not be initiated when data contained special characters.
  6. F Fixed the API wx.getNetworkType to rectify the issue where invalid parameters were returned on iOS.
  7. F Fixed the API wx.downloadFile to rectify the issue where the header parameter was not processed on iOS.
  8. F Fixed the API wx.playBackgroundAudio to rectify the issue where music could not be played after another music was paused.
  9. F Fixed the API wx.playBackgroundAudio to rectify the issue where onBackgroundAudioStop was triggered twice after playback ended on Android.
  10. F Fixed the API video to rectify the issue where playback failed after seek was called on Android.
  11. F Fixed APIs to rectify the issue where pop-up windows overlapped when authorization window was required.
  12. 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.
  13. F Fixed the component video to rectify the issue where playback failed after seek was called in Android.
  14. U Optimized App.onError to rectify the issue where the fail callbacks of APIs were not captured.
  15. F Fixed wx:for to rectify the issue where an exception occurred while rendering under the same scenario as wx:key.
  16. 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.
  17. F Fixed the component picker-view-column to rectify the issue where the height was incorrect when the content was changed dynamically.

Historical Versions