Base Library Changelog (v0.x version)
The latest version
2017.01.06
U: Update to get Weixin Mini Program Total number of calls to the page binary code interface is 100,000
2017.01.05
F: Fix touch eventpreventDefault inside passive event
2017.01.04
UUpdateAPI wx.getLocation wx.getUserInfo wx.chooseLocation wx.startRecord User authorization confirmation is required when the call is made, and when the user refuses authorization, a callback is called "${APIName}:fail auth deny" UUpdate API wx.scanCode New charSet, scanType, path return parameters Uupdate component video Logic for full screen button display (followed by controls properties) Ffix API wx.switchTab aftergetCurrentPagesincorrect problem FRepair API wx.uploadFile When theformDatapasses in numbers, it becomes[object Number] FFix API wx.navigateTo interface failed to call when the page does not display on iOS FFix API wx.checkSession interface without callbacks on some Android machines FRepair API wx.reqeust wx.downloadFile Problem with the interface not checking the legitimacy of the domain after the 301 redirect on the client FFix components textarea Dynamic settings in Androidfocusinvalid problems FFix the component picker Click Cancel on iOS also triggers a problem withbindchangeevents Frepair component textarea input Problem with exception when maxlength < = 0 on Android FFix component video Duration displayed abnormally when playing m3u8 live video on Android FFix component video The duration of the feed bar does not display in full in iOS FFix component audio seek before play exception FFix the problem of state synchronization error when radio is all set to false in the component radio-group Frepair component swiper simultaneously setQuestion Whencurrentandchildren,current]]may fail Frepair component propertiesplaceholder-class``hover-classInvalid style setting for character strings with spaces FFix continuoussetDatatiming exception FFix iOS8 where a large number of references to local path images caused pages to get stuck
2016-12-22
FFix input component empties content when it loses focus on developer tools FFix to Developer Tools not firingApageonShowafter project compilation FFix the problem of usingwx: forin [[TAG-2-SET]] template]((template)) to extract the value indata
2016-12-21
ANew API wx.switchTab ANew API wx.scanCode Anew API wx.createMapContext ANew API wx.createCanvasContext ANew API wx.showToast Call parameter mask AAdd Page MethodPage.onShareAppMessageFor custom forwarded content ANew framework approachApageonError ANew page configurationdisabelScroll Anew picker-view component AAdded contact-button component to display customer service session buttons Anew navigator component attribute openType Anew switch checkbox radio component attribute color Anew video component attribute objectFit Anew map component attribute markers polyline circles include-points controls show-location Anew swiper component properties circular control articulation swipe Anew input component attribute cursor-spacing Anew textarea component attribute cursor-spacing Anew picker component attribute disabled Anew view component attribute hover-class Anew slider component attributecolor、selected-color AAdded scroll-view Component properties scroll-x, scroll-y dynamic modification support Aadded map component events bindtap bindmarkertap bindcontrolstap bindregionchange Anew input component event bindconfirm Anew video component event bindtimeupdate Anew textarea component event bindconfirm Anew textarea component event bindinput Anew canvas component event bindlongtap ANewAudioContext.setSrc ()Context API ANewCanvasContextcontext ANewCanvasContext.arc ()Context API ANewCanvasContext.fillRect ()Context API ANewCanvasContext.strokeRect ()Context API ANewCanvasContext.createLinearGradient ()Context API ANewCanvasContext.createCircularGradient ()Context API ANew scroll-view component Disable scrolling when scrolling UUpdate API wx.getSystemInfo New platform return parameter UUpdate API wx.downloadFile Returns tmpFilePath when the HTTP status code is 200 or 304 UUpdate API wx.showModal Word limit for calling parameter confirmText cancelText UUpdate API wx.navigateTo wx.redirectTo Jump to tabbar page is not allowed. Please use wx.switchTab UUpdated WXML dataset returns support for objects and arrays. Uupdate image component attribute mode optional widthFix Uupdated picker component attribute range Added ObjectArray type support UUpdate switch checkbox radio default style UUpdateCanvasContext.save ()``CanvasContext.restore ()Context API to save brush style UUpdateCanvasContext.arc ()Context API parameter adjustment, addingeAngle,counterclockwise, removingsweepAngle UOptimized swiper swiping experience UOptimization swiper slider Interactive experience in scroll-view Uoptimization navigator button component click experience FFix wx.request method can only use uppercase values on Android FFix wx.uploadFile Unable to set header on iOS FFix wx.getLocation type = gcj02 not working on iOS FFixed wx.showToast Exiting Weixin Mini Program FFix wx.showModal Return parameters inconsistent in Android and iOS FFix wx.showModal content that is too long or the title is empty FFix wx.showModal cancelText and confirmText are empty, no default values are displayed FFix wx.showModal when the keyboard pops up, unable to close the keyboard FFix wx.getImageInfo not getting http link images in Android FFix wx.getSystemInfo Screen height inconsistency due to tabbar appearance FFix wx.downloadFile Image not showing after downloading on Android FFix wx.request not encode the requested data correctly FFix wx.login ApageonLaunch without a callback in iOS FFix wx.createAnimationContext Set transformOrigin exception and animation not moving to the next step FRepair wx.navigateTo wx.redirectTo On iOS, the problem with Page.onLoad not being able to call FFixcatchfailure of default behavior for blocking events FFixsetIntervalin iOS where the page gets stuck FFixedonReachBottom FFix swiper error when having descendants of text nodes Frepair switch radio checkbox image video hidden Problems where an attribute does not take effect FFix checkbox radio label not working FFix scroll-view Slide to the top or bottom of the splash screen FFix video events not taking effect on iOS FFix video Sound will continue to be removed in iOS FFix text Inline does not dynamically update class and style FFixed text color error when button disabled FFix input focus attribute invalid FFix input When using display: flex in iOS9, the first input does not display FFix to input showing an exception when the initial value is undefined FFix input placeholder ghosting Frepair input textare Problems with color abnormalities before and after focus FFix textarea position: fixed FFix textarea not triggering blur events after opening picker FFix textarea Height change when setting auto-height FFix textarea Destroy exceptions FFix video in Android Full Screen button click twice to take effect FFix audio conflicting use of the same id in multiple pages FFix canvas drawImage not displaying properly FFix image setData loop in bindload events FFix scroll-view scroll-into-view failure FFix form submit content that cannot get input DAbout to remove navigator redirect attribute DAbout to remove wx.createContext interface DAbout to remove input auto-focus attribute, just use the focus attribute DAbout to remove map covers properties
2016.10.31
FFix a partial event call for button component FFix dynamic changes swiper-item Problems existing when a component is listed sswiper Component update FFixed partial RPX invalid
2016.10.28
FRepairpage.prototype.setDataProblems not set in time inonLoadandonShow FFix wx.navigateTo fail in some cases FRepair wx.getStorageInfoSync Problem with redundanterrMsgin the return value AFour additional document managementAPI wx.getSavedFileList 、 wx.getSavedFileInfo 、 wx.removeSavedFile 、 wx.openDocument AAdd four numbers managementAPI wx.removeStorage 、 wx.removeStorageSync 、 wx.getStorageInfo 、 wx.getStorageInfoSync AFour new interactive feedbackAPI wx.showToast 、 wx.showModal 、 wx.hideModal 、 wx.showActionSheet ANew Geographic Selection API wx.chooseLocation ANew Image Information Acquisition API wx.getImageInfo ANew Audio Component Control API wx.createAudioContext ANew Video Component Control API wx.createVideoContext ATwo new device APIs wx.getSystemInfoSync 、 wx.makePhoneCall ANew Drawing API wx.canvasToTempFilePath Anew open capability API wx.checkSession AAdded wx.navigateBack delta parameter to support multi-level returns ANew additions wx.sendSocketMessage , [wx.onSocketMessage ( Support for sending and receiving ArrayBuffer data types ANewgetCurrentPages ()method to get the page stack AAddedPage.onReachBottom ()method to listen to the page reaching the bottom AAdded event object Added changedTouches list to reflect changes in finger touch position Anew textarea component Anew canvas multitouch Anew canvas disable-scroll attribute Anew image bindload event returns image width ANew text Nested [text ( Anew video controls autoplay properties ANew video Support for setting barrage, sending barrage ANew video Playback event AAdded WXMLwx: keysupport to improve list rendering performance ANew WXML Close Key, Data Path Computation UNew apagejsontabBarAttributepositionfor specifying the display position FFix wx.navigateTo api with more than 5 pages and failed calls with no return UFix navigator Settingsdisplay: flex FRepair input text-align:center、text-align:rightIssues that don't support FFix input Abnormal focus FFix image base64 image display problem FFixed form component reset due to dynamic node update FFixed some phones using rpx units with incomplete border display FFixed the samecanvas-idsharing the same drawing context in different pages FFixed function failure in property object in page FFix wx.drawCanvas Unable to draw when canvas width and height are 0 FFix wx.request header setting 'Content-Type' exception DAbout to removeApageprototype.getCurrentPage,Can be replaced by a more powerfulgetCurrentPages DThe audio action attribute is about to be removed, using a more convenient audio component control API instead DUpcoming component removal: toast loading action-sheet modal , Can be replaced by a more convenient interactive feedback API
2016.10.11
Aadded video Android added default controls AIncreased use ofexportsExternal exposure interfaces AAddingrequirewithout .jssuffix Frepair swiper swiper sensitivity FFix toast where the icon is positioned up and not centered FFix view Invalid tag hidden attribute FFix input iOS10 where the first input does not show FFix button type = "mini" FFix button loading, loading and text alignment issues FFix canvas drawImage with incorrect path FFixed an issue where data other than data in Page could not be reset FFixed the header parameter property of wx.request being set repeatedly due to case FFix an issue whererequirein apagejs RRemove switch component redundant click states RRemove view Tag inline attribute RRemove page tab height 100% default style
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.