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

chore: merge release v5.12.1 into master #2103

Merged
merged 35 commits into from
Jun 8, 2021
Merged

chore: merge release v5.12.1 into master #2103

merged 35 commits into from
Jun 8, 2021

Commits on May 25, 2021

  1. Configuration menu
    Copy the full SHA
    9cc9691 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1969 from opengovsg/release-v5.11.0

    chore: merge v5.11.0 into develop
    mantariksh committed May 25, 2021
    Configuration menu
    Copy the full SHA
    3692ae3 View commit details
    Browse the repository at this point in the history
  3. fix: add types to RequestHandler in submitEncryptModeForm (#1889)

    * fix: add types to RequestHandler in submitEncryptModeForm
    
    * Remove unused FieldResponse type
    
    * address various comments
    frankchn committed May 25, 2021
    Configuration menu
    Copy the full SHA
    d3907e9 View commit details
    Browse the repository at this point in the history
  4. chore(deps-dev): bump @types/node from 14.17.0 to 14.17.1 (#1972)

    Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.17.0 to 14.17.1.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 25, 2021
    Configuration menu
    Copy the full SHA
    e90f7d6 View commit details
    Browse the repository at this point in the history
  5. chore(deps-dev): bump @types/express-serve-static-core (#1973)

    Bumps [@types/express-serve-static-core](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express-serve-static-core) from 4.17.19 to 4.17.20.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express-serve-static-core)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 25, 2021
    Configuration menu
    Copy the full SHA
    22365d8 View commit details
    Browse the repository at this point in the history
  6. fix(deps): bump aws-sdk from 2.912.0 to 2.913.0 (#1974)

    Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.912.0 to 2.913.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.912.0...v2.913.0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 25, 2021
    Configuration menu
    Copy the full SHA
    de6fd74 View commit details
    Browse the repository at this point in the history
  7. chore(deps-dev): bump @types/express from 4.17.11 to 4.17.12 (#1975)

    Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.11 to 4.17.12.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 25, 2021
    Configuration menu
    Copy the full SHA
    d0589a6 View commit details
    Browse the repository at this point in the history
  8. fix(deps): bump opossum from 6.0.1 to 6.1.0 (#1976)

    Bumps [opossum](https://github.com/nodeshift/opossum) from 6.0.1 to 6.1.0.
    - [Release notes](https://github.com/nodeshift/opossum/releases)
    - [Changelog](https://github.com/nodeshift/opossum/blob/main/CHANGELOG.md)
    - [Commits](nodeshift/opossum@v6.0.1...v6.1.0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 25, 2021
    Configuration menu
    Copy the full SHA
    0fe5206 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. fix(deps): bump libphonenumber-js from 1.9.18 to 1.9.19 (#1979)

    Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.9.18 to 1.9.19.
    - [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.18...v1.9.19)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 26, 2021
    Configuration menu
    Copy the full SHA
    94cf3cd View commit details
    Browse the repository at this point in the history
  2. fix(deps): bump aws-sdk from 2.913.0 to 2.914.0 (#1980)

    Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.913.0 to 2.914.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.913.0...v2.914.0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 26, 2021
    Configuration menu
    Copy the full SHA
    5551009 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. chore(deps-dev): bump core-js from 3.12.1 to 3.13.0 (#1978)

    Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.12.1 to 3.13.0.
    - [Release notes](https://github.com/zloirock/core-js/releases)
    - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/zloirock/core-js/commits/v3.13.0/packages/core-js)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 27, 2021
    Configuration menu
    Copy the full SHA
    89b9723 View commit details
    Browse the repository at this point in the history
  2. fix: upgrade mongoose from 5.12.5 to 5.12.7 (#1977)

    Snyk has created this PR to upgrade mongoose from 5.12.5 to 5.12.7.
    
    See this package in npm:
    https://www.npmjs.com/package/mongoose
    
    See this project in Snyk:
    https://app.snyk.io/org/yiyin/project/c84a5cfa-bfa2-44b6-8cc6-5d1271040a58?utm_source=github&utm_medium=upgrade-pr
    snyk-bot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    8cb6253 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42fc11a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    18f0e7a View commit details
    Browse the repository at this point in the history
  5. refactor(verification): migrate otp generation to new api endpoint (#…

    …1916)
    
    * docs(verification): adds deprecation notice
    
    * feat(verification): add new backend route for generating otp
    
    * feat(fieldverificationservice): add new frontend call for generating otp
    
    * feat(verifiab-field-component): adds field type to component
    
    * fix(fieldverificationservice): exports otp function agian
    
    * docs(public-forms/verification/controller): added extra docs
    
    * feat(verification/controller): added stronger validation
    
    * docs(verification): updated docs for otp generation
    
    * test(verification-controller/spec): adds unit tests for controlelr
    
    * test(fieldverificationservice/test): updated tests for triggerSendOtp
    
    * chore(verifiable-field.client.component): removed console log
    
    * refactor(verification): removed fieldtype and let verification be more permissive
    
    * docs(verification/controller): add docs for steps
    
    * fix(verification/controller): removed fieldType from joi validation
    
    * test(integration): integration tests for generate otp (#1924)
    
    * feat(tests/integration/helpers): add new test helpers for nodmailer and twilio
    
    * test(verification/routes): added integration tests for generating otp
    
    * chore(tests/integration/helpers): removed nodemailer helper
    
    * test(public-forms/verification/routes): updated to not use mock nodemailer
    
    * test(public-forms/verification/routes/spec): adds missing import
    
    * test(public-forms/verification/routes): fixed test for expired  transaction
    
    * test(public-forms/verification/routes): removed fieldType from integration tests
    
    * refactor(verification): fixed wording for tests and when email couldn't be send
    
    * test(verification): fixed tests after wording change
    seaerchin committed May 27, 2021
    Configuration menu
    Copy the full SHA
    f26f292 View commit details
    Browse the repository at this point in the history
  6. refactor(verification): migrate otp verification to new v3 routes (#1926

    )
    
    * refactor(fieldverificationservice): updated verifyOtp to new parameters and updated tests
    
    * docs(verification): adds deprecation notice for verifyOtp
    
    * feat(verification): adds new controller method and route for otp verification
    
    * refactor(verifiable-field): updated call site for verify otp
    
    * test(verification/controller/spec): adds unit tests for handleOtpVerification
    
    * docs(public-forms/verification/routes): adds docs for otp verification
    
    * docs(verification/controller): add docs for otp verification
    
    * test(verification): integration tests for otp verification (#1928)
    
    * test(public-forms/verification/routes/spec): adds integration tests for otp verification
    
    * docs(public-forms/verification/routes/test): fixed typo
    
    * refactor(public-forms/verifaction/routes/spec): changed to generating otp instead of mocking hash
    seaerchin committed May 27, 2021
    Configuration menu
    Copy the full SHA
    793d64f View commit details
    Browse the repository at this point in the history
  7. chore(deps-dev): bump typescript from 4.2.4 to 4.3.2 (#1984)

    Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
    - [Release notes](https://github.com/Microsoft/TypeScript/releases)
    - [Commits](microsoft/TypeScript@v4.2.4...v4.3.2)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 27, 2021
    Configuration menu
    Copy the full SHA
    9792ee9 View commit details
    Browse the repository at this point in the history
  8. fix(deps): bump aws-sdk from 2.914.0 to 2.916.0 (#1985)

    Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.914.0 to 2.916.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.914.0...v2.916.0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 27, 2021
    Configuration menu
    Copy the full SHA
    5b9ba49 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2021

  1. chore(deps-dev): bump core-js from 3.13.0 to 3.13.1 (#1990)

    Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.13.0 to 3.13.1.
    - [Release notes](https://github.com/zloirock/core-js/releases)
    - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/zloirock/core-js/commits/v3.13.1/packages/core-js)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 30, 2021
    Configuration menu
    Copy the full SHA
    cd2fc23 View commit details
    Browse the repository at this point in the history
  2. chore(deps-dev): bump @types/mongodb from 3.6.16 to 3.6.17 (#1991)

    Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.6.16 to 3.6.17.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 30, 2021
    Configuration menu
    Copy the full SHA
    a320816 View commit details
    Browse the repository at this point in the history
  3. chore(deps-dev): bump date-fns from 2.21.3 to 2.22.1 (#1992)

    Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.21.3 to 2.22.1.
    - [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.21.3...v2.22.1)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 30, 2021
    Configuration menu
    Copy the full SHA
    8ece945 View commit details
    Browse the repository at this point in the history
  4. fix(deps): bump aws-sdk from 2.916.0 to 2.918.0 (#1993)

    Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.916.0 to 2.918.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.916.0...v2.918.0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 30, 2021
    Configuration menu
    Copy the full SHA
    8ff6389 View commit details
    Browse the repository at this point in the history
  5. chore(deps-dev): bump @babel/preset-env from 7.14.2 to 7.14.4 (#1994)

    Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.2 to 7.14.4.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.14.4/packages/babel-preset-env)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 30, 2021
    Configuration menu
    Copy the full SHA
    ea2c0fe View commit details
    Browse the repository at this point in the history
  6. chore(deps-dev): bump eslint-plugin-import from 2.23.3 to 2.23.4 (#1995)

    Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.23.3 to 2.23.4.
    - [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
    - [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
    - [Commits](import-js/eslint-plugin-import@v2.23.3...v2.23.4)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 30, 2021
    Configuration menu
    Copy the full SHA
    8a3282e View commit details
    Browse the repository at this point in the history

Commits on May 31, 2021

  1. chore(deps-dev): bump @opengovsg/mockpass from 2.7.0 to 2.7.2 (#2031)

    Bumps [@opengovsg/mockpass](https://github.com/opengovsg/mockpass) from 2.7.0 to 2.7.2.
    - [Release notes](https://github.com/opengovsg/mockpass/releases)
    - [Commits](opengovsg/mockpass@v2.7.0...v2.7.2)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 31, 2021
    Configuration menu
    Copy the full SHA
    bb17cf3 View commit details
    Browse the repository at this point in the history
  2. fix(deps): bump @sentry/browser from 6.4.1 to 6.5.0 (#2033)

    Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 6.4.1 to 6.5.0.
    - [Release notes](https://github.com/getsentry/sentry-javascript/releases)
    - [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
    - [Commits](getsentry/sentry-javascript@6.4.1...6.5.0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 31, 2021
    Configuration menu
    Copy the full SHA
    37f8170 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e34828c View commit details
    Browse the repository at this point in the history
  4. fix(deps): bump @sentry/integrations from 6.4.1 to 6.5.0 (#2036)

    Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript) from 6.4.1 to 6.5.0.
    - [Release notes](https://github.com/getsentry/sentry-javascript/releases)
    - [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
    - [Commits](getsentry/sentry-javascript@6.4.1...6.5.0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 31, 2021
    Configuration menu
    Copy the full SHA
    2ac72f0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3e0ff27 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. Configuration menu
    Copy the full SHA
    8ed8fc7 View commit details
    Browse the repository at this point in the history
  2. feat: Deduplicate Mongodb Error Messages (#1996)

    * feat: Deduplicate Mongodb Error Messages
    
    * Update src/app/utils/handle-mongo-error.ts
    
    Co-authored-by: Yuan Ruo <yuanruo@data.gov.sg>
    
    * Fix ts lint error
    
    Co-authored-by: Yuan Ruo <yuanruo@data.gov.sg>
    frankchn and liangyuanruo committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    a24da59 View commit details
    Browse the repository at this point in the history
  3. build: upgrade application node version to v14 (by updating Docker im…

    …age) (#2038)
    
    * build: upgrade node to Fermium LTS (v14)
    
    * build: update references in Travis and Actions to node v14
    
    * chore: update doc references to node v14
    
    also update mongo base version
    
    * fix: update stream tests to promisified version
    
    seems to be failing due to node upgrade, but i don't know why. Does not seem to fail when manual testing, so should be some jest x node implementation on streams
    karrui committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    76d00ce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    85759bc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9a2c9dc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6c415d2 View commit details
    Browse the repository at this point in the history