WeChat Open Platform

Mini Programs Documentation

Update Log

2017.04.17 Base library version updates

  1. A Added API wx.canIUse Gets compatibility   Details
  2. U Optimization Code package limit increased from 1m to 2m, developers can click on the tool Project-Configuration Information-Refresh to update project configurations
  3. F Fixed the API problem where wx.reLaunch is unable to use relative paths
  4. F Fixed the component problem of status update errors when <swiper /> animation is interrupted
  5. F Fixed the component problem of <scroll-view /> horizontal scroll initial rendering height errors
  6. F Fixed the component problem where <pick-view /> triggers extra events
  7. F Fix Framework capability The problem of App.onLaunch and App.onShow queries lacking default values

03/29/2017 Update log

Tool updates

  1. F Fixed the problem of Windows version tools missing files   Details
  2. F Fixed the problem of wx.scanCode failure   Details
  3. F Fixed the API problem of wx.redirect being ineffective the first time   Details
  4. F Fixed the problem of abnormalities with the number of levels in the project page stack when there is no tab bar   Details
  5. F Fixed the problem where the default scene value is 0

03/28/2017 Update log

Update overview

  • Supports the vast majority of ES6 APIs   Details
  • Added 36 brand new APIs, including interface capabilities such as Bluetooth, cards, and shipping addresses
  • Expanded two major framework capabilities, including scene values and obtaining forwarding status
  • Updated and optimized experience problems with some components
  • Developer Tools supports debugging support for most newly added APIs, some bugs also fixed
  • Optimized Preview debugging logic, the QR codes generated by Preview can be used by any developer bound to a current AppID

Base library updates

  1. A Added 18 Bluetooth-related APIs   Details
  2. A Added API wx.chooseAddress Gets shipping address   Details
  3. A Added API wx.openSetting Opens Mini Program Settings interface   Details
  4. A Added API wx.reLaunch   Details
  5. A Added API wx.arrayBufferToBase64, wx.base64ToArrayBuffer   Details
  6. A Added API wx.showLoading, wx.hideLoading   Details
  7. A Added API wx.startAccelerometer, wx.stopAccelerometer   Details
  8. A Added API wx.startCompass, wx.stopCompass   Details
  9. A Added API wx.getClipboardData, wx.setClipboardData Operate clipboard   Details
  10. A Added API wx.addCard, wx.openCard Support WeChat cards   Details
  11. A Added API wx.onNetworkStatusChange Monitors network changes   Details
  12. A Added API wx.hideShareMenu wx.showShareMenu   Details
  13. A Added API CanvasContext.setTextAlign Text alignment API   Details
  14. U Update API wx.getSystemInfo Returns screenWidth, screenHeight SDKVersion   Details
  15. U Update API wx.showModal Return value in situations where user taps Cancel   Details
  16. U Update API wx.showToast Supports image parameter custom prompt box images   Details
  17. U Update API wx.getUserInfo Added parameter withCredentials   Details
  18. F Fix API wx.showNavigationBarLoading The problem where initial calls may fail in iOS
  19. F Fixed the API problem where a templated message cannot be sent when a user fails to click on the Done button for the current payment after wx.requestPayment has been called successfully and payment has been completed
  20. F Fixed the API problem where wx.onBackgroundAudioStop is occasionally unable to trigger a callback when the screen is locked
  21. F Fixed the API problem where wx.playBackgroundAudio is unable to continue playing paused music in certain situations in an Android environment
  22. F Fixed the API problem where wx.previewImage will trigger page.onShow when returned in Android
  23. F Fixed the API problem where, when selecting an image, wx.chooseImage will cause return results to not contain an image address if an image has been edited
  24. F Fixed the API problem where wx.onBackgroundAudioStop will accidentally be triggered when calling wx.seekBackgroundAudio
  25. F Fixed the API problem where wx.getBackgroundAudioPlayerStatecallback results are not unified
  26. A Added Framework capability The same values for entering a Mini Program can be obtained via App.onLaunch or App.onShow   Details
  27. U Optimization Framework capability Supports getting user forwarding status   Details
  28. U Update Component <swiper /> attributes indicator-color and indicator-active-color support the modification of panel indicator dot colors   Details
  29. U Update Component <input /> attributes confirm-type and confirm-hold   Details
  30. U Update Component <video /> attribute duration   Details
  31. U Update Component Selectable <text /> attributes support holding down to select   Details
  32. U Update Component <navigator /> attribute open-type’s optional values reLaunch and navigateBack   Details
  33. U Update Component <picker-view /> indicator-class attribute
  34. U Optimization Component <map /> iconPath marker and controls support temporary files
  35. U Optimization Component The problem where timeupdate events are frequently triggered when <video /> src attribute errors occur
  36. U Optimization Component <image /> Supports .svg files
  37. U Optimization Component <video /> Control bar experience problem
  38. U Optimization Component picker-view experience, supports fast scrolling to items that have been clicked on
  39. U Optimization Component <swiper /> experience problems when users use right slider to go back
  40. U Optimization Component <slider/> and <process/> uniform color setting attribute name   Details
  41. F Fix Component <form /> The problem where submission may be unable to be triggered when the keyboard is pulled up
  42. F Fixed the component problem where <slider /> is unable to use data binding to set default values
  43. F Fix Component <video /> The problem where the dynamic setting of danmuList is ineffective
  44. F Fixed the component problem where <textarea /> does not support the styles min-height or max-height
  45. F Fixed the component problem where the display is blank when there are hidden changes in the <picker-view /> outer layer
  46. F Fixed the component problem where <video /> cover images will not adapt themselves in iOS
  47. F Fix Component <video /> occasionally experiences problems loading icons when videos are being played
  48. F Fix Component <swiper /> The problem where images cannot be displayed in certain situations
  49. F Fix Component <picker/> The problem where if the iOS date selector second option only updates the year, the corresponding month is not updated
  50. F Fix Component attribute hover-class The problem where the tap status is ineffective when none changes to another value
  51. F Fixed the component problem where disabled <textarea /> is ineffective when the attribute is hidden as default then displayed again
  52. F Fix Component When <swiper/> has a built-in <swiper/>, the problem where the internal <swiper/> cannot be used normally
  53. F Fix Android client The problem where calling wx.request returns fail:interrupted in certain situations
  54. F Fix iOS client The problem where the tab bar display is abnormal when a personal hotspot is opened and there is a connection

New tool functions

  1. A Added Mac version development tools support Bluetooth debugging
  2. A Added API debugging support for wx.reLaunch, wx.chooseAddress, wx.openSetting, wx.getClipboardData, wx.setClipboardData, wx.arrayBufferToBase64, wx.base64ToArrayBuffer, wx.showLoading, wx.hideLoading, wx.startAccelerometer, wx.stopAccelerometer, wx.onNetworkStatusChange, wx.hideShareMenu, wx.showShareMenu, and CanvasContext.setTextAlign
  3. A Added Mini Program project list page supports deleting projects
  4. A Added Scene value debugging support added to custom compilation
  5. A Added Scene value debugging support when the background switches to the foreground
  6. A Added Access to developer community
  7. A Added Function where selected projects can be deleted in the project list
  8. A Added SVG format file support
  9. U Optimization Editor wxml code automatic completion experience
  10. U Optimization Error prompt when there are trusted domain name errors
  11. U Optimization The Clear Tool Authorization Data and Clear Phone Authorization Data options have been merged into Clear Authorization Data
  12. F Fixed the problem where enabling page json configuration is ineffective during custom compilation
  13. F Fixed the problem where tool display is unbalanced when developer tools are zoomed
  14. F Fix When the page file directory has a ., the problem where the style files under that directory cannot be found
  15. F Fixed the problem where the parameters returned by Page.onLoad are decoded one more time
  16. F Fixed the problem where errors are not reported correctly if a Mini Program page stack exceeds five layers
  17. F Fixed the problem where wx.chooseImage will return two identical localIds in certain situations
  18. F Fixed the problem where the <input /> component is unable to focus automatically in development tools
  19. F Fixed the problem of tool size abnormalities when a project is closed and then re-entered
  20. F Fixed the problem where using print in code will make a print window pop up
  21. F Fixed the problem of code compression errors in certain situations
  22. F Fixed the problem of wx.canvasToTempFilePath being ineffective

02/06/2017 Update log

Base library updates

  1. A Added API wx.getNetworkType when no network status is returned   Details
  2. F Fixed the API problem where the statusCode for wx.request, wx.uploadFile, and wx.downloadFile in Android is not Number type
  3. F Fixed API wx.scanCode The problem where there is no callback when code scanning is canceled in iOS
  4. F Fixed the API problem where wx.switchTab does not call onShow in certain situations
  5. F Fixed the API problem where requests cannot be initiated when there are special characters in wx.request data
  6. F Fixed the API problem of wx.getNetworkType return parameter errors in iOS
  7. F Fixed the API problem where wx.downloadFile does not process header parameters in iOS
  8. F Fixed the API problem where wx.playBackgroundAudio will not play other music correctly after music is paused
  9. F Fixed the API problem where wx.playBackgroundAudio will trigger onBackgroundAudioStop twice after playback ends in Android
  10. F Fixed the API problem where <video /> playback fails after seeking in Android
  11. F Fixed the API problem where pop-ups overlap when authorization pop-ups are required
  12. F Fixed the component problem where the control bar cannot be used following fullscreen <video /> play back in iOS
  13. F Fixed the component problem where <video /> playback fails after seeking in Android
  14. U Optimized App.onErrors do not capture API fail callbacks
  15. F Fixed the problem where wx:for experiences rendering abnormalities when encountering scenarios like wx:key
  16. F Fixed the problem where wx:key is set in wx:for and wx:index imbalances occur when data is added, deleted, or its location is changed
  17. F Fixed the problem where the height is incorrect following dynamic changes to content in the <picker-view-column />

New tool functions

  1. A Added Geographical location simulation function   Details
  2. A Added Mobile device gravity sensor simulation function   Details
  3. A Added No network status simulation function added to simulator network status
  4. A Added a function that displays the path and parameters for the page currently being debugged
  5. A Added an alert when tools are unable to be enabled as normal due to the presence of proxy software within the system
  6. A Added the control panel method showSystemInfo() displays tool run status
  7. U Optimization Code compression and upload function, increases code compression rate
  8. U Optimized the speed of previewing and uploading code
  9. U Optimization Tool network requests, supports developers’ use of the Charles capture package for debugging
  10. F Fixed the problem where the Mac clear cache menu is obstructed by the tab bar
  11. F Fixed the problem of wx.showToast level errors when mask is true
  12. F Fixed the problem where onBackgroundAudioStop is not triggered after calling wx.stopBackgroundAudio
  13. F Fixed the problem where the appid does not exist prompt is incorrect when a new project is created
  14. F Fixed the problem of tools freezing when files without read permissions are encountered in the project directory
  15. F Fixed the problem where Monitor File Changes, Automatically Refresh Developer Tools still refreshes automatically in editor mode
  16. F Fixed the problem of unsuccessful automatic updates (needs to be completely resolved in the next version)
  17. F Fixed the problem where authorization is canceled and the tool return is not kept consistent with the mobile device
  18. F Fixed the problem where undo cannot be used after .wxml and .wxss file formatting
  19. F Fixed the problem of wx.previewImage not supporting localids
  20. F Fixed the problem where webviewid errors occur after the tab bar page calls wx.navigateback
  21. F Fixed the problem where wx.createCanvasContext fails to complete correctly in Editor
  22. F Fixed the problem where tools may be unable to be enabled after they crash
  23. F Fixed the problem of the ES6 syntax error where the control panel has no output
  24. F Fixed the problem where right clicking to disable tools in Windows 10 will cause them to crash
  25. F Fixed the problem where the Authorization button color is incorrect
  26. F Fixed the problem where the wx.downloadFile’s failure to process a query in a URL causes the localid obtained to be unusable
  27. F Fixed the problem where the cancellation of authorization is not saved to the backend when getting user information
  28. F Fixed the problem where navigationBarTextStyle does not verify colors

01/06/2017 Update log

  1. U: Update The total number of calls for getting Mini Program page QR code interfaces is 100,000   Details

01/05/2017 Update log

Base library updates

  1. F: Fixed the problem where touch events experience preventDefault inside passive events in development tools

01/04/2017 Update log

Base library updates

  1. U Update API Calling wx.getLocation, wx.getUserInfo, wx.chooseLocation, and wx.startRecord requires confirmation of user authorization, the callback "${APIName}:fail auth deny occurs when a user is refused authorization"
  2. U Update API Return parameters charSet, scanType, and path added to wx.scanCode   Details
  3. U Update Component Logic displayed by <video /> Fullscreen button (displayed with controls attribute)
  4. F Fixed the API problem where getCurrentPages is incorrect after wx.switchTab
  5. F Fixed the API problem where [object Number] will change when formData imports numbers during wx.uploadFile
  6. F Fixed the API problem where calling is unsuccessful when the page is not displayed when the wx.navigateTo interface is in iOS
  7. F Fixed the API problem where the wx.checkSession interface does not have a callback on some Android machines
  8. F Fixed the API problem where the wx.request and wx.downloadFile interfaces do not check the legality of domain names in the client following 301 redirection
  9. F Fixed the component problem where <textarea />’s dynamic setting of focus is ineffective in Android
  10. F Fixed Component <picker /> problem where tapping on Cancel in iOS also triggers a bindchange event
  11. F Fixed the component problem in Android where there are abnormalities when <textarea /> and <input /> maxlength <= 0
  12. F Fixed the component problem in Android where the duration is displayed abnormally when <video /> plays m3u8 live videos
  13. F Fixed the component problem where <video /> does not display the duration fully in the iOS progress bar
  14. F Fixed the component problem where <audio /> seeks first then plays abnormally
  15. F Fixed the component problem of status sync errors when the <radio />s in <radio-group /> are all set as false
  16. F Fixed the component problem where current may be ineffective when <swiper /> sets current and children at the same time
  17. F Fixed the problem where style settings are ineffective when placeholder-class and hover-class have strings with empty spaces
  18. F Fixed the problem of order abnormalities during setData
  19. F Fixed the problem where referencing a large number of local path images will cause the page to freeze in iOS8

New tool functions

  1. A Added Clear Phone Authorization Data (Cache-Clear Phone Authorization Data) function
  2. A Added function for verifying file encoding when submitting previews or uploading code   Details
  3. U Upgrade nwjs to version 19.4, updated to Chrome55 core
  4. U Update Consistent with client, pull down refresh will not be triggered in <scroll-view />
  5. F Fixed the component problem where <picker/>’s initial value settings are incorrect in development tools
  6. F Fixed tool removal fetch API kept consistent with WeChat client
  7. F Fixed the problem where wx.navigateBack experiences a webviewID does not exist error
  8. F Fixed the problem where adding or deleting the app.wxss tool compilation cache does not update
  9. F Fixed the problem where a compilation error in the final row of a wxml file causes the tool to freeze
  10. F Fixed the problem where there is no error prompt when wxml tags are not closed
  11. F Fixed the problem where tapping on the search results in the Editor universal search does not redirect you to the corresponding row of the file
  12. F Fixed the problem where there is a processing error when the Appdata panel updates array data
  13. F Fixed other bugs in a few tools

Other

  1. A Added ES6 API support list   Details

Update log 0.11.112301

12/22/2016 Base library update details

  1. F Fixed the problem where content is cleared when the <input/> component loses focus in Developer Tools
  2. F Fixed the problem where developer tools do not trigger App.onShow after project compilation
  3. F Fixed the problem where using wx:for in <template /> is unable to get the values in data

Update log 0.11.122100

  • Added forwarding, templated message, Service Center messaging, QR code scanning, and QR code with parameter functions (currently for developer or experiencer use only)
  • Added 4 new APIs and 2 new components
  • Expanded 11 component attributes, added 6 component events
  • Fixed several API and component bugs, optimized some interactive experiences
  • Added new API and component debugging support to Developer Tools
  • Added debugging support for WeChat Pay to Developer Tools

The detailed update log is as follows:

Base library updates

  1. A Added API wx.switchTab    Details
  2. A Added API wx.scanCode    Details
  3. A Added API wx.createMapContext    Details
  4. A Added API wx.createCanvasContext    Details
  5. A Added API wx.showToast call parameter mask   Details
  6. A Added Page method Page.onShareAppMessage, used to customize forwarded content   Details
  7. A Added Framework method App.onError    Details
  8. A Added Page configuration disabelScroll   Details
  9. A Added <picker-view/> component   Details
  10. A Added <contact-button/> component, used to display Service Center Session button   Details
  11. A Added <navigator/> component attribute openType   Details
  12. A Added <switch/>, <checkbox/>, and <radio/> component attribute color
  13. A Added <video/> component attribute objectFit    Details
  14. A Added <map/> component attribute markers polyline circles include-points controls show-location   Details
  15. A Added <swiper/> component attribute circular, controls cohesive sliding   Details
  16. A Added <input/> component attribute cursor-spacing   Details
  17. A Added <textarea/> component attribute cursor-spacing   Details
  18. A Added <picker/> component attribute disabled   Details
  19. A Added <view/> component attribute hover-class   Details
  20. A Added <slider/> component attributes color and selected-color   Details
  21. A Added Dynamic modification support for <scroll-view/> component attributes scroll-x and scroll-y   Details
  22. A Added <map/> component attributes bindtap bindmarkertap bindcontrolstap bindregionchange   Details
  23. A Added <input/>component event bindconfirm   Details
  24. A Added <video/> component event bindtimeupdate   Details
  25. A Added <textarea/> component event bindconfirm   Details
  26. A Added <textarea/> component event bindinput   Details
  27. A Added <canvas/> component event bindlongtap   Details
  28. A Added AudioContext.setSrc() context API   Details
  29. A Added CanvasContext context   Details
  30. A Added CanvasContext.arc() context API   Details
  31. A Added CanvasContext.fillRect() context API   Details
  32. A Added CanvasContext.strokeRect() context API   Details
  33. A Added CanvasContext.createLinearGradient() context API   Details
  34. A Added CanvasContext.createCircularGradient() context API   Details
  35. A Added <scroll-view/> component presentation, prohibits page scrolling during scrolling
  36. U Update API wx.getSystemInfo added platform return parameter   Details
  37. U Update API wx.downloadFile tmpFilePath will be returned when HTTP status code is 200 or 304   Details
  38. U Update API wx.showModal Word limits for call parameters confirmText and cancelText   Details
  39. U Update API wx.navigateTo and wx.redirectTo are not permitted to redirect to the tab bar page, please use wx.switchTab   Details
  40. U Update WXML dataset returns support objects and arrays
  41. U Update <image/> component attribute mode widthFix is available   Details
  42. U Update ObjectArray type support added to <picker/> component attribute range   Details
  43. U Update <switch/>, <checkbox/>, and <radio/> default styles
  44. U Update CanvasContext.save() and CanvasContext.restore() context APIs save brush style
  45. U Update CanvasContext.arc() context API parameter adjustment, added eAngle and counterclockwise, removed sweepAngle   Details
  46. U Optimization <swiper/> slide experience
  47. U Optimization Interactive experience of <swiper/> and <slider/> in <scroll-view/>
  48. U Optimization <navigator/> and <button/> component tap experiences
  49. F Fixed the problem where wx.request methods can only use uppercase values in Android
  50. F Fix wx.uploadFile The problem where headers cannot be set in iOS
  51. F Fix wx.getLocation The problem where type=gcj02 is ineffective in iOS
  52. F Fixed the problem where wx.showToast is still displayed after exiting the Mini Program
  53. F Fixed the problem where wx.showModal return parameters are inconsistent in Android and iOS
  54. F Fixed the problem where layout is unbalanced when wx.showModal content is too long or the title is empty
  55. F Fix wx.showModal The problem where default values are not displayed when cancelText and confirmText are empty
  56. F Fixed the problem where the keyboard cannot be hidden when it pops out during wx.showModal
  57. F Fixed the problem where wx.getImageInfo is unable to get http link images in Android
  58. F Fixed the problem where the screen heights obtained by wx.getSystemInfo are inconsistent due to the appearance of the tab bar
  59. F Fix wx.downloadFile The problem where images cannot be displayed after being uploaded or downloaded in Android
  60. F Fixed the problem where wx.request does not encode request data correctly
  61. F Fix wx.login The problem where App.onLaunch does not have a callback in iOS
  62. F Fix wx.createAnimationContext The problem of abnormalities when setting transformOrigin and the animation being unable to perform the next step
  63. F Fix wx.navigateTo, wx.redirectTo The problem where Page.onLoad cannot be called in iOS
  64. F Fixed the problem where the default behavior of the catch block event is ineffective
  65. F Fix setInterval The problem where parameter passing errors cause the page to freeze in iOS
  66. F Fixed the problem where onReachBottom is triggered several times
  67. F Fixed the problem of errors when <swiper/> possesses text node descendants
  68. F Fixed the problem of <switch/>, <radio/>, <checkbox/>, <image/>, and <video/>’s hidden attributes being ineffective
  69. F Fixed the problem of <checkbox/> and <radio/> labels being unable to take effect
  70. F Fixed the problem where the screen flashes when <scroll-view/> scrolls to the top or bottom
  71. F Fixed the problem where <video/> events are ineffective in iOS
  72. F Fixed the problem where sound will continue after <video/> is removed in iOS
  73. F Fixed the problem where <text/> embedding will not dynamically update class and style
  74. F Fixed the problem where text color is incorrect when <button/> is disabled
  75. F Fixed the problem of the <input/> focus attribute being ineffective
  76. F Fixed the problem where the first input is not displayed when <input/> uses display:flex in iOS 9
  77. F Fixed the problem where display is abnormal when <input/> initial values are undefined
  78. F Fix <input/> placeholder ghosting problem
  79. F Fixed the problem of color abnormalities before and after <input/> and <textare/> focusing
  80. F Fixed the problem of <textarea/> position:fixed positioning abnormalities
  81. F Fixed the problem where a blur event is not triggered after <textarea/> opens picker
  82. F Fix <textarea/> The problem where the height changes when setting auto-height
  83. F Fixed the problem of <textarea/> removal abnormalities
  84. F Fixed the problem where the <video/> Fullscreen button is only able to take effect after being tapped twice in Android
  85. F Fixed the problem of conflicts when <audio/> uses the same id on multiple pages
  86. F Fix <canvas/> The problem where drawImage cannot be displayed normally
  87. F Fix <image/> The problem where setData will experience an infinite loop in a bindload event
  88. F Fix <scroll-view/> The problem where scroll-into-view is unsuccessful
  89. F Fixed the problem where <form/> submit is unable to get input content
  90. D About to be removed <navigator/> redirect attribute
  91. D About to be removed wx.createContext interface
  92. D About to be removed <input/> auto-focus attribute, focus attribute can be used directly
  93. D About to be removed <map /> covers attribute

Developer Tools base features

  1. A Added wx.switchTab debugging support
  2. A Added wx.startRecord, wx.stopRecord, wx.playVoice, wx.pauseVoice, and wx.stopVoice API debugging support
  3. A Added WeChat Pay debugging support   Details
  4. A Added Debugging support for QR code scanning
  5. A Added Alert for when the duplicate definition of page files by app.json causes a preview submission error
  6. A Added Message for when a network error occurs due to the simulator loading images
  7. A Added Set initialization page and parameter functions during compilation
  8. A Added Set initialization page and parameter functions during preview submission
  9. F Optimization View data by page in appdata panel, supports dynamic updates and code mode display
  10. F Fix The problem where wx.getBackgroundAudioPlayerState is not returned when there is no music playback
  11. F Fix The problem where the status obtained by wx.getBackgroundAudioPlayerState is incorrect
  12. F Fix wxml panel The problem where there is a white screen in certain situations
  13. F Fix The problem where wxml panel attributes cannot be copied and copying includes a carriage return
  14. F Fix The problem where wxml panel single text node display is not aligned
  15. F Fix The problem of simulator display errors when the position of the tab bar in app.json is set as top
  16. F Fix The problem of errors when tapping external links in devtools and Editor
  17. F Fix The problem of wx.requests due to the cache being unable to send requests

Update overview

Fixed several bugs

The detailed update log is as follows:

Developer Tools base features

  1. F Fix The problem of wx.requests being triggered repeatedly in certain situations
  2. F Fix The problem of wxml panel RPX debugging being unsuccessful
  3. F Fix The problem of textarea component prompt errors

Update log 0.11.112300

Update overview

Fixed the problem of TLS version verification errors

The detailed update log is as follows:

Developer Tools base features

  1. A Added Control panel command showRequestInfo() displays detailed wx.request information
  2. F Fixed the problem where TLS version verification errors cause wx.requests to be unsuccessful

Update log 0.11.112200

Update overview

This update only involved Developer Tools

The detailed update log is as follows:

Developer Tools base features

  1. A Added Style autocomplete option when uploading code, enabled by default, developers can disable it themselves   Details
  2. A Added Secure domain names for unverified development environment requests and TLS version options, disabled by default, developers can enable these themselves   Details
  3. A Added Page script error message
  4. A Added Verified wx.request, wx.downloadFile, and wx.uploadFile TLS versions to maintain consistency with client
  5. A Added Autosave function for tool window locations and sizes
  6. A Added Function that displays error messages in simulator
  7. A Added wxml panel double tap tag name to expand function
  8. A Added Open local development directory function
  9. A Added Network configuration information table for current AppId
  10. F Fix Promise removed to maintain consistency with client, developers need to import compatibility library themselves
  11. F Fix Bugs when events are released several times in certain situations
  12. F Fixed the problem where using Ctrl + R or F5 in devtools causes an error to occur with the simulator
  13. F Fix wxml panel The problem where there is a white screen on Macs
  14. F Fixed the problem of wxml panel choppiness in inspect mode
  15. F Fixed the problem where the wxml panel freezes in certain situations
  16. F Fixed the problem of text overlapping in the wxml panel’s style panel
  17. F Fixed the problem where the wxml panel is unable to cancel multiple style rules
  18. F Fix wx.request The problem of errors when setting content-type
  19. F Fixed the problem where wx.downloadFile and wx.uploadFile do not verify trusted domain names
  20. F Fixed the problem of the simulator screen being white when git switches branches or there are a large number of file changes
  21. F Fixed the problem where there is no error message when wxml file does not exist

Edit module

  1. A Added wxml and wxss file formatting code function
  2. A Added Function for using Ctrl + Shift + f to search for code
  3. A Added File tree right click function
  4. A Added Disable right click file function
  5. A Added Using Ctrl + p for file redirection supports fuzzy searches
  6. A Added wxml code autocomplete and document display functions   Details
  7. A Added gif type file display function
  8. A Added Open file function on hard disk
  9. A Added Function that automatically creates the corresponding page.js and page.wxml files after app.json is saved
  10. F Fixed the problem of wxml autocomplete errors
  11. F Fixed the problem where the tab bar cannot be tapped when there are too many files
  12. F Fixed the problem where modifying directory names may be unsuccessful

Update log 0.10.102800

Update overview

  • Added 20 brand new APIs (these can currently be used normally in development tools, the client needs to wait until the release of version 6.3.30)
  • Expanded 4 component attributes, fixed several component bugs
  • Added 7 functions to Developer Tools, including real time refresh
  • Added 8 functions to edit module, including autosave and real time preview

The detailed update log is as follows:

Base library updates (10/31/2016)

  1. F Fix Call problems with some <button/> component events
  2. F Fixed the problem where existing <swiper> components are updated when the <swiper-item/> component list is dynamically changed
  3. F Fix Some RPX are ineffective

Base library updates (10/28/2016)

  1. F Fixed the problem where page.prototype.setData is not set immediately in onLoad and onShow
  2. F Fixed the problem where wx.navigateTo is unsuccessful in certain situations
  3. F Fixed the problem of superfluous errMsgs in the wx.getStorageInfoSync return values

Base features

  1. A Added Four file management APIs: wx.getSavedFileList, wx.getSavedFileInfo, wx.removeSavedFile, and wx.openDocument   Details
  2. A Added Four data management APIs: wx.removeStorage, wx.removeStorageSync, wx.getStorageInfo, and wx.getStorageInfoSync   Details
  3. A Added Four interactive feedback APIs: wx.showToast, wx.showModal, wx.hideModal, and wx.showActionSheet   Details
  4. A Added Select geographical location API wx.chooseLocation   Details
  5. A Added Get image information API wx.getImageInfo   Details
  6. A Added Audio component control API wx.createAudioContext   Details
  7. A Added Video component control API wx.createVideoContext   Details
  8. A Added Two device APIs: wx.getSystemInfoSync and wx.makePhoneCall   Details
  9. A Added Drawing API wx.canvasToTempFilePath   Details
  10. A Added Open capability API wx.checkSession   Details
  11. A Added wx.navigateBack delta parameter supports multilevel returns   Details
  12. A Added wx.sendSocketMessage and wx.onSocketMessage support sending and receiving ArrayBuffer data type
  13. A Added getCurrentPages() method, gets page stack   Details
  14. A Added Page.onReachBottom() method, monitors when page reaches bottom   Details
  15. A Added changedTouches list added to event objects, responds to changes in finger touch position   Details
  16. A Added <textarea/> component   Details
  17. A Added <canvas/> multitouch   Details
  18. A Added <canvas/> disable-scroll attribute   Details
  19. A Added <image/> bindload event return image height and width   Details
  20. A Added <text/> nesting <text/> function   Details
  21. A Added <video/> controls autoplay attribute   Details
  22. A Added <video/> supports setting and sending danmu   Details
  23. A Added <video/> playback type event   Details
  24. A Added WXML wx:key support, improves performance when list is rendering   Details
  25. A Added WXML keyword and data path calculation   Details
  26. U Added app.json tabBar attribute position, used to specify display location   Details
  27. F Fixed the problem where calling is unsuccessful and there are no returns when the wx.navigateTo API exceeds 5 pages
  28. U Fix <navigator/> The problem where setting display: flex is unsuccessful
  29. F Fix <input/> The problem of text-align:center and text-align:right not being supported
  30. F Fixed the problem of <input/> abnormalities when focusing
  31. F Fix <image/> base64 image display problem
  32. F Fixed the problem where dynamic node updates cause the form component to reset
  33. F Fixed the problem where some phones experience incomplete border display using RPX units
  34. F Fixed the problem where the same canvas-id shares the same drawing context on different pages
  35. F Fixed the problem where functions in attribute objects in a page are unsuccessful
  36. F Fixed the problem where wx.drawCanvas is unable to draw when the canvas height and width are 0
  37. F Fixed the problem of abnormalities when setting ‘Content-Type’ in wx.request headers
  38. D About to be removed App.prototype.getCurrentPage, can be replaced by more functional and powerful getCurrentPages   Details
  39. D About to be removed <audio/> action attribute, can be replaced by more convenient audio component control API   Details
  40. D About to be removed Component: <toast/> <loading/> <action-sheet/> <modal/>, can be replaced by more convenient interactive feedback API   Details

Developer Tools base features

  1. A Added File change monitoring and real time refresh simulators, enabled by default, developers can disable them themselves in the project
  2. A Added Proxy configuration and account switching added to login interface
  3. A Added Debugging function for all new APIs and components
  4. A Added Friendlier error prompt function
  5. A Added wxml panel RPX debugging support
  6. A Added wxml panel real time simulator modification and synchronization function
  7. A Added wx.previewImage API debugging support
  8. F Fixed the problem where tools cannot simulate fonts smaller than 12px
  9. F Fixed the problem where the picker component’s start and end are ineffective
  10. F Fixed the problem where the video component is unable to slide the progress bar
  11. F Fixed the problem where wx.getSystemInfo experiences errors in getting heights when there is another tab bar
  12. F Fix wx.chooseImage The problem where setting count is ineffective
  13. F Fixed the problem where calling wx.setNavigationBarTitle is unsuccessful during Page.onLoad
  14. F Fixed the problem of the wxml panel being blank and choppiness during selection
  15. F Fixed the problem of compilation errors when the script file name is in Chinese
  16. F Fixed the problem where media playback is not disabled when a project is closed

Edit module

  1. A Added File autosave function   Details
  2. A Added Edit display simulator and real time refresh
  3. A Added Ctrl + \: expand and collapse file tree
  4. A Added Ctrl + w: close page currently being edited
  5. A Added Ctrl + p: file redirection
  6. A Added Ctrl + m: opens or closes simulator
  7. A Added Editor bottom status bar
  8. A Added json and wxml code autocomplete and prompt functions
  9. F Fixed the problem where the cursor is lost

Update log (0.10.101400) - mini version updates

Developer Tools base features

  1. F Fixed the problem where pull down refresh cannot be used
  2. F Fixed the problem where development tools do not update immediately after the app.json file is amended

Update log (0.10.101100) - large version updates

Base features

  1. A Added <video/> Added default control in Android
  2. A Added exports can be used to expose interfaces externally during modularization
  3. A Added require can be written without a .js suffix during modularization
  4. F Fix <swiper/> slide sensitivity
  5. F Fixed the problem where icons in <toast/> are located at the top and not centered
  6. F Fixed the problem of <view/> tag hidden attributes being ineffective
  7. F Fix <input/> The problem where first input is not displayed in iOS 10
  8. F Fixed the problem where <button/> type="mini"
  9. F Fix Loading and text alignment problems during <button/> loading
  10. F Fixed the problem where <canvas/> drawImage image paths are incorrect
  11. F Fixed the problem where data other than that in Page cannot be reset
  12. F Fixed the problem where the header parameter attributes of a wx.request caused by case are set repeatedly
  13. F Fixed the problem where require cannot be used in app.js
  14. R Removed Superfluous <switch/> component tap statuses
  15. R Removed <view/> tag inline attribute
  16. R Removed <page/> tag default style of height 100%

Developer Tools base features

  1. A Added ES6 to ES5 conversion, enabled by default, developers can disable it themselves in the project
  2. A Added Code compression can be selected when submitting code, disabled by default, developers can enable it themselves in the project
  3. A Added wx.uploadFile and wx.downloadFile debugging support
  4. A Added Pull down refresh debugging support
  5. A Added Debugging support for simulated return of formIds in <form/> reportSubmit mode
  6. A Added Progress bar slide function added to <video/>
  7. A Added <picker/> mode=time mode=date
  8. F Fixed the problem where opening Map causes an error
  9. F Fixed the problem where the <map/> component does not display
  10. F Fixed the problem where drawImage flashes in <canvas/>
  11. F Fixed the problem of navigationBarTextStyle default value setting errors in json
  12. F Fix <picker/> The problem where the value is empty during a form submission event
  13. F Fixed the problem where wx.onBackgroundAudioPause will be triggered once when background music stops
  14. F Fixed the problem where wx.request timeouts will trigger two fail and complete callbacks
  15. F Fixed the problem where developer tools cannot be dragged to the bottom in a small screen
  16. F Fixed the problem where wx.setStorage does not have a size limit
  17. F Fixed the problem where code files are modified but tools are not updated in certain situations

Edit module

  1. A Added Sidebar can drag and drop save location
  2. A Added Shortcuts ctrl + \ or command + \ hide sidebar
  3. A Added Function where file tabs can be sorted by dragging
  4. F Fixed the problem of wx.setNavigationBarTitle prompt errors
  5. F Fixed the problem where file modifications are ineffective in certain situations