Releases: OfficeDev/microsoft-teams-library-js
Releases · OfficeDev/microsoft-teams-library-js
v2.41.0
V2.40.0
Minor changes
- Added
contextType
inTeamsContent
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
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
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
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 fromFrameContext.content
.
There is a bug in Teams mobile that returnsframeContext.content in dialog instead of
frameContext.task`. Once the bug is fixed, this change will be reverted.
2.37.0
v2.36.0
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 removedisNAAChannelRecommended
check inisDeeplyNestedAuthSupported
api
v2.35.0
2.35.0
Minor changes
- Updated
externalAppAuthenticationForCEA.authenticateWithSSO
to takeauthId
andconnectionName
parameters. - Added "authId" and "connectionName" parameters to
authTokenRequest
inExternalAppAuthenticationForCEA.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 apages
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
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 tovoid
type formail.handoff
sub-capability. - Added the
mail.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
namedappId
andmanifestVersion
- 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
Minor changes
- Added
customTelemetry
capability undercopilot
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.