Releases: opengovsg/FormSG
Release v4.32.0
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
tomodules/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:
-
Various dependabot dev dependency bumps:
v4.30.4
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)
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
Problem
-
In the current release, logs from our
/emailnotifications
endpoint are going to the main log group instead of the custom log groupformsg-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. -
An extra trailing
/
was introduced to the AWS endpoint during the TypeScript migration, breaking all image, logo and attachment uploads and downloads.
Solution
-
The problem was that during the TypeScript migration for
src/config/logger
, the AWS and CloudWatch environment variables were modified to be imported fromconfig
instead of taken directly fromprocess.env
. This caused them to be undefined becauseconfig
depends onlogger
, resulting in a circular dependency. The solution is to get the env vars directly fromprocess.env
instead of importing them fromconfig
. -
Removing the trailing
/
.
v4.30.1
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.