# Base Library Update Log (v2.x)

Latest Version

# v2.4.4 (2019.01.05)

  1. U Updated frameworks to enable native components to nest in movable-view, swiper, and scroll-view to scroll with the page. Details
  2. U Updated the component button to support success callback when redirecting to an app.
  3. F Fixed frameworks to rectify the issue where App.onError was triggered repeatedly for the same error message.
  4. F Fixed the component canvas to rectify the issue where gradient could not be drawn on Weixin DevTools. Feedback Details
  5. F Fixed the component video to rectify the issue where poster could not be displayed on Android and Weixin DevTools. {% post(0000a220e74c30ac8c877ac425bc00)

# v2.4.3 (2018.12.21)

  1. U Updated plug-ins to skip domain name check when debugging was enabled. {% post(000e862141c6a028045715bdc5b000)
  2. U Updated the component swiper to add the transition event.
  3. F Fixed plug-ins to rectify the issue where exceptions occurred when plug-ins were referenced using the same appid and when the plug-in feature page was used. Feedback Details
  4. F Fixed the API wx.getBatteryInfo to rectify the issue where the res.errMsg error was returned when calling was successful.

# v2.4.2 (2018.12.04)

  1. U Updated the API SelectorQuery to select VideoContext, CanvasContext, LivePlayerContext, and MapContext. Details
  2. F Fixed frameworks to rectify the issue where a crash occurred occasionally in iOS 10.0.2.
  3. F Fixed frameworks to rectify the issue where if tabBar was set, unload could not be performed on tabBar in other pages when reLaunch was called. Feedback Details
  4. F Fixed frameworks to rectify the issue where incorrect page and method were displayed after the error of async method was reported. Feedback Details
  5. F Fixed frameworks to rectify the issue where undefined was returned by require when module.export was false. Feedback Details
  6. F Fixed the component live-pusher to rectify the issue where the recording authorization window popped up twice on DevTools. Feedback Details
  7. F Fixed the component map to rectify the issue where a prompt indicating authentication failure was displayed on DevTools. Feedback Details
  8. F Fixed the component video to rectify the issue where src could not be set via setData on DevTools. Feedback Details
  9. F Fixed the component input to rectify the issue where value failed to be updated on iOS. Feedback Details
  10. F Fixed the component image to rectify the issue where a square flashed first for the round style on iOS.
  11. F Fixed the API wx.previewImage to rectify the issue where the Mini Program referer was missing in the request. Feedback Details
  12. F Fixed the API RequestTask.abort to rectify the issue of invalid API call.

# v2.4.1 (2018.11.21)

  1. U Updated plug-ins to support Cloud Base. Details
  2. U Updated plug-ins to improve the cancellation callback for the plug-in feature page.
  3. U Updated the component rich-text to support consecutive spaces. Details
  4. U Updated the component progress to add animation completion event. Details
  5. F Fixed frameworks to rectify the issue where inserting scrolling elements such as scroll-view to native components would lead to failure to reclaim Mini Program webview on iOS.
  6. F Fixed frameworks to rectify the issue where conversion of negative numbers was inconsistent with that of positive numbers in rpx. Feedback Details
  7. F Fixed frameworks to rectify the issue where the return value of shareTicket was undefined after the page was shared.
  8. F Fixed the component video to rectify the issue where the video crashed in full screen mode on iOS.
  9. F Fixed the component official-account to rectify the issue where the Mini Program was not displayed after the QR code of the trial version was scanned.
  10. F Fixed the component swiper to rectify the issue where the page crashed when swiping the screen.
  11. F Fixed the component video to rectify the issue where initial-time was invalid on iOS. Feedback Details
  12. F Fixed the API wx.off* to rectify the issue where listening could not be disabled.
  13. F Fixed the API wx.canIUse to rectify the issue where some new APIs could not be identified.
  14. F Fixed the API MapContext.getScale to rectify the issue where incorrect scale was returned on Weixin DevTools.
  15. F Fixed the API InnerAudioContext to rectify the issue where incorrect paused value was returned.
  16. F Fixed the API wx.getLocation to rectify the issue where the incoming parameter altitude could not be read on iOS.

# v2.4.0 (2018.11.05)

  1. A Added a framework to enable screen rotation on mobile. Details
  2. A Added a plug-in to support the feature page of recipient addresses. Details
  3. A Added a plug-in to add APIs wx.setBackgroundTextStyle and wx.setBackgroundColor for setting the interface background. Details
  4. A Added an API for communication over LAN via mDNS. Details
  5. A Added an API to support dynamic messages. Details
  6. A Added the API wx.compressImage for image compression. Details
  7. U Updated frameworks to enable rpx in component property settings.
  8. U Updated plug-ins to enable users to be redirected to the plug-in feature page from the owner Mini Program.
  9. U Updated the API wx.onCompassChange to obtain precision. Details
  10. U Updated the component camera to parse QR codes. Details
  11. U Updated the component video to obtain the length of buffered data. Details
  12. U Updated the component live-pusher to enable sound mixture in live stream components. Details
  13. U Updated the component video for fast forward gesture.
  14. F Fixed frameworks to rectify the issue where the Widget debugging log could not be output.
  15. F Fixed frameworks to rectify the issue where white screen occurred when more than 7 pages were open and all were navigated via wx.navigateBack to the home page at a time on iOS. Feedback Details
  16. F Fixed a framework issue where conflict occurred when writing to the file if a resource was downloaded locally at the same time on Android.
  17. F Fixed frameworks to rectify the issue where a 404 page appeared before the correct page when App.onPageNotFound was triggered on iOS.
  18. F Fixed frameworks to rectify the issue where inconsistent incoming parameters were fetched when the QR code was scanned on iOS. Feedback Details
  19. F Fixed plug-ins to rectify the issue where plug-ins were reloaded when subpackages were loaded. Feedback Details
  20. F Fixed the API wx.chooseImage that png images were converted to jpg images on iOS. Feedback Details
  21. F Fixed the API BackgroundAudioManager to rectify the issue where pause returns 0 and 1 with no alignment in DevTools on iOS and that bool was returned on Android.
  22. U Updated the API BackgroundAudioManager to support local files on Android.
  23. F Fixed the API wx.request to rectify the issue where fail was not called back directly when request data could not be UTF8 decoded on iOS.
  24. F Fixed the API wx.createInnerAudioContext to rectify the issue where it could not be called after a Mini Program was redirected to another Mini Program on Android. Feedback Details
  25. F Fixed the component input to rectify the issue where the navigation bar fell down when focus was set in the page on iOS. {% post(000ce289f008a0c9e437a792e51c00)
  26. F Fixed the component input to rectify the issue where the input box at the bottom of the page was blocked by the keyboard when focus was set in the page on Android.
  27. F Fixed the component input to rectify the issue where the keyboard was hidden after double-click on iOS 12 beta.
  28. F Fixed the component input to rectify the issue where no content was obtained when the cursor was positioned at the front of the input box Android. Feedback Details
  29. F Fixed the component input to rectify the issue where no content was obtained when color was set to rgba on Android. Feedback Details
  30. F Fixed the component input to rectify the issue where the delete operation did not trigger any event when the content was empty on iOS.
  31. F Fixed the component input to rectify the issue where the input box was blocked by the keyboard when the type was number/digits on Android. Feedback Details
  32. F Fixed the component textarea to rectify the issue where bindinput was not triggered when using the English input method on Samsung. Feedback Details
  33. F Fixed the component textarea to rectify the issue where the keyboard and focus disappeared when emojis in the input method were tapped on iOS. Feedback Details
  34. F Fixed the component textarea to rectify the issue where blank screen occurred when switch between language keyboard and emoji keyboard on iOS. Feedback Details
  35. F Fixed the component textarea to rectify the issue where the input box was blocked at the bottom of the page on Android. Feedback Details
  36. F Fixed the component textarea to rectify the issue where the text area was blocked by the input box when in focus on a bezel-less Android phone. Feedback Details
  37. F Fixed the component canvas to rectify the issue where local files were not supported for drawimage on Android. Feedback Details
  38. F Fixed the component canvas to rectify the issue where disable-scroll remained effective after the finger left and the page could not scroll on iOS. Feedback Details
  39. F Fixed the component canvas to rectify the issue where error occurred to the data point returned by GetImageData on iOS. Feedback Details
  40. F Fixed the component swiper to rectify the issue where the memory increased dramatically in the auto loop mode on DevTools. Feedback Details
  41. F Fixed the component cover-image to rectify the issue where a path could not be set to empty after it was set. Feedback Details
  42. F Fixed the component cover-image to rectify the issue where image update failed on iOS.
  43. F Fixed the component cover-image to rectify the issue where circular setting of src resulted in repeated download on iOS.
  44. F Fixed the component cover-view to rectify the issue where \n failed once re-rendered on iOS.
  45. F Fixed the component web-view to rectify the issue where the right side of the page could not be filled and was displayed as a white border on Android. Feedback Details
  46. F Fixed the component web-view to rectify the issue where the content at the bottom of the page was truncated in the built-in full screen mode on Android.
  47. F Fixed the component web-view to rectify the issue where JSSDK failed to be called when alert was called in components.
  48. F Fixed the component web-view to rectify the issue where postMessage failed to be called when the data parameter was string on Android.
  49. F Fixed the issue to make the component camera to adapt to iPhonex. Feedback Details
  50. F Fixed the component movable-view to rectify the issue of conflicts caused by pull-down-to-refresh. Feedback Details
  51. F Fixed the component video to rectify the issue where the components in the page moved down due to the share button on iOS. Feedback Details

# v2.3.2 (2018.10.25)

  1. U Updated the debugging vConsole to support printing objects with circular references. Details
  2. U Updated the API wx.getLogManager to set the content to be printed. Details
  3. F Fixed the API console to rectify the issue where an error occurred in certain cases when Symbol variables were printed on Android.
  4. F Fixed to rectify the issue where the callback of APIs wx.showModal, wx.showActionSheet and wx.requestPayment failed to call wx.openSetting in certain cases.
  5. F Fixed the API SocketTask.close to rectify the issue where the code error was returned. Feedback Details
  6. F Fixed the API to rectify the issue where logs printed via console in Worker could not be displayed in Weixin DevTools. Feedback Details
  7. F Fixed the component input to rectify the issue where ghosting occurred when placeholderClass changed with the focus status. Feedback Details
  8. F Fixed the component picker-view to rectify the issue where pullDown was triggered when the page was swiped up on iOS. Feedback Details
  9. F Fixed the component cover-view to rectify the issue where the position:fixed style was invalid on iOS.
  10. F Fixed the component view to rectify the issue where an error occurred when the border of was set to 1rpx.
  11. F Fixed custom components to rectify the issue listening failed in certain cases when events multiSlots and capture were used at the same time. Feedback Details

# v2.3.1 (2018.10.22)

  1. U Updated the debugging vConsole to support printing more types of log data. Details
  2. U Updated frameworks to add up to 4 characters for the text in the upper right corner of tabBar with "…" displayed at the end if this limit was exceeded.
  3. U Updated the API wx.navigateToMiniProgram to pop up a window asking the user to confirm whether to open the target Mini Program when this API was called. Details
  4. U Updated the component picker-view to add an event to start scrolling. Details
  5. U Updated the component progress to define fillets and custom fonts. Details
  6. U Updated the component navigator to pop up a window asking the user to confirm whether to open the target Mini Program before it was opened. Details
  7. U Updated plug-ins to call wx.switchTab and wx.switchTab. Details
  8. U Updated plug-ins to call wx.login and wx.getUserInfo after user authorization was obtained from the feature page of login. Details
  9. F Fixed frameworks to rectify the issue where a scene value obtained by a nearby Mini Program was incorrect. Feedback Details
  10. F Fixed the API wx.getSystemInfo to rectify the issue where benchmarkLevel was returned when an error occurred while calling this API on Android.
  11. F Fixed the API to rectify the issue where the API wx.navigateToMiniProgram failed to be called after payment.
  12. F Fixed the API SelectorQuery to rectify the issue where it would fail to be called on the first page of Weixin DevTools.
  13. F Fixed the API wx.cloud.downloadFile to rectify the issue of the occurrence of statusCode 404 failure.
  14. F Fixed the API wx.getBackgroundAudioManager to rectify the issue where the status of paused was false after the stop method was called. Feedback Details
  15. F Fixed the Mini Game API wx.onShowto rectify the issue where an error occurred while parsing query.
  16. F Fixed the component map to rectify the issue where the 3-digit abbreviation was not supported for color values.
  17. F Fixed the component input to rectify the issue where the component width was exceptional when width ratio was set. Feedback Details
  18. F Fixed the component cover-image to rectify the issue where the error event could not be triggered when invalid src was loaded on iOS.
  19. F Fixed the component textarea to rectify the issue where the scrollbar was exceptional when auto-height was set on Weixin DevTools. Feedback Details
  20. F Fixed the component input to rectify the issue where two search icons were added using padding-left. Feedback Details
  21. F Fixed the component image to rectify the issue where a load event was still triggered after lazyload was loaded. Feedback Details
  22. F Fixed the component swiper to rectify the issue where swiper failed to slide when scroll-view was used. Feedback Details
  23. F Fixed the component radio to rectify the issue where color remained effective after disabled: true was set. Feedback Details
  24. F Fixed the component video to rectify the issue where an error occurred with the rendering position in certain cases. Feedback Details
  25. F Fixed the component video to rectify the issue where the video was misplaced when full screen was exited.
  26. F Fixed custom components to rectify the issue where an exception occurred while updating data when a component was updated multiple times. Feedback Details
  27. F Fixed the component canvas to rectify the issue where the parameter name of the touch event was incorrect. Feedback Details
  28. F Fixed the component map to rectify the issue where bubbles were not displayed when the marked points were tapped on Weixin DevTools. Feedback Details
  29. F Fixed the component textarea to rectify the issue where the linechange event was inaccurate on DevTools. Feedback Details

# v2.3.0 (2018.09.10)

  1. A Added a framework to support loading subpackags separately. Details
  2. A Added a framework to support configuration-based subpackage preload. Details
  3. A Added a framework to allow screen rotation for Mini Programs on iPad. Details
  4. A Added a plug-in to support live-player and live-pusher components. Details
  5. A Added APIs wx.onWindowResize and wx.offWindowResize to enable/disable listening to a screen rotation event on iPad. Details
  6. A Added the API wx.chooseInvoice to select invoices. Details
  7. A Added the API wx.setInnerAudioOption to set InnerAudio playback options. Details
  8. A Added an API to listen to gyroscope data. Details
  9. A Added an API to listen to device orientation changes. Details
  10. U Updated the API wx.getRecorderManager by adding onInterruptionBegin and onInterruptionEnd to listen to recording interruption by the system. Details
  11. U Updated the API wx.startBeaconDiscovery by adding the ignoreBluetoothAvailable parameter to skip Bluetooth On/Off verification on iOS. Details
  12. U Updated APIs FileSystemManager.stat, FileSystemManager.mkdir, FileSystemManager.mkdirSync, FileSystemManager.rmdir, and FileSystemManager.rmdirSync by adding the recursive parameter to support recursion. Details
  13. U Updated APIs to return a cloud function execution ID (requestID) when a cloud function was called. Details
  14. U Updated the component map to allow bindpoitap to listen to the callback of a POI tap event. Details
  15. U Updated the component map to allow markers to support network images. Details
  16. U Updated the component map to allow markers to control hierarchy via zIndex. Details
  17. U Updated the component map to allow callout to support the setting of a border and transparent background. Details
  18. U Updated the component map by adding the show-compass property to control whether to show a compass. Details
  19. U Updated the component map by adding the enable-3D property to control whether to show 3D blocks. Details
  20. U Updated the component map by adding the enable-overlooking property to control whether to support overlooking. Details
  21. U Updated the component map by adding the polygons property to draw a polygonal area on a map. Details
  22. U Updated the component map by adding the subkey property to customize the style of a base map. Details
  23. U Updated the component map by adding enable-zoom, enable-scroll, and enable-rotate properties to control the zooming, sliding, and rotation of components. Details
  24. U Updated the component map by adding the causedBy parameter for the bindregionchange callback to determine event sources. Details
  25. U Updated the component live-pusher by adding the device-position property to initially configure a front or rear camera. Details
  26. U Updated the component live-pusher by adding the waiting-image property to support network paths, temporary files, and paths in packages. Details
  27. U Updated the component web-view by adding bindload and binderror event listening properties. Details
  28. F Fixed the component input to rectify the issue where Sogou Pinyin Method triggered focus on iOS. Feedback Details
  29. F Fixed the component input to rectify the issue where the value of the input event was empty on certain Android models. Feedback Details
  30. F Fixed the component input to rectify the issue where there was no response to taps after swiping right to return to the previous page on iOS.
  31. F Fixed the component video to rectify the issue where there was no response to taps after swiping right to return to the previous page in full screen mode on iOS. Feedback Details
  32. F Fixed the component video to rectify the issue where auto play was not supported when initial-time was set on Android.
  33. F Fixed the component video to rectify the issue where videos cannot be played on iOS when src containing spaces. Feedback Details
  34. F Fixed the component live-player to rectify the issue where playback continued after it was removed on Android. Feedback Details
  35. F Fixed the component camera to rectify the issue where there was no sound when a user recorded the video while playing the background music on iOS. Feedback Details
  36. F Fixed the component canvas to rectify the issue where rotation was performed incorrectly when transform was used on Android.
  37. F Fixed the component canvas to rectify the issue where the drawing result was incorrect on iOS. Feedback Details
  38. F Fixed the component textarea to rectify the issue where text could not be input in textarea after input via input on Android. Feedback Details
  39. F Fixed the component input to rectify the issue where words could not be selected during input on iOS, causing invalid input. Feedback Details
  40. F Fixed the component map to rectify the issue where the setting of the arrowLine property under polyline was invalid on iOS.
  41. F Fixed the component map to rectify the issue where a display failure occurred when bgColor was not set for label on Android.
  42. F Fixed the component web-view to rectify the issue where the contact book failed to be displayed via the tel:// link on the Mini Program page for Huawei Mate 9.
  43. F Fixed the component textarea to rectify the issue where the setting of the adjust-positon property was invalid on Android. Feedback Details
  44. F Fixed the API wx.createCameraContext to rectify the issue where it failed to be called after returning to the previous page on Android. Feedback Details
  45. F Fixed the API wx.scanCode to rectify the problem that scanType returned on iOS, Android, and Weixin DevTools was inconsistent after a QR code was scanned. Feedback Details
  46. F Fixed the API wx.previewImage to avoid forced termination on Android. Feedback Details
  47. F Fixed the API FileSystemManager.writeFile to rectify the issue where it failed to be called when encoding=hex was set on iOS.
  48. F Fixed the API wx.chooseImage to rectify the issue where iCloud images would be missing in the returned array when they were selected on iOS. Feedback Details
  49. F Fixed the API wx.showModal to rectify the issue where the content of the header could not be displayed on Android when the content was excessively long. Feedback Details
  50. F Fixed the API wx.showModal to rectify the issue where the modal box would be closed after users tapped outside the box on Android. Feedback Details
  51. F Fixed the API wx.showModal to rectify the issue where cancel returned false when the back button was tapped for cancellation.
  52. F Fixed the API wx.chooseImage to rectify the issue where images were out of order when the API was called to select and compress images on iOS.
  53. F Fixed the API wx.getRecorderManager to rectify the issue where an incorrect duration was returned when recording was stopped after being paused twice on Android. Feedback Details
  54. F Fixed the API wx.hideLoading to close wx.showToast. Feedback Details
  55. F Fixed the API CanvasContext.drawImage to rectify the issue where drawing was done incorrectly on Android.
  56. F Fixed the API UpdateManager.onCheckForUpdate to rectify the issue where it was not triggered on Android in certain scenarios.
  57. F Fixed the API BackgroundAudioManager to rectify the issue where audio could not be played in a 4G environment after being downloaded locally on iOS. Feedback Detailss
  58. F Fixed the Mini Game BannerAd to rectify the issue where the style moved down after button was tapped during card download.
  59. F Fixed the Mini Game RewardedVideoAd to rectify the issue where the ad closing style and the exit button overlapped when a user went back to the Mini Game.
  60. F Fixed the Mini Game API to rectify the issue where timestamp parameter names were different in onTouch* events. Feedback Details
  61. F Fixed the issue where tabBar was not displayed when a user tapped the upper right corner to return to the homepage after entering a Mini Program from a shared page and going to a subordinate page on Android. Feedback Details
  62. F Fixed the issue where a user could tap the mask to close the forced update dialog box to cancel the update. Feedback Details
  63. F Fixed Mini Games to rectify the issue where an error was reported when image.onload was set to null in an open data domain.

# v2.2.5 (2018.08.30)

  1. F Fixed plug-ins to rectify the issue of request failure in certain cases.
  2. F Fixed the component rich-text to rectify the issue where HTML fragments cannot be parsed correctly in certain cases.

# v2.2.4 (2018.08.24)

  1. A Added a framework to enable getApp to return a default implementation when App was not defined.
  2. U Updated Mini Programs to combine scene values of "My Mini Programs" and "Recently Used". Feedback Details
  3. U Updated the component cover-view to support touch events. Details
  4. F Fixed plug-ins to rectify the issue where the feature page failed to be pulled up from a cold start.
  5. F Fixed custom components to rectify the issue where the call to setData.call was invalid.
  6. F Fixed components to rectify the issue where ad components could not be displayed under native components.
  7. F Fixed the component cover-view to rectify the issue where it jumped around when location was fixed on iOS.
  8. F Fixed the component cover-view to rectify the problem of slow data erasure on Android.
  9. F Fixed the component video to rectify the issue where a transition animation appeared when the value of the hidden property changed.
  10. F Fixed the component movable-view to rectify the issue where it failed to slide when displayed again after being hidden. Feedback Details
  11. F Fixed the component movable-view to rectify the issue where the location information obtained was incorrect during panning after zooming. Feedback Details
  12. F Fixed the issue where instance methods could not be found in certain scenes after they were added in some pages dynamically.

# Changes to Weixin 6.7.2

  1. U ** Updated the component web-view to cancel the display in full screen.**
  2. U Updated the API wx.getBackgroundAudioManager to rectify the issue where the configuration of requiredBackgroundModes was required to support playback in the background. Details

# v2.2.3 (2018.08.19)

  1. A Added the Mini Program Cloud Base SDK Details
  2. A Added image, video, cover-image, wx.previewImage, wx.getBackgroundAudioManager, and wx.createInnerAudio to support cloud file IDs. Details
  3. A Added a custom component to support the global style feature. Details
  4. A Added a custom component with lifetimes definition field to include existing lifecycles. Details
  5. A Added a custom component withpageLifetimes definition field to obtain the lifecycle of the component's page. Details
  6. A Added a custom component to support the extension feature. Details
  7. A Added a custom component with behavior wx://component-export to support the export definition field. Details
  8. A Added API wx.nextTick to defer some operations until the next time slice. Details
  9. A Added the API BackgroundAudioManager to support listening via onSeeking and onSeeked. Details
  10. U Updated the Mini Game API wx.requestMidasPayment to subdivide errMsg when the value of errCode was 1003.
  11. U Updated plug-ins to disable the web-view component
  12. U Updated vConsole on how it prints Function, ArrayBuffer, and objects with circular references.
  13. F Fixed the issue where Mini Program images could not be displayed correctly on iPad.
  14. F Fixed the issue where upload failed when the feedback page was filled in.
  15. F Fixed the component map to rectify the issue where a crash occurred when the number of points of polyline was 0.
  16. F Fixed the component button to rectify the issue where the tap event was triggered when the component was disabled.
  17. F Fixed APIs to rectify the issue where callback values of wx.onAccelerometerChange were measured in angles not radians on iOS.
  18. F Fixed the Mini Game API BannerAd.offResize to rectify the issue where the call to it was invalid.

# v2.2.2 (2018.08.02)

  1. A Added the API wx.getAccountInfoSync to obtain the basic information of a Mini Program. Details
  2. AAdded a plug-in to support redirection to the current plug-in page by calling wx.navigateTo and wx.redirectTo. Details
  3. F Fixed APIs to rectify the issue where (node) warning: possible EventEmitter memory leak detected. was displayed in certain cases.
  4. F Fixed the API wx.showKeyboard to rectify the issue where an error occurred when maxLength and defaultValue were passed at the same time and defaultValue was a number.
  5. F Fixed the Mini Game API wx.createGameClubButton to rectify the issue where the setting of image was invalid.
  6. F Fixed the component picker to rectify the issue where the start property was invalid when fields="month" was set. Feedback Details
  7. F Fixed the component canvas to rectify the issue where the result returned from the arcTo API was not as expected on Android. Feedback Details
  8. F Fixed the component cover-view to rectify the issue where background-color was displayed incorrectly in full screen mode on iOS. Feedback Details
  9. F Fixed the component button to rectify the issue where it could not be fixed together with cover-view. Feedback Details
  10. F Fixed the component textarea to rectify the issue where word-wrapped text was displayed incorrectly on iOS when auto-grow was adopted for a page. Feedback Details
  11. F Fixed plug-ins to rectify the issue where a callback was not triggered in certain cases.

# v2.2.1 (2018.07.23)

  1. F Fixed the issue where lagging occurred when the base library called accessSync in the remote debugging mode.
  2. F Fixed the component video to rectify the issue where other video components was displayed incorrectly after a video component exited full screen mode on iOS.
  3. F Fixed the component button to rectify the issue where redirection to an app failed in certain cases.
  4. F Fixed the API BackgroundAudioManager.paused to rectify the issue where incorrect results were returned in certain cases on Android. Feedback Details
  5. F Fixed APIs to rectify the issue where a video or an audio was not paused after a Mini Program ran in the background.
  6. F Fixed the Mini Game API wx.onError to rectify the issue where the callback function was executed twice.
  7. F Fixed plug-ins to rectify the plug-ins to rectify the issue the callback event was triggered several times on the feature page.

# v2.2.0 (2018.07.12)

  1. A Added the API wx.navigateToMiniProgram to enable redirection from a Mini Game to a Mini Program. Details
  2. F Fixed the API wx.scanCode to rectify the issue where an incorrect scanType was returned on Android. Feedback Details

# v2.1.3 (2018.07.09)

# v2.1.2 (2018.07.04)

# v2.1.1 (2018.06.21)

# V2.1.0 (2018.06.14)

  1. A Added the API wx.loadFontFace to support dynamic font loading. Details
  2. A Added the API wx.getLogManager to record user operation logs, allowing users to submit feedback to developers for troubleshooting. Details
  3. A Added the component camera with scanCode mode to recognize barcode. Details
  4. U Updated the API wx.createSelectorQuery to get the style information of nodes. Details
  5. U Updated the API wx.scanCode to add a new field rawData in return parameter. Details
  6. U Updated the API wx.createLivePusherContext by adding the toggleTorch method to support switching of flashlight. Details
  7. A Added the API wx.getAvailableAudioSources to get available audio sources. Details
  8. A Added the API wx.getMenuButtonBoundingClientRect to get the layout information of the menu button. Details
  9. A Added the API wx.onDeviceOrientationChange to listen to the changes of screen orientations. Details
  10. A Added the API FileSystemManager.appendFile to append file content. Details
  11. A Added APIs wx.setBackgroundColor and wx.setBackgroundTextStyle to set background information dynamically. Details
  12. A Added the Mini Game API wx.updateKeyboard to update the keyboard. Details
  13. A Added the Mini Game API wx.loadSubpackage to load subpackages. Details
  14. U Updated the component button to be nested in the native components and displayed on top of the native components. Details
  15. U Updated the component button by adding an open-type value of feedback to open the "Feedback" page. Details
  16. U Updated components cover-view and cover-image to add the scroll-top property. Details
  17. U Updated components cover-view and cover-image to set the style of rotate and scale. Details
  18. U Updated the component cover-image to add bindload and binderror events. Details
  19. U Updated the component movable-view to add the animation property. Details
  20. U Updated the component live-pusher by adding the zoom property to adjust focal length. Details
  21. U Updated the component input to return the key value of keyCode if bindinput was used. Details
  22. U Updated the API wx.startAccelerometer by adding the interval parameter to specify the callback frequency. Details
  23. F Fixed the API wx.reportAnalytics to rectify the issue where an exception occurred while calling it in plug-ins.
  24. F Fixed the API wx.hideToast to rectify the issue where the previous showLoading failed to be overridden on iOS.
  25. F Fixed the component image to rectify the issue where images were displayed incorrectly due to constant updating of src.
  26. F Fixed the component image to rectify the issue where flashes occurred when border-radius was set.
  27. F Fixed the canvas component to rectify the issue where fillStyle was affected by the configured shadow.
  28. F Fixed the component movable-view to rectify the issue of zooming. Feedback Details
  29. F Fixed the component input to rectify the issue where it failed to be destroyed in certain cases. Feedback Details
  30. F Fixed the component video to rectify the issue where playbackRate could not be set to 1.25.
  31. F Fixed the component map to rectify the issue where bindregionchange was not triggered after double-click on map zooming in Weixin DevTools.Feedback Details
  32. F Fixed frameworks to rectify the issue where the font became larger when performing setData operations after a video was switched to full screen.

# v2.0.9 (2018.06.08)

# V2.0.8 (2018.05.18)

  1. U Update Mini Program/Mini Game forwarding-related APIs and removed forwarding callback only for the DevTools.

# v2.0.7 (2018.05.16)

  1. U Discarded the Mini Program/Mini Game wx.openSetting API only for the DevTools.
  2. U Discarded the Mini Program wx.navigateToMiniProgram API only for the DevTools.
  3. U Updated the Mini Program component button to add a valid value openSetting to open-type. Details
  4. U Updated the Mini Program component navigator by adding the target property to redirect to a bound Mini Program. Details
  5. A Added the Mini Game API wx.createOpenSettingButton. Details

# v2.0.6 (2018.05.11)

# v2.0.5 (2018.05.08)

# v2.0.4 (2018.04.28)

# v2.0.3 (2018.04.26)

# v2.0.2 (2018.04.20)

# v2.0.1 (2018.04.14)

# v2.0.0 (2018.04.12)

  1. A Added require to support circular dependency.
  2. U Updated the API wx.saveImageToPhotosAlbum to save files in packages.
  3. F Fixed the API wx.hideTabBar to rectify the issue where the first call failed. Feedback Details
  4. F Fixed the API wx.showToast to rectify the issue where configuration of custom images in plug-ins failed. Feedback Details
  5. F Fixed the API wx.closeBluetoothAdapter to rectify the issue where resources were not released on Android. Feedback Details
  6. F Fixed the API wx.chooseVideo to rectify the issue where there was no sound when using the front camera to record a video on iOS.
  7. F Fixed the API wx.getBackgroundAudioManager to rectify the issue where a video automatically paused after four seconds when the playback of an audio file ended on iOS. Feedback Details
  8. F Fixed the API wx.openDocument to rectify the issue where an error was reported directly when it was called by oversea users on Android.
  9. F Fixed the API wx.previewImage to rectify the issue where the second call failed on Android. Feedback Details
  10. F Fixed the API wx.getSystemInfo to rectify the issue where the returned screenHeight value was incorrect during tab switching for the first time.
  11. F Fixed the component map to rectify the issue where manually changing latitude and longitude in DevTools did not trigger regionchange.
  12. F Fixed the component cover-image to rectify the issue where height was not automatically adjusted after the image was loaded.
  13. F Fixed the component textarea to rectify the issue where the bindfocus event could not be triggered when adjust-position="false" was set. Feedback Details
  14. F Fixed the component video to rectify the issue where the video did not automatically exit full screen mode when hidden in full screen mode.
  15. F Fixed the component canvas to rectify the issue where the call to drawImage was invalid during the ready lifecycle of a custom component. Feedback Details
  16. F Fixed the component canvas to rectify the issue where images exported via the wx.canvasToTempFilePath API were in wrong positions after setTextAlign was called on iOS. Feedback Details
  17. F Fixed the component picker to rectify the issue of font adaptation on iOS. Feedback Details
  18. F Fixed the issue where Behavior could not be used in plug-ins.
  19. F Fixed the issue where backgroundColor became invalid when backgroundColorTop was set in iOS Settings.
  20. F Fixed the issue where trigger sequences of lifecycles onItemTap and onShow were different on iOS and on Android. Feedback Details
  21. F Fixed an issue where the top Mini Program control button moved up when you focused on an input box to display the keyboard in the custom title bar mode on iOS. Feedback Details
  22. F Fixed the issue where the display of tabBar on iOS, Android, and Weixin DevTools was not aligned.

Historical Versions