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

build: Release 5.37.0 #3148

Merged
merged 31 commits into from
Dec 7, 2021
Merged

build: Release 5.37.0 #3148

merged 31 commits into from
Dec 7, 2021

Conversation

tshuli
Copy link
Contributor

@tshuli tshuli commented Dec 6, 2021

Note: This release deploys both 5.36.0 and 5.37.0 as the previous release failed due to CD pipeline failure (fixed in #3120)

Improved

  • chore(ci): add lint and build stages to GA CI, update mergify CI #3144
  • chore(ci): add semantic.yml to modify CI behaviour #3109
  • docs: update README.md to bring webhooks out of beta #3108
  • feat: Add twilio webhook endpoint for failed SMS deliveries #3110
  • feat: migrate CI pipeline to github actions #3120

Dep Updates

  • chore(deps-dev): bump @types/node from 14.17.34 to 14.18.0 #3141
  • chore(deps-dev): bump core-js from 3.19.1 to 3.19.2 #3115
  • chore(deps-dev): bump eslint-plugin-jest from 25.2.4 to 25.3.0 #3095
  • chore(deps-dev): bump htmlhint from 0.16.1 to 0.16.3 #3098
  • chore(deps-dev): bump htmlhint from 0.16.3 to 1.0.0 #3105
  • chore(deps-dev): bump jest-extended from 1.1.0 to 1.2.0 #3114
  • chore(deps-dev): bump lint-staged from 12.1.1 to 12.1.2 #3089
  • chore(deps-dev): bump prettier from 2.4.1 to 2.5.0 #3102
  • chore(deps-dev): bump prettier from 2.5.0 to 2.5.1 #3142
  • chore(deps-dev): bump type-fest from 2.5.4 to 2.6.0 #3094
  • chore(deps-dev): bump type-fest from 2.6.0 to 2.8.0 #3122
  • fix(deps): bump angular-ui-router from 1.0.29 to 1.0.30 #3121
  • fix(deps): bump aws-sdk from 2.1033.0 to 2.1034.0 #3096
  • fix(deps): bump aws-sdk from 2.1034.0 to 2.1035.0 #3097
  • fix(deps): bump aws-sdk from 2.1035.0 to 2.1036.0 #3101
  • fix(deps): bump aws-sdk from 2.1036.0 to 2.1037.0 #3106
  • fix(deps): bump aws-sdk from 2.1037.0 to 2.1039.0 #3118
  • fix(deps): bump aws-sdk from 2.1039.0 to 2.1040.0 #3123
  • fix(deps): bump aws-sdk from 2.1040.0 to 2.1041.0 #3137
  • fix(deps): bump aws-sdk from 2.1041.0 to 2.1043.0 #3140
  • fix(deps): bump date-fns from 2.26.0 to 2.27.0 #3117
  • fix(deps): bump libphonenumber-js from 1.9.43 to 1.9.44 #3143
  • fix(deps): bump nodemailer from 6.7.1 to 6.7.2 #3104
  • fix(deps): bump twilio from 3.71.2 to 3.71.3 #3138

dependabot bot and others added 30 commits November 23, 2021 02:40
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.1.1 to 12.1.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v12.1.1...v12.1.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 2.5.4 to 2.6.0.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](sindresorhus/type-fest@v2.5.4...v2.6.0)

---
updated-dependencies:
- dependency-name: type-fest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 25.2.4 to 25.3.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v25.2.4...v25.3.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1033.0 to 2.1034.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.1033.0...v2.1034.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [htmlhint](https://github.com/htmlhint/HTMLHint) from 0.16.1 to 0.16.3.
- [Release notes](https://github.com/htmlhint/HTMLHint/releases)
- [Changelog](https://github.com/htmlhint/HTMLHint/blob/master/CHANGELOG.md)
- [Commits](htmlhint/HTMLHint@v0.16.1...v0.16.3)

---
updated-dependencies:
- dependency-name: htmlhint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1034.0 to 2.1035.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.1034.0...v2.1035.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1035.0 to 2.1036.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.1035.0...v2.1036.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump prettier from 2.4.1 to 2.5.0

Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.4.1...2.5.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: run lint

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kar Rui Lau <[email protected]>
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.7.1 to 6.7.2.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](nodemailer/nodemailer@v6.7.1...v6.7.2)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1036.0 to 2.1037.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.1036.0...v2.1037.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [htmlhint](https://github.com/htmlhint/HTMLHint) from 0.16.3 to 1.0.0.
- [Release notes](https://github.com/htmlhint/HTMLHint/releases)
- [Changelog](https://github.com/htmlhint/HTMLHint/blob/master/CHANGELOG.md)
- [Commits](htmlhint/HTMLHint@v0.16.3...v1.0.0)

---
updated-dependencies:
- dependency-name: htmlhint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [jest-extended](https://github.com/jest-community/jest-extended) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/jest-community/jest-extended/releases)
- [Commits](jest-community/jest-extended@v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: jest-extended
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.1 to 3.19.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](zloirock/core-js@v3.19.1...v3.19.2)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.26.0 to 2.27.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.26.0...v2.27.0)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1037.0 to 2.1039.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.1037.0...v2.1039.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
only validate titles since we only squash commits, and add ref type for refactor shorthand
* docs: update README.md to bring webhooks out of beta

* chore: empty commit to semantic CI

Co-authored-by: Kar Rui Lau <[email protected]>
Bumps [angular-ui-router](https://github.com/angular-ui/ui-router) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/angular-ui/ui-router/releases)
- [Changelog](https://github.com/angular-ui/ui-router/blob/master/CHANGELOG.md)
- [Commits](angular-ui/ui-router@1.0.29...1.0.30)

---
updated-dependencies:
- dependency-name: angular-ui-router
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 2.6.0 to 2.8.0.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](sindresorhus/type-fest@v2.6.0...v2.8.0)

---
updated-dependencies:
- dependency-name: type-fest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1039.0 to 2.1040.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.1039.0...v2.1040.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: github actions CI

* chore: do not use 3rd party github action

* chore: no need pip

* feat: dynamically configure environment

* chore: update aws region env

* chore: combine build and deploy

* chore: add docker build file flag

* chore: add docker tag

* chore: docker push tag

* chore: docker push all tags

* fix: github run id variable name

* feat: copy to s3 bucket, configure sentry

* nit: indent

* chore: use image_tag for eb version-label

* chore: rename DEPLOY_ENV

* chore: remove environment-specific naming

* chore: remove app version step

* chore: delete travis ci

* chore: update docs

* chore: correct tag variable for sentry

* chore: drop sentry from CD

* chore: split create app version and update eb steps

* feat: add retry if deployment to eb fails

* feat: add run attempt to image tag

* chore: remove auto retry
Bumps [twilio](https://github.com/twilio/twilio-node) from 3.71.2 to 3.71.3.
- [Release notes](https://github.com/twilio/twilio-node/releases)
- [Changelog](https://github.com/twilio/twilio-node/blob/main/CHANGES.md)
- [Commits](twilio/twilio-node@3.71.2...3.71.3)

---
updated-dependencies:
- dependency-name: twilio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1040.0 to 2.1041.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.1040.0...v2.1041.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.9.43 to 1.9.44.
- [Release notes](https://gitlab.com/catamphetamine/libphonenumber-js/tags)
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.9.43...v1.9.44)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1041.0 to 2.1043.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.1041.0...v2.1043.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.17.34 to 14.18.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.5.0...2.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(ci): add lint, build stages to github actions CI workflow

this prevents merging if application cannot be built

* chore(ci): update mergify to ignore build_deploy_application

this means mergify will still be triggered on non-release branches

* chore(ci): update mergify to check for `build` workflow success

instead of install, since build is more comprehensive

* fix(ci): add NODE_OPTIONS env to build job in GA CI
* feat: Add twilio webhook endpoint

* test: add status callback to sms service tests

* fix: cast map and mapError result to true and defined error types

* refactor: remove explicit typecast

* feat: add logging of non-errors

* fix: logger import path

* refactor: remove twilio service and conditional for error logging

* fix: remove ngrok route

* test: Add integration test for twilio webhook

* tests: Add twilio webhook tests

* docs: update endpoint response documentation

* docs: update JS docs for twilioSmsUpdates

* docs: add comment to sync callback routes
@tshuli tshuli temporarily deployed to staging December 6, 2021 05:36 Inactive
@zatkiller
Copy link
Contributor

zatkiller commented Dec 6, 2021

@tshuli

Tests

Triggering Twilio webhooks on sms delivery status

  • Add a mobile number field to any form and enable Sms verification for the field
  • Enter mobile number and click verify to receive OTP
  • Check AWS console to see sms status webhook is logged under meta.action twilioSmsUpdates

@tshuli tshuli merged commit e6eec29 into release Dec 7, 2021
@tshuli tshuli deleted the release-5.37.0 branch December 7, 2021 01:54
@tshuli tshuli restored the release-5.37.0 branch December 7, 2021 02:10
@tshuli tshuli deleted the release-5.37.0 branch December 7, 2021 05:42
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

Successfully merging this pull request may close these issues.

4 participants