Skip to content

Commit

Permalink
Releasing v2.0.0 (#1178)
Browse files Browse the repository at this point in the history
* Releasing 2.0.0

* Consolidate change log entries across all the beta releases (#1180)

* Consolidate change log entries across all the beta releases into major, minor, patch notes and keep per-beta comments for reference

* Change files

* Update pipeline to ensure appropriate tests are skipped
  • Loading branch information
github-actions[bot] committed May 18, 2022
1 parent 606666e commit c4cfd7a
Show file tree
Hide file tree
Showing 8 changed files with 285 additions and 70 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.0.0-beta.7/js/MicrosoftTeams.min.js"
integrity="sha384-u9MstnkqBQI9EtqTMRCoqno88AbVbKQ/iEN3UJqBUaIBSW3wEYsWEOTp3Im6mCdn"
src="https://res.cdn.office.net/teams-js/2.0.0/js/MicrosoftTeams.min.js"
integrity="sha384-QtTBFeFlfRDZBfwHJHYQp7MdLJ2C3sfAEB1Qpy+YblvjavBye+q87TELpTnvlXw4"
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.0.0-beta.7",
"version": "2.0.0",
"scripts": {
"build": "yarn build:bundle",
"build:bundle": "yarn lint && webpack",
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
parameters:
appHostGitPath: git://$(AppHostingSdkGitPath2)@$(AppHostingSdkGitRef)

- bash: 'node tools/cli/runAppsWithE2ETests.js'
- bash: 'node tools/cli/runAppsWithE2ETests.js --targetClientSdkCheckpoint=2.0.0'
displayName: 'Run E2E integration tests'
condition: succeeded()
workingDirectory: '$(AppHostingSdkProjectDirectory)'
Expand All @@ -77,7 +77,7 @@ jobs:
Arguments: 'build-test-app-local'
ProjectDirectory: '$(ClientSdkProjectDirectory)'

- bash: 'node tools/cli/runAppsWithE2ETests.js --reportFileName=e2e-tests-report-local-script-tag --envType=localScriptTag'
- bash: 'node tools/cli/runAppsWithE2ETests.js --reportFileName=e2e-tests-report-local-script-tag --envType=localScriptTag --targetClientSdkCheckpoint=2.0.0'
displayName: 'Run E2E integration tests with local script tag'
condition: succeeded()
workingDirectory: '$(AppHostingSdkProjectDirectory)'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Consolidated change log entries across beta versions",
"packageName": "@microsoft/teams-js",
"email": "erinha@users.noreply.github.com",
"dependentChangeType": "none"
}
7 changes: 0 additions & 7 deletions change/d.json

This file was deleted.

321 changes: 268 additions & 53 deletions packages/teams-js/CHANGELOG.md

Large diffs are not rendered by default.

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://docs.microsoft.com/javascript/api/overvi

### Production

You can reference these files directly [from here](https://res.cdn.office.net/teams-js/2.0.0-beta.7/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.0.0/js/MicrosoftTeams.min.js) or point your package manager at them.

## Usage

Expand All @@ -45,13 +45,13 @@ Reference the SDK inside of your `.html` page using:
```html
<!-- Microsoft Teams JavaScript API (via CDN) -->
<script
src="https://res.cdn.office.net/teams-js/2.0.0-beta.7/js/MicrosoftTeams.min.js"
integrity="sha384-u9MstnkqBQI9EtqTMRCoqno88AbVbKQ/iEN3UJqBUaIBSW3wEYsWEOTp3Im6mCdn"
src="https://res.cdn.office.net/teams-js/2.0.0/js/MicrosoftTeams.min.js"
integrity="sha384-QtTBFeFlfRDZBfwHJHYQp7MdLJ2C3sfAEB1Qpy+YblvjavBye+q87TELpTnvlXw4"
crossorigin="anonymous"
></script>

<!-- Microsoft Teams JavaScript API (via npm) -->
<script src="node_modules/@microsoft/teams-js@2.0.0-beta.7/dist/MicrosoftTeams.min.js"></script>
<script src="node_modules/@microsoft/teams-js@2.0.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.0.0-beta.7",
"version": "2.0.0",
"description": "Microsoft Client SDK for building app for Microsoft hosts",
"repository": {
"directory": "packages/teams-js",
Expand Down

0 comments on commit c4cfd7a

Please sign in to comment.