Packages

@chat-adapter/shared

4.43.0 · 19 Oct 2026MIT823.8k / weekRepositoryHomepagenpmAtom feed

56 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 4.43.0

    19 Oct 2026
    • 36325f3: Make maskCodeSpans and replaceBareMentions take linear time on text with many inline code spans. Each inline span checked for a line break by searching the rest of the text, so a long message of short spans, such as `a`a`a…, took quadratic time. The check now covers only the span itself, and the output is unchanged.

  2. 4.41.1 – 4.42.02 releases that only update dependencieschat 4.42.0Show each
  3. 4.41.0

    18 Sep 2026
    • 6adca36: Enforce the guarded download deadline inside downloadAttachment itself, for both the wait for response headers and the body read. A late response is destroyed, so the timeout holds even when a custom transport ignores the supplied signal.

    • 683eadc: Add maskCodeSpans, which blanks inline code spans and fenced code blocks using the same scanner as replaceBareMentions, so adapters can classify a mention token while ignoring the ones inside code.

  4. 4.40.0

    5 Sep 2026

    Only updates a dependency:chat 4.40.0

  5. 4.39.0

    28 Aug 2026
    • security

      153bd96: guard Messenger attachment downloads against SSRF and oversized responses

      downloadAttachment in @chat-adapter/shared accepts an optional hosts allowlist that restricts downloads, including redirect targets, to the given hosts and their subdomains. The Messenger adapter uses it to download attachment media only from Meta's fbsbx.com and fbcdn.net hosts, with the shared SSRF guard, 25 MB size cap, and 30 second timeout. External fallback and link-share URLs are rejected before any network request.

    • security

      bb92688: secure anonymous attachment downloads against SSRF and oversized responses

      @chat-adapter/shared gains downloadAttachment, a guarded downloader that refuses private and internal addresses (as URL literals, through DNS resolution, and after redirects), decodes compressed responses, caps the body size at 25 MB, and bounds the whole download with a 30 second timeout. All of these are configurable, including the transport for proxied deployments.

      The Teams adapter uses it for anonymous attachment downloads. HTTPS attachments on any public host keep working, plain-HTTP URLs are refused, and the Bot Framework Emulator's loopback connector now uses bot authentication so local development keeps working.

    • e71bfea: Add normalizeCodeFences to @chat-adapter/shared: a code-fence normalizer for platforms whose triple-backtick fences treat the text after the opening fence as code rather than a CommonMark info string. Only paired fences become code blocks (unpaired fences, fences inside inline code, and fences on quoted lines stay literal text), text following a closing fence cannot be promoted to a block construct, and per-segment callbacks keep text-level rewrites out of code content.

      The WhatsApp adapter now uses it when parsing incoming messages: the first line of a code block is preserved in message text and formatted content, and bold/strikethrough rewriting no longer corrupts fenced code.

  6. 4.35.0 – 4.38.15 releases that only update dependencieschat 4.38.1Show each
  7. 4.34.0

    13 Jul 2026

    Reading the note…

  8. 4.33.0

    7 Jul 2026

    Reading the note…

  9. 4.32.0

    1 Jul 2026

    Reading the note…

  10. 4.31.0

    16 Jun 2026

    Reading the note…

  11. 4.30.0

    2 Jun 2026

    Reading the note…

  12. 4.29.0

    18 May 2026

    Reading the note…

  13. 4.28.1

    8 May 2026

    Reading the note…

  14. 4.27.0

    30 Apr 2026

    Reading the note…

  15. 4.26.0

    14 Apr 2026

    Reading the note…

  16. 4.25.0

    11 Apr 2026

    Reading the note…

  17. 4.24.0

    7 Apr 2026

    Reading the note…

  18. 4.23.0

    26 Mar 2026

    Reading the note…

  19. 4.22.0

    24 Mar 2026

    Reading the note…

  20. 4.21.0

    23 Mar 2026

    Reading the note…

  21. 4.20.2

    16 Mar 2026

    Reading the note…

  22. 4.20.1

    12 Mar 2026

    Reading the note…

  23. 4.20.0

    11 Mar 2026

    Reading the note…

  24. 4.19.0

    10 Mar 2026

    Reading the note…

  25. 4.18.0

    7 Mar 2026

    Reading the note…

  26. 4.17.0

    6 Mar 2026

    Reading the note…

  27. 4.16.1

    4 Mar 2026

    Reading the note…

  28. 4.16.0

    4 Mar 2026

    Reading the note…

  29. 4.15.0

    26 Feb 2026

    Reading the note…

  30. 4.14.0

    24 Feb 2026

    Reading the note…

  31. 4.13.4

    24 Feb 2026

    Reading the note…

  32. 4.13.3

    23 Feb 2026

    Reading the note…

  33. 4.13.2

    23 Feb 2026

    Reading the note…

  34. 4.13.1

    20 Feb 2026

    Reading the note…

  35. 4.13.0

    20 Feb 2026

    Reading the note…

  36. 4.12.0

    18 Feb 2026

    Reading the note…

  37. 4.11.0

    16 Feb 2026

    Reading the note…

  38. 4.10.1

    15 Feb 2026

    Reading the note…

  39. 4.10.0

    15 Feb 2026

    Reading the note…

  40. 4.9.1

    12 Feb 2026

    Reading the note…

  41. 4.9.0

    10 Feb 2026

    Reading the note…

  42. 4.8.0

    6 Feb 2026

    Reading the note…

  43. 4.7.2

    6 Feb 2026

    Reading the note…

  44. 4.7.1

    24 Jan 2026

    Reading the note…

  45. 4.7.0

    23 Jan 2026

    Reading the note…