Skip to content

Releases: Tencent/vConsole

Release 3.5.0

28 Apr 10:50
a3fd1b7
Compare
Choose a tag to compare

EN:

  • 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 add MacOS version.
  • Fix(Log) Use natural sorting to sort object and array's keys. (issue #372)
  • Fix(Network) Fix JSON parse error when contentType is text/html. (by @zimv)
  • Fix(Network) Fix disableLogScrolling not working in Network panel. (issue #282, #379)

CN:

  • Feature(Log) 新增复制单行日志的能力。 (by @akai)
  • Feature(Plugin) 新第三方插件 vconsole-vue-devtools-plugin。 (by @Zippowxk)
  • Perf(System) 将 "System" 字段改名为 "Client",并新增 MacOS 系统版本号。
  • Fix(Log) 使用自然排序来排序 object 和 array 的键值。 (issue #372)
  • Fix(Network) 修复当 contentTypetext/html 时潜在的 JSON 错误。 (by @zimv)
  • Fix(Network) 修复 disableLogScrolling 参数在 Network 面板中不生效的问题。 (issue #282, #379)

Release 3.4.1

09 Apr 11:11
Compare
Choose a tag to compare

EN:

  • Feature(General) Add setSwitchPosition(x, y) method to update the position of switch button, see Public Properties & Methods for more details.
  • Perf(General) Add Symbol polyfill. (issue #361)
  • Fix(General) Update theme style after setOption().
  • Fix(General) Remove transitionEnd to prevent compatibility issues. (issue #364)
  • Fix(Network) Fix fetch optional parameter init. (issue #363, #365)
  • Fix(Network) Fix XSS risks.

CN:

  • Feature(General) 新增 setSwitchPosition(x, y) 方法以更新开关按钮的位置,见 Public Properties & Methods
  • Perf(General) 添加 Symbol polyfill。(issue #361)
  • Fix(General) 修复 setOption() 后主题样式未及时更新的问题。
  • Fix(General) 删除 transitionEnd 以避免一些兼容性问题。(issue #364)
  • Fix(Network) 修复 fetchinit 未考虑为可选参数的问题。(issue #363, #365)
  • Fix(Network) 修复 XSS 漏洞。

Release 3.4.0

14 Jan 08:34
Compare
Choose a tag to compare

EN:

  • [FEATURE] Add darkmode theme, see vConsole.option.theme in Public Properties & Methods. (by @progrape)
  • [FEATURE] Add fetch log in Network tab. (by @weiqian93)
  • [FEATURE] Add Request Headers to Network tab.
  • [FEATURE] Use short URL and display parameters in Network tab. (issue #291)
  • [FEATURE] Add Location info to System tab. (issue #343)
  • [FEATURE] Add safe area to switch button. (issue #353)
  • [FEATURE] Auto move input cursor to the bracket after autocomplete command. (issue #293)
  • [FEATURE] New plugin vconsole-stats-plugin. (by @smackgg)
  • [FIX] The position of the switch button will be reset by mistake when clicked.
  • [FIX] Fix document.documentElement.offsetHeight|offsetWidth is unreliable in newer browsers. (by @littlee)
  • [FIX] Prevent dispatchEvent for disabled or readOnly elements. (by @norux)
  • [FIX] Fix nonce searching problem. (by @sunderls)
  • [FIX] Fix security issues. (#345 by @QiAnXinCodeSafe)
  • [FIX] Prevent "webkitStorageInfo deprecation" warning.
  • [FIX] Remove Symbol, Array.from polyfill. (issue #325, #275)
  • [FIX] Show all enumerable and unenumerable properties. (issue #327)
  • [IMPROVE] Update Webpack DevServer option. (by @QinZhen001)

CN:

  • 【特性】支持暗黑模式,配置项 vConsole.option.themePublic Properties & Methods。(by @progrape)
  • 【特性】Network 面板支持 fetch 网络记录。(by @weiqian93)
  • 【特性】Network 面板支持显示 Request Headers。
  • 【特性】Network 面板仅显示简短网址,URL 参数将显示在详细信息中。(issue #291)
  • 【特性】System 面板增加显示 Location 信息。(issue #343)
  • 【特性】开关按钮加入拖拽安全区,避免遮挡全面屏手机底部操作区。(issue #353)
  • 【特性】指令输入框键入括号且自动补全括号后,光标将自动移动到括号内部。(issue #293)
  • 【特性】新第三方插件 vconsole-stats-plugin。(by @smackgg)
  • 【修复】修复点击开关按钮后位置会被重置的问题。
  • 【修复】修复 document.documentElement.offsetHeight|offsetWidth 在新浏览器中不够准确的问题。(by @littlee)
  • 【修复】阻止用户事件派发到 readOnly 或 disabled 的 element 上。(by @norux)
  • 【修复】修复 nonce 查找不准确的问题。(by @sunderls)
  • 【修复】修复一个安全问题。(#345 by @QiAnXinCodeSafe)
  • 【修复】屏蔽 "webkitStorageInfo deprecation" 告警。
  • 【修复】删除 SymbolArray.from polyfill。(issue #325, #275)
  • 【修复】日志中显示对象内所有的 enumerable 和 unenumerable 属性。 (issue #327)
  • 【优化】更新 Webpack DevServer 的配置项。(by @QinZhen001)

Release 3.3.4

19 Aug 08:32
Compare
Choose a tag to compare

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)

Release 3.3.2

04 Jul 05:58
Compare
Choose a tag to compare

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

Release 3.3.1

30 Jun 07:03
Compare
Choose a tag to compare

Deprecated.

Release 3.3.0

02 Feb 08:09
Compare
Choose a tag to compare

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 面板的问题。

Release 3.2.2

17 Jan 13:08
Compare
Choose a tag to compare

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)

Release 3.2.0

10 Apr 03:35
Compare
Choose a tag to compare

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)

Release 3.1.0

27 Dec 09:24
Compare
Choose a tag to compare

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 错误。