Releases: OfficeDev/microsoft-teams-library-js
Releases · OfficeDev/microsoft-teams-library-js
v2.17.0
Wed, 01 Nov 2023 18:15:02 GMT
Minor changes
- Added optional field
openMode
to openstageView
in new modes if supported by host - Updated app.lifecycle handlers, registerBeforeSuspendOrTerminateHandler and registerOnResumeHandler, so that they will overwrite teamsCore's registered handlers, registerBeforeUnloadHandler and registerOnLoadHandler, respectively.
- Added a new capability
visualMedia
and subcapabilityvisualMedia.image
for capturing images from device camera and gallery
Patches
- Started logging name of script currently executing when teamsjs is first loaded
- Exported all publicly referenced but unexported types
- Fixed some locations violating
strictNullChecks
- Updated default runtime for Teams Mobile to indicate that
pages.appButton
,pages.tabs
, andstageView
are not supported. - Deleted unnecessary subcapability named
caching
fromapp.lifecycle
in runtime - Updated capability merging code to support properly merging subcapabilities
v2.16.0
Wed, 11 Oct 2023 16:51:27 GMT
Minor changes
- Added
lifecycle
subcapability inapp.ts
to support caching - Added
HostName.places
to the list of application hosts
Patches
- Reset registered handlers for unit testing
- Renamed Teams back-compat config for clarity
- Improved reference docs for the
meeting
namespace and hid theappShareButton
module. - Changed namespace
video
tovideoEffects
, changed namespacevideoEx
tovideoEffectsEx
v2.15.0
Wed, 06 Sep 2023 20:30:49 GMT
Minor changes
- Removed
appNotification
capability and collateral - Added
clipboard
capability, allowing access to the system clipboard programmatically - Added MacOS support
Patches
- Added macOS to mobile list as macOS is also frameless.
- Replaced
window
references withssrSafeWindow
- Added logging to help investigate dropped messages from hosts or embedded apps.
- Added telemetry for video frame processing
- Fixed issue that resulted in dropping first few frames when using the video capability
- Added
surfaceHub
to the list of host client types that send authenticate requests to the host instead of opening an auth window
v2.14.0
Wed, 02 Aug 2023 14:49:19 GMT
Minor changes
- Added permission functions for media capability
- Added new
appNotification
capability for apps to send notifications to the user through the host
Patches
- Updated documentation to refer to 'Microsoft Entra' instead of 'AAD'
- Started collection of
video
performance data
v2.13.0
Wed, 05 Jul 2023 16:42:51 GMT
Minor changes
- Added support for mediaStream with metadata in
videoEx
module for internal applications. - Added
marketplace
capability that helps app developers interact with the checkout flow - Added
liveShare
capability, which helps with building real-time collaborative apps
Patches
- Made title optional when calling
stageView.open
- Removed import aliasing of communications.ts functions
- Fixed an issue where
call.startCall
would return an error when it executed successfully in a legacy environment
v2.12.0
Wed, 07 Jun 2023 19:21:01 GMT
Minor changes
- Embedded apps no longer incorrectly get their parameters wrapped in an array
- Added
secondaryBrowser
capability and its open API to enable browsing experience for Apps - Deleted unnecessary 'export' from helper functions and deleted unused and unnecessary functions in
dialog
capability. - Updated
video.registerForVideoFrame
to support both media stream and shared frame - Added
closeSearch
tosearch
capability
Patches
- Added default value for Adaptive Card version to support adaptive card dialogs in Teams V1
- Fixed exports in
video
capability
v2.11.0
Wed, 03 May 2023 18:17:38 GMT
Minor changes
- Added
getClientInfo
to LiveShareHost
Patches
- Added comments on all exported types and functions and made comments required for all future changes.
v2.10.1
Thu, 06 Apr 2023 23:07:12 GMT
Minor changes
- Fixed errors in
video
capability - Removed some valid origins
Patches
- Fixed broken documentation link and invalid markdown.
- Added
ipados
host client type check for auth flow - Removed legacy endpoints from
IFluidTenantInfo
interface - Added documentation to interfaces in
mail
capability - Removed unnecessary (and outdated) docs on various
enum
properties meeting.getAuthenticationTokenForAnonymousUser
can now be called from dialogs- Added documentation for "Anonymous" as possible value for
UserInfo.licenseType
sharing.isSupported
now returns the correct value on mobile platforms- Clarified documentation on proper use of various user identity properties
v2.10.0
Wed, 05 Apr 2023 18:01:24 GMT
Minor changes
- Removed some valid origins
- Added new sub-namespace
video.mediaStream
and new APIvideo.mediaStream.registerForVideoFrame
Patches
- Changed
video.EffectChangeType
to string enum - Updated message sent to host by
video.registerForVideoFrame
to avoid duplication with message sent byvideo.mediaStream.registerForVideoStream
(bug would manifest in "stream id is already registered" error message) - Added
ipados
host client type check for auth flow - Fixed broken documentation link and invalid markdown.
- Added documentation to interfaces in
mail
capability - Removed legacy endpoints from
IFluidTenantInfo
interface - Moved
video.registerForVideoFrame
tovideo.sharedFrame.registerForVideoFrame
meeting.getAuthenticationTokenForAnonymousUser
can now be called from dialogs- Removed unnecessary (and outdated) docs on various
enum
properties - Added documentation for "Anonymous" as possible value for
UserInfo.licenseType
sharing.isSupported
now returns the correct value on mobile platforms- Clarified documentation on proper use of various user identity properties
v2.9.1
Fri, 03 Mar 2023 19:57:31 GMT
Minor changes
- Changed return type of the callback of
registerForVideoEffect
to return a Promise - Added a new value to
HostName
enum,TeamsModern
Patches
- Updated documentation for
dialog
andtasks
capabilities - Elaborated on various areas of
authentication
documentation - Added
@beta
tags toregisterBeforeUnloadHandler
andregisterOnLoadHandler
APIs.