Skip to content

Commit

Permalink
Merge branch 'jadahiya/message-ids' of https://github.com/OfficeDev/m…
Browse files Browse the repository at this point in the history
…icrosoft-teams-library-js into jadahiya/message-ids
  • Loading branch information
jadahiya-MSFT committed May 10, 2024
2 parents 2cb196c + ede7f6c commit 2b41e03
Show file tree
Hide file tree
Showing 24 changed files with 33 additions and 124 deletions.
2 changes: 1 addition & 1 deletion apps/ssr-test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "next start"
},
"dependencies": {
"next": "^14.0.3",
"next": "^14.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
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.22.0/js/MicrosoftTeams.min.js"
integrity="sha384-WSG/sWulIv7rel5TnFlH8JTpxl2OxzZh9Lux2mIzBFiTRLFvMBeFv9VURu/3vQdx"
src="https://res.cdn.office.net/teams-js/2.23.0/js/MicrosoftTeams.min.js"
integrity="sha384-08XJvrutoSVYTA8PQeUgetTKn8B7JE73C5BdAfWnHZ5WnSFFQO6g1FGmSqxsrAzb"
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.22.0",
"version": "2.23.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.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "none",
"comment": "Released 2.22.0",
"comment": "Released version 2.23.0 of TeamsJS",
"packageName": "@microsoft/teams-js",
"email": "jadahiya@microsoft.com",
"dependentChangeType": "none"
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.

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

This log was last generated on Thu, 11 Apr 2024 05:06:48 GMT and should not be manually modified.
This log was last generated on Tue, 07 May 2024 20:54:35 GMT and should not be manually modified.

<!-- Start content -->

## 2.23.0

Tue, 07 May 2024 20:54:35 GMT

### Minor changes

- Added a new API `externalAppAuthentication.authenticateWithPowerPlatformConnectorPlugins`. It can be used to perform authentication with Power Platform connector plugins.
- Added `messageChannels.telemetry` and moved existing telemetryPort code into it. Added new `messageChannels.dataLayer` subcapability and added code for interacting with the host data layer.
- Added `meeting.getMeetingDetailsVerbose` to allow retrieving additional meeting details from supported hosts.
- Added support for `content` frame context to `liveShare` capability. Live Share SDK works now in Chat/Channel Tab and Collab Stage view contexts with this change.

### Patches

- Cleaned up import structure in the `private` folder
- Fixed API telemetry tag for `pages.navigateToApp` function
- Updated `authentication.authenticate` so that it only accepts https URLs.
- Added `validMessageOrigins` to be passed to `parentWindow`.
- Updated `webStorage` capability to query host for capability support, rather than using a hardcoded answer.
- Fixed a bug with exported `const enums`
- Made a skeletonized version of the buffer npm package as a temporary measure to reduce bundle size

## 2.22.0

Thu, 11 Apr 2024 05:06:48 GMT
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.22.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.23.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.22.0/js/MicrosoftTeams.min.js"
integrity="sha384-WSG/sWulIv7rel5TnFlH8JTpxl2OxzZh9Lux2mIzBFiTRLFvMBeFv9VURu/3vQdx"
src="https://res.cdn.office.net/teams-js/2.23.0/js/MicrosoftTeams.min.js"
integrity="sha384-08XJvrutoSVYTA8PQeUgetTKn8B7JE73C5BdAfWnHZ5WnSFFQO6g1FGmSqxsrAzb"
crossorigin="anonymous"
></script>

<!-- Microsoft Teams JavaScript API (via npm) -->
<script src="node_modules/@microsoft/teams-js@2.22.0/dist/MicrosoftTeams.min.js"></script>
<script src="node_modules/@microsoft/teams-js@2.23.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.22.0",
"version": "2.23.0",
"description": "Microsoft Client SDK for building app for Microsoft hosts",
"repository": {
"directory": "packages/teams-js",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2b41e03

Please sign in to comment.