OfficeDev / TeamsFx

Developer tools for building Teams apps
Other
425 stars 163 forks source link

Action required to prepare your app for cloud.microsoft by June 2024 #11224

Open georgemichailou opened 1 month ago

georgemichailou commented 1 month ago

Is your feature request related to a problem? Please describe.

In order to avoid any breaking changes to your app in the new (cloud.microsoft)domain, you will need to perform the following actions prior to June 2024:

  1. Upgrade to version 2.19 or above of the Teams JS library
  2. Retain the domains that your app’s CSP headers/ x-frame-options currently refer to
  3. Update your x-frame-options/CSP headers to allow for add: a. *.cloud.microsoft.com

Describe the solution you'd like Can you inform us with the steps that need to follow to achieve this upgrade ?

Additional context Developer Blog Post

microsoft-github-policy-service[bot] commented 1 month ago

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

MuyangAmigo commented 3 weeks ago

Hey @georgemichailou, Thank you for bringing this into our attention. We are formalizing a plan to update our samples and app templates to prepare for the domain change as well as a migration / upgrade support for any existing projects.

georgemichailou commented 3 weeks ago

Thank you @MuyangAmigo !!! Our production solution working with the following packages image

Do we need to migrate to the latest version to prepare for this change or we can continue to use version 1.0.0 ?

MuyangAmigo commented 3 weeks ago

Hey @georgemichailou , we are evaluating if there's a need to update our SDKs, will keep you posted. But it's always good to use the latest stable version available.

therealjohn commented 4 days ago

We've updated the packages to bump the TeamsJS dependency and is available: https://www.npmjs.com/package/@microsoft/teamsfx-react/v/3.1.2-alpha.2c983f96a.0 https://www.npmjs.com/package/@microsoft/teamsfx/v/2.3.2-alpha.2c983f96a.0 https://www.nuget.org/packages/Microsoft.TeamsFx/2.4.1-rc