Skip to content

Releases: OfficeDev/microsoft-teams-library-js

v2.41.0

21 Jul 21:29
67b248a
Compare
Choose a tag to compare

Minor changes

  • Added view copilot API with function to close the side panel.
  • Bumped eslint-plugin-recommend-no-namespaces to v0.1.0

V2.40.0

07 Jul 23:48
a7b6727
Compare
Choose a tag to compare

Minor changes

  • Added contextType in TeamsContent interface to {copilot.sidePanel} capability.
  • Added TeamsContent interface for {copilot.sidePanel} capability.
  • Bump eslint-plugin-recommend-no-namespaces to v0.1.0

Patches

  • Removed message source check but kept origin validation in nested app auth standalone bridge
  • Added Outlook OCDI domain to validDomains.json
  • Updated valid domains CDN fetch logic to prevent duplicate requests.
  • Added responseToEmailId to {copilot.sidePanel.DraftEmailContent} capability.

v2.39.1

01 Jul 16:34
e5015b9
Compare
Choose a tag to compare

Patches

  • Added Outlook OCDI domain to validDomains.json
  • Updated valid domains CDN fetch logic to prevent duplicate requests.
  • Added responseToEmailId to {copilot.sidePanel.DraftEmailContent} capability.
  • Removed message source check but kept origin validation in nested app auth standalone bridge
  • Bump eslint-plugin-recommend-no-namespaces to v0.1.0

v.2.39.0

06 Jun 18:47
413da29
Compare
Choose a tag to compare

Minor changes

  • Added {copilot.sidePanel} capability that will help copilot to receive more context aware data from the hosts. The capability is still awaiting support in one or most host applications. To track availability of this capability across different hosts see https://aka.ms/capmatrix
  • Added a new client version 2.1.2 to support isDeeplyNestedAuthSupported for Teams Mobile legacy code
  • Bump eslint-plugin-recommend-no-namespaces to v0.1.0

2.38.0

27 May 21:41
c6d4a58
Compare
Choose a tag to compare

Minor changes

  • Added renderingSurface property to {app.Page.Context} capability.
  • Bump eslint-plugin-recommend-no-namespaces to v0.1.0

Patches

  • Removed Beta tag from nestedAppAuth.isNAAChannelRecommended API
  • Unblocked apps on Mobile to call dialog.url.submit from dialog by allowing this API from FrameContext.content.
    There is a bug in Teams mobile that returns frameContext.content in dialog instead of frameContext.task`. Once the bug is fixed, this change will be reverted.

2.37.0

02 May 20:39
46da1af
Compare
Choose a tag to compare

Minor changes

  • Added forceRefresh optional argument in getEligibilityInfo API.

v2.36.0

01 Apr 20:52
8b42b7d
Compare
Choose a tag to compare

Minor changes

  • Added canParentManageNAATrustedOrigins capability to check if the parent can manage its list of trusted child origins for Nested App Auth (NAA). The capability is still awaiting support in one or most host applications. To track availability of this capability across different hosts see https://aka.ms/capmatrix
  • Added getParentOrigin API to read the parent origin for nested app auth
  • Added support for ExternalAppCardActionsForDA capability.
  • Added support for isDeeplyNestedAuthSupported to check if deeply nested auth is supported.
  • Added manageNAATrustedOrigins capability which allows the top-level parent app to register its child app's origin as trusted for nested app auth. The capability is still awaiting support in one or most host applications. To track availability of this capability across different hosts see https://aka.ms/capmatrix
  • Added standalone nested app auth bridge for nested child app
  • Removed child messaging proxying by default to avoid security issues. If an app still needs this pattern, it can be activated through the feature flag function activateChildProxyingCommunication which enables child proxying for that app.
  • Bump eslint-plugin-recommend-no-namespaces to v0.1.0

Patches

  • Set a unique Teams-JS instance id when Teams-JS library is used and appended this unique id to message request sent to host sdk.
  • Disabled default nested app auth bridge injection for nested child app
  • Added apiVersion tag in NAA request and removed isNAAChannelRecommended check in isDeeplyNestedAuthSupported api

v2.35.0

19 Mar 17:05
d0c84a8
Compare
Choose a tag to compare

2.35.0

Minor changes

  • Updated externalAppAuthenticationForCEA.authenticateWithSSO to take authId and connectionName parameters.
  • Added "authId" and "connectionName" parameters to authTokenRequest in ExternalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest
  • Added new AppTypes enum values to filter base and streaming townhalls.
  • Bump eslint-plugin-recommend-no-namespaces to v0.1.0

Patches

  • Refactored backstack initialization to resolve a pages bug when dynamically importing teams-js
  • Refactored child communication to an isolated module, no functionality change. This will allow apps to tree shake this module.
  • Fixed security issue in authenticate function for web hosts to avoid using child proxying.

v2.34.0

05 Feb 18:27
641b00a
Compare
Choose a tag to compare

2.34.0

Wed, 05 Feb 2025 16:57:29 GMT

Minor changes

  • Added functions for opening different types of stores along with ics filtering
  • Updated validateEmails function to void type for mail.handoff sub-capability.
  • Added themail.handoff.composeMailWithHandoffId function that allows passing a handoff id to the compose mail window.
  • Add visionOS client type support for Teams SDK. This change will enable app developers to find out if app is running on visionOS
  • Added the new parameters to app.getContext named appId and manifestVersion
  • Bump eslint-plugin-recommend-no-namespaces to v0.1.0

Patches

  • Updated the sendCustomTelemetryData function in copilot.customTelemetry capability.
  • Decoupled prefetch of CDN resources from the initialization workflow and added fallback when resources could not be fetched in 1.5 seconds
  • Added field to tag child proxied messages.
  • Added a global polyfill
  • Updated authentication.notifySuccess documentation with security guidance
  • Added additional logging for child window (auth window) communication

v2.33.0

09 Jan 17:40
f1fe3da
Compare
Choose a tag to compare

Minor changes

  • Added customTelemetry capability under copilot to send app loading data to the host.

Patches

  • Explicitly use browser implementation of debug package to resolve polyfill issue.
  • Moved uuidObject.ts from internal to public folder in preparation for exporting it.