English | 简体中文
- [FEATURE] Add TypeScript definition file. (by by @jas0ncn)
- [FIX] Fix switch button position issue. (by @rexschuang)
- [FIX] Avoid scrolling to bottom when away from bottom edge. (by @ele828)
- [FIX] Fix a few minor issues. (by @stenders)
- [FEATURE] Add the ability to collapse the same log.
- [FIX] Fix issue which formatted log (like
console.log('[foo]', 'bar')) will not display in Log tab.
- [FEATURE] Add console command prompt. (by @65147400)
- [FEATURE] Add SessionStorage support in Storage tab. (by @hkc452)
- [FIX] Fix
JSON.stringifyfunction which was incorrectly rewritten. - [FIX] Fix
logNumberbug which was not reset when clear logs. (by @liuyuekeng) - [FIX] Fix unencoded HTML tag in Network tab. (by @mokang)
- [FIX] Fix possible crash when decode content in Storage tab. (by @wolfsilver)
- [FIX] Fix CSP buy cause by
nonceattribute. (by @scotthuang) - [IMPROVE] Add bottom safe area to adapt to full screen such as iPhone X. (by @dingyi1993)
- [FEATURE] Support
console.time()andconsole.timeEnd(). - [FEATRUE] Add
disableLogScrolling(invConsole.option). - [FIX] Fix
setOption()error. - [FIX] Fix cookies' value wrong display.
- [FIX] Fix "Uncaught InvalidStateError". (by @fireyy)
- [FEATURE] Add
vConsole.showSwitch()andvConsole.hideSwitch()methods, see Public Properties & Methods. - [FEATURE] Add
onReadyandonClearLogcallback function tovConsole.option. - [FEATURE] Auto clear logs when
console.clear()is called. - [FIX] Fix
\rerror when build in Windows. - [FIX] Fix
Symbolerror in iOS8 or other old OS.
Basic:
- [FEATRUE] Require manual init vConsole
var vConsole = new VConsole(option). - [FEATRUE] Add configuaration
vConsole.option, which can be set whennew VConsoleorsetOption(key, value). - [FEATURE] Support for custom loading of default built-in plugins by using
defaultPluginsin the above option. - [FEATURE] Add
setOption(key, value)method. - [IMPROVE] Support CSP rule
unsafe-evalandunsafe-inline. - [IMPROVE] Optimize
font-sizewheninitial-scale < 1.
Log plugin:
- [FEATURE] Support
maxLogNumberoption to limit maximum log number. - [FIX] Fix the crash caused by printing large objects.
- [IMPROVE] Only the logs written as
console.log('[system]', xxx)will be shown in System tab, soconsole.log('[system] xxx')will be shown in default log tab.
Network plugin:
- [FEATURE] Support
Query String ParametersandForm Data. - [IMPROVE] Auto format JSON response.
- [FIX] Fix bug that XHR status is always "Pending" when using 3rd HTTP libraries.
Plugins:
- [FEATURE] Plugins can get vConsole instance by
this.vConsoleon/afterinitevent is called. - [FEATURE] Add
updateOptionevent to detectvConsole.optionchanges. - [FEATURE] Add Element tab as a built-in plugin.
- [FEATURE] Add Storage tab as a built-in plugin.
- [FIX] Catch errors when eval custom commands in Log tab.
- [FIX] Fix
scrollHeighterror in some cases. - [FIX] Fix flex layout in iOS 8 devices.
- [IMPROVE] Performance enhancement.
- [FEATURE] Add
vConsole.removePlugin()method, see Public Properties & Methods. - [FEATURE] Add
removeplugin event, see Plugin: Event List. - [IMPROVE] Disable page scrolling while vConsole is scrolling.
- [FIX] Fix
window.onerror()typo.
- [FEATURE] Add
addTopBarplugin event, see Plugin: Event List. - [FEATURE] Add log type filter to Log & System tab.
- [IMPROVE] Log list will not automatically scroll to bottom while printing new logs if the viewport is not at the end of list.
- [IMPROVE] Fix UI bugs.
- [FIX] Fix XSS issue when print object logs.
- [FIX] Switch button will not be positioned out of edges in some special cases.
- [FIX] Replace custom
tapevent (in V2.3.0) withclickevent (still support fast response) to prevent conflicts. - [IMPROVE] Remove
nowitem and addnavigationStarttime in System tab.
- [FEATURE] Objects or Arrays can be expended layer by layer.
- [FEATURE] All object's properties, including private properties, can be enumerable now.
- [IMPROVE] Support
tapevent within vConsole's DOM container to speed upclickevent.
- [IMPROVE] Add complete performance timing log to System tab.
- [ADD] Add third-party plugin list to README.
- [FEATURE] Add
vConsole.versionproperty. - [FEATURE] Add
xhr._noVConsoleproperty toXMLHttpRequestobjects to customize whether a XHR should display in Network tab.
- [FEATURE] Add
vConsole.tool&vConsole.$helper functions, see Helper Functions. - [FEATURE] Public properties & methods of vConsole are available, see Public Properties & Methods.
- [FIX] Fix issue that
errorinwindow.onerror()may be undefined. - [FIX] Fix error that
xhr.statusmay be unavailable whenxhr.readyState < 4.
- [FIX] Fix error that vConsole may not work at X5 browser engine.
- [FIX] Fix error that
localStorageis null in some kind of devices. - [FIX] Fix boolean display error in Log tab.
- [IMPROVE] Improve UI in Android.
- [FEATURE] Rebuild completely, support custom plugin, see Plugin: Getting Started.
- [FEATURE] Support execute JS command line in Log tab.
- [FEATURE] Support circular structure object in Log and System tab.
- [FEATURE] Support viewing request headers and response in Network tab.
- [IMPROVE] Switch button will not be dragged out of screen.
- [IMPROVE] Auto print User Agent in System tab.
- [IMPROVE] Show log's time in Log and System tab.
- [FIX] Fix issue that getDate() returns a wrong date.
- [FIX] Fix issue that sync AJAX becomes async AJAX.
- [ADD] Support Drag and Drop switch button.
- [FIX] Fix initialization failure when loaded asynchronously.
- [FIX] Fix data lost when sending a POST request.
- [ADD] Add network panel.
- [DELELE] Deprecate
vConsole.ready()method. - [IMPROVE] Display formatted Object & Array variable.
- [IMPROVE] Add English README and CHANGELOG.
- [IMPROVE] Improve UI.
- [ADD] Support
window.onerror()to catch exceptions and errors. - [ADD] Support
[default|system|...]string to print logs to specific panel.
- [FIX] Fix webpack compilation.
- [FIX] Fix XSS when printing HTML string.
- [FIX] Fix the
mainpath inpackage.json. - [IMPROVE] Update demo pages.
- Initial release.