Skip to content

Releases: OfficeDev/microsoft-teams-library-js

v2.17.0

01 Nov 19:12
ed5e0cf
Compare
Choose a tag to compare

Wed, 01 Nov 2023 18:15:02 GMT

Minor changes

  • Added optional field openMode to open stageView 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 subcapability visualMedia.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, and stageView are not supported.
  • Deleted unnecessary subcapability named caching from app.lifecycle in runtime
  • Updated capability merging code to support properly merging subcapabilities

v2.16.0

11 Oct 22:49
91b8b6b
Compare
Choose a tag to compare

Wed, 11 Oct 2023 16:51:27 GMT

Minor changes

  • Added lifecycle subcapability in app.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 the appShareButton module.
  • Changed namespace video to videoEffects, changed namespace videoEx to videoEffectsEx

v2.15.0

07 Sep 17:31
76e4f87
Compare
Choose a tag to compare

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 with ssrSafeWindow
  • 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

02 Aug 17:37
749d24d
Compare
Choose a tag to compare

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

05 Jul 20:42
2be53f4
Compare
Choose a tag to compare

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

07 Jun 20:39
82fe2d4
Compare
Choose a tag to compare

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 to search 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

03 May 21:21
310f373
Compare
Choose a tag to compare

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

07 Apr 00:05
724c4ff
Compare
Choose a tag to compare

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

05 Apr 19:00
ef43cca
Compare
Choose a tag to compare

Wed, 05 Apr 2023 18:01:24 GMT

Minor changes

  • Removed some valid origins
  • Added new sub-namespace video.mediaStream and new API video.mediaStream.registerForVideoFrame

Patches

  • Changed video.EffectChangeType to string enum
  • Updated message sent to host by video.registerForVideoFrame to avoid duplication with message sent by video.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 to video.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

03 Mar 21:34
c846eba
Compare
Choose a tag to compare

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 and tasks capabilities
  • Elaborated on various areas of authentication documentation
  • Added @beta tags to registerBeforeUnloadHandler and registerOnLoadHandler APIs.