Base Library Update Log (v0.x version)
Latest Version
2017.01.06
U
: Updated the total number of calls for obtaining the Mini Program QR code API to 100,000 times.
2017.01.05
F
: Fixed an issue where preventDefault inside passive event
occurred to the touch event in the development toolkit.
2017.01.04
U
Updated user authorization for calling API wx.getLocation wx.getUserInfo wx.chooseLocation wx.startRecord. When the user denies authorization, "${APIName}:fail auth deny
" is called back. U
Updated API wx.scanCode to add return parameters of charSet, scanType, and path. U
Updated the logic for displaying the full screen button for component video (display with controls property). F
Fixed the API wx.switchTab to rectify the issue where getCurrentPages
was incorrect. F
Fixed the API wx.uploadFile to rectify the issue where formData
changed to [object Number]
when data was transferred. F
Fixed the API wx.navigateTo to rectify the issue where calling failed when the page was not displayed in iOS. F
Fixed the API wx.checkSession to rectify the issue of callback missing in some Android devices. F
Fixed the API wx.reqeust wx.downloadFile to rectify the issue where the client did not check the validity of the domain name after a 301 redirection. F
Fixed the component textarea to rectify the issue where dynamically setting focus
was invalid in Android. F
Fixed the component picker to rectify the issue wherebindchange
event was triggered when Cancel was tapped in iOS. F
Fixed the component textarea input to rectify the issue where an error occurred when maxlength <= 0 in Android. F
Fixed the component video to rectify the issue where duration displayed abnormally when m3u8 live videos were played in Android. F
Fixed the component video to rectify the issue where duration was not completely displayed on the progress bar in iOS. F
Fixed the component audio to rectify the issue where an error occurred in play after seek. F
Fixed the component radio-group to rectify the issue where status synchronization failed when radio was set to false. F
Fixed the component swiper to rectify the issue where current
may be invalid when current
and children
were both set. F
Fixed an issue where style setting was invalid when component properties placeholder-class
and hover-class
were strings with space. F
Fixed an issue of sequence error when continuously using setData
. F
Fixed an issue in iOS8 where massively referring local path images causing the page to crash.
2016-12-22
F
Fixed the input component to rectify the issue where content was cleared when the DevTools lost focus. F
Fixed an issue where the DevTools did not trigger App.onShow
after project compilation. F
Fixed template to rectify the issue where using wx:for
could not obtain the value in data
.
2016-12-21
A
Added the API wx.switchTab. A
Added the API wx.scanCode. A
Added the API wx.createMapContext. A
Added the API wx.createCanvasContext. A
Added the API wx.showToast to call the parameter mask. A
Added the page method Page.onShareAppMessage
for custom forwarding. A
Added the framework method App.onError
. A
Added the page configuration disabelScroll
. A
Added the picker-view component. A
Added the contact-button component to display the customer service session button. A
Added the property openType to the navigator component. A
Added the property color to the switch checkbox radio component. A
Added the property objectFit to the video component. A
Added the properties markers polyline circles include-points controls show-location to the map component. A
Added the property circular to the swiper component to control joint sliding. A
Added the property cursor-spacing to the input component. A
Added the property cursor-spacing to the textarea component. A
Added the property disabled to the picker component. A
Added the property hover-class to the view component. A
Added the properties color
and selected-color
to the slider component. A
Added the properties scroll-x and scroll-y to the scroll-view component for dynamic modification. A
Added the events bindtap bindmarkertap bindcontrolstap bindregionchange to the map component. A
Added the event bindconfirm to the input component. A
Added the event bindtimeupdate to the video component. A
Added the event bindconfirm to the textarea component. A
Added the event bindinput to the textarea component. A
Added the event bindlongtap to the canvas component. A
Added the AudioContext.setSrc()
context API. A
Added CanvasContext
context. A
Added the CanvasContext.arc()
context API. A
Added the CanvasContext.arc()
context API. A
Added the CanvasContext.strokeRect()
context API. A
Added the CanvasContext.createLinearGradient()
context API. A
Added the CanvasContext.createCircularGradient()
context API. A
Added the scroll-view component performance to not scroll the page while scrolling. U
Updated the API wx.getSystemInfo to add the return parameter platform. U
Updated the API wx.downloadFile to return tmpFilePath when HTTP status code is 200 or 304. U
Updated the character limit of API wx.showModal calling parameter confirmText cancelText U
Updated the API wx.navigateTo wx.redirectTo to forbid redirection to the tabbar page. Use wx.switchTab. U
Updated WXML dataset return. Object and Array are available. U
Updated the image component property mode with widthFix as an option U
Updated the picker component property range to support ObjectArray. U
Updated switch checkbox radio default style U
Updated the CanvasContext.save() CanvasContext.restore() context API to save brush style. U
Updated the parameter adjustment of CanvasContext.arc() context API. Added eAngle
and counterclockwise
, and removed sweepAngle
. U
Optimized swiper sliding experience U
Optimized the interactive experience of swiper slider in scroll-view. U
Optimized the tapping experience of navigator button component. F
Fixed wx.request to rectify the issue where method could only use upper case value in Android. F
Fixed wx.uploadFile to rectify the issue where header could not be set in iOS. F
Fixed wx.getLocation to rectify the issue where type=gcj02 did not take effect in iOS. F
Fixed an issue where wx.showToast was still displayed after exiting Mini Programs. F
Fixed wx.showModal to rectify the issue where returned parameters were inconsistent in Android and iOS. F
Fixed wx.showModal to rectify the issue where the layout was disordered when content was too long or title was empty. F
Fixed wx.showModal to rectify the issue where the default value was not shown when cancelText and confirmText were empty. F
Fixed an issue where the shown keyboard could not be collapsed during wx.showModal. F
Fixed wx.getImageInfo to rectify the issue where http link images could not be obtained in Android. F
Fixed wx.getSystemInfo to rectify the issue where the occurrence of tabbar caused the inconsistency of the obtained screen height. F
Fixed wx.downloadFile to rectify the issue where downloaded images could not be displayed in Android. F
Fixed wx.request to rectify the issue where the request data was not correctly encoded. F
Fixed wx.login to rectify the issue where App.onLaunch did not call back in iOS. F
Fixed wx.createAnimationContext to rectify the issue where an error occurred when setting transformOrigin and the operation could not proceed. F
Fixed wx.navigateTo wx.redirectTo to rectify the issue where Page.onLoad could not be called in iOS. F
Fixed an issue where the default behavior of catch
blocking events was invalid. F
Fixed an issue of setInterval
in iOS where a pass parameter error caused the page to crash. F
Fixed an issue where onReachBottom
was triggered multiple times. F
Fixed [swiper]((swiper) to rectify the issue where an error occurred when having text node descendants. F
Fixed switch radio checkbox image video to rectify the issue where the hidden property did not take effect. F
Fixed checkbox radio to rectify the issue where label could not take effect. F
Fixed scroll-view to rectify the issue of a flickering screen when sliding to the top or bottom. F
Fixed video to rectify the issue where the event did not take effect in iOS. F
Fixed video to rectify the issue where audio still exists even after it was removed in iOS. F
Fixed text to rectify the issue where embedment did not dynamically update class and style. F
Fixed button to rectify the issue where text color was incorrect when it was disabled. F
Fixed input to rectify the issue where focus property was invalid. F
Fixed input to rectify the issue where the first input was not displayed when using display:flex in iOS9. F
Fixed input to rectify the issue of abnormal display when the initial value was undefined. F
Fixed input to rectify the issue of ghosting placeholder. F
Fixed input textareto rectify the issue of color error before and after in focus. F
Fixed textarea to rectify the issue of abnormal positioning in position:fixed. F
Fixed textarea to rectify the issue where the blur event was not triggered after picker was opened. F
Fixed textarea to rectify the issue where height was changed when setting auto-height. F
Fixed textarea to rectify the issue of abnormal termination. F
Fixed video to rectify the issue where the full-screen button was tapped twice to take effect in Android. F
Fixed audio to rectify the issue where an ID was used in multiple pages. F
Fixed canvas to rectify the issue where drawImage could not display normally. F
Fixed image to rectify the issue where infinite loops occurred when setData was used in the bindload event. F
Fixed scroll-view to rectify the issue where scroll-into-view was invalid. F
Fixed form to rectify the issue where "submit" could not get the input content. D
About to remove the navigator redirect property. D
About to remove the wx.createContext API. D
About to remove the input auto-focus property. You can use focus property directly. D
About to remove the map covers property.
2016.10.31
- F Fixed the button component to rectify the issue of partial event call.
F
Fixed an issue that existed in the update of the swiper component when the swiper-item component list was changed dynamically. F
Fixed an issue where some rpx were invalid.
2016.10.28
F
Fixed an issue where page.prototype.setData
is not set in time in onLoad
and onShow
. F
Fixed an issue where wx.navigateTo is invalid in some cases. F
Fixed wx.getStorageInfoSync to rectify the issue where there were redundant errMsg
in the returned value. A
Added four APIs wx.getSavedFileList, wx.getSavedFileInfo, wx.removeSavedFile and wx.openDocument for file management. A
Added four APIs wx.removeStorage, wx.removeStorageSync, wx.getStorageInfo and wx.getStorageInfoSync for data management. A
Added four APIs wx.showToast, wx.showModal, wx.hideModal, and wx.showActionSheet for interactive feedback. A
Added an API wx.chooseLocation to select a geographical location. A
Added an API wx.getImageInfo to obtain image information. A
Added an API wx.createAudioContext to control the audio component. A
Added an API wx.createVideoContext to control the video component. A
Added two device APIs wx.getSystemInfoSync and wx.makePhoneCall. A
Added an API wx.canvasToTempFilePath for drawing. A
Added an API wx.checkSession of open capabilities. A
Added the delta parameter of wx.navigateBack for multi-level return. A
Added wx.sendSocketMessage and wx.onSocketMessage to receive and send data of ArrayBuffer type. A
Added getCurrentPages()
method to obtain page stack. A
Added Page.onReachBottom()
method to listen on if the page reaches the bottom. A
Added an event object to add the changedTouches list to respond to changes in finger touch positions. A
Added the textarea component. A
Added canvas for multi-point touch. A
Added the canvas disable-scroll property. A
Added the image bindload event to return image width and height. A
Added the feature to nest text in text. A
Added video controls autoplay property. A
Added video to set and send barrage comments. A
Added video playback-type events. A
Added WXML wx:key
support to improve the performance for list rendering. A
Added WXML keywords and data route calculation. U
Added the position
property of app.json tabBar
to specify a display position. F
Fixed wx.navigateTo API to rectify the issue where there was no return for failed calls when exceeding 5 pages. F
Fixed navigator to rectify the issue where the set display: flex
was invalid. F
Fixed input to rectify the issue where text-align:center
and text-align:right
were not supported. F
Fixed an issue where input is abnormal when in focus. F
Fixed an issue of image base64 image display. F
Fixed an issue where dynamic node update causes the form component to reset. F
Fixed an issue where the border display is incomplete for some phones when using rpx unit. F
Fixed an issue where the same canvas-id
in different pages shares the same drawing context. F
Fixed an issue where the function in the property object in the page is invalid. F
Fixed wx.drawCanvas to rectify the issue where drawing was not workable when the width and height of the canvas are 0. F
Fixed wx.request to rectify the issue where an error occurred when setting 'Content-Type' in header. D
About to remove App.prototype.getCurrentPage
, which can be replaced with the more powerful getCurrentPages
. D
About to remove the audio action property, which can be replace with the more convenient audio component control API. D
About to remove the components of toast loading action-sheet modal, which can be replaced with the more convenient interactive feedback API.
2016.10.11
A
Added default controls for video in Android. A
Added the ability to use exports
to expose API externally in modular. A
Added the ability of require
to write no .js
suffix in modular. F
Fixed swiper to rectify the issue of bad sliding sensitivity. F
Fixed toast to rectify the issue where the icon in was inclined to the top and not middle aligned. F
Fixed the view tag to rectify the issue where the hidden property was invalid. F
Fixed input to rectify the issue where the first entry was not displayed in iOS10. F
Fixed button to rectify the issue where type="mini". F
Fixed button to rectify the issue where loading was not aligned with text. F
Fixed an canvas to rectify the issue where drawImage image path was incorrect. F
Fixed an issue in Page where the data other than "data" cannot be reset. F
Fixed an issue where the header parameter of wx.request is set repeatedly due to capitalization. F
Fixed an issue where require
cannot be used in app.js. R
Removed the redundant click status of the switch component. R
Removed the inline property of the view tag. R
Removed the default style of height 100% of page tag.
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.