Skip to content

Releases: microsoft/Agents-for-js

v1.4

18 Mar 15:13

Choose a tag to compare

What's Changed

Additional Updates

  • Prepare main branch for 1.4 by @benbrown in #947
  • Bump @microsoft/api-extractor from 7.56.3 to 7.57.2 by @dependabot[bot] in #952
  • Bump @types/node from 25.2.3 to 25.3.0 by @dependabot[bot] in #948
  • Fix broken cross-package JSDoc {@link} in TeamsAttachmentDownloader by @Copilot in #959
  • Bump @types/lodash from 4.17.23 to 4.17.24 by @dependabot[bot] in #957
  • Bump @microsoft/api-extractor from 7.57.2 to 7.57.3 by @dependabot[bot] in #956
  • Fix tenant ID priority in authority resolution for tenant-scoped token acquisition by @Copilot in #955
  • Bump @microsoft/api-extractor from 7.57.3 to 7.57.5 by @dependabot[bot] in #966
  • Bump @azure/msal-node from 5.0.4 to 5.0.5 by @dependabot[bot] in #965
  • Suppress Zod schema variables from generated API documentation by @Copilot in #964
  • Update knip, fix errors, and add rules explicitly by @sw-joelmut in #967
  • Bump @microsoft/api-extractor from 7.57.5 to 7.57.6 by @dependabot[bot] in #970
  • Bump @types/node from 25.3.0 to 25.3.2 by @dependabot[bot] in #968
  • Bump axios from 1.13.5 to 1.13.6 by @dependabot[bot] in #975
  • Bump jwks-rsa from 3.2.2 to 4.0.0 by @dependabot[bot] in #976
  • bump versions of fast-xml-parser, minimatch, markdown and qs dependencies by @ceciliaavila in #977
  • Bump jwks-rsa from 4.0.0 to 4.0.1 by @dependabot[bot] in #978
  • Bump @azure/msal-node from 5.0.5 to 5.0.6 by @dependabot[bot] in #979
  • Bump @types/node from 25.3.2 to 25.3.3 by @dependabot[bot] in #980
  • Bump neostandard from 0.12.2 to 0.13.0 by @dependabot[bot] in #981
  • Bump sinon from 21.0.1 to 21.0.2 by @dependabot[bot] in #984
  • Bump @opentelemetry/sdk-trace-base from 2.5.0 to 2.6.0 by @dependabot[bot] in #985
  • Bump @opentelemetry/sdk-node from 0.211.0 to 0.213.0 by @dependabot[bot] in #987
  • Bump @opentelemetry/semantic-conventions from 1.39.0 to 1.40.0 by @dependabot[bot] in #988
  • Bump @microsoft/api-extractor from 7.57.6 to 7.57.7 by @dependabot[bot] in #990
  • Change npm dependency update interval to monthly by @benbrown in #995
  • Bump @opentelemetry/auto-instrumentations-node from 0.69.0 to 0.71.0 by @dependabot[bot] in #991
  • Bump knip from 5.85.0 to 5.86.0 by @dependabot[bot] in #992

Full Changelog: v1.3.1...v1.4

v1.3

19 Feb 21:36

Choose a tag to compare

What's Changed

  • Bump version in main to 1.3 by @benbrown in #864
  • Add nightly build workflow and dependent action by @benbrown in #865
  • Nightly build: Remove unused parameters to ado call by @benbrown in #868
  • Bump @types/lodash from 4.17.21 to 4.17.23 by @dependabot[bot] in #861
  • Bump typedoc from 0.28.15 to 0.28.16 by @dependabot[bot] in #862
  • Bump @types/node from 25.0.3 to 25.0.8 by @dependabot[bot] in #866
  • Bump @types/express-serve-static-core from 5.1.0 to 5.1.1 by @dependabot[bot] in #863
  • [#856] Connection failure and streaming issues fixed in different versions – which version supports both? by @ceciliaavila in #869
  • Add CorrelationID header to UserTokenService Requests by @sw-joelmut in #853
  • Rename TeamsAttachmentDownloader to M365AttachmentDownloader by @benbrown in #870
  • Add authorization unit tests by @sw-joelmut in #791
  • Update StreamingResponse drainQueue to remove the eslint disable rule by @sw-joelmut in #849
  • [#867] Allow a custom replacer to be passed to Activity.toJsonString() by @ceciliaavila in #876
  • Fix Consent error for MS Teams + Copilot by @sw-joelmut in #888
  • Update readme to include a note about the nightly builds by @benbrown in #886
  • Enhance CosmosDB storage error messages with actionable context by @Copilot in #780
  • Bump @types/node from 25.0.8 to 25.0.9 by @dependabot[bot] in #874
  • Bump jwks-rsa from 3.2.0 to 3.2.1 by @dependabot[bot] in #878
  • Bump @azure/storage-blob from 12.29.1 to 12.30.0 by @dependabot[bot] in #879
  • Bump lodash from 4.17.21 to 4.17.23 by @dependabot[bot] in #887
  • Add Zod as agents-hosting dependency by @sw-joelmut in #891
  • Fix teamsinfo to use adapter.ConnectorClientKey by @benbrown in #893
  • Bump @microsoft/m365agentsplayground from 0.2.20 to 0.2.22 by @dependabot[bot] in #885
  • Bump axios from 1.13.2 to 1.13.4 by @dependabot[bot] in #894
  • Bump @azure/cosmos from 4.9.0 to 4.9.1 by @dependabot[bot] in #899
  • Refactor authority handling in MsalTokenProvider for improved compatibility and clarity by @MattB-msft in #907
  • Bump axios from 1.13.4 to 1.13.5 by @dependabot[bot] in #930
  • Bump @azure/msal-node from 3.8.4 to 5.0.3 by @dependabot[bot] in #898
  • Bump esbuild from 0.27.2 to 0.27.3 by @dependabot[bot] in #916
  • Bump @microsoft/api-extractor from 7.55.2 to 7.56.3 by @dependabot[bot] in #919
  • Bump @types/node from 25.0.10 to 25.2.2 by @dependabot[bot] in #921
  • Add Zod Activity validation in TurnContext methods by @sw-joelmut in #883
  • Bump version of fast-xml-parser and diff packages by @ceciliaavila in #903
  • [#918][BUG] Choice Prompt Index Recognition Does Not Work by @ceciliaavila in #935
  • Bump @azure/storage-blob from 12.30.0 to 12.31.0 by @dependabot[bot] in #938
  • Bump @microsoft/m365agentsplayground from 0.2.22 to 0.2.23 by @dependabot[bot] in #936
  • Bump typedoc from 0.28.16 to 0.28.17 by @dependabot[bot] in #937
  • Add knip library to detect unused dependencies, exports, and files by @sw-joelmut in #915
  • [#884] Differences in returned value type between Botbuilder v3/v4 and Microsoft 365 Agents SDK by @ceciliaavila in #908
  • Correct x5c cert loading by @benbrown in #943

Full Changelog: v1.2.0...v1.3

v1.2.3

28 Jan 19:09
bad40cb

Choose a tag to compare

What's Changed

#888 - Fix consent flow for Copilot in Teams
#893 - Fix TeamsInfo class (broken since 1.1)
#891 - Add Zod dependency

v1.2

13 Jan 16:48

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.1...v1.2.0

v1.1.1

04 Dec 18:13
8f4918f

Choose a tag to compare

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

Read more

v1.0.15

08 Sep 22:48
db2b1b7

Choose a tag to compare

What's Changed

Full Changelog: v1.0.14...v1.0.15

v1.0.14

03 Sep 23:54
56345a1

Choose a tag to compare

What's Changed

  • Expose StreamingResponse delay in API by @rido-min in #556
  • Add Url to ClientCitations

Full Changelog: v1.0.13...v1.0.14

v1.0.13

18 Aug 15:42
ef996e8

Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.13

v1.0.0

21 Jul 21:49
e483181

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.11...v1.0.0

v0.6.11

14 Jul 21:30
745d267

Choose a tag to compare

What's Changed

Full Changelog: v0.6.1...v0.6.11