Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.35.0/js/MicrosoftTeams.min.js"
integrity="sha384-+BJaBAKaVHkTxIQPXEDWQAfzfE5ubUTdQ19h6hIISv77a10ncK/MEBhngmpxyyEv"
src="https://res.cdn.office.net/teams-js/2.36.0/js/MicrosoftTeams.min.js"
integrity="sha384-Vg2zZJuta2CG1wHGm8f5belcapTREs0cxiGzaMgVWI/apjFxwHqOgYOon/OqPXP7"
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.35.0",
"version": "2.36.0",
"scripts": {
"build": "pnpm build:bundle",
"build:bundle": "pnpm validate-test-schema && 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.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "none",
"comment": "\"Released 2.35.0\"",
"comment": "Released 2.36.0",
"packageName": "@microsoft/teams-js",
"email": "jadahiya@microsoft.com",
"email": "baljesingh@microsoft.com",
"dependentChangeType": "none"
}

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, 13 Mar 2025 17:02:30 GMT and should not be manually modified.
This log was last generated on Tue, 01 Apr 2025 18:17:07 GMT and should not be manually modified.

<!-- Start content -->

## 2.36.0

Tue, 01 Apr 2025 18:17:07 GMT

### Minor changes

- Added `canParentManageNAATrustedOrigins` capability to check if the parent can manage its list of trusted child origins for Nested App Auth (NAA). The capability is still awaiting support in one or most host applications. To track availability of this capability across different hosts see https://aka.ms/capmatrix
- Added `getParentOrigin` API to read the parent origin for nested app auth
- Added support for `ExternalAppCardActionsForDA` capability.
- Added support for `isDeeplyNestedAuthSupported` to check if deeply nested auth is supported.
- Added `manageNAATrustedOrigins` capability which allows the top-level parent app to register its child app's origin as trusted for nested app auth. The capability is still awaiting support in one or most host applications. To track availability of this capability across different hosts see https://aka.ms/capmatrix
- Added standalone nested app auth bridge for nested child app
- Removed child messaging proxying by default to avoid security issues. If an app still needs this pattern, it can be activated through the feature flag function `activateChildProxyingCommunication` which enables child proxying for that app.
- Bump eslint-plugin-recommend-no-namespaces to v0.1.0

### Patches

- Set a unique Teams-JS instance id when Teams-JS library is used and appended this unique id to message request sent to host sdk.
- Disabled default nested app auth bridge injection for nested child app
- Added `apiVersion` tag in NAA request and removed `isNAAChannelRecommended` check in `isDeeplyNestedAuthSupported` api

## 2.35.0

Thu, 13 Mar 2025 17:02:30 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.35.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.36.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.35.0/js/MicrosoftTeams.min.js"
integrity="sha384-+BJaBAKaVHkTxIQPXEDWQAfzfE5ubUTdQ19h6hIISv77a10ncK/MEBhngmpxyyEv"
src="https://res.cdn.office.net/teams-js/2.36.0/js/MicrosoftTeams.min.js"
integrity="sha384-Vg2zZJuta2CG1wHGm8f5belcapTREs0cxiGzaMgVWI/apjFxwHqOgYOon/OqPXP7"
crossorigin="anonymous"
></script>

<!-- Microsoft Teams JavaScript API (via npm) -->
<script src="node_modules/@microsoft/teams-js@2.35.0/dist/MicrosoftTeams.min.js"></script>
<script src="node_modules/@microsoft/teams-js@2.36.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.35.0",
"version": "2.36.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.

Loading