Skip to content

WebSocket DevTools v1.4.0

Latest

Choose a tag to compare

@law-chain-hot law-chain-hot released this 19 Sep 03:47
d469cf3

This release collects two community contributions and a capture-side fix for binary audio payloads.

Message grouping (#48)

Group the message list by any JSON field (requestID, traceId, …), optionally filter to a single value, show a second field inline, and sort groups by first sent, first message, latest message, group value, or message count.

Thanks @948049716 — the follow-up commit moved grouping into memoized, cached sections so hovering, collapsing, or typing no longer re-parses the message list.

JSON viewer search and split layout (#50)

  • Search inside the JSON viewer with Ctrl / Cmd + F or the new search button.
  • Switch the message list / detail split between top-bottom and left-right.

Thanks @fncheng. This landed on top of #48 in the same component; the conflicts are resolved in this release.

Bounded binary decoding (#46)

Schema-less decoding of raw byte payloads (for example audio frames) could follow deep, nested-message-looking structures and run synchronously in the socket's send and message path, which could stall the page under a busy binary stream. Automatic decoding is now bounded by depth, field size, and a per-decode node/time budget, and base64 previews are built without spreading the whole payload.

中文摘要

  • 消息分组:#48,按任意 JSON 字段分组,支持按值过滤、内联展示第二个字段、五种排序方式。
  • JSON 搜索与分栏:#50,Ctrl / Cmd + F 在查看器内搜索,消息列表与详情可切换左右/上下分栏。
  • 二进制解析边界:#46,音频等原始字节不再被无限递归解析,避免页面卡顿。

Changelog

  • feat: add custom WebSocket message grouping controls by @948049716 in #48
  • feat: add JSON viewer keyword search and switchable message split layout by @fncheng in #50
  • fix(capture): bound schema-less protobuf decoding by @law-chain-hot in #60
  • chore(release): prepare v1.4.0 by @law-chain-hot in #61

Full Changelog: v1.3.0...v1.4.0