Changelog
v3.2.0 (2018-04-10)
Feat
Support console.time()
and console.timeEnd()
.Feat
Add disableLogScrolling
(in vConsole.option
).Fix
Fix setOption()
error.Fix
Fix cookies' value wrong display.Fix
Fix "Uncaught InvalidStateError". (by @fireyy)Changelog
v3.1.0 (2017-12-27)
Feat
Add vConsole.showSwitch()
and vConsole.hideSwitch()
methods, see Public Properties & Methods.Feat
Add onReady
and onClearLog
callback function to vConsole.option
.Feat
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.Changelog
v3.0.0 (2017-09-27)
Basic:
Feat
Require manual init vConsole var vConsole = new VConsole(option)
.Feat
Add configuaration vConsole.option
, which can be set when new VConsole
or setOption(key, value)
.Feat
Support for custom loading of default built-in plugins by using defaultPlugins
in the above option.Feat
Add setOption(key, value)
method.Perf
Support CSP rule unsafe-eval
and unsafe-inline
.Perf
Optimize font-size
when initial-scale < 1
.Log plugin:
Feat
Support maxLogNumber
option to limit maximum log number.Fix
Fix the crash caused by printing large objects.Perf
Only the logs written as console.log('[system]', xxx)
will be shown in System tab, so console.log('[system] xxx')
will be shown in default log tab.Network plugin:
Feat
Support Query String Parameters
and Form Data
.Perf
Auto format JSON response.Fix
Fix bug that XHR status is always "Pending" when using 3rd HTTP libraries.Plugins:
Feat
Plugins can get vConsole instance by this.vConsole
on/after init
event is called.Feat
Add updateOption
event to detect vConsole.option
changes.Feat
Add Element tab as a built-in plugin.Feat
Add Storage tab as a built-in plugin.Changelog
v2.5.1 (2016-10-18)
Fix
Fix scrollHeight
error in some cases.Fix
Fix flex layout in iOS 8 devices.Perf
Performance enhancement.Changelog
v2.5.0 (2016-09-28)
Feat
Add vConsole.removePlugin()
method, see Public Properties & Methods.Feat
Add remove
plugin event, see Plugin: Event List.Perf
Disable page scrolling while vConsole is scrolling.Fix
Fix window.onerror()
typo.Changelog
v2.4.0 (2016-08-31)
Feat
Add addTopBar
plugin event, see Plugin: Event List.Feat
Add log type filter to Log & System tab.Perf
Log list will not automatically scroll to bottom while printing new logs if the viewport is not at the end of list.Perf
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.Changelog
v2.3.1 (2016-08-16)
Fix
Replace custom tap
event (in V2.3.0) with click
event (still support fast response) to prevent conflicts.Perf
Remove now
item and add navigationStart
time in System tab.