Releases: Tencent/vConsole
Releases · Tencent/vConsole
Release 3.5.0
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 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)
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)
修复当contentType
为text/html
时潜在的 JSON 错误。 (by @zimv)Fix(Network)
修复disableLogScrolling
参数在 Network 面板中不生效的问题。 (issue #282, #379)
Release 3.4.1
EN:
Feature(General)
AddsetSwitchPosition(x, y)
method to update the position of switch button, see Public Properties & Methods for more details.Perf(General)
AddSymbol
polyfill. (issue #361)Fix(General)
Update theme style aftersetOption()
.Fix(General)
RemovetransitionEnd
to prevent compatibility issues. (issue #364)Fix(Network)
Fixfetch
optional parameterinit
. (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)
修复fetch
的init
未考虑为可选参数的问题。(issue #363, #365)Fix(Network)
修复 XSS 漏洞。
Release 3.4.0
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.theme
见 Public 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" 告警。
- 【修复】删除
Symbol
、Array.from
polyfill。(issue #325, #275) - 【修复】日志中显示对象内所有的 enumerable 和 unenumerable 属性。 (issue #327)
- 【优化】更新 Webpack DevServer 的配置项。(by @QinZhen001)
Release 3.3.4
EN:
- [FEATURE] Add
%c
log format to support custom log style, see Tutorial for more details. - [FEATURE] Add
VConsole.VConsoleLogPlugin
(VConsole.VConsole*
plugins etc.) toVConsole
class. - [IMPROVE] Display vConsole on
window DOMContentLoaded
instead ofwindow 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:
Release 3.3.2
Release 3.3.1
Deprecated.
Release 3.3.0
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
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
EN:
- [FEATURE] Support
console.time()
andconsole.timeEnd()
. - [FEATRUE] Add
disableLogScrolling
(invConsole.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
EN:
- [FEATURE] Add
vConsole.showSwitch()
andvConsole.hideSwitch()
methods, see Public Properties & Methods. - [FEATURE] Add
onReady
andonClearLog
callback function tovConsole.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()
方法,请查阅公共属性及方法。 - 【特性】新增
onReady
及onClearLog
回调方法,位于vConsole.option
。 - 【特性】调用
console.clear
时将自动清除面板中的日志。 - 【修复】修复 Windows 下构建引起的
\r
转义问题。 - 【修复】修复 iOS8 或其它低版本系统中的
Symbol
错误。