You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check component governance and make sure there are no high/critical related to code under /packages/ folder
There could be some for projects under /samples/ folder, as they are pointing to previous version of Web Chat
Add manual tests to WebChat-release-testing as needed
Test
The test should run against the build artifacts from Azure Pipelines.
Manual testing on major browsers using webchat-release-testing
Before starting testing, update all the browser version to latest
Chrome 124.0.6367.119
Edge 126.0.2566.0
Firefox 125.0.3
IE11 (Windows 11 22H2 23531.1001)
macOS Safari 16.5 (18615.2.9.11.4)
iOS Safari 17.4.1 (21E236)
iPadOS Safari 17.4.1 (21E236)
Android Chrome 124.0.6367.113
Test specific fixes related to 4.17.0 and previous releases
Citation
Experimental Fluent UI
Note: when the bot is sending a long message (say, markdown) via Direct Line Speech, the service may kill the connection. This is an issue on Direct Line Speech service and is not an issue about Web Chat.
Release
Make sure you are on mainor qfe branch, run git status to check
git pull
Verify /package.json, /package-lock.json, and CHANGELOG.md has a version of 4.17.0
git log
Verify the latest commit is f03d1f0
git tag v4.17.0
git push -u upstream v4.17.0
You do not need to kick off a build again, use the previous build
Create a new GitHub release
Copy entries from CHANGELOG.md
Subresource Integrity can be generated by
From local: for file in $(ls *.js); do echo $file $(cat $file | openssl dgst -sha384 -binary | openssl base64 -A); done
From CDN: curl -H 'Accept-Encoding: gzip' https://cdn.botframework.com/botframework-webchat/4.17.0/webchat.js | gunzip - | openssl dgst -sha384 -binary | openssl base64 -A
Attach assets including 3 JS files, stats.json and 5 tarballs
You can copy the artifacts from webchat-release-testing/drops
Checklist
Build
Bump MockBot to latest Bot Framework SDK release(not needed for patch release)Bumpbotframework-directlinejs
to0.15.5
in PR #XXX4.17.0
CHANGELOG.md
to mark specific changes in4.17.0
npm version --no-git-tag-version 4.17.0
main
, the PR number is Bump to 4.17.0 #5171f03d1f0
true
BotFramework-WebChat-Official
388824
and commit isf03d1f0
WebChat-release-testing
pipeline and wait for completePush-Release-Testing-to-GitHub-Pages
524
/packages/
folder/samples/
folder, as they are pointing to previous version of Web ChatWebChat-release-testing
as neededTest
webchat-release-testing
IE11 (Windows 11 22H2 23531.1001)4.17.0
and previous releasesRelease
main
orbranch, runqfe
git status
to checkgit pull
/package.json
,/package-lock.json
, andCHANGELOG.md
has a version of4.17.0
git log
f03d1f0
git tag v4.17.0
git push -u upstream v4.17.0
CHANGELOG.md
for file in $(ls *.js); do echo $file $(cat $file | openssl dgst -sha384 -binary | openssl base64 -A); done
curl -H 'Accept-Encoding: gzip' https://cdn.botframework.com/botframework-webchat/4.17.0/webchat.js | gunzip - | openssl dgst -sha384 -binary | openssl base64 -A
stats.json
and 5 tarballswebchat-release-testing/drops
[[PROD]]Push-WebChat-Official-to-npmjs
2
and commit isf03d1f05
If there are any breaking changes, explain in the email if it will affect any customers[[PROD]]Push-WebChat-Official-to-Prod-CDN-with-approval
388824
, release number is4
and commit isf03d1f05
320590
(this is fixed)Post-release verification - complete within 30 minutes after release to NPM
webchat-release-testing
01.create-react-app
01.create-react-app/node_modules
npm install
npm install [email protected]
(just install the bundle package)npm run build
npx serve
(at repo root)Notification to interested parties
Post-release checklist
These are chores that we should do before starting the cycle to reduce ripple effects if we do it in mid-cycle.
Tips:
node_modules
from all foldergit clean -fdx
package-lock.json
component/package.json
botframework-webchat-core
by hand-modifyingpackage.json
npm install
(symlinks will be broken afterward)package.json
Applies to all releases
If on QFE branch, make sureCHANGELOG.md
and version number bump is cherry-picked tomain
git checkout main
git cherry-pick XXX
(the commitish for bumping version number andCHANGELOG.md
)If needed, correct the date for 4.17.0 inCHANGELOG.md
in PR #XXXThere could be last minute fixes that could push the planned date later than the one inCHANGELOG.md
package.json
to4.17.1-0
in PR Bump to 4.17.1-0 #5174npm version prepatch --no-git-tag-version
servicingPlan.json
in PR Bump to 4.17.1-0 #5174Update all samples to use4.17.0
in PR #XXXXClean up unnecessary branch on official repoUnderstand production-hitting vulnerabilities(We will be releasing4.17.1very soon)npm init
with default valuesnpm install [email protected]
Update accessibility conformance reportApplies to major/minor releases
Bump all dependencies to latest version
In PR #5174, we are bumping most dependencies to latest version.
npm run bump
npm audit fix
to make sure everything is fixedList steps to verify bumpingmicrosoft-cognitiveservices-speech-sdk
Bump Docker image
Docker container for headless Chrome in PR #XXXXThe text was updated successfully, but these errors were encountered: