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: merge release 5.37.1 into develop #3153

Merged
merged 6 commits into from
Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 82 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,88 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v5.37.1](https://github.com/opengovsg/FormSG/compare/v5.37.0...v5.37.1)

- Revert "feat: Add twilio webhook endpoint for failed SMS deliveries (#3110)" [`70d81e0`](https://github.com/opengovsg/FormSG/commit/70d81e0319536bab8df17166d697ecd90c8d508e)

#### [v5.37.0](https://github.com/opengovsg/FormSG/compare/v5.36.0...v5.37.0)

> 6 December 2021

- feat: Add twilio webhook endpoint for failed SMS deliveries [`#3110`](https://github.com/opengovsg/FormSG/pull/3110)
- chore(ci): add lint and build stages to GA CI, update mergify CI [`#3144`](https://github.com/opengovsg/FormSG/pull/3144)
- chore(deps-dev): bump prettier from 2.5.0 to 2.5.1 [`#3142`](https://github.com/opengovsg/FormSG/pull/3142)
- chore(deps-dev): bump @types/node from 14.17.34 to 14.18.0 [`#3141`](https://github.com/opengovsg/FormSG/pull/3141)
- fix(deps): bump aws-sdk from 2.1041.0 to 2.1043.0 [`#3140`](https://github.com/opengovsg/FormSG/pull/3140)
- fix(deps): bump libphonenumber-js from 1.9.43 to 1.9.44 [`#3143`](https://github.com/opengovsg/FormSG/pull/3143)
- fix(deps): bump aws-sdk from 2.1040.0 to 2.1041.0 [`#3137`](https://github.com/opengovsg/FormSG/pull/3137)
- fix(deps): bump twilio from 3.71.2 to 3.71.3 [`#3138`](https://github.com/opengovsg/FormSG/pull/3138)
- build: Release 5.36.0 [`#3090`](https://github.com/opengovsg/FormSG/pull/3090)
- chore: bump version to 5.36.0 [`2701022`](https://github.com/opengovsg/FormSG/commit/27010229fce32bd6a45c54cd91169766324693d7)
- chore: bump version to 5.37.0 [`fc45c59`](https://github.com/opengovsg/FormSG/commit/fc45c5980db6f5c18b7d4ef3a58ee9908bb87b32)

#### [v5.36.0](https://github.com/opengovsg/FormSG/compare/v5.35.0...v5.36.0)

> 2 December 2021

- feat: migrate CI pipeline to github actions [`#3120`](https://github.com/opengovsg/FormSG/pull/3120)
- fix(deps): bump aws-sdk from 2.1039.0 to 2.1040.0 [`#3123`](https://github.com/opengovsg/FormSG/pull/3123)
- chore(deps-dev): bump type-fest from 2.6.0 to 2.8.0 [`#3122`](https://github.com/opengovsg/FormSG/pull/3122)
- fix(deps): bump angular-ui-router from 1.0.29 to 1.0.30 [`#3121`](https://github.com/opengovsg/FormSG/pull/3121)
- docs: update README.md to bring webhooks out of beta [`#3108`](https://github.com/opengovsg/FormSG/pull/3108)
- chore(ci): add semantic.yml to modify CI behaviour [`#3109`](https://github.com/opengovsg/FormSG/pull/3109)
- fix(deps): bump aws-sdk from 2.1037.0 to 2.1039.0 [`#3118`](https://github.com/opengovsg/FormSG/pull/3118)
- fix(deps): bump date-fns from 2.26.0 to 2.27.0 [`#3117`](https://github.com/opengovsg/FormSG/pull/3117)
- chore(deps-dev): bump core-js from 3.19.1 to 3.19.2 [`#3115`](https://github.com/opengovsg/FormSG/pull/3115)
- chore(deps-dev): bump jest-extended from 1.1.0 to 1.2.0 [`#3114`](https://github.com/opengovsg/FormSG/pull/3114)
- chore(deps-dev): bump htmlhint from 0.16.3 to 1.0.0 [`#3105`](https://github.com/opengovsg/FormSG/pull/3105)
- fix(deps): bump aws-sdk from 2.1036.0 to 2.1037.0 [`#3106`](https://github.com/opengovsg/FormSG/pull/3106)
- fix(deps): bump nodemailer from 6.7.1 to 6.7.2 [`#3104`](https://github.com/opengovsg/FormSG/pull/3104)
- chore(deps-dev): bump prettier from 2.4.1 to 2.5.0 [`#3102`](https://github.com/opengovsg/FormSG/pull/3102)
- fix(deps): bump aws-sdk from 2.1035.0 to 2.1036.0 [`#3101`](https://github.com/opengovsg/FormSG/pull/3101)
- fix(deps): bump aws-sdk from 2.1034.0 to 2.1035.0 [`#3097`](https://github.com/opengovsg/FormSG/pull/3097)
- chore(deps-dev): bump htmlhint from 0.16.1 to 0.16.3 [`#3098`](https://github.com/opengovsg/FormSG/pull/3098)
- fix(deps): bump aws-sdk from 2.1033.0 to 2.1034.0 [`#3096`](https://github.com/opengovsg/FormSG/pull/3096)
- chore(deps-dev): bump eslint-plugin-jest from 25.2.4 to 25.3.0 [`#3095`](https://github.com/opengovsg/FormSG/pull/3095)
- chore(deps-dev): bump type-fest from 2.5.4 to 2.6.0 [`#3094`](https://github.com/opengovsg/FormSG/pull/3094)
- chore(deps-dev): bump lint-staged from 12.1.1 to 12.1.2 [`#3089`](https://github.com/opengovsg/FormSG/pull/3089)
- chore: merge release v5.35.0 back to develop [`#3057`](https://github.com/opengovsg/FormSG/pull/3057)
- chore(deps-dev): bump csv-parse from 5.0.2 to 5.0.3 [`#3085`](https://github.com/opengovsg/FormSG/pull/3085)
- fix(deps): bump date-fns from 2.25.0 to 2.26.0 [`#3084`](https://github.com/opengovsg/FormSG/pull/3084)
- chore(deps-dev): bump lint-staged from 12.0.3 to 12.1.1 [`#3088`](https://github.com/opengovsg/FormSG/pull/3088)
- fix(deps): bump neverthrow from 4.3.0 to 4.3.1 [`#3087`](https://github.com/opengovsg/FormSG/pull/3087)
- fix(deps): bump aws-sdk from 2.1032.0 to 2.1033.0 [`#3086`](https://github.com/opengovsg/FormSG/pull/3086)
- fix(deps): bump cookie-parser from 1.4.5 to 1.4.6 [`#3071`](https://github.com/opengovsg/FormSG/pull/3071)
- chore(deps-dev): bump csv-parse from 4.16.3 to 5.0.2 [`#3072`](https://github.com/opengovsg/FormSG/pull/3072)
- chore(deps-dev): bump lint-staged from 12.0.2 to 12.0.3 [`#3083`](https://github.com/opengovsg/FormSG/pull/3083)
- chore(deps-dev): bump core-js from 3.19.0 to 3.19.1 [`#3082`](https://github.com/opengovsg/FormSG/pull/3082)
- fix(deps): bump aws-sdk from 2.1031.0 to 2.1032.0 [`#3081`](https://github.com/opengovsg/FormSG/pull/3081)
- chore(deps-dev): bump @types/node from 14.17.33 to 14.17.34 [`#3080`](https://github.com/opengovsg/FormSG/pull/3080)
- chore(deps-dev): bump @types/jest from 27.0.2 to 27.0.3 [`#3079`](https://github.com/opengovsg/FormSG/pull/3079)
- chore(deps-dev): bump htmlhint from 0.16.0 to 0.16.1 [`#3076`](https://github.com/opengovsg/FormSG/pull/3076)
- chore(deps-dev): bump @types/validator from 13.6.6 to 13.7.0 [`#3078`](https://github.com/opengovsg/FormSG/pull/3078)
- fix(deps): bump express-rate-limit from 5.5.0 to 5.5.1 [`#3077`](https://github.com/opengovsg/FormSG/pull/3077)
- chore(deps-dev): bump typescript from 4.4.4 to 4.5.2 [`#3074`](https://github.com/opengovsg/FormSG/pull/3074)
- chore(deps-dev): bump @types/uuid from 8.3.1 to 8.3.3 [`#3075`](https://github.com/opengovsg/FormSG/pull/3075)
- chore(deps-dev): bump concurrently from 6.3.0 to 6.4.0 [`#3073`](https://github.com/opengovsg/FormSG/pull/3073)
- fix(deps): bump twilio from 3.71.1 to 3.71.2 [`#3069`](https://github.com/opengovsg/FormSG/pull/3069)
- fix(deps): bump aws-sdk from 2.1019.0 to 2.1031.0 [`#3068`](https://github.com/opengovsg/FormSG/pull/3068)
- chore(deps-dev): bump eslint-plugin-jest from 25.2.2 to 25.2.4 [`#3066`](https://github.com/opengovsg/FormSG/pull/3066)
- chore(deps-dev): bump @babel/plugin-transform-runtime [`#3063`](https://github.com/opengovsg/FormSG/pull/3063)
- fix(deps): bump @sentry/integrations from 6.13.3 to 6.15.0 [`#3065`](https://github.com/opengovsg/FormSG/pull/3065)
- chore(deps-dev): bump @types/node from 14.17.32 to 14.17.33 [`#3064`](https://github.com/opengovsg/FormSG/pull/3064)
- chore(deps-dev): bump eslint-plugin-import from 2.25.2 to 2.25.3 [`#3062`](https://github.com/opengovsg/FormSG/pull/3062)
- fix(deps): bump libphonenumber-js from 1.9.39 to 1.9.43 [`#3061`](https://github.com/opengovsg/FormSG/pull/3061)
- chore(deps-dev): bump @babel/preset-env from 7.16.0 to 7.16.4 [`#3060`](https://github.com/opengovsg/FormSG/pull/3060)
- chore(deps-dev): bump type-fest from 2.5.2 to 2.5.4 [`#3059`](https://github.com/opengovsg/FormSG/pull/3059)
- fix(deps): bump bson-ext from 2.0.5 to 2.0.6 [`#3058`](https://github.com/opengovsg/FormSG/pull/3058)
- build: release v5.35.0 [`#3056`](https://github.com/opengovsg/FormSG/pull/3056)
- chore: bump version to 5.36.0 [`574c1e4`](https://github.com/opengovsg/FormSG/commit/574c1e4955aaf01f5914eae7db3a0005677e46b3)

#### [v5.35.0](https://github.com/opengovsg/FormSG/compare/v5.34.0...v5.35.0)

> 17 November 2021

- fix(deps): bump @sentry/browser from 6.13.3 to 6.15.0 [`#3052`](https://github.com/opengovsg/FormSG/pull/3052)
- fix(deps): bump web-streams-polyfill from 3.1.1 to 3.2.0 [`#3051`](https://github.com/opengovsg/FormSG/pull/3051)
- fix(deps): bump moment-timezone from 0.5.33 to 0.5.34 [`#3053`](https://github.com/opengovsg/FormSG/pull/3053)
Expand All @@ -17,6 +97,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- chore: merge release v5.34.0 back to develop [`#3043`](https://github.com/opengovsg/FormSG/pull/3043)
- build: release v5.34.0 [`#3042`](https://github.com/opengovsg/FormSG/pull/3042)
- build: Release 5.33.0 [`#3014`](https://github.com/opengovsg/FormSG/pull/3014)
- chore: bump version to v5.35.0 [`567478d`](https://github.com/opengovsg/FormSG/commit/567478d0bda03f898780b31051a17dd837106c35)

#### [v5.34.0](https://github.com/opengovsg/FormSG/compare/v5.33.0...v5.34.0)

Expand Down Expand Up @@ -905,7 +986,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- fix(verification): loosen OTP waiting time by 2 seconds [`#1957`](https://github.com/opengovsg/FormSG/pull/1957)
- chore: bump version to 5.12.0 [`85759bc`](https://github.com/opengovsg/FormSG/commit/85759bc9dc01f73da3cbd0ec73c636e58e983948)

#### [v5.11.0](https://github.com/opengovsg/FormSG/compare/v5.10.1...v5.11.0)
#### [v5.11.0](https://github.com/opengovsg/FormSG/compare/v5.10.0...v5.11.0)

> 25 May 2021

Expand Down Expand Up @@ -973,11 +1054,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- chore(deps-dev): bump @typescript-eslint/eslint-plugin [`#1868`](https://github.com/opengovsg/FormSG/pull/1868)
- fix(deps): bump @sentry/integrations from 6.3.5 to 6.3.6 [`#1850`](https://github.com/opengovsg/FormSG/pull/1850)
- chore: bump version to 5.11.0 [`54b1958`](https://github.com/opengovsg/FormSG/commit/54b1958d0968e670ef145461d9d7859384d573ef)

#### [v5.10.1](https://github.com/opengovsg/FormSG/compare/v5.10.0...v5.10.1)

> 17 May 2021

- chore: bump version to v5.10.1 [`0442cd7`](https://github.com/opengovsg/FormSG/commit/0442cd72637019fb1e43bce5f8f5abe14ee79f8c)
- fix: allow for unknown keys in updateEndPage validator [`617d86a`](https://github.com/opengovsg/FormSG/commit/617d86a28910eec6ebd3249a2de636086429d6a6)

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "FormSG",
"description": "Form Manager for Government",
"version": "5.35.0",
"version": "5.37.1",
"homepage": "https://form.gov.sg",
"authors": [
"FormSG <[email protected]>"
Expand Down
84 changes: 0 additions & 84 deletions src/app/modules/twilio/__tests__/twilio.controller.spec.ts

This file was deleted.

56 changes: 0 additions & 56 deletions src/app/modules/twilio/twilio.controller.ts

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions src/app/routes/api/v3/notifications/notifications.routes.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,7 @@
import { Router } from 'express'

import { handleTwilioSmsUpdates } from '../../../../modules/twilio/twilio.controller'

import { BouncesRouter } from './bounces'

export const NotificationsRouter = Router()

NotificationsRouter.use('/bounces', BouncesRouter)

/**
* Receives SMS delivery status updates from Twilio webhook
*
* Logs any errors or failures in SMS delivery while ignoring succesful
* status updates
*
* Path here is required to be synced with statusCallbackRoute under
* sms.service#sendSms
*
* @route POST /api/v3/notifications/twilio
*
* @returns 200 when message succesfully received and logged
* @returns 400 when request is not coming from Twilio
* @returns 403 when twilio request validation failed
*/
NotificationsRouter.post('/twilio', handleTwilioSmsUpdates)
Loading