14 KiB
14 KiB
English | 简体中文
3.9.1 (2021-07-27)
Fix(Log)Fix command input style. (PR #437 by @FredZeng)Fix(Storage)FixglobalThiserror. (issue #438 #439)ChoreFixconstleterror cause by Svelte. (PR #440 by @dellyoung)
3.9.0 (2021-07-16)
Feat(Log)Show audio loading error log. (PR #419 by @zimv)Feat(Storage)Rewrite Storage panel, supports add/edit/delete storage items. (PR #429 by @ManiaciaChao)Feat(Plugin)New third-party plugin vite-plugin-vconsole. (by @vadxq)Refactor(Global)Use Svelte as template engine. (PR #429 by @ManiaciaChao)Refactor(Core|Element)Convert core file and Element panel to.tsfile.Fix(Log)Fix error when print object(s) with notoJSONmethod such asVueinstance. (PR #431 by @sillyhong)Fix(Network)Fix error when url not starts withhttp. (issue #420)Fix(Network)Fix error when usingRequestasFetch's parameter. (PR #428 by @tatsunoneko)Fix(Network)Display formatted key-value list whenPOSTa JSON string. (issue #425)styleWrap LESS math operations. (PR #426 by @ManiaciaChao)ChoreFixyarn serveerror. (issue #424)
3.8.1 (2021-06-24)
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)ChoreRemoveexclude: node_modulesoption in babel-loader to be compatible with ES5. (issue #404, #407)Refactor(Log)Convert Log & System panel to.tsfile.
3.8.0 (2021-06-23)
Feat(Log)Show resource (image/video/link/script) loading error log. (PR #411 by @zimv)ChoreAddtarget: ['web', 'es5']to Webpack to avoid compatibility issues. (issue #404)Fix(Network)Fix error whennew URL('x', undefined). (PR #409 by @moonkop)
3.7.0 (2021-05-27)
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 optionthemeis empty.Refactor(Storage)Convert Storage panel to.tsfile.Fix(Network)UseforEachinstead of.entries()when traversingheaders. (issue #404)Fix(Network)Fix error whenContent-Typeis empty.
3.6.1 (2021-05-24)
Fix(Network)Fix "Invalid base URL" error. (PR #402)
3.6.0 (2021-05-21)
Feat(Log)Printunhandledrejectionlog. (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.tsfile.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 whenattributesorcharacterDatachanged. (issue #399)
3.5.2 (2021-05-13)
Chore(Global)Update to Webpack5 and update all NPM packages to the latest version.Fix(Global)Fix invalid click caused by wrongselection.Fix(Log)DeletecachedLogswhen reachedmaxLogNumberlimit.Fix(Log)Fix XSS risk.
3.5.1 (2021-05-07)
Chore(Babel)Fix incorrectcatchbuilt by babel-loader. (PR #392 by @myl0204)Fix(Network)Fix typing error. (PR #388 by @xovel)
3.5.0 (2021-04-28)
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 addMacOSversion.Fix(Log)Use natural sorting to sort object and array's keys. (issue #372)Fix(Network)Fix JSON parse error whencontentTypeistext/html. (by @zimv)Fix(Network)FixdisableLogScrollingnot working in Network panel. (issue #282, #379)
V3.4.1 (2021-04-09)
Feature(Global)AddsetSwitchPosition(x, y)method to update the position of switch button, see Public Properties & Methods for more details.Perf(Global)AddSymbolpolyfill. (issue #361)Fix(Global)Update theme style aftersetOption().Fix(Global)RemovetransitionEndto prevent compatibility issues. (issue #364)Fix(Network)Fixfetchoptional parameterinit. (issue #363, #365)Fix(Network)Fix XSS risks.
V3.4.0 (2021-01-14)
Feature(Global)Add darkmode theme, seevConsole.option.themein 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)AddLocationinfo to System tab. (issue #343)Feature(Network)Addfetchlog 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|offsetWidthis 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.frompolyfill. (issue #325, #275)Perf(Global)Show all enumerable and unenumerable properties. (issue #327)ChoreUpdate Webpack DevServer option. (by @QinZhen001)
V3.3.4 (2019-08-19)
Feature(Log)Add%clog format to support custom log style, see Tutorial for more details.Feature(Plugin)AddVConsole.VConsoleLogPlugin(VConsole.VConsole*plugins etc.) toVConsoleclass.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 DOMContentLoadedinstead ofwindow load.
V3.3.2 (2019-07-04)
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)
V3.3.0 (2019-02-02)
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.
V3.2.2 (2019-01-17)
FeatureAdd console command prompt. (by @65147400)FeatureAdd SessionStorage support in Storage tab. (by @hkc452)FixFixJSON.stringifyfunction which was incorrectly rewritten.FixFixlogNumberbug which was not reset when clear logs. (by @liuyuekeng)FixFix unencoded HTML tag in Network tab. (by @mokang)FixFix possible crash when decode content in Storage tab. (by @wolfsilver)FixFix CSP buy cause bynonceattribute. (by @scotthuang)PerfAdd bottom safe area to adapt to full screen such as iPhone X. (by @dingyi1993)
V3.2.0 (2018-04-10)
FeatureSupportconsole.time()andconsole.timeEnd().FeatureAdddisableLogScrolling(invConsole.option).FixFixsetOption()error.FixFix cookies' value wrong display.FixFix "Uncaught InvalidStateError". (by @fireyy)
V3.1.0 (2017-12-27)
FeatureAddvConsole.showSwitch()andvConsole.hideSwitch()methods, see Public Properties & Methods.FeatureAddonReadyandonClearLogcallback function tovConsole.option.FeatureAuto clear logs whenconsole.clear()is called.FixFix\rerror when build in Windows.FixFixSymbolerror in iOS8 or other old OS.
V3.0.0 (2017-09-27)
Basic:
FeatureRequire manual init vConsolevar vConsole = new VConsole(option).FeatureAdd configuarationvConsole.option, which can be set whennew VConsoleorsetOption(key, value).FeatureSupport for custom loading of default built-in plugins by usingdefaultPluginsin the above option.FeatureAddsetOption(key, value)method.PerfSupport CSP ruleunsafe-evalandunsafe-inline.PerfOptimizefont-sizewheninitial-scale < 1.
Log plugin:
FeatureSupportmaxLogNumberoption to limit maximum log number.FixFix the crash caused by printing large objects.PerfOnly 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:
FeatureSupportQuery String ParametersandForm Data.PerfAuto format JSON response.FixFix bug that XHR status is always "Pending" when using 3rd HTTP libraries.
Plugins:
FeaturePlugins can get vConsole instance bythis.vConsoleon/afterinitevent is called.FeatureAddupdateOptionevent to detectvConsole.optionchanges.FeatureAdd Element tab as a built-in plugin.FeatureAdd Storage tab as a built-in plugin.
V2.x.x
V2.5.2 (2016-12-27)
FixCatch errors when eval custom commands in Log tab.
V2.5.1 (2016-10-18)
FixFixscrollHeighterror in some cases.FixFix flex layout in iOS 8 devices.PerfPerformance enhancement.
V2.5.0 (2016-09-28)
FeatureAddvConsole.removePlugin()method, see Public Properties & Methods.FeatureAddremoveplugin event, see Plugin: Event List.PerfDisable page scrolling while vConsole is scrolling.FixFixwindow.onerror()typo.
V2.4.0 (2016-08-31)
FeatureAddaddTopBarplugin event, see Plugin: Event List.FeatureAdd log type filter to Log & System tab.PerfLog list will not automatically scroll to bottom while printing new logs if the viewport is not at the end of list.PerfFix UI bugs.FixFix XSS issue when print object logs.FixSwitch button will not be positioned out of edges in some special cases.
V2.3.1 (2016-08-16)
FixReplace customtapevent (in V2.3.0) withclickevent (still support fast response) to prevent conflicts.PerfRemovenowitem and addnavigationStarttime in System tab.
V2.3.0 (2016-08-15)
FeatureObjects or Arrays can be expended layer by layer.FeatureAll object's properties, including private properties, can be enumerable now.PerfSupporttapevent within vConsole's DOM container to speed upclickevent.
V2.2.1 (2016-08-08)
PerfAdd complete performance timing log to System tab.FeatureAdd third-party plugin list to README.
V2.2.0 (2016-07-13)
FeatureAddvConsole.versionproperty.FeatureAddxhr._noVConsoleproperty toXMLHttpRequestobjects to customize whether a XHR should display in Network tab.
V2.1.0 (2016-06-29)
FeatureAddvConsole.tool&vConsole.$helper functions, see Helper Functions.FeaturePublic properties & methods of vConsole are available, see Public Properties & Methods.FixFix issue thaterrorinwindow.onerror()may be undefined.FixFix error thatxhr.statusmay be unavailable whenxhr.readyState < 4.
v2.0.1 (2016-06-16)
FixFix error that vConsole may not work at X5 browser engine.FixFix error thatlocalStorageis null in some kind of devices.FixFix boolean display error in Log tab.PerfImprove UI in Android.
v2.0.0 (2016-06-05)
FeatureRebuild completely, support custom plugin, see Plugin: Getting Started.FeatureSupport execute JS command line in Log tab.FeatureSupport circular structure object in Log and System tab.FeatureSupport viewing request headers and response in Network tab.PerfSwitch button will not be dragged out of screen.PerfAuto print User Agent in System tab.PerfShow log's time in Log and System tab.FixFix issue that getDate() returns a wrong date.FixFix issue that sync AJAX becomes async AJAX.
v1.x.x
v1.3.0 (2016-05-20)
FeatureSupport Drag and Drop switch button.FixFix initialization failure when loaded asynchronously.
v1.2.1 (2016-05-16)
FixFix data lost when sending a POST request.
v1.2.0 (2016-05-11)
FeatureAdd network panel.FeatureDeprecatevConsole.ready()method.PerfDisplay formatted Object & Array variable.PerfAdd English README and CHANGELOG.PerfImprove UI.
v1.1.0 (2016-05-06)
FeatureSupportwindow.onerror()to catch exceptions and errors.FeatureSupport[default|system|...]string to print logs to specific panel.
v1.0.5 (2016-04-29)
FixFix webpack compilation.FixFix XSS when printing HTML string.
v1.0.4 (2016-04-28)
FixFix themainpath inpackage.json.PerfUpdate demo pages.
v1.0.2 (2016-04-27)
- Initial release.