The Wayback Machine - https://web.archive.org/web/20201115020651/https://github.com/Tencent/vConsole/releases
Skip to content

@Maizify Maizify released this Aug 19, 2019

EN:

  • [FEATURE] Add %c log format to support custom log style, see Tutorial for more details.
  • [FEATURE] Add VConsole.VConsoleLogPlugin (VConsole.VConsole* plugins etc.) to VConsole class.
  • [IMPROVE] Display vConsole on window DOMContentLoaded instead of window load.
  • [FIX] Fix remove cookie fail when it is set path=/ or top domain. (#264 by @qianxinfeng)
  • [FIX] Fix a few minor issues. (#267 by @Molunerfinn, #272 by @domom)

CN:

  • 【特性】增加 %c 以支持自定义日志样式,详情见 使用教程
  • 【特性】增加 VConsole.VConsoleLogPluginVConsole.VConsole* 内置插件在 VConsole class 上的挂载。
  • 【优化】在 window DOMContentLoaded 而不是 window load 时显示 vConsole。
  • 【修复】修复当 cookie path=/ 或设置了 domain 时删除失败的问题。(#264 by @qianxinfeng)
  • 【修复】修复若干小问题。(#267 by @Molunerfinn, #272 by @domom)
Assets 2
Aug 17, 2019
v3.3.3 released

@Maizify Maizify released this Jul 4, 2019 · 16 commits to master since this release

EN:

  • [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)

CN:

  • 【特性】增加 TypeScript 声明文件。(by @jas0ncn
  • 【修复】修复开关按钮拖动后位置不对的问题。(by @rexschuang)
  • 【修复】不在列表底部时避免自动滚动。(by @ele828
  • 【修复】修复若干小问题。(by @stenders
Assets 2

@Maizify Maizify released this Jun 30, 2019 · 19 commits to master since this release

Deprecated.

Assets 2

@Maizify Maizify released this Feb 2, 2019 · 37 commits to master since this release

EN:

  • [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.

CN:

  • 【特性】新增自动合并相同日志的能力。频繁输出相同日志时不再会被刷屏。
  • 【修复】修复格式化日志(如 console.log('[foo]', 'bar'))无法显示到 Log 面板的问题。
Assets 2

@Maizify Maizify released this Jan 17, 2019 · 41 commits to master since this release

EN:

  • [FEATURE] Add console command prompt. (by @65147400)
  • [FEATURE] Add SessionStorage support in Storage tab. (by @hkc452)
  • [FIX] Fix JSON.stringify function which was incorrectly rewritten.
  • [FIX] Fix logNumber 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 by nonce attribute. (by @scotthuang)
  • [IMPROVE] Add bottom safe area to adapt to full screen such as iPhone X. (by @dingyi1993)

CN:

  • 【特性】新增控制台输入提示。 (by @65147400)
  • 【特性】支持 SessionStorage。 (by @hkc452)
  • 【修复】修复 JSON.stringify 函数被错误地改写的问题。
  • 【修复】修复清空日志时没有重置 logNumber 的问题。 (by @liuyuekeng)
  • 【修复】修复 Network 面板中 HTML 标签未被 encode 的问题。 (by @mokang)
  • 【修复】修复 Storage 面板 decode 内容时可能会导致崩溃的问题。 (by @wolfsilver)
  • 【修复】修复 CSP 签名获取失败问题。 (by @scotthuang)
  • 【优化】增加底部安全区域,适配 iPhone X 等全面屏。 (by @dingyi1993)
Assets 2
Jan 16, 2019
v3.2.1 released, merge from dev

@Maizify Maizify released this Apr 10, 2018 · 91 commits to master since this release

EN:

  • [FEATURE] Support console.time() and console.timeEnd().
  • [FEATRUE] Add disableLogScrolling (in vConsole.option).
  • [FIX] Fix setOption() error.
  • [FIX] Fix cookies' value wrong display.
  • [FIX] Fix "Uncaught InvalidStateError". (by @fireyy)

CN:

  • 【特性】支持 console.time()console.timeEnd()
  • 【特性】新增 disableLogScrolling 配置项(vConsole.option),用于禁止新日志引起的自动滚动到底部。
  • 【修复】修复初始化后立即调用 setOption 引起的错误。
  • 【修复】修复 cookies 显示错误的问题。
  • 【修复】修复 "Uncaught InvalidStateError" 错误。 (by @fireyy)
Assets 2

@Maizify Maizify released this Dec 27, 2017 · 101 commits to master since this release

EN:

  • [FEATURE] Add vConsole.showSwitch() and vConsole.hideSwitch() methods, see Public Properties & Methods.
  • [FEATURE] Add onReady and onClearLog callback function to vConsole.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.

CN:

  • 【特性】新增 vConsole.showSwitch()vConsole.hideSwitch() 方法,请查阅公共属性及方法
  • 【特性】新增 onReadyonClearLog 回调方法,位于 vConsole.option
  • 【特性】调用 console.clear 时将自动清除面板中的日志。
  • 【修复】修复 Windows 下构建引起的 \r 转义问题。
  • 【修复】修复 iOS8 或其它低版本系统中的 Symbol 错误。
Assets 2

@Maizify Maizify released this Sep 27, 2017 · 115 commits to master since this release

EN:

Basic:

  • [FEATRUE] Require manual init vConsole var vConsole = new VConsole(option).
  • [FEATRUE] Add configuaration vConsole.option, which can be set when new VConsole or setOption(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 and unsafe-inline.
  • [IMPROVE] Optimize font-size when initial-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, so console.log('[system] xxx') will be shown in default log tab.

Network plugin:

  • [FEATURE] Support Query String Parameters and Form 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/after init event is called.
  • [FEATURE] Add updateOption event to detect vConsole.option changes.
  • [FEATURE] Add Element tab as a built-in plugin.
  • [FEATURE] Add Storage tab as a built-in plugin.

CN:

基础:

  • 【特性】需要手动初始化 vConsole:var vConsole = new VConsole(option)
  • 【特性】新增 vConsole.option 配置项,配置项可在实例化时传入,也可通过 vConsole.setOption(key, value) 更新。
  • 【特性】支持自定义按需加载内置插件,配置项为 option 里的 defaultPlugins 字段。
  • 【优化】支持 CSP 规则 unsafe-evalunsafe-inline
  • 【优化】优化 initial-scale < 1 时的 font-size

Log 插件:

  • 【特性】支持 maxLogNumber 配置项,以控制面板内展示的最多日志数量。
  • 【修复】修复打印大型复杂 object 时引起的崩溃问题。
  • 【优化】只有 console.log('[system]', xxx) 这种将 [system] 放在第一位参数的写法,才会输出到 System 面板。因此可以规避 [foo] bar 这类格式无法正确打印到 Log 面板的问题。

Network 插件:

  • 【特性】新增 Query String ParametersForm Data 两栏,以展示 GET 和 POST 的参数。
  • 【优化】自动格式化展示 JSON 类型的回包。
  • 【修复】修复 status 一直为 "Pending" 的问题。这种问题一般是引入了第三方的 HTTP 库而引起的。

插件模块:

  • 【特性】在 init 事件触发时/之后,插件实例内可以通过 this.vConsole 来获取到 vConsole 的对象实例。
  • 【特性】新增 updateOption 事件,以监测 vConsole.option 的更新。
  • 【特性】新增 Element 面板作为默认的内置插件。
  • 【特性】新增 Storage 面板作为默认的内置插件。
Assets 2
You can’t perform that action at this time.