Skip to content

Releases: OfficeDev/microsoft-teams-library-js

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.

v2.8.0

02 Feb 01:25
e6799ab
Compare
Choose a tag to compare

Wed, 01 Feb 2023 23:22:55 GMT

Minor changes

  • Added requestAppAudioHandling and updateMicState meeting APIs
  • Fixed a bug where getContext() was incorrectly dropping properties by performing a lossy conversion via app.getContext()
  • Added adaptive card subcapability to dialog capability

Patches

  • Added @beta tags to registerBeforeUnloadHandler and registerOnLoadHandler APIs.
  • Updated typedoc version and fixed doc issues raised by it
  • Added documentation for dialog.submit
  • Changed user facing documentation associated with meeting.ts
  • Unpin the version of the debug package; it was originally pinned unintentionally.
  • Removed deprecated _initialize and _uninitialize methods only used by unit tests
  • Added unit tests for communication.uninitializeCommunication, communication.sendAndUnwrap, and communication.sendMessageToParentAsync and updated communication.uninitializeCommunication to handle currentWindow correctly.
  • Removed --emit:none from typedoc command so it would actually output errors
  • Updated documentation links to avoid using locale in URLs and use markdown format for external links
  • Added possible values to documentation for licenseType property on UserInfo interface
  • Added unit tests for communication.initializeCommunication
  • Updated dialog and tasks documentation to add and fix doc links
  • Added remarks to authentication.authenticate() code comments
  • Added @hidden and @internal tags for the meeting requestAppAudioHandling and updateMicState APIs, and improved how the teams-test-app app uses the APIs
  • Stopped exporting communication.processMessage and communication.shouldProcessMessage.

v2.7.1

06 Jan 05:47
7a794ec
Compare
Choose a tag to compare

Fri, 06 Jan 2023 04:15:12 GMT

Patches

  • Reverted webpack globalObject: this

v2.7.0

04 Jan 21:01
d50b323
Compare
Choose a tag to compare

Wed, 04 Jan 2023 19:07:09 GMT

Minor changes

  • Implemented runtime interface versioning

Patches

  • Removed entityId and title as required fields from openFilePreview parameters
  • Fixed missing slash in URL in comment on app.initialize

v2.6.1

13 Dec 22:17
a0b8867
Compare
Choose a tag to compare

Tue, 13 Dec 2022 21:28:59 GMT

Patches

  • Added dataResidency property to UserProfile interface to expose a limited set of data residency information to 1P app developers.
  • Fixed bugs preventing the use of this library in server-side rendered applications