These are chores that we should do before starting the cycle to reduce ripple effects if we do it in mid-cycle.
Tips:
Clean your repo before start
Remove node_modules from all folder
Never delete package-lock.json
If you mess it up, tableflip and redo
In component/package.json
Remove reference to botframework-webchat-core by hand-modifying package.json
Then, npm install (symlinks will be broken afterward)
Then, add those references back by hand-modifying package.json
This also applies for other packages with similar dependencies/symlinks
To build afterward, do tableflip to rebuild those symlinks
Applies to all releases
This list should be copied to versions in the future.
Applies to major/minor releases
Bump all dependencies to latest version
On each package.json under root and /packages/:
All NPM packages (@babel/*, jest, lerna, typescript, webpack, etc) (#XXX)
Don't bump the following packages
react, react-dom, redux, redux-saga, react-film, react-scroll-to-bottom, react-say, react-dictate-button, @types/react
remark and strip-markdown, source-map-loader (because of webpack)
Newer remark don't work under IE11
Please go to the their repos and see if this is fixed or by design
sanitize-html@1
Starting from version 2, they included nanoid deps which does not work in ES5 environment
compulim: Seems sanitize-html removed nanoid from their dependencies, please try to bump it. We use sanitize-html while rendering Markdown
serve
rxjs on playground
webpack@4
Starting from version 5, they dropped Node.js polyfills for browsers
Please file an issue: Bump webpack@5
The issue is #XXX
microsoft-cognitiveservices-speech-sdk
Run npm audit fix to make sure everything is fixed
Test under IE11 to make sure all dependencies are working
Bump Docker image
The Docker image can be found at root docker-compose.yml and Dockerfile*.
These are chores that we should do before starting the cycle to reduce ripple effects if we do it in mid-cycle.
Tips:
node_modulesfrom all foldergit clean -fdxpackage-lock.jsoncomponent/package.jsonbotframework-webchat-coreby hand-modifyingpackage.jsonnpm install(symlinks will be broken afterward)package.jsonApplies to all releases
If on QFE branch, make sureCHANGELOG.mdand version number bump is cherry-picked tomastergit checkout mastergit cherry-pick XXX(the commitish for bumping version number andCHANGELOG.md)CHANGELOG.mdCHANGELOG.mdpackage.jsonto4.12.2-0npm version prepatch --no-git-tag-versionservicingPlan.json4.12.1Applies to major/minor releases
Bump all dependencies to latest version
On each
package.jsonunder root and/packages/:@babel/*,jest,lerna,typescript,webpack, etc) (#XXX)react,react-dom,redux,redux-saga,react-film,react-scroll-to-bottom,react-say,react-dictate-button,@types/reactremarkandstrip-markdown,source-map-loader(because of webpack)remarkdon't work under IE11sanitize-html@1nanoiddeps which does not work in ES5 environmentsanitize-htmlremovednanoidfrom their dependencies, please try to bump it. We usesanitize-htmlwhile rendering Markdownserverxjsonplaygroundwebpack@4microsoft-cognitiveservices-speech-sdknpm audit fixto make sure everything is fixedBump Docker image
3.14.159-xxxtag scheme to a more sensible87.0tag scheme4.0.0-alpha-7-prerelease-20200907is still prerelease; therefore not bumping (corinagum)