Skip to content

Commit

Permalink
Prep for 2.10.1 release (#1701)
Browse files Browse the repository at this point in the history
* Prep for 2.10.1 release

* Change files

* Update CHANGELOG.md
  • Loading branch information
jadahiya-MSFT committed Apr 7, 2023
1 parent ea6319c commit 724c4ff
Show file tree
Hide file tree
Showing 20 changed files with 33 additions and 103 deletions.
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.9.1/js/MicrosoftTeams.min.js"
integrity="sha384-xnsUQ1tUqsrutBJl0vuf4/hufzLFWW8ZhGnhItfpQ0/BtWgM2uw6YT6BQ5YaKBSM"
src="https://res.cdn.office.net/teams-js/2.10.1/js/MicrosoftTeams.min.js"
integrity="sha384-Tc1x2xjzm4vRqLV4l416qPm+i7t8ujpxrioZEjRCNP7g/gQNDW41TB1SpVkQxowY"
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.9.1",
"version": "2.10.1",
"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.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "none",
"comment": "Released version 2.9.1",
"comment": "Released 2.10.1",
"packageName": "@microsoft/teams-js",
"email": "jdahiya8719@outlook.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.

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 Fri, 03 Mar 2023 19:57:31 GMT and should not be manually modified.
This log was last generated on Thu, 06 Apr 2023 23:07:12 GMT and should not be manually modified.

<!-- Start content -->

## 2.10.1

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

## 2.9.1

Fri, 03 Mar 2023 19:57:31 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.9.1/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.10.1/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.9.1/js/MicrosoftTeams.min.js"
integrity="sha384-xnsUQ1tUqsrutBJl0vuf4/hufzLFWW8ZhGnhItfpQ0/BtWgM2uw6YT6BQ5YaKBSM"
src="https://res.cdn.office.net/teams-js/2.10.1/js/MicrosoftTeams.min.js"
integrity="sha384-Tc1x2xjzm4vRqLV4l416qPm+i7t8ujpxrioZEjRCNP7g/gQNDW41TB1SpVkQxowY"
crossorigin="anonymous"
></script>

<!-- Microsoft Teams JavaScript API (via npm) -->
<script src="node_modules/@microsoft/teams-js@2.9.1/dist/MicrosoftTeams.min.js"></script>
<script src="node_modules/@microsoft/teams-js@2.10.1/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.9.1",
"version": "2.10.1",
"description": "Microsoft Client SDK for building app for Microsoft hosts",
"repository": {
"directory": "packages/teams-js",
Expand Down
4 changes: 2 additions & 2 deletions tools/cli/preRelease.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const buildAndGetIntegrityHash = async () => {
const absolutePathToManifestJson = path.resolve(__dirname, relativePathToManifestJson);

console.log('Building @microsoft/teams-js');
await execShellCommand('pnpm workspace @microsoft/teams-js install');
await execShellCommand('pnpm workspace @microsoft/teams-js build');
await execShellCommand('pnpm install');
await execShellCommand('pnpm build');

if (!fs.existsSync(absolutePathToManifestJson)) {
throw `ERROR: MicrosoftTeams-manifest.json at ${absolutePathToManifestJson} was not found.`;
Expand Down

0 comments on commit 724c4ff

Please sign in to comment.