Releases: OfficeDev/microsoft-teams-library-js
Releases · OfficeDev/microsoft-teams-library-js
v2.8.0
Wed, 01 Feb 2023 23:22:55 GMT
Minor changes
- Added
requestAppAudioHandling
andupdateMicState
meeting APIs - Fixed a bug where
getContext()
was incorrectly dropping properties by performing a lossy conversion viaapp.getContext()
- Added adaptive card subcapability to
dialog
capability
Patches
- Added
@beta
tags toregisterBeforeUnloadHandler
andregisterOnLoadHandler
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
, andcommunication.sendMessageToParentAsync
and updatedcommunication.uninitializeCommunication
to handlecurrentWindow
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 onUserInfo
interface - Added unit tests for
communication.initializeCommunication
- Updated
dialog
andtasks
documentation to add and fix doc links - Added remarks to authentication.authenticate() code comments
- Added
@hidden
and@internal
tags for the meetingrequestAppAudioHandling
andupdateMicState
APIs, and improved how theteams-test-app
app uses the APIs - Stopped exporting
communication.processMessage
andcommunication.shouldProcessMessage
.
v2.7.1
Fri, 06 Jan 2023 04:15:12 GMT
Patches
- Reverted webpack globalObject: this
v2.7.0
Wed, 04 Jan 2023 19:07:09 GMT
Minor changes
- Implemented
runtime
interface versioning
Patches
- Removed
entityId
andtitle
as required fields fromopenFilePreview
parameters - Fixed missing slash in URL in comment on
app.initialize
v2.6.1
Tue, 13 Dec 2022 21:28:59 GMT
Patches
- Added
dataResidency
property toUserProfile
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
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
andsidePanel
frame contexts indialog.submit
API. - Fix incorrect profile.IsSupported check
v2.5.0
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 showProfileTriggerType
- 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
2.4.2
Patches
- Fixed integrity hash in README
v2.4.1
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
toHostName
enum
Patches
- Added one common
registerHandlerHelper
function to replace several helpers. - Clarified possible values for
theme
property onAppInfo
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 oflastModified
field fromDate
tonumber
- 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
andapp
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 onContext
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
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
toVideoFrame
, sent thetimestamp
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. RemovedinitializePrivateApis
from the privateAPIs file, an unexported and hidden no-op function. - Added missing
HostClientType
values so correctRuntime
is generated forteams.fullTrust.joinedTeams
andwebStorage
capabilities. - Renamed
filePath
field towebkitRelativePath
. Removed two validation checks fordestinationFolder
fields. Added an optional fieldprovider
in callback ofaddCloudStorageProvider
API.
v2.2.0
Wed, 03 Aug 2022 19:21:51 GMT
Minor changes
- Added an optional error object to
ISpeakingState
interface to alignregisterSpeakingStateChangeHandler
API with other API error handling. - Added
ActionInfo
object to theContext
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 whensubmit
is called. - Updated reference documentation links for deprecated global
Context
interface to work with typedoc system. - Added
FrameContexts.task
toopenChat
andopenGroupChat
in chat.ts - Added
@beta
tags to new content action-related interfaces. - Exported publicly documented global interfaces to enable use outside the SDK.