Skip to content

Releases: OfficeDev/microsoft-teams-library-js

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

v2.6.0

07 Dec 18:31
0eecb4d
Compare
Choose a tag to compare

Wed, 07 Dec 2022 16:39:58 GMT

Minor changes

  • Added notifyFatalError function in videoEx to enable video apps to notify the host of fatal errors.
  • Added support for showing and hiding the app share button to the meeting capability
  • Fixed bug where some capabilities were being incorrectly marked as supported

Patches

  • Deleted unnecessary support for meetingRoom and sidePanel frame contexts in dialog.submit API.
  • Fix incorrect profile.IsSupported check

v2.5.0

04 Nov 01:44
d01740e
Compare
Choose a tag to compare

Thu, 03 Nov 2022 17:03:30 GMT

Minor changes

  • Updated most APIs to require initialization to be fully finished before they are allowed to be called.

Patches

  • Added Outlook's consumer domain to domains' allowlist
  • Updated documentation for app.IFailedRequest.message property to clarify that it is unused
  • Set PACKAGE_VERSION to an error value indicating it will be replaced by webpack at build time
  • Fixed profile.isSupported and showProfile TriggerType
  • Added 'www.microsoft365.com' and '*.www.microsoft365.com' to the validOrigins list.
  • Switched from dynamic import of LiveShareClient to using a global window variable. Fixes an issue where dynamic imports stop working for multiple layers of webpack.

v2.4.2

20 Oct 23:05
9e859c3
Compare
Choose a tag to compare

2.4.2

Patches

  • Fixed integrity hash in README

v2.4.1

10 Oct 20:30
30f7285
Compare
Choose a tag to compare

Mon, 10 Oct 2022 19:09:20 GMT

Minor changes

  • Added (moved) version as a public constant containing the library version
  • Added new sub capability pages.currentApp.navigateTo that enables navigation within an application without specifying application ID. pages.currentApp.navigateToDefaultPage that navigates to first static page defined in app manifest
  • Added OutlookWin32 to HostName enum

Patches

  • Added one common registerHandlerHelper function to replace several helpers.
  • Clarified possible values for theme property on AppInfo object in docs
  • Updated documentation for app.initialize to clarify that it must have completed before calling other library methods.
  • On the File interface changed the type of lastModified field from Date to number
  • Fixed search API in test file
  • Enabled proxying of window events to child frames if they are unhandled by current frame
  • Added logging to runtime and app to make it easier to investigate issues surrounding app initialization.
  • Fixed some locations where undefined was properly handled but not explicitly in the type declaration
  • Reverted liveShare capability
  • Clarified documentation for sharepoint property on Context object
  • Enabled strictNullChecks as lint rule
  • Updated the URLs for docs links.
  • Enabled save and remove events in the pages.config capability to be proxied to child windows
  • Fixed more violations of strictNullChecks warning

v2.3.0

08 Sep 18:48
b6b9f31
Compare
Choose a tag to compare

Thu, 08 Sep 2022 17:11:49 GMT

Minor changes

  • Added support for audio-driven avatars to the video API, and the ability to upload personalized video effects to the private folder
  • Added Search capability to use global search box in the current app in Outlook
  • Added timestamp to VideoFrame, sent the timestamp back to Teams client after the video frame has been processed.

Patches

  • Fixed an issue with the v1 versions of register*Handler functions. Previously if the v2 version of the API's capability was not supported, attempts to call the v1 version would throw an exception, breaking backwards compatibility.
  • Updated documentation for many properties on Context interface.
  • Updated comments on items marked with the @internal tag to make it clear they are intended for Microsoft use only and removed some @internal items from dev documentation. Removed initializePrivateApis from the privateAPIs file, an unexported and hidden no-op function.
  • Added missing HostClientType values so correct Runtime is generated for teams.fullTrust.joinedTeams and webStorage capabilities.
  • Renamed filePath field to webkitRelativePath. Removed two validation checks for destinationFolder fields. Added an optional field provider in callback of addCloudStorageProvider API.

v2.2.0

03 Aug 20:43
97b134c
Compare
Choose a tag to compare

Wed, 03 Aug 2022 19:21:51 GMT

Minor changes

  • Added an optional error object to ISpeakingState interface to align registerSpeakingStateChangeHandler API with other API error handling.
  • Added ActionInfo object to the Context interface. This is used to pass information about an action that was taken on content from the host to the application.
  • Split single CloudStorageProviderFile action API into 3 action APIs

Patches

  • Added clarifying comment to dialog.submit to indicate the dialog is closed when submit is called.
  • Updated reference documentation links for deprecated global Context interface to work with typedoc system.
  • Added FrameContexts.task to openChat and openGroupChat in chat.ts
  • Added @beta tags to new content action-related interfaces.
  • Exported publicly documented global interfaces to enable use outside the SDK.