Skip to content

Commit

Permalink
Releasing 2.18.0 (#2068)
Browse files Browse the repository at this point in the history
* Releasing2.18.0

* Update packages/teams-js/CHANGELOG.md

Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Update packages/teams-js/CHANGELOG.md

Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Removed revert from changelog, since this was re-added

* Revert "Extend RequestAppAudioHandling to support for audio device se… (#2069)

* Revert "Extend RequestAppAudioHandling to support for audio device selection sync (#2030)"

This reverts commit 6f23f92.

* Change files

* Change files

* Extend RequestAppAudioHandling to support for audio device selection sync (#2070)

* extend RequestAppAudioHandlingParams by adding audioDeviceSelectionChangedCallback

* Remove old changefile

* Change files

* Updated changefile

* Update contact info in changefile

---------

Co-authored-by: Xukai Wu <xuwu@microsoft.com>

* Updated hash values and changelog due to changes merged in from main

---------

Co-authored-by: jadahiya-MSFT <jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>
Co-authored-by: Xukai Wu <xuwu@microsoft.com>
  • Loading branch information
5 people committed Dec 1, 2023
1 parent 6f23f92 commit 88f488f
Show file tree
Hide file tree
Showing 21 changed files with 31 additions and 115 deletions.
2 changes: 2 additions & 0 deletions apps/teams-test-app/e2e-test-data/meeting.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@
{
"title": "requestAppAudioHandling API Call - register audioDeviceSelectionChanged Handler - Success",
"type": "registerAndRaiseEvent",
"version": ">2.17.0",
"boxSelector": "#box_registerAudioDeviceSelectionChangedHandler",
"eventName": "audioDeviceSelectionChanged",
"eventData": {
Expand All @@ -218,6 +219,7 @@
{
"title": "requestAppAudioHandling API Call - register audioDeviceSelectionChanged Handler - Error",
"type": "registerAndRaiseEvent",
"version": ">2.17.0",
"boxSelector": "#box_registerAudioDeviceSelectionChangedHandler",
"eventName": "audioDeviceSelectionChanged",
"eventData": {
Expand Down
4 changes: 2 additions & 2 deletions apps/teams-test-app/index_cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script
src="https://res.cdn.office.net/teams-js/2.17.0/js/MicrosoftTeams.min.js"
integrity="sha384-xp55t/129OsN192JZYLP0rGhzjCF9aYtjY0LVtXvolkDrBe4Jchylp56NrUYJ4S2"
src="https://res.cdn.office.net/teams-js/2.18.0/js/MicrosoftTeams.min.js"
integrity="sha384-g8DoRkiR0ECQ9rwKIgY8GjQ5h0d2jp1347CmU/IRlyUHPjJZiFWEOYc+hFtT9MGL"
crossorigin="anonymous"
></script>
<div id="root"></div>
Expand Down
2 changes: 1 addition & 1 deletion apps/teams-test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"author": "Microsoft Teams",
"description": "Teams Test App utilizing Teams JavaScript client SDK to test Hosts",
"version": "2.17.0",
"version": "2.18.0",
"scripts": {
"build": "pnpm build:bundle",
"build:bundle": "pnpm lint && webpack",
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

23 changes: 21 additions & 2 deletions packages/teams-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
# Change Log - @microsoft/teams-js

This log was last generated on Wed, 01 Nov 2023 18:15:02 GMT and should not be manually modified.
This log was last generated on Thu, 30 Nov 2023 23:24:44 GMT and should not be manually modified.

<!-- Start content -->

## 2.18.0

Thu, 30 Nov 2023 23:24:44 GMT

### Minor changes

- Extended `RequestAppAudioHandlingParams` by adding `audioDeviceSelectionChangedCallback` for speaker selection updates

### Patches

- Added `meetingStage` and `settings` framecontexts to `clipboard`.
- Added additional telemetry to `App`, `Dialog`, `GeoLocation`, `Location`, `Navigation`, `Pages`, and `Tasks` capabilities
- Created new `MessageRequest` interface with required properties to enhance type-safety
- Added telemetry to `barcode`, `calendar`, `call`, `clipboard`, `mail`, `marketplace` and `media` capabilities
- Fixed strictNullChecks violations in `media.ts`, `mediaUtil.ts`, and other files
- Fixed calls to `chat.openChat` and `chat.openGroupChat` when only a single user is specified
- Fixed more `strictNullChecks` violations
- Deleted `isSupported` check from `app.lifecycle` subcapability since app resumption cannot be guaranteed even when it is supported.

## 2.17.0

Wed, 01 Nov 2023 18:15:02 GMT
Expand Down Expand Up @@ -34,7 +53,7 @@ Wed, 11 Oct 2023 16:51:27 GMT

### Patches

- Reset registered handlers for unit testing
- 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`
Expand Down
8 changes: 4 additions & 4 deletions packages/teams-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To install the stable [version](https://learn.microsoft.com/javascript/api/overv

### Production

You can reference these files directly [from here](https://res.cdn.office.net/teams-js/2.17.0/js/MicrosoftTeams.min.js) or point your package manager at them.
You can reference these files directly [from here](https://res.cdn.office.net/teams-js/2.18.0/js/MicrosoftTeams.min.js) or point your package manager at them.

## Usage

Expand All @@ -45,13 +45,13 @@ Reference the library inside of your `.html` page using:
```html
<!-- Microsoft Teams JavaScript API (via CDN) -->
<script
src="https://res.cdn.office.net/teams-js/2.17.0/js/MicrosoftTeams.min.js"
integrity="sha384-xp55t/129OsN192JZYLP0rGhzjCF9aYtjY0LVtXvolkDrBe4Jchylp56NrUYJ4S2"
src="https://res.cdn.office.net/teams-js/2.18.0/js/MicrosoftTeams.min.js"
integrity="sha384-g8DoRkiR0ECQ9rwKIgY8GjQ5h0d2jp1347CmU/IRlyUHPjJZiFWEOYc+hFtT9MGL"
crossorigin="anonymous"
></script>

<!-- Microsoft Teams JavaScript API (via npm) -->
<script src="node_modules/@microsoft/teams-js@2.17.0/dist/MicrosoftTeams.min.js"></script>
<script src="node_modules/@microsoft/teams-js@2.18.0/dist/MicrosoftTeams.min.js"></script>

<!-- Microsoft Teams JavaScript API (via local) -->
<script src="MicrosoftTeams.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion packages/teams-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@microsoft/teams-js",
"author": "Microsoft Teams",
"version": "2.17.0",
"version": "2.18.0",
"description": "Microsoft Client SDK for building app for Microsoft hosts",
"repository": {
"directory": "packages/teams-js",
Expand Down

0 comments on commit 88f488f

Please sign in to comment.