Skip to content

Releases: Tencent/vConsole

v3.15.1

01 Jun 09:12
968f3e2
Compare
Choose a tag to compare

EN:

  • Feat(Netwrk) Add new option network.ignoreUrlRegExp to skip some requests. (PR #623)
  • Fix(Core) Fix prototype pollution in vConsole.setOption(). (issue #616 #621)
  • Fix(Core) Fix plugin event ready triggering before its HTML finishes rendering. (issue #591)
  • Fix(Log) Reset group state when console.clear() is called. (issue #611)
  • Fix(Log) Compatible with iOS (less than 13.4) that does not support ResizeObserver, but there may be a potential performance issue when printing a large number of logs. (issue #610)
  • Fix(Network) Fix possible "Cannot read property" error by sendBeacon. (issue #615)

CN:

  • Feat(Netwrk) 新增配置项 network.ignoreUrlRegExp 以跳过一些请求。 (PR #623)
  • Fix(Core) 修复 vConsole.setOption() 中可能存在的原型污染问题。 (issue #616 #621)
  • Fix(Core) 修复插件事件 ready 在插件完成渲染前就被触发的问题。 (issue #591)
  • Fix(Log) 修复调用 console.clear() 时没有重置 group 层级的问题。 (issue #611)
  • Fix(Log) 兼容 iOS(小于 13.4)不支持 ResizeObserver 的情况,代价是打印大批量日志可能会有性能问题。 (issue #610)
  • Fix(Network) 修复可能由 sendBeacon 引发的 "Cannot read property" 错误。 (issue #615)

v3.15.0

02 Nov 07:51
05d8039
Compare
Choose a tag to compare

EN:

  • Feat(Log) Add recycle scrolling to imporove performance, and add scroll to top/bottom buttons. (PR #570)
  • Feat(Log) Add support for console.group(), console.groupCollapsed(), console.groupEnd(). (issue #545)
  • Feat(Network) Add recycle scrolling to imporove performance.
  • Feat(Network) Add "Start Time" of a request.
  • Feat(Network) Use curl instead of url as the copy value of a request. (issue #410)
  • Fix(Storage) Fix an event bug that overflow content cannot scroll. (issue #542)
  • Fix(Core) Fix click event on <select> elements. (PR #577)

CN:

  • Feat(Log) 新增虚拟滚动列表以提升性能,并支持快速滚动到顶部/底部。 (PR #570)
  • Feat(Log) 新增对 console.group(), console.groupCollapsed(), console.groupEnd() 方法的支持。 (issue #545)
  • Feat(Network) 新增虚拟滚动列表以提升性能。
  • Feat(Network) 新增 request 的 "Start Time"(发起时间)。
  • Feat(Network) 使用 curl 格式作为 request 的复制内容,而非 url。 (issue #410)
  • Fix(Storage) 修复内容溢出的元素无法滑动的问题。 (issue #542)
  • Fix(Core) 修复 <select> 的点击事件问题。 (PR #577)

v3.14.7

23 Sep 10:54
5933fb4
Compare
Choose a tag to compare

EN:

  • Perf(Log) Optimize rendering performance when adding logs. (PR #567)
  • Fix(Core) Fix plugin panel sorting error when setting pluginOrder option. (issue #559)
  • Fix(Core) Fix intervention error caused by preventDefault in Touch events. (issue #546)
  • Fix(Log) Fix window.onerror missing line breaks.
  • Fix(Log) Fix unclickable vc-cmd-clear-btn on iOS Safari. (PR #564)
  • Fix(Log) Fix a typo that misjudged circular reference objects. (issue #566)
  • Fix(Log|Network) Copy objects or arrays as standard JSON format. (issue #547)
  • Fix(Network) Fix Fetch stays in pending status when window is proxied. (issue #556)
  • Fix(Storage) Fix storage pannel sorting error when setting storage.defaultStorages option. (issue #560)
  • Chore Add option env['no-core-js'] to disable core-js polyfill. (PR #562)

CN:

  • Perf(Log) 优化打印日志时的性能。 (PR #567)
  • Fix(Core) 修复因设置 pluginOrder 导致插件面板排序错误的问题。 (issue #559)
  • Fix(Core) 修复因 Touch 事件中的 preventDefault 导致的 intervention 错误。 (issue #546)
  • Fix(Log) 修复 window.onerror 丢失换行的问题。
  • Fix(Log) 修复清除命令行按钮在 iOS Safari 中无法点击的问题。 (PR #564)
  • Fix(Log) 修复一处误判循环引用对象的笔误。 (issue #566)
  • Fix(Log|Network) 以标准 JSON 格式复制对象或数组。 (issue #547)
  • Fix(Network) 修复因 window 对象被代理导致 Fetch 一直为 pending 状态的问题。 (issue #556)
  • Fix(Storage) 修复因设置 storage.defaultStorages 导致 Storage 面板排序错误的问题。 (issue #560)
  • Chore 添加 env['no-core-js'] 选项来停用构建时使用 core-js polyfill。 (PR #562)

v3.14.6

14 Apr 09:00
7e21480
Compare
Choose a tag to compare

EN:

  • Fix(Log) Fix logs lost tracking when adding a new vConsole after destroying the old one.
  • Fix(Network) Fix resp.body undefined error. (issue #531)
  • Fix(Network) Fix missing Request Headers when xhr.setRequestHeader is overwritten. (issue #533)
  • Chore Update NPM dependencies.

CN:

  • Fix(Log) 修复当销毁后再次初始化 vConsole 时失去追踪 logs 的问题。
  • Fix(Network) 修复 resp.body undefined 错误。 (issue #531)
  • Fix(Network) 修复 xhr.setRequestHeader 被覆盖改写时丢失 Request Headers 的问题。 (issue #533)
  • Chore 更新 NPM 依赖。

v3.14.5

06 Apr 03:41
5b2064d
Compare
Choose a tag to compare

EN:

  • Fix(Core) Fix unexpected error when init vConsole twice in short time. (issue #525)
  • Fix(Log) Fix bug that console.time | console.timeEnd do not output log. (issue #523)
  • Fix(Element) Fix undefined is not an object error when updating attributes. (issue #526)
  • Fix(Network) Do not proxy response body reader when response is done.
  • Chore Fix typo that Svelte is not transpiled by Babel on Windows. (PR #528)

CN:

  • Fix(Core) 修复极短时间内重复初始化 vConsole 导致的报错。 (issue #525)
  • Fix(Log) 修复 console.time | console.timeEnd 不输出日志的问题。 (issue #523)
  • Fix(Element) 修复更新 attributes 时引起的 undefined is not an object 错误。 (issue #526)
  • Fix(Network) 当请求完成后,不再代理 response body reader。
  • Chore 修复 Svelte 在 Windows 环境中未被 Babel 转义的问题。 (PR #528)

v3.14.4

31 Mar 08:21
1dcdc22
Compare
Choose a tag to compare

EN:

  • Fix(Network) Fix CPU high load bug when response is a large string. (issue #515)
  • Fix(Network) Fix missing Request Headers issue in XHR. (issue #522)

CN:

  • Fix(Network) 修复回包超大时导致的卡死问题。 (issue #515)
  • Fix(Network) 修复 XHR 中缺失显示 Request Headers 的问题。 (issue #522)

v3.14.3

28 Mar 08:32
b16a209
Compare
Choose a tag to compare

EN:

  • Fix(Network) Fix response.size error.

CN:

  • Fix(Network) 修复 response.size 错误。

v3.14.2

25 Mar 06:07
b16a209
Compare
Choose a tag to compare

EN:

  • Fix(Network) Remove debugging console.log.
  • Chore Drop console.log in Webpack process to ensure that no debugging logs appear in release version.
  • Chore Add new build command to compile files in different scenarios.

CN:

  • Fix(Network) 删除调试日志。
  • Chore 在构建时自动删除 console.log 以确保调试日志不会出现在正式版本中。
  • Chore 添加新的编译命令以编译出不同场景下的文件。

v3.14.1

24 Mar 03:38
8991654
Compare
Choose a tag to compare

EN:

  • Fix(Network) Fix responseSize error when readyState === 3.

CN:

  • Fix(Network) 修复当 readyState === 3 时的 responseSize 错误。

v3.14.0

23 Mar 03:14
802b35f
Compare
Choose a tag to compare

EN:

  • Feat(Core) Add new option pluginOrder to adjust the order of built-in and custom plugins, see Public Properties & Methods.
  • Feat(Core) Panel will auto scroll to previous position when switching plugin panel.
  • Feat(Network) Add response size.
  • Feat(Network) Add support for transfer-encoding: chunked, now streaming response can be recorded.
  • Feat(Network) Improve rendering performance of large Response data by cropping the displayed response content.
  • Refactor(Network) Now network records will be more accurate by using Proxy to prevent XMLHttpRequest | fetch overwriting by other request libraries (like Axios).

CN:

  • Feat(Core) 新增配置项 pluginOrder 来调整插件面板的排序,见 公共属性及方法
  • Feat(Core) 切换插件面板时,面板会自动滚动到上次的位置。
  • Feat(Network) 新增显示 Response 的体积。
  • Feat(Network) 新增对 transfer-encoding: chunked 的支持,现在可记录流式回包(stream response)。
  • Feat(Network) 展示时裁剪过大的 Response 回包以提高渲染性能。
  • Refactor(Network) 提高网络记录的准确性,以避免被外部库(如 Axios)覆盖;方法是对 XMLHttpRequest | fetch 使用 Proxy。