Skip to content

Latest commit

 

History

History
53 lines (29 loc) · 2.62 KB

File metadata and controls

53 lines (29 loc) · 2.62 KB

Changelog

简体中文

This project follows the Keep a Changelog format.

[2.1.7] - 2026-04-07

Fixed

  • Plugin registration re-entrance: Lazy-import monitorWeixinProvider inside startAccount in channel.ts to avoid pulling in the monitor → process-message → command-auth chain at plugin registration time, which could re-enter the plugin/provider registry before the account starts.
  • Initialization side effect: Lazy-import resolveSenderCommandAuthorizationWithRuntime / resolveDirectDmAuthorizationOutcome in process-message.ts to prevent ensureContextWindowCacheLoaded from being triggered during module initialization, which caused loadOpenClawPlugins re-entrance.

Changed

  • Tool-call outbound path: sendWeixinOutbound now applies StreamingMarkdownFilter to the outbound text, consistent with the model-output path in process-message.

[2.1.4] - 2026-04-03

Changed

  • QR login: Remove client-side timeout for get_bot_qrcode; the request is no longer aborted on a fixed deadline (server / stack limits still apply).

[2.1.3] - 2026-04-02

Added

  • StreamingMarkdownFilter (src/messaging/markdown-filter.ts): outbound text no longer runs through whole-string markdownToPlainText stripping; a streaming character filter replaces it, so Markdown goes from effectively unsupported to partially supported.

Changed

  • Outbound text path: process-message uses StreamingMarkdownFilter (feed / flush) per deliver chunk instead of markdownToPlainText.

Removed

  • markdownToPlainText from src/messaging/send.ts (and its tests from send.test.ts); coverage moves to markdown-filter.test.ts.

[2.1.2] - 2026-04-02

Changed

  • Config reload after login: On each successful Weixin login, bump channels.openclaw-weixin.channelConfigUpdatedAt (ISO 8601) in openclaw.json so the gateway reloads config from disk, instead of writing an empty accounts: {} placeholder.
  • QR login: Increase client timeout for get_bot_qrcode from 5s to 10s.
  • Docs: Uninstall instructions now use openclaw plugins uninstall @tencent-weixin/openclaw-weixin (aligned with the plugins CLI).
  • Logging: debug-check log line no longer includes stateDir / OPENCLAW_STATE_DIR.

Removed

  • openclaw-weixin CLI subcommands (src/weixin-cli.ts and registration in index.ts). Use the host openclaw plugins uninstall … flow instead.

Fixed

  • Resolves the dangerous code pattern warning when installing the plugin on OpenClaw 2026.3.31+ (host plugin install / static checks).