English | 简体中文
- [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
onReady
andonClearLog
callback function tovConsole.option
. - [FEATURE] Auto clear logs when
console.clear()
is called. - [FIX] Fix
\r
error when build in Windows. - [FIX] Fix
Symbol
error 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 VConsole
orsetOption(key, value)
. - [FEATURE] Support for custom loading of default built-in plugins by using
defaultPlugins
in the above option. - [FEATURE] Add
setOption(key, value)
method. - [IMPROVE] Support CSP rule
unsafe-eval
andunsafe-inline
. - [IMPROVE] Optimize
font-size
wheninitial-scale < 1
.
Log plugin:
- [FEATURE] Support
maxLogNumber
option 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 Parameters
andForm 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.vConsole
on/afterinit
event is called. - [FEATURE] Add
updateOption
event to detectvConsole.option
changes. - [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
scrollHeight
error 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
remove
plugin event, see Plugin: Event List. - [IMPROVE] Disable page scrolling while vConsole is scrolling.
- [FIX] Fix
window.onerror()
typo.
- [FEATURE] Add
addTopBar
plugin 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
tap
event (in V2.3.0) withclick
event (still support fast response) to prevent conflicts. - [IMPROVE] Remove
now
item and addnavigationStart
time 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
tap
event within vConsole's DOM container to speed upclick
event.
- [IMPROVE] Add complete performance timing log to System tab.
- [ADD] Add third-party plugin list to README.
- [FEATURE] Add
vConsole.version
property. - [FEATURE] Add
xhr._noVConsole
property toXMLHttpRequest
objects 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
error
inwindow.onerror()
may be undefined. - [FIX] Fix error that
xhr.status
may be unavailable whenxhr.readyState < 4
.
- [FIX] Fix error that vConsole may not work at X5 browser engine.
- [FIX] Fix error that
localStorage
is 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
main
path inpackage.json
. - [IMPROVE] Update demo pages.
- Initial release.