Releases: OfficeDev/microsoft-teams-library-js
Releases · OfficeDev/microsoft-teams-library-js
v2.41.0
V2.40.0
Minor changes
- Added
contextTypeinTeamsContentinterface to{copilot.sidePanel}capability. - Added
TeamsContentinterface 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
responseToEmailIdto{copilot.sidePanel.DraftEmailContent}capability.
v2.39.1
Patches
- Added Outlook OCDI domain to validDomains.json
- Updated valid domains CDN fetch logic to prevent duplicate requests.
- Added
responseToEmailIdto{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
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.2to support isDeeplyNestedAuthSupported for Teams Mobile legacy code - Bump eslint-plugin-recommend-no-namespaces to v0.1.0
2.38.0
Minor changes
- Added
renderingSurfaceproperty 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.submitfrom dialog by allowing this API fromFrameContext.content.
There is a bug in Teams mobile that returnsframeContext.content in dialog instead offrameContext.task`. Once the bug is fixed, this change will be reverted.
2.37.0
v2.36.0
Minor changes
- Added
canParentManageNAATrustedOriginscapability 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
getParentOriginAPI to read the parent origin for nested app auth - Added support for
ExternalAppCardActionsForDAcapability. - Added support for
isDeeplyNestedAuthSupportedto check if deeply nested auth is supported. - Added
manageNAATrustedOriginscapability 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
activateChildProxyingCommunicationwhich 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
apiVersiontag in NAA request and removedisNAAChannelRecommendedcheck inisDeeplyNestedAuthSupportedapi
v2.35.0
2.35.0
Minor changes
- Updated
externalAppAuthenticationForCEA.authenticateWithSSOto takeauthIdandconnectionNameparameters. - Added "authId" and "connectionName" parameters to
authTokenRequestinExternalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest - Added new
AppTypesenum values to filter base and streaming townhalls. - Bump eslint-plugin-recommend-no-namespaces to v0.1.0
Patches
- Refactored
backstackinitialization to resolve apagesbug 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
authenticatefunction for web hosts to avoid using child proxying.
v2.34.0
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
validateEmailsfunction tovoidtype formail.handoffsub-capability. - Added the
mail.handoff.composeMailWithHandoffIdfunction 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.getContextnamedappIdandmanifestVersion - Bump eslint-plugin-recommend-no-namespaces to v0.1.0
Patches
- Updated the sendCustomTelemetryData function in
copilot.customTelemetrycapability. - 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
globalpolyfill - Updated
authentication.notifySuccessdocumentation with security guidance - Added additional logging for child window (auth window) communication
v2.33.0
Minor changes
- Added
customTelemetrycapability undercopilotto send app loading data to the host.
Patches
- Explicitly use browser implementation of
debugpackage to resolve polyfill issue. - Moved
uuidObject.tsfrom internal to public folder in preparation for exporting it.