ReleaseMicrosoftMicrosoftpublished Dec 4, 2025seen Jun 26

microsoft/Agents-for-js v1.1.1

microsoft/Agents-for-js

Open original ↗

Captured source

source ↗
published Dec 4, 2025seen Jun 26captured 1whttp 200method plain

v1.1.1

Repository: microsoft/Agents-for-js

Tag: v1.1.1

Published: 2025-12-04T18:13:37Z

Prerelease: no

Release notes:

New

Support for Agentic Identity Added initial support for Microsoft Agent ID. See: What is Microsoft Entra Agent ID? - Microsoft Entra Agent ID | Microsoft Learn Further setup documentation will be provided on use of this feature in the future as it moves forward.

Multiple Connections It is now possible to configure your agent application with multiple parallel application identities. We call these "Connections." When used in conjunction with Agentic Identity, this allows for an agent application to act as any installed instance of the agent across multiple tenants, as well as bind specific routes to different agent configuration within the same app.

# in .env
# define a connection named `serviceConnection`
# the name used in the env variable names must match the name
# specified in the connectionsMap below
connections__serviceConnection__settings__clientId= # App ID of the App Registration used to log in.
connections__serviceConnection__settings__clientSecret= # Client secret of the App Registration used to log in
connections__serviceConnection__settings__tenantId= # Tenant ID of the App Registration used to log in

connectionsMap__0__connection=serviceConnection
connectionsMap__0__serviceUrl=*

Sample here

If nothing is changed in your configuration, the SDK will automatically use the existing settings to create a default Connection for you. No changes are required.

In copilot studio client: sendActivityStreaming, startConversationStreaming In addition to the sendActivityAsync and startConversationAsync methods, this version introduces new versions that support streaming messages returned as they arrive using AsyncGenerators. These methods will return a stream of Activities as they arrive over the wire and use a new syntax for dealing with AsyncGenerators.

for await (const replyActivity of copilotClient.sendActivityStreaming(activity)) {
... process each activity as it arrives, including typing indicators, events, etc
}

Sample here

Breaking Changes

There were some unavoidable changes necessary in the SDK which will require updates to your code if you use any of the following methods:

CloudAdapter.ContinueConversation or AgentApplication.sendProactiveActivity Both of these methods now require botAppIdOrIdentity to be passed as the first argument. This must either be the agents's app ID, or a JwtPayload object from the incoming request, usually TurnContext.identity

CloudAdapter getAttachment/getAttachmentInfo/uploadAttachment These methods now require a TurnContext to be passed as the first argument.

CloudAdapter.ConnectorClient and CloudAdapter.UserTokenClient have been removed. Rather than being members of the CloudAdapter class, these are now available as turncontext.turnstate.get(adapter.ConnectorClientKey) and turncontext.turnstate.get(adapter.UserTokenClientKey)

AgentApplication.authorization.beginOrContinueFlow has been removed

AgentApplication.authorization.authHandlers has been removed

oAuthFlow class removed

What's Changed

  • Update version to 1.1.0-alpha by @rido-min in https://github.com/microsoft/Agents-for-js/pull/528
  • chore: update dependencies in package.json files by @rido-min in https://github.com/microsoft/Agents-for-js/pull/531
  • bump dependencies by @rido-min in https://github.com/microsoft/Agents-for-js/pull/540
  • [#369] Review custom usage of Temp TurnState by @ceciliaavila in https://github.com/microsoft/Agents-for-js/pull/529
  • refactor: expose StreamingResponse delay by @rido-min in https://github.com/microsoft/Agents-for-js/pull/541
  • [#524] Review processing order of FileDownloaders in AgentApplication by @ceciliaavila in https://github.com/microsoft/Agents-for-js/pull/543
  • chore: update dependencies in package.json and package-lock.json by @rido-min in https://github.com/microsoft/Agents-for-js/pull/549
  • fix: update npm install display name to npm ci and adjust branch filter for pull requests by @rido-min in https://github.com/microsoft/Agents-for-js/pull/557
  • Add citation URL to streaming response metadata by @rido-min in https://github.com/microsoft/Agents-for-js/pull/558
  • Restore teams-extensions by @rido-min in https://github.com/microsoft/Agents-for-js/pull/548
  • Update dependencies in package.json and package-lock.json by @rido-min in https://github.com/microsoft/Agents-for-js/pull/569
  • Stevenic/teams shared channels by @Stevenic in https://github.com/microsoft/Agents-for-js/pull/438
  • Remove Service Principal login instructions from README by @sarahcritchley in https://github.com/microsoft/Agents-for-js/pull/597
  • Bump dependencies by @sw-joelmut in https://github.com/microsoft/Agents-for-js/pull/585
  • File Attachment upload not working when using CopilotStudio Client as the connector for WebChat. by @sw-joelmut in https://github.com/microsoft/Agents-for-js/pull/596
  • Implement Event-Source Send in CopilotStudioClient to handle stream responses by @ceciliaavila in https://github.com/microsoft/Agents-for-js/pull/614
  • Bump typedoc from 0.28.12 to 0.28.13 by @dependabot[bot] in https://github.com/microsoft/Agents-for-js/pull/588
  • Bump debug from 4.4.1 to 4.4.3 by @dependabot[bot] in https://github.com/microsoft/Agents-for-js/pull/599
  • Bump esbuild from 0.25.9 to 0.25.10 by @dependabot[bot] in https://github.com/microsoft/Agents-for-js/pull/600
  • Bump @types/node from 24.3.1 to 24.6.0 by @dependabot[bot] in https://github.com/microsoft/Agents-for-js/pull/615
  • Bump typescript from 5.9.2 to 5.9.3 by @dependabot[bot] in https://github.com/microsoft/Agents-for-js/pull/619
  • Bump globalize from 1.7.0 to 1.7.1 by @dependabot[bot] in https://github.com/microsoft/Agents-for-js/pull/620
  • Bump @microsoft/microsoft-graph-types from 2.40.0 to 2.43.0 by @dependabot[bot] in https://github.com/microsoft/Agents-for-js/pull/618
  • Bump nerdbank-gitversioning from 3.7.115 to 3.8.118 by @dependabot[bot] in https://github.com/microsoft/Agents-for-js/pull/617
  • Bump @azure/msal-node from 3.7.3 to 3.8.0 by @dependabot[bot] in...

Excerpt shown — open the source for the full document.