Skip to content

Releases: opengovsg/FormSG

v4.38.1

08 Oct 07:40
Compare
Choose a tag to compare

Improvements

  • chore: key cleanup #326

v4.38.0

08 Oct 07:39
Compare
Choose a tag to compare

New

  • feat: add trace to logs #405

Improvements

  • refactor: use validator's isEmail for validating email domains #386
  • refactor: migrate SmsFactory to Typescript #387
  • chore: add lint rule to prevent floating promises #404

Fixes

  • fix: only show exclamation in navbar if sms feature is enabled #383
  • fix: transfer form toastr #379
  • style: fix squished styling when user emails are too long #382
  • fix: invalid key reference in retrieving form submissions #385

Dependency upgrades

  • fix(deps): bump @sentry/browser from 5.22.3 to 5.24.2 #407
  • chore(deps-dev): bump @types/uuid from 8.0.0 to 8.3.0 #375
  • fix(deps): bump twilio from 3.46.0 to 3.49.3 #367
  • chore(deps-dev): bump @types/node from 14.0.13 to 14.11.2 #374
  • fix(deps): bump nodemailer from 6.4.11 to 6.4.12 #399
  • fix(deps): bump multiparty from 4.2.1 to 4.2.2 #406
  • chore(deps-dev): bump eslint from 7.9.0 to 7.10.0 #401
  • fix(deps): bump aws-sdk from 2.734.0 to 2.763.0 #393
  • chore(deps-dev): bump @types/express from 4.17.6 to 4.17.8 #392
  • fix(deps): bump helmet from 4.1.0 to 4.1.1 #390

v4.37.1

30 Sep 06:05
Compare
Choose a tag to compare

v4.37.1

  • fix: correct form header padding when no banner is available 421a117

v4.37.0

30 Sep 06:04
Compare
Choose a tag to compare

v4.37.0

  • feat: add lastAccessed key to track user login #364
  • feat: move notification banner back to top and add banner type capabilities #359
  • feat: filter storage mode responses by submission id #362
  • feat: implement email domain validation with unit tests #143
  • fix(deps): upgrade node, alpine and chromium #363
  • fix(deps): bump @sentry/integrations from 5.22.3 to 5.24.2 #373
  • chore(deps-dev): bump auto-changelog from 2.2.0 to 2.2.1 #365
  • chore(deps-dev): bump @types/validator from 13.0.0 to 13.1.0 #366
  • refactor: make bounceType required #360
  • chore(deps-dev): bump prettier from 2.1.1 to 2.1.2 #356
  • fix(deps): bump http-status-codes from 2.1.2 to 2.1.4 #354

v4.36.0

29 Sep 03:39
8ba586e
Compare
Choose a tag to compare

Generated by auto-changelog.

v4.36.0

22 September 2020

  • chore: update spcp-auth-client library #346
  • feat: automate critical bounce handling #318
  • feat: form ownership transfer feature #111
  • feat: Using neverthrow to explicitly handle errors in AuthController #332
  • fix(deps): bump csv-string from 3.2.0 to 4.0.1 #344
  • fix(deps): bump csv-parse from 4.10.1 to 4.12.0 #340
  • feat: Filter Storage Mode Responses by Submission Id #174
  • chore(deps-dev): bump eslint-plugin-jest from 24.0.0 to 24.0.2 #341
  • fix(deps): uninstall node-jose #339
  • fix(deps): bump celebrate from 12.2.0 to 13.0.3 #338
  • chore(deps-dev): bump eslint from 7.8.1 to 7.9.0 #331
  • chore(deps-dev): bump eslint-plugin-import from 2.21.2 to 2.22.0 #330
  • chore(deps-dev): bump ts-node from 8.10.2 to 9.0.0 #329
  • chore(deps-dev): bump lint-staged from 10.2.11 to 10.4.0 #328
  • chore: update travis.yml and pin localstack in docker-compose #337
  • chore: [develop] release 4.35.1 hotfix #334
  • fix: set nodeEnv to assigned variable if in dev environment #335
  • test: remove storage mode attachment tests #336
  • fix(deps): uninstall async #309
  • fix(deps): bump winston from 3.2.1 to 3.3.3 #278
  • fix(deps): bump whatwg-fetch from 3.0.0 to 3.4.1 #300
  • chore(deps-dev): bump concurrently from 3.6.1 to 5.3.0 #308
  • fix(deps): bump helmet from 3.23.1 to 4.1.0 #233
  • refactor: remove unused key #325
  • fix(dev): fix hot reloading and Localstack port #324
  • fix(deps): fix npm audit issues #322
  • build: [develop] Release 4.35.0 #323
  • feat: update copy for email fields, intranet, privacy #321
  • chore: bump version to v4.35.1 2ea5bae
  • Fix more tests 0c6c8ac
  • Fix tests 6d0ffde

v4.34.0

09 Sep 08:22
Compare
Choose a tag to compare

New

  • Verified sms modal

Refactor

  • Migrate /auth endpoint handling to Typescript
  • Remove form_field.isFutureOnly
  • Remove redundant feature factory
  • Use convict for configuration
  • Add try-catch block to custom logger for js files
  • Remove unused Nodemailer env vars
  • Typify webhook and migrate from middleware pattern
  • Prevent discriminated models from being created before their base model

Misc

  • Upgrade localstack version
  • Upgrade Sentry SDK
  • Various dependency version bumps
    • stylelint-config-prettier 8.0.1 to 8.0.2
    • mongoose 5.9.19 to 5.10.0
    • babel/core 7.10.2 to 7.11.5
    • testcafe 1.8.6 to 1.9.1
    • babel/preset-env 7.11.0 to 7.11.5
    • lodash 4.17.19 to 4.17.20
    • eslint 7.7.0 to 7.8.1
    • jest 26.2.2 to 26.4.2
    • prettier 2.0.5 to 2.1.1
    • typescript-eslint/parser 3.3.0 to 3.10.1
    • typescript-eslint/parser 3.10.1 to 4.0.0
    • typescript-eslint/eslint-plugin 3.9.1 to 4.0.0
    • ajv 5.5.2 to 6.12.4

v4.33.0

09 Sep 08:20
bb096f8
Compare
Choose a tag to compare

New

  • Emergency contact for admins
  • Bulk download of storage mode attachments
  • Share form secret keys across browser tabs
  • Mailto link to share secret key with colleagues after form activation

Improved

  • Retries for email failures
  • Various backend modules migrated to TypeScript
    • Webhooks service
    • All utils
  • Standardised logging format
  • Use of Express Router for modules
  • Better logging for critical bounces

Misc

  • Introduce test coverage thresholds
  • Various dependency version bumps
    • axios 0.19.2 => 0.20.0
    • eslint 6.8.0 => 7.7.0
    • http-status-codes 1.4.0 => 2.1.2
    • opossum 5.0.0 => 5.0.1
    • sinon 6.3.5 => 9.0.3
    • validator 11.1.0 => 13.1.1
    • @types/helmet 0.0.47 => 0.0.48
    • @types/mongoose 5.7.25 => 5.7.36

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.