English | 简体中文
Fix(Log)
Do not merge repeated logs with object(s) or array(s) into one line to avoid merging objects with the same structure but different values.Fix(Log)
Fix the issue that log filter does not take effect after selecting the log type.Fix(Network)
Fix error when url starts with//
. (PR #414 by @kooritea)Chore
Removeexclude: node_modules
option in babel-loader to be compatible with ES5. (issue #404, #407)Refactor(Log)
Convert Log & System panel to.ts
file.
Feat(Log)
Show resource (image/video/link/script) loading error log. (PR #411 by @zimv)Chore
Addtarget: ['web', 'es5']
to Webpack to avoid compatibility issues. (issue #404)Fix(Network)
Fix error whennew URL('x', undefined)
. (PR #409 by @moonkop)
Feat(Storage)
Show preview value to prevent large raw value blocking rendering. (issue #300)Feat(Storage)
Add copy button and delete button.Feat(Global)
Use system theme color by default when init optiontheme
is empty.Refactor(Storage)
Convert Storage panel to.ts
file.Fix(Network)
UseforEach
instead of.entries()
when traversingheaders
. (issue #404)Fix(Network)
Fix error whenContent-Type
is empty.
Fix(Network)
Fix "Invalid base URL" error. (PR #402)
Feat(Log)
Printunhandledrejection
log. (PR #389 by @zimv)Feat(Network)
Supportnavigator.sendBeacon()
in Network panel. (PR #383 by @cola119)Feat(Network)
Display "Type" (Request Type) in "General", includingxhr|fetch|ping
.Refactor(Global)
Use TypeScript. Now Network panel is conveted to.ts
file.Fix(Network)
Recover originalwindow.fetch()
method when remove Network panel.Fix(Storage)
Fix issue that the cookie of the non-first-level domain cannot be deleted. (issue #398)Fix(Element)
Fix issue that elements are rendered as nested whenattributes
orcharacterData
changed. (issue #399)
Chore(Global)
Update to Webpack5 and update all NPM packages to the latest version.Fix(Global)
Fix invalid click caused by wrongselection
.Fix(Log)
DeletecachedLogs
when reachedmaxLogNumber
limit.Fix(Log)
Fix XSS risk.
Chore(Babel)
Fix incorrectcatch
built by babel-loader. (PR #392 by @myl0204)Fix(Network)
Fix typing error. (PR #388 by @xovel)
Feature(Log)
Add ability to copy a single line of logs. (by @akai)Feature(Plugin)
New third-party plugin vconsole-vue-devtools-plugin. (by @Zippowxk)Perf(System)
Rename "System" field to "Client", and addMacOS
version.Fix(Log)
Use natural sorting to sort object and array's keys. (issue #372)Fix(Network)
Fix JSON parse error whencontentType
istext/html
. (by @zimv)Fix(Network)
FixdisableLogScrolling
not working in Network panel. (issue #282, #379)
Feature(Global)
AddsetSwitchPosition(x, y)
method to update the position of switch button, see Public Properties & Methods for more details.Perf(Global)
AddSymbol
polyfill. (issue #361)Fix(Global)
Update theme style aftersetOption()
.Fix(Global)
RemovetransitionEnd
to prevent compatibility issues. (issue #364)Fix(Network)
Fixfetch
optional parameterinit
. (issue #363, #365)Fix(Network)
Fix XSS risks.
Feature(Global)
Add darkmode theme, seevConsole.option.theme
in Public Properties & Methods. (PR #307 by @progrape)Feature(Global)
Add safe area to switch button. (issue #353)Feature(Log)
Auto move input cursor to the bracket after autocomplete command. (issue #293)Feature(System)
AddLocation
info to System tab. (issue #343)Feature(Network)
Addfetch
log in Network tab. (by @weiqian93)Feature(Network)
Add Request Headers to Network tab.Feature(Network)
Use short URL and display parameters in Network tab. (issue #291)Feature(Plugin)
New third-party plugin vconsole-stats-plugin. (by @smackgg)Fix(Global)
The position of the switch button will be reset by mistake when clicked.Fix(Global)
Fixdocument.documentElement.offsetHeight|offsetWidth
is unreliable in newer browsers. (PR #314 by @littlee)Fix(Global)
Prevent dispatchEvent for disabled or readOnly elements. (PR #314 by @norux)Fix(Global)
Fix nonce searching problem. (by @sunderls)Fix(Global)
Fix security issues. (#345 by @QiAnXinCodeSafe)Fix(Global)
Prevent "webkitStorageInfo deprecation" warning.Perf(Global)
RemoveSymbol
,Array.from
polyfill. (issue #325, #275)Perf(Global)
Show all enumerable and unenumerable properties. (issue #327)Chore
Update Webpack DevServer option. (by @QinZhen001)
Feature(Log)
Add%c
log format to support custom log style, see Tutorial for more details.Feature(Plugin)
AddVConsole.VConsoleLogPlugin
(VConsole.VConsole*
plugins etc.) toVConsole
class.Fix(Global)
Fix a few minor issues. (#267 by @Molunerfinn, #272 by @domom)Fix(Storage)
Fix remove cookie fail when it is set path=/ or top domain. (#264 by @qianxinfeng)Perf(Global)
Display vConsole onwindow DOMContentLoaded
instead ofwindow load
.
Feature(Global)
Add TypeScript definition file. (by @jas0ncn)Fix(Log)
Avoid scrolling to bottom when away from bottom edge. (by @ele828)Fix(Global)
Fix switch button position issue. (by @rexschuang)Fix(Global)
Fix a few minor issues. (by @stenders)
Feature(Log)
Add the ability to collapse the same log.Fix(Log)
Fix issue which formatted log (likeconsole.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
FixJSON.stringify
function which was incorrectly rewritten.Fix
FixlogNumber
bug 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 bynonce
attribute. (by @scotthuang)Perf
Add bottom safe area to adapt to full screen such as iPhone X. (by @dingyi1993)
Feature
Supportconsole.time()
andconsole.timeEnd()
.Feature
AdddisableLogScrolling
(invConsole.option
).Fix
FixsetOption()
error.Fix
Fix cookies' value wrong display.Fix
Fix "Uncaught InvalidStateError". (by @fireyy)
Feature
AddvConsole.showSwitch()
andvConsole.hideSwitch()
methods, see Public Properties & Methods.Feature
AddonReady
andonClearLog
callback function tovConsole.option
.Feature
Auto clear logs whenconsole.clear()
is called.Fix
Fix\r
error when build in Windows.Fix
FixSymbol
error in iOS8 or other old OS.
Basic:
Feature
Require manual init vConsolevar vConsole = new VConsole(option)
.Feature
Add configuarationvConsole.option
, which can be set whennew VConsole
orsetOption(key, value)
.Feature
Support for custom loading of default built-in plugins by usingdefaultPlugins
in the above option.Feature
AddsetOption(key, value)
method.Perf
Support CSP ruleunsafe-eval
andunsafe-inline
.Perf
Optimizefont-size
wheninitial-scale < 1
.
Log plugin:
Feature
SupportmaxLogNumber
option to limit maximum log number.Fix
Fix the crash caused by printing large objects.Perf
Only the logs written asconsole.log('[system]', xxx)
will be shown in System tab, soconsole.log('[system] xxx')
will be shown in default log tab.
Network plugin:
Feature
SupportQuery String Parameters
andForm Data
.Perf
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 bythis.vConsole
on/afterinit
event is called.Feature
AddupdateOption
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
FixscrollHeight
error in some cases.Fix
Fix flex layout in iOS 8 devices.Perf
Performance enhancement.
Feature
AddvConsole.removePlugin()
method, see Public Properties & Methods.Feature
Addremove
plugin event, see Plugin: Event List.Perf
Disable page scrolling while vConsole is scrolling.Fix
Fixwindow.onerror()
typo.
Feature
AddaddTopBar
plugin event, see Plugin: Event List.Feature
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.
Fix
Replace customtap
event (in V2.3.0) withclick
event (still support fast response) to prevent conflicts.Perf
Removenow
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.Perf
Supporttap
event within vConsole's DOM container to speed upclick
event.
Perf
Add complete performance timing log to System tab.Feature
Add third-party plugin list to README.
Feature
AddvConsole.version
property.Feature
Addxhr._noVConsole
property toXMLHttpRequest
objects to customize whether a XHR should display in Network tab.
Feature
AddvConsole.tool
&vConsole.$
helper functions, see Helper Functions.Feature
Public properties & methods of vConsole are available, see Public Properties & Methods.Fix
Fix issue thaterror
inwindow.onerror()
may be undefined.Fix
Fix error thatxhr.status
may be unavailable whenxhr.readyState < 4
.
Fix
Fix error that vConsole may not work at X5 browser engine.Fix
Fix error thatlocalStorage
is null in some kind of devices.Fix
Fix boolean display error in Log tab.Perf
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.Perf
Switch button will not be dragged out of screen.Perf
Auto print User Agent in System tab.Perf
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.
Feature
Support Drag and Drop switch button.Fix
Fix initialization failure when loaded asynchronously.
Fix
Fix data lost when sending a POST request.
Feature
Add network panel.Feature
DeprecatevConsole.ready()
method.Perf
Display formatted Object & Array variable.Perf
Add English README and CHANGELOG.Perf
Improve UI.
Feature
Supportwindow.onerror()
to catch exceptions and errors.Feature
Support[default|system|...]
string to print logs to specific panel.
Fix
Fix webpack compilation.Fix
Fix XSS when printing HTML string.
Fix
Fix themain
path inpackage.json
.Perf
Update demo pages.
- Initial release.