Skip to content

chore(release): version packages#378

Merged
dancer merged 1 commit intomainfrom
changeset-release/main
Apr 30, 2026
Merged

chore(release): version packages#378
dancer merged 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/[email protected]

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)
  • a520797: Add chat.getUser() method and UserInfo type for cross-platform user lookups. Implement getUser on Slack, Discord, Google Chat, GitHub, Linear, and Telegram adapters.

Patch Changes

@chat-adapter/[email protected]

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)
  • a520797: Add chat.getUser() method and UserInfo type for cross-platform user lookups. Implement getUser on Slack, Discord, Google Chat, GitHub, Linear, and Telegram adapters.

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 [8a0c7b3]
  • Updated dependencies [1e7c551]
  • Updated dependencies [b0ab804]
  • Updated dependencies [d630e6c]
  • Updated dependencies [b9a1961]
  • Updated dependencies [a520797]
  • Updated dependencies [70281dc]
  • Updated dependencies [9093292]
  • Updated dependencies [7e90d9c]
  • Updated dependencies [bca4792]
  • Updated dependencies [37dbb4a]
  • Updated dependencies [608d5f0]
  • Updated dependencies [a179b29]
  • Updated dependencies [a8f2aab]

@chat-adapter/[email protected]

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)
  • a520797: Add chat.getUser() method and UserInfo type for cross-platform user lookups. Implement getUser on Slack, Discord, Google Chat, GitHub, Linear, and Telegram adapters.

Patch Changes

@chat-adapter/[email protected]

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.

  • a520797: Add chat.getUser() method and UserInfo type for cross-platform user lookups. Implement getUser on Slack, Discord, Google Chat, GitHub, Linear, and Telegram adapters.

Patch Changes

@chat-adapter/[email protected]

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)
  • a520797: Add chat.getUser() method and UserInfo type for cross-platform user lookups. Implement getUser on Slack, Discord, Google Chat, GitHub, Linear, and Telegram adapters.
  • 70281dc: add initialOption and option_groups support for ExternalSelect
  • 2531e9c: Add dynamic botToken resolver and custom webhookVerifier to Slack adapter config. botToken now accepts string | (() => string | Promise<string>) so apps can rotate or lazily fetch tokens — the function is invoked per API call. webhookVerifier: (request: Request) => string | Promise<string> is used in place of signingSecret when set (and signingSecret is not provided), letting hosts verify incoming requests with their own logic and return the verified body text; the adapter responds 401 if the verifier throws.
  • 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
  • ded6f78: enrich link previews with title, description, and image from Slack unfurl attachments
  • c26ee6c: Fix @mention rewrite regex so email addresses (e.g. [email protected]) 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 [8a0c7b3]
  • Updated dependencies [1e7c551]
  • Updated dependencies [b0ab804]
  • Updated dependencies [d630e6c]
  • Updated dependencies [b9a1961]
  • Updated dependencies [a520797]
  • Updated dependencies [70281dc]
  • Updated dependencies [9093292]
  • Updated dependencies [7e90d9c]
  • Updated dependencies [bca4792]
  • Updated dependencies [37dbb4a]
  • Updated dependencies [608d5f0]
  • Updated dependencies [a179b29]
  • Updated dependencies [a8f2aab]

@chat-adapter/[email protected]

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)
  • a520797: Add getUser() support for Teams adapter using Microsoft Graph API (requires User.Read.All permission)
  • ed46bae: Use native Teams SDK streaming for DMs via stream.emit(), with accumulate-and-post fallback for group chats

Patch Changes

@chat-adapter/[email protected]

Minor Changes

  • 6b17c60: Add apiUrl config option for custom API endpoint configuration (e.g. GovSlack, GitHub Enterprise, GCC-High Teams)
  • a520797: Add chat.getUser() method and UserInfo type for cross-platform user lookups. Implement getUser on Slack, Discord, Google Chat, GitHub, Linear, and Telegram adapters.

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 [8a0c7b3]

  • Updated dependencies [1e7c551]

  • Updated dependencies [b0ab804]

  • Updated dependencies [d630e6c]

  • Updated dependencies [b9a1961]

  • Updated dependencies [a520797]

  • Updated dependencies [70281dc]

  • Updated dependencies [9093292]

  • Updated dependencies [7e90d9c]

  • Updated dependencies [bca4792]

  • Updated dependencies [37dbb4a]

  • Updated dependencies [608d5f0]

  • Updated dependencies [a179b29]

  • Updated dependencies [a8f2aab]

@chat-adapter/[email protected]

Minor Changes

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

Patch Changes

[email protected]

Minor Changes

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

  • b0ab804: Bundle guide markdown and a templates manifest with the package so AI agents can discover Chat SDK resources without fetching at runtime. Guides are written to resources/guides/*.md and templates to resources/templates.json by the root-level pnpm sync-resources script.

  • 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.

  • a520797: Add chat.getUser() method and UserInfo type for cross-platform user lookups. Implement getUser on Slack, Discord, Google Chat, GitHub, Linear, and Telegram adapters.

  • 70281dc: add initialOption and option_groups support for ExternalSelect

  • 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

Patch Changes

  • 8a0c7b3: Fix Slack structured streaming when thread.post(stream) is called from a handler created by an interactive (block_actions) payload.
    The team ID is now resolved from team.id in addition to team_id / team.
  • d630e6c: fix(chat): honor concurrency.maxConcurrent in the concurrent strategy. The cap was documented but never applied, so handlers dispatched unbounded. Also warns when maxConcurrent is paired with a non-concurrent strategy (previously ignored silently) and throws on maxConcurrent < 1 to prevent a deadlock.

@chat-adapter/[email protected]

Patch Changes

@chat-adapter/[email protected]

Patch Changes

@chat-adapter/[email protected]

Patch Changes

@chat-adapter/[email protected]

Patch Changes

@chat-adapter/[email protected]

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 Ready Ready Preview, Comment, Open in v0 Apr 30, 2026 8:24pm
chat-sdk-nextjs-chat Ready Ready Preview, Comment, Open in v0 Apr 30, 2026 8:24pm

@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 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
@Franz1241
Copy link
Copy Markdown
Contributor

Hey @visyat! was wondering if you knew when the next release might happen
I noticed its been about 11 days since the last release which seemed a bit longer than the recent ones
No rush at all, just wanted to check whether theres anything holding it up cause Im waiting for it for some downstream work I have

Thanks!

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.

3 participants