Releases: OfficeDev/microsoft-teams-library-js
Releases · OfficeDev/microsoft-teams-library-js
v2.52.0
2.52.0
Wed, 08 Apr 2026 17:07:30 GMT
Minor changes
- Added
hostFeatureskey in app context, so the hosts can declare support for features to the app. - Extended sharing.shareWebContent to support File content type via the new IFileContent interface, enabling sharing of file URLs alongside existing URL content.
v2.51.0
2.51.0
Fri, 27 Mar 2026 20:29:02 GMT
Minor changes
- Added teamsJs logging for cases where an API fails because it is called in an unsupported frame context.
- Added
pluginscapability that will help directly interact with the host bypassing API registration in hubsdk. 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
appStateparameter toHostMemoryMetricsto indicate current state of the app's lifecycle. DeprecatedisCachedandisPrecachedfields to use the new structure. - Added
shareUrlandreplyChainIdinopenFilePreviewSDK schema. - Added
hostFeatureskey in app context, so the hosts can declare support for features to the app.
v2.50.0
2.50.0
Thu, 12 Mar 2026 20:51:32 GMT
Minor changes
- Updated ExternalApp* capabilities to allow calls in sidePanel frame context.
v2.49.0
2.49.0
Thu, 26 Feb 2026 21:58:31 GMT
Minor changes
- Added new params for openFilePreview SDK that will help reduce file open latency in Teams. 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 support for non-https URLs for opt-in app valid origins in
app.initialize(). - Added support for nested wildcard subdomains. The valid origins are still restricted to the usage of only one wildcard in the valid origin.
Patches
- Updated stageView.StageViewParams interface to make threadId optional.
v2.48.1
2.48.1
Wed, 04 Feb 2026 17:24:38 GMT
Patches
- Added MAC domains to valid domains for CDN
- Mark registerOnContextChangeHandler as internal API
v2.48.0
2.48.0
Thu, 08 Jan 2026 23:04:26 GMT
Minor changes
- Added domain to valid domains list.
- Added opt-in event handler to receive memory usage heartbeat periodically.
- Fixed formatting on some domains in valid domains list.
- Added valid domain for UnifiedStore SDX.
- Added host ancestors to app context.
- Added
widgetHostingcapability that will enable hosting of widgets within M365 hubs. 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 timezone property to LocaleInfo interface that will allow applications to access the user's timezone information.
- Bumped eslint-plugin-recommend-no-namespaces to v0.1.0
Patches
- Fixed a bug on RegisterOnContextChangeHandler where the handler was not being called when the context changed due to theme change.
- Updated valid domains list for M365 Copilot SSR end points.
v2.47.2
2.47.2
Wed, 10 Dec 2025 19:42:31 GMT
Patches
- Upgraded Next dependency in SSR test app to resolve security alert.
v2.47.1
2.47.1
Wed, 03 Dec 2025 21:10:55 GMT
Patches
- Fixed error handling in
getConfigSettingteams full trust api. - Bump eslint-plugin-recommend-no-namespaces to v0.1.0
v2.47.0
2.47.0
Wed, 12 Nov 2025 19:23:55 GMT
Minor changes
- Updated Copilot
preCheckUserConsentfunction to accept an optionalUserConsentRequestparameter and updatedContentRequestinterface to support flexible properties via index signature. DeprecatedlocalEndpointInfoproperty in favor of the index signature approach. - Bump eslint-plugin-recommend-no-namespaces to v0.1.0
v2.46.0
2.46.0
Wed, 01 Oct 2025 22:58:28 GMT
Minor changes
- Added
disconnectConnectorto{externalAppAuthentication}capability that will disconnect the external app connector. The capability is still awaiting support in one or more host applications. To track availability of this capability across different hosts see https://aka.ms/capmatrix - Bump eslint-plugin-recommend-no-namespaces to v0.1.0