Skip to content

Releases: Tencent/TSW

v3.0.0

16 Apr 08:05
5a81835

Choose a tag to compare

3.0.0 (2026-04-16)

  • feat!: v3 - require Node.js >= 24, migrate to ESM, modernize toolchain (#579) (5a81835)

BREAKING CHANGES

  • drop Node.js < 24 support, package is now ESM-only
  • engines.node >= 24, .nvmrc and CI workflows aligned to Node 24
  • CJS -> ESM: tsconfig module nodenext, package.json type module,
    all imports use node: prefix and .js extensions
  • Monkey-patching uses createRequire for mutable CJS module objects
    (ESM namespaces are frozen in Node 24)
  • Remove moment, replace with native formatTimestamp()
  • Upgrade chalk v3 -> v5, ip v1 -> v2 (CVE fix), yargs v15 -> v17
  • ESLint v8 -> v9 flat config (eslint.config.mjs), typescript-eslint v8
  • Replace Jest with Vitest (native ESM, 4x faster)
  • Update README with v3 migration guide, ESM examples, vitest badge
  • Use AsyncLocalStorage instead of Domain

v2.7.2

15 Apr 07:53
33caceb

Choose a tag to compare

2.7.2 (2026-04-15)

Bug Fixes

v2.7.1

27 Mar 03:36
1e59de3

Choose a tag to compare

2.7.1 (2026-03-27)

Bug Fixes

  • 改进 HTTP 请求日志记录和敏感信息脱敏 (#577) (1e59de3)

v2.7.0

26 Mar 09:25
c6a3beb

Choose a tag to compare

2.7.0 (2026-03-26)

Features

  • 敏感请求头脱敏处理&错误请求日志都打印 (#576) (c6a3beb)

v2.6.10

16 Mar 03:42

Choose a tag to compare

2.6.10 (2026-03-16)

Bug Fixes

  • 修改 address 输出日志格式问题 (#574) (bc781fd)

v2.6.9

14 Apr 06:43
c241c71

Choose a tag to compare

2.6.9 (2025-04-14)

Bug Fixes

  • incoming: 解决存量缓冲内容读取失败问题 (#573) (c241c71)

v2.6.8

27 Oct 03:09
ba684e1

Choose a tag to compare

2.6.8 (2023-10-27)

Bug Fixes

  • incoming: 到达最大限制后,不再记录包内容 (#560) (ba684e1)

v2.6.7

14 Sep 02:51
218dfc9

Choose a tag to compare

2.6.7 (2023-09-14)

Bug Fixes

  • context: req记录context,防止close和finish事件清理后无法上报 (#557) (218dfc9)

v2.6.6

23 Aug 06:43
7d2e08e

Choose a tag to compare

2.6.6 (2023-08-23)

Bug Fixes

  • domain: 清理domain的时候,移除挂载在domain的context (#554) (7d2e08e)

v2.6.5

11 Apr 15:59

Choose a tag to compare

2.6.5 (2023-04-11)

Bug Fixes

  • npm: 修复npm发布失败问题 (2cfe15b)