Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release of 4.10.1 #3460

Closed
42 of 44 tasks
compulim opened this issue Sep 9, 2020 · 1 comment
Closed
42 of 44 tasks

Release of 4.10.1 #3460

compulim opened this issue Sep 9, 2020 · 1 comment
Assignees

Comments

@compulim
Copy link
Contributor

compulim commented Sep 9, 2020

Checklist

Build

  1. Bump MockBot to Bot Framework SDK release 4.10.3
  2. Bump botframework-directlinejs
    • Bump botframework-streaming dependency to 4.10.3 (Is this the correct version? Need to ask Steven.)
    • Bump version to 0.13.1, PR is #XXX
    • Wait for release on NPM
  3. Bump [email protected] dependency in Web Chat
  4. Bump to 4.10.1
    • Update CHANGELOG.md to mark specific changes in 4.10.1
    • Run npm version --no-git-tag-version 4.10.1
    • Merged into master, the PR number is Bump to 4.10.1 #3461
    • Commit is c5afaef
    • Do not merge any other unrelated changes after this PR. Any other PR merged, will need to be re-tested
  5. Run daily pipeline manually, set "generate release version number" to true
    • (This will not push to NPM or CDN)
    • Pipeline name is BotFramework-WebChat-daily
    • The build number is 164890 and commit is c5afaef

Test

The test should run against the build artifacts from Azure Pipelines.

  1. Manual testing on major browsers using webchat-release-testing
  2. Test specific fixes related to 4.10.1 and previous releases
    • (N/A) (Look at CHANGELOG.md and list out PRs that were not covered with automated tests)

Release

  1. Make sure you are on master or qfe branch, run git status to check
  2. git pull
  3. Verify /package.json, /package-lock.json, and CHANGELOG.md has a version of 4.10.1
  4. git log
    • Verify the latest commit is c5afaef
  5. git tag v4.10.1
  6. git push -u upstream v4.10.1
    • You do not need to kick off a build again, use the previous build
  7. Create a new GitHub release, copy entries from CHANGELOG.md
    • Subresource Integrity can be generated by
      • From CDN: curl -H 'Accept-Encoding: gzip' https://cdn.botframework.com/botframework-webchat/4.10.1/webchat.js | gunzip - | openssl dgst -sha384 -binary | openssl base64 -A
      • From local: cat webchat.js | openssl dgst -sha384 -binary | openssl base64 -A
    • Attach assets including 3 JS files, stats.json and 4 tarballs
      • You can copy the artifacts from webchat-release-testing/drops
      • Tarballs download from npmjs
        curl -L -o botframework-directlinespeech-sdk-4.10.1.tgz https://registry.npmjs.org/botframework-directlinespeech-sdk/-/botframework-directlinespeech-sdk-4.10.1.tgz
        curl -L -o botframework-webchat-4.10.1.tgz https://registry.npmjs.org/botframework-webchat/-/botframework-webchat-4.10.1.tgz
        curl -L -o botframework-webchat-core-4.10.1.tgz https://registry.npmjs.org/botframework-webchat-core/-/botframework-webchat-core-4.10.1.tgz
        curl -L -o botframework-webchat-component-4.10.1.tgz https://registry.npmjs.org/botframework-webchat-component/-/botframework-webchat-component-4.10.1.tgz
        
  8. Kick off release to NPM
    • Release name is [[PROD]]Push-WebChat-to-npmjs
    • The build number is 164890, release number is 27 and commit is c5afaef
    • Retain the build indefinitely
  9. Kick off release to CDN
    1. Prepare the email for approval
    • Release name is [[PROD]]Push-WebChat-to-Prod-CDN-with-approval
    • The build number is 164890, release number is 2485 and commit is c5afaef
    • Script build number is 131156 (this shouldn't change between releases)
    1. Send reminder email to approvers
    • Retain the build indefinitely

Post-release check

Notification to interested parties

Changelog

Breaking changes

  • To support Content Security Policy, glamor is being replaced by create-emotion. The CSS hash and rule name is being prefixed with webchat--css with a random value.

Fixed

  • Fixes #3431. Removed delay of first activity with replyToId pointing to a missing activity, by @compulim in PR #3450

Changed

Samples

@compulim compulim self-assigned this Sep 10, 2020
@corinagum corinagum added the R10 label Sep 15, 2020
@corinagum
Copy link
Contributor

Closing as complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants