Skip to content

Releases: opengovsg/FormSG

Release v4.32.0

25 Aug 06:28
Compare
Choose a tag to compare

New

  • Create bounce collection and alarms (#131)
  • Increase breaker window time and add minimum volume threshold (#165)
  • Add mailto link for secret key when creating storage mode form (#150)
  • Support &`;'" in form title (#156)
  • Log form ID in GA event labels (#154)
  • Add core ApplicationError for express app (#195)
  • Remove beta field validations (#194)

Improved

  • Refactor MailService to a class based Typescript implementation (#76)
  • Migrate date util to Typescript (#161)
  • Migrate encryption util to Typescript (#167)
  • Delete render promise util (#168)
  • Move verification module to modules/verification and migrate to Typescript (#172)
  • Move util/response to modules/submission and migrate to Typescript (#176)

Fixes

  • Enable forceDelivery on Twilio message sending (#178)
  • Shift userEmail retrieval to GA service (#192)

Misc

  • Various dependabot dependency bumps:

    • bump font-awesome from 4.6.1 to 4.7.0 (#186)
    • bump puppeteer-core from 4.0.0 to 5.2.1 (#188)
    • bump uid-generator from 1.0.0 to 2.0.0 (#187)
  • Various dependabot dev dependency bumps:

    • bump typescript to 4.0.2 (#196)
    • bump env-cmd from 9.0.3 to 10.1.0 (#133)
    • bump jasmine from 3.5.0 to 3.6.1 (#158)
    • bump @typescript-eslint/eslint-plugin (#197)
    • bump @opengovsg/mockpass from 2.2.0 to 2.4.6 (#198)

v4.30.4

09 Sep 08:26
Compare
Choose a tag to compare

New

  • Remove allowSms beta flag
  • Filter Storage Mode Responses by Submission Id
  • Show error upon FileReader failure

Fix

  • Phone validation now only accepts 8 digit #s starting with 8 or 9
  • Fix myInfoError typo

Improved

  • Setup jest for use with Typescript tests
  • Updating contributing, readme, license for open source
  • Several backend files migrated to TypeScript.

v4.30.3: fix: Revert url loader (#125)

09 Sep 08:33
e081673
Compare
Choose a tag to compare

New

  • Remove allowSms beta flag
  • Filter Storage Mode Responses by Submission Id
  • Show error upon FileReader failure

Fix

  • Phone validation now only accepts 8 digit #s starting with 8 or 9
  • Fix myInfoError typo

Improved

  • Setup jest for use with Typescript tests
  • Updating contributing, readme, license for open source
  • Several backend files migrated to TypeScript.

v4.30.2

09 Sep 08:25
Compare
Choose a tag to compare

Problem

  1. In the current release, logs from our /emailnotifications endpoint are going to the main log group instead of the custom log group formsg-email-notifications-production. This means that our bounce alarms are on the wrong log group, and email logs are being stored for a year instead of a week as intended.

  2. An extra trailing / was introduced to the AWS endpoint during the TypeScript migration, breaking all image, logo and attachment uploads and downloads.

Solution

  1. The problem was that during the TypeScript migration for src/config/logger, the AWS and CloudWatch environment variables were modified to be imported from config instead of taken directly from process.env. This caused them to be undefined because config depends on logger, resulting in a circular dependency. The solution is to get the env vars directly from process.env instead of importing them from config.

  2. Removing the trailing /.

v4.30.1

09 Sep 08:25
Compare
Choose a tag to compare

While migrating src/shared/constants.js to TypeScript, one of the enum fields was accidentally changed from uppercase to sentence case. This caused a problem where old clients were not able to create form fields. This release fixes the issue.