Skip to content

Commit

Permalink
Releasing 2.17.0 (#2016)
Browse files Browse the repository at this point in the history
* Releasing2.17.0

* Update CHANGELOG.md

---------

Co-authored-by: jadahiya-MSFT <jadahiya-MSFT@users.noreply.github.com>
  • Loading branch information
jadahiya-MSFT and jadahiya-MSFT committed Nov 1, 2023
1 parent 939b099 commit ed5e0cf
Show file tree
Hide file tree
Showing 19 changed files with 30 additions and 102 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.16.0/js/MicrosoftTeams.min.js"
integrity="sha384-v6djPeImSC5Pb0IvhWyq/XY8It8EYt0U00nPlcodpX/RN5KgChhoqkKEZs5kX5hr"
src="https://res.cdn.office.net/teams-js/2.17.0/js/MicrosoftTeams.min.js"
integrity="sha384-xp55t/129OsN192JZYLP0rGhzjCF9aYtjY0LVtXvolkDrBe4Jchylp56NrUYJ4S2"
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.16.0",
"version": "2.17.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.

21 changes: 20 additions & 1 deletion 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, 11 Oct 2023 16:51:27 GMT and should not be manually modified.
This log was last generated on Wed, 01 Nov 2023 18:15:02 GMT and should not be manually modified.

<!-- Start content -->

## 2.17.0

Wed, 01 Nov 2023 18:15:02 GMT

### Minor changes

- Added optional field `openMode` to open `stageView` in new modes if supported by host
- Updated app.lifecycle handlers, registerBeforeSuspendOrTerminateHandler and registerOnResumeHandler, so that they will overwrite teamsCore's registered handlers, registerBeforeUnloadHandler and registerOnLoadHandler, respectively.
- Added a new capability `visualMedia` and subcapability `visualMedia.image` for capturing images from device camera and gallery

### Patches

- Started logging name of script currently executing when teamsjs is first loaded
- Exported all publicly referenced but unexported types
- Fixed some locations violating `strictNullChecks`
- Updated default runtime for Teams Mobile to indicate that `pages.appButton`, `pages.tabs`, and `stageView` are not supported.
- Deleted unnecessary subcapability named `caching` from `app.lifecycle` in runtime
- Updated capability merging code to support properly merging subcapabilities

## 2.16.0

Wed, 11 Oct 2023 16:51:27 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.16.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.17.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.16.0/js/MicrosoftTeams.min.js"
integrity="sha384-v6djPeImSC5Pb0IvhWyq/XY8It8EYt0U00nPlcodpX/RN5KgChhoqkKEZs5kX5hr"
src="https://res.cdn.office.net/teams-js/2.17.0/js/MicrosoftTeams.min.js"
integrity="sha384-xp55t/129OsN192JZYLP0rGhzjCF9aYtjY0LVtXvolkDrBe4Jchylp56NrUYJ4S2"
crossorigin="anonymous"
></script>

<!-- Microsoft Teams JavaScript API (via npm) -->
<script src="node_modules/@microsoft/teams-js@2.16.0/dist/MicrosoftTeams.min.js"></script>
<script src="node_modules/@microsoft/teams-js@2.17.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.16.0",
"version": "2.17.0",
"description": "Microsoft Client SDK for building app for Microsoft hosts",
"repository": {
"directory": "packages/teams-js",
Expand Down
4 changes: 2 additions & 2 deletions packages/teams-js/src/public/secondaryBrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import { runtime } from './runtime';
export namespace secondaryBrowser {
/**
* Open a URL in the secondary browser.
*
*
* On mobile, this is the in-app browser.
*
*
* On web and desktop, please use the `window.open()` method or other native external browser methods.
*
* @param url Url to open in the browser
Expand Down

0 comments on commit ed5e0cf

Please sign in to comment.