Skip to content

Version Packages#378

Open
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main
Open

Version Packages#378
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Apr 14, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@chat-adapter/discord@4.27.0

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)

Patch Changes

  • 7e5b447: Fix duplicate content display when sending card messages on Discord
  • Updated dependencies [1e7c551]
  • Updated dependencies [b9a1961]
  • Updated dependencies [9093292]
  • Updated dependencies [7e90d9c]
  • Updated dependencies [bca4792]
  • Updated dependencies [37dbb4a]
  • Updated dependencies [608d5f0]
  • Updated dependencies [a179b29]
  • Updated dependencies [a8f2aab]
    • chat@4.27.0
    • @chat-adapter/shared@4.27.0

@chat-adapter/gchat@4.27.0

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)

Patch Changes

  • 1e7c551: restore attachment fetchData after queue/debounce serialization
  • 53ee151: Clear cardsV2 when editing a message to plain text so old cards don't persist underneath the new text
  • 1c12d33: Support Select and RadioSelect card actions in Google Chat by rendering them as selectionInput widgets and reading selected values from form inputs on action events.
  • Updated dependencies [1e7c551]
  • Updated dependencies [b9a1961]
  • Updated dependencies [9093292]
  • Updated dependencies [7e90d9c]
  • Updated dependencies [bca4792]
  • Updated dependencies [37dbb4a]
  • Updated dependencies [608d5f0]
  • Updated dependencies [a179b29]
  • Updated dependencies [a8f2aab]
    • chat@4.27.0
    • @chat-adapter/shared@4.27.0

@chat-adapter/github@4.27.0

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)

Patch Changes

  • Updated dependencies [1e7c551]
  • Updated dependencies [b9a1961]
  • Updated dependencies [9093292]
  • Updated dependencies [7e90d9c]
  • Updated dependencies [bca4792]
  • Updated dependencies [37dbb4a]
  • Updated dependencies [608d5f0]
  • Updated dependencies [a179b29]
  • Updated dependencies [a8f2aab]
    • chat@4.27.0
    • @chat-adapter/shared@4.27.0

@chat-adapter/linear@4.27.0

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)

  • bc94f0a: Add multi-tenant support in the Linear adapter using clientId / clientSecret.

    The Linear adapter now exposes a handleOAuthCallback() function for OAuth multi-tenant support.

    Add clientCredentials.scopes to the Linear adapter so single-tenant client-credentials auth can request custom OAuth scopes.

    Add support for agent sessions in Linear, with streaming / task / plan support.

Patch Changes

  • Updated dependencies [1e7c551]
  • Updated dependencies [b9a1961]
  • Updated dependencies [9093292]
  • Updated dependencies [7e90d9c]
  • Updated dependencies [bca4792]
  • Updated dependencies [37dbb4a]
  • Updated dependencies [608d5f0]
  • Updated dependencies [a179b29]
  • Updated dependencies [a8f2aab]
    • chat@4.27.0
    • @chat-adapter/shared@4.27.0

@chat-adapter/slack@4.27.0

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)
  • 7e90d9c: Add Socket Mode support for environments behind firewalls that can't expose public HTTP endpoints, and add { action: "clear" } modal response to close the entire modal view stack
  • a179b29: Implement external_select block kit for Slack

Patch Changes

  • 1e7c551: restore attachment fetchData after queue/debounce serialization
  • 53c6b68: Fix DM messages failing with invalid_thread_ts by guarding Slack API calls with threadTs || undefined
  • c26ee6c: Fix @mention rewrite regex so email addresses (e.g. user@example.com) and <mailto:…> links are no longer mangled into broken Slack user mentions. The lookbehind now excludes any word character before @, which also means mentions immediately following a word character (e.g. prefix@user) are no longer rewritten — a bare @user still converts as before.
  • 0f8b2b1: Fix self-mention detection in multi-workspace installs by using the request-scoped bot user ID instead of the adapter-level default
  • Updated dependencies [1e7c551]
  • Updated dependencies [b9a1961]
  • Updated dependencies [9093292]
  • Updated dependencies [7e90d9c]
  • Updated dependencies [bca4792]
  • Updated dependencies [37dbb4a]
  • Updated dependencies [608d5f0]
  • Updated dependencies [a179b29]
  • Updated dependencies [a8f2aab]
    • chat@4.27.0
    • @chat-adapter/shared@4.27.0

@chat-adapter/teams@4.27.0

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)

Patch Changes

  • 1e7c551: restore attachment fetchData after queue/debounce serialization
  • 4c24c94: Fix fetchMessages 404 for DM conversations by caching the user's AAD object ID and resolving the Graph API chat ID
  • Updated dependencies [1e7c551]
  • Updated dependencies [b9a1961]
  • Updated dependencies [9093292]
  • Updated dependencies [7e90d9c]
  • Updated dependencies [bca4792]
  • Updated dependencies [37dbb4a]
  • Updated dependencies [608d5f0]
  • Updated dependencies [a179b29]
  • Updated dependencies [a8f2aab]
    • chat@4.27.0
    • @chat-adapter/shared@4.27.0

@chat-adapter/telegram@4.27.0

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)

Patch Changes

  • 1e7c551: restore attachment fetchData after queue/debounce serialization

  • b9a1961: Switch Telegram adapter's outbound parse_mode from legacy Markdown to MarkdownV2, and replace the standard-markdown passthrough renderer with a proper AST → MarkdownV2 renderer. Standard markdown (**bold**) and legacy Markdown (*bold*) use different syntaxes and have no shared escape rules, so any message containing ., !, (, ), -, _ in regular text — which is virtually every LLM-generated message — was being rejected with can't parse entities. The new renderer walks the mdast tree and emits MarkdownV2 with context-aware escaping (normal text vs. code blocks vs. link URLs), uniformly applies MarkdownV2 parse_mode to every format-converter output (including AST messages, which previously shipped without parse_mode and rendered asterisks literally), and escapes card fallback text.

    Also fix silent message truncation that the MarkdownV2 migration widened from a rare bug into a reliable 400. The previous truncator sliced messages at 4096/1024 chars and appended literal ..., but in MarkdownV2 . is a reserved character that must be escaped, the slice can leave an orphan trailing \, and it can cut through a paired entity (*bold*, `code`) leaving it unclosed — all of which cause can't parse entities. The two truncate methods are unified into truncateForTelegram(text, limit, parseMode), which appends an escaped \.\.\. for MarkdownV2 and walks back past unbalanced entity delimiters or orphan backslashes before appending. Plain-text messages keep literal ....

    Internal typing hardening: renderMarkdownV2 is now typed exhaustively on mdast's Nodes union with a never assertion, so new mdast node types fail the build rather than silently falling through. Introduce TelegramParseMode = "MarkdownV2" | "plain" replacing the previous string | undefined at call sites, with toBotApiParseMode mapping to the Bot API wire format at the boundary. The chat package gains a re-export of mdast's Nodes union so adapters can build exhaustively typed renderers without importing mdast directly.

  • Updated dependencies [1e7c551]

  • Updated dependencies [b9a1961]

  • Updated dependencies [9093292]

  • Updated dependencies [7e90d9c]

  • Updated dependencies [bca4792]

  • Updated dependencies [37dbb4a]

  • Updated dependencies [608d5f0]

  • Updated dependencies [a179b29]

  • Updated dependencies [a8f2aab]

    • chat@4.27.0
    • @chat-adapter/shared@4.27.0

@chat-adapter/whatsapp@4.27.0

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)

Patch Changes

  • 1e7c551: restore attachment fetchData after queue/debounce serialization
  • Updated dependencies [1e7c551]
  • Updated dependencies [b9a1961]
  • Updated dependencies [9093292]
  • Updated dependencies [7e90d9c]
  • Updated dependencies [bca4792]
  • Updated dependencies [37dbb4a]
  • Updated dependencies [608d5f0]
  • Updated dependencies [a179b29]
  • Updated dependencies [a8f2aab]
    • chat@4.27.0
    • @chat-adapter/shared@4.27.0

chat@4.27.0

Minor Changes

  • 1e7c551: restore attachment fetchData after queue/debounce serialization

  • b9a1961: Switch Telegram adapter's outbound parse_mode from legacy Markdown to MarkdownV2, and replace the standard-markdown passthrough renderer with a proper AST → MarkdownV2 renderer. Standard markdown (**bold**) and legacy Markdown (*bold*) use different syntaxes and have no shared escape rules, so any message containing ., !, (, ), -, _ in regular text — which is virtually every LLM-generated message — was being rejected with can't parse entities. The new renderer walks the mdast tree and emits MarkdownV2 with context-aware escaping (normal text vs. code blocks vs. link URLs), uniformly applies MarkdownV2 parse_mode to every format-converter output (including AST messages, which previously shipped without parse_mode and rendered asterisks literally), and escapes card fallback text.

    Also fix silent message truncation that the MarkdownV2 migration widened from a rare bug into a reliable 400. The previous truncator sliced messages at 4096/1024 chars and appended literal ..., but in MarkdownV2 . is a reserved character that must be escaped, the slice can leave an orphan trailing \, and it can cut through a paired entity (*bold*, `code`) leaving it unclosed — all of which cause can't parse entities. The two truncate methods are unified into truncateForTelegram(text, limit, parseMode), which appends an escaped \.\.\. for MarkdownV2 and walks back past unbalanced entity delimiters or orphan backslashes before appending. Plain-text messages keep literal ....

    Internal typing hardening: renderMarkdownV2 is now typed exhaustively on mdast's Nodes union with a never assertion, so new mdast node types fail the build rather than silently falling through. Introduce TelegramParseMode = "MarkdownV2" | "plain" replacing the previous string | undefined at call sites, with toBotApiParseMode mapping to the Bot API wire format at the boundary. The chat package gains a re-export of mdast's Nodes union so adapters can build exhaustively typed renderers without importing mdast directly.

  • 9093292: add streaming options to thread.post() with platform-specific namespacing

  • 7e90d9c: Add Socket Mode support for environments behind firewalls that can't expose public HTTP endpoints, and add { action: "clear" } modal response to close the entire modal view stack

  • bca4792: Allow task_update streaming chunks to include optional details text for Slack task cards

  • 37dbb4a: Add thread.getParticipants() to get unique human participants in a thread

  • 608d5f0: Add chat.thread(threadId) method to create Thread handles outside of webhook contexts

  • a179b29: Implement external_select block kit for Slack

  • a8f2aab: Allow plan.updateTask() to target a specific task by ID via { id: taskId } instead of always updating the last in_progress task

@chat-adapter/shared@4.27.0

Patch Changes

@chat-adapter/state-ioredis@4.27.0

Patch Changes

@chat-adapter/state-memory@4.27.0

Patch Changes

@chat-adapter/state-pg@4.27.0

Patch Changes

@chat-adapter/state-redis@4.27.0

Patch Changes

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chat Canceled Canceled Apr 22, 2026 3:33am
chat-sdk-nextjs-chat Ready Ready Preview, Comment Apr 22, 2026 3:33am

@github-actions github-actions Bot force-pushed the changeset-release/main branch from a60398c to e09483b Compare April 14, 2026 03:22
@github-actions github-actions Bot force-pushed the changeset-release/main branch from e09483b to c750116 Compare April 14, 2026 03:32
@github-actions github-actions Bot force-pushed the changeset-release/main branch from c750116 to 583dbad Compare April 14, 2026 03:47
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 583dbad to 996635e Compare April 14, 2026 04:30
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 996635e to 69fa30e Compare April 14, 2026 04:35
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 69fa30e to 0d4ec3e Compare April 14, 2026 05:17
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 0d4ec3e to 566fd4a Compare April 14, 2026 05:22
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 566fd4a to 6800d9a Compare April 14, 2026 05:37
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 6800d9a to 452e95d Compare April 14, 2026 21:53
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 8e42278 to 5d04596 Compare April 15, 2026 01:06
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 5d04596 to 6ce3303 Compare April 16, 2026 03:46
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 6ce3303 to dde5355 Compare April 16, 2026 12:46
@github-actions github-actions Bot force-pushed the changeset-release/main branch from dde5355 to 00916bd Compare April 16, 2026 16:44
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 00916bd to 9a6abc2 Compare April 16, 2026 16:52
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 9a6abc2 to c065f86 Compare April 17, 2026 13:02
@github-actions github-actions Bot force-pushed the changeset-release/main branch from c065f86 to e761a79 Compare April 17, 2026 14:53
@github-actions github-actions Bot force-pushed the changeset-release/main branch from e761a79 to e29872e Compare April 17, 2026 15:08
@github-actions github-actions Bot force-pushed the changeset-release/main branch from e29872e to ea27445 Compare April 17, 2026 23:27
@github-actions github-actions Bot force-pushed the changeset-release/main branch from ea27445 to 39a59a1 Compare April 20, 2026 15:13
@vercel vercel Bot temporarily deployed to Preview – chat April 20, 2026 15:14 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants