Releases: opengovsg/FormSG
Releases · opengovsg/FormSG
Release v5.1.0
New
- feat: Add submission limits for submissions
#1097
- feat: Add submission limits for submissions
#1268
- feat: add timestamp to form submission end page
#1110
- feat: change logging of incorrect captcha response from error to warn
#1258
- feat: remove MyInfo error_description support
#1323
- feat: remove MyInfo support from SPCP endpoints
#1314
- feat: upgrade to beta version of myinfo-gov-client
#1311
Improvements
- chore: add newline in husky .gitignore
#1272
- chore: change copy & insert secretkeyloss golink
#1293
- refactor: convert frontend MyInfo services to TypeScript
#1233
- refactor: encapsulate parsed responses (part 1)
#1140
- refactor: migrate attachment validator to ts
#1181
- refactor: migrate checkbox validator to typescript
#1225
- refactor: remove try-catch from submissions pipeline
#1315
- refactor: stop replacing spaces in SAML artifact
#1325
- refactor/logic: Validate webpack upgrades are ready for React migration
#1201
- test: add tests for new MyInfo functionality
#1313
- feat(frontend): migrate file handler service to Typescript, update frontend test framework and lint
#1243
- feat(frontend): write FieldVerificationService in TypeScript
#1259
Bug Fixes
- fix: put back link for email reliability
#1324
- fix: remove form.msgSrvcName validation and add human error recovery message
#1235
Dependency Updates
- chore(deps-dev): bump @babel/core from 7.12.17 to 7.13.8
#1285
- chore(deps-dev): bump @babel/plugin-transform-runtime
#1263
- chore(deps-dev): bump @babel/preset-env from 7.12.17 to 7.13.9
#1264
- chore(deps-dev): bump @opengovsg/mockpass from 2.6.3 to 2.6.4
#1267
- chore(deps-dev): bump @types/convict from 5.2.2 to 6.0.0
#1309
- chore(deps-dev): bump @types/mongodb from 3.6.8 to 3.6.9
#1303
- chore(deps-dev): bump @types/node from 14.14.31 to 14.14.32
#1300
- chore(deps-dev): bump @types/node from 14.14.32 to 14.14.33
#1326
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#1253
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#1278
- chore(deps-dev): bump @typescript-eslint/parser from 4.15.1 to 4.15.2
#1217
- chore(deps-dev): bump @typescript-eslint/parser from 4.15.2 to 4.16.1
#1266
- chore(deps-dev): bump @typescript-eslint/parser from 4.16.1 to 4.17.0
#1328
- chore(deps-dev): bump core-js from 3.9.0 to 3.9.1
#1269
- chore(deps-dev): bump eslint from 7.20.0 to 7.21.0
#1289
- chore(deps-dev): bump eslint-config-prettier from 8.0.0 to 8.1.0
#1287
- chore(deps-dev): bump eslint-plugin-jest from 24.1.5 to 24.1.7
#1304
- chore(deps-dev): bump eslint-plugin-jest from 24.1.5 to 24.1.8
#1308
- chore(deps-dev): bump eslint-plugin-jest from 24.1.8 to 24.1.9
#1319
- chore(deps-dev): bump husky from 4.3.8 to 5.1.3
#1105
- chore(deps-dev): bump mongodb-memory-server-core from 6.9.3 to 6.9.6
#1318
- chore(deps-dev): bump stylelint from 13.11.0 to 13.12.0
#1307
- chore(deps-dev): bump stylelint-config-standard from 20.0.0 to 21.0.0
#1321
- chore(deps-dev): bump stylelint-prettier from 1.1.2 to 1.2.0
#1256
- chore(deps-dev): bump testcafe from 1.11.0 to 1.12.0
#1294
- chore(deps-dev): bump ts-jest from 26.5.1 to 26.5.2
#1261
- chore(deps-dev): bump ts-jest from 26.5.2 to 26.5.3
#1295
- chore(deps-dev): bump ts-node-dev from 1.1.1 to 1.1.6
#1281
- fix(deps): bump @babel/runtime from 7.12.18 to 7.13.9
#1276
- fix(deps): bump @babel/runtime from 7.13.9 to 7.13.10
#1327
- fix(deps): bump @sentry/browser from 6.2.0 to 6.2.1
#1262
- fix(deps): bump @sentry/integrations from 6.2.0 to 6.2.1
#1288
- fix(deps): bump aws-info from 1.1.0 to 1.2.0
#1290
- fix(deps): bump aws-sdk from 2.848.0 to 2.856.0
#1280
- fix(deps): bump aws-sdk from 2.856.0 to 2.858.0
#1302
- fix(deps): bump aws-sdk from 2.858.0 to 2.859.0
#1329
- fix(deps): bump bcrypt from 5.0.0 to 5.0.1
#1274
- fix(deps): bump connect-mongo from 3.2.0 to 4.2.0
#1240
- fix(deps): bump connect-mongo from 4.2.0 to 4.2.2
#1286
- fix(deps): bump has-ansi from 4.0.0 to 4.0.1
#1284
- fix(deps): bump libphonenumber-js from 1.9.11 to 1.9.12
#1301
- fix(deps): bump neverthrow from 4.1.0 to 4.1.1
#1255
- fix(deps): bump nodemailer from 6.4.18 to 6.5.0
#1282
- fix(deps): bump twilio from 3.56.0 to 3.57.0
#1275
- fix(deps): bump whatwg-fetch from 3.6.1 to 3.6.2
#1271
v4.59.1
v4.59.0
Release v4.59.0
Features
- feat: use textarea for providing checkbox options
#962
Refactors
- ref: migrate update form flow to TypeScript
#883
- refactor: migrate email validator to ts
#1126
- refactor: migrate number validator to typescript
#1145
- refactor: migrate preview admin form endpoint to Typescript
#864
- refactor: move addLogin method to Billing module
#1195
Improvements
- fix: agency logo on development environment
#1182
Dependency updates
- fix(deps): bump @babel/runtime from 7.12.13 to 7.12.18
#1194
- fix(deps): bump @sentry/browser from 6.1.0 to 6.2.0
#1188
- fix(deps): bump @sentry/integrations from 5.30.0 to 6.2.0
#1142
#1198
- fix(deps): bump aws-sdk from 2.844.0 to 2.848.0
#1179
#1192
#1203
- fix(deps): bump express-rate-limit from 5.2.3 to 5.2.6
#1166
#1178
- fix(deps): bump express-winston from 4.0.5 to 4.1.0
#1197
- fix(deps): bump libphonenumber-js from 1.9.8 to 1.9.11
#1138
- fix(deps): bump lodash from 4.17.20 to 4.17.21
#1205
- fix(deps): bump neverthrow from 4.0.1 to 4.1.0
#1170
- fix(deps): bump nodemailer from 6.4.17 to 6.4.18
#1143
- fix(deps): bump twilio from 3.55.0 to 3.56.0
#1164
- fix(deps): bump whatwg-fetch from 3.5.0 to 3.6.1
#1187
- chore: use formsg-sdk beta release
#1219
- chore(deps-dev): bump @babel/core from 7.12.16 to 7.12.17
#1185
- chore(deps-dev): bump @babel/plugin-transform-runtime
#1190
- chore(deps-dev): bump @babel/preset-env from 7.12.13 to 7.12.17
#1155
#1196
- chore(deps-dev): bump @opengovsg/mockpass from 2.6.2 to 2.6.3
#1184
- chore(deps-dev): bump @types/ejs from 3.0.5 to 3.0.6
#1150
- chore(deps-dev): bump @types/mongodb from 3.6.5 to 3.6.8
#1162
#1189
- chore(deps-dev): bump @types/node from 14.14.22 to 14.14.31
#1154
#1191
#1207
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#1163
- chore(deps-dev): bump @typescript-eslint/parser from 4.15.0 to 4.15.1
#1148
- chore(deps-dev): bump concurrently from 5.3.0 to 6.0.0
#1202
- chore(deps-dev): bump core-js from 3.8.3 to 3.9.0
#1193
- chore(deps-dev): bump csv-parse from 4.15.1 to 4.15.3
#1213
- chore(deps-dev): bump eslint from 7.19.0 to 7.20.0
#1168
- chore(deps-dev): bump eslint-config-prettier from 7.2.0 to 8.0.0
#1204
- chore(deps-dev): bump eslint-plugin-jest from 24.1.3 to 24.1.5
#1180
- chore(deps-dev): bump form-data from 3.0.0 to 4.0.0
#1167
- chore(deps-dev): bump stylelint from 13.10.0 to 13.11.0
#1206
- chore(deps-dev): bump testcafe from 1.10.1 to 1.11.0
#1165
- chore(deps-dev): bump ts-jest from 26.5.0 to 26.5.1
#1161
Misc
v4.58.2
Fixes bug where forms with custom SMS credentials (msgSrvcName
key) cannot be edited because the credentials contain slashes, but form model validation disallows slashes.
v4.58.1
Fixes bug where 0 and 0.0 could not be submitted as answers for decimal fields.
v4.58.0
New
- feat: deprecate MyInfo fields for V3 (step 3 - drop support)
#1073
- feat: update SMS OTP message
#1085
Improved
- refactor: remove SPCP_COOKIE_MAX_AGE
#1134
- build: docker-compose to use mongo:4.0 image
#1114
- ref: migrate encrypt SP/CP verified content flow into separate module
#934
Dependency upgrades
- chore(deps-dev): bump typescript from 4.1.4 to 4.1.5
#1137
- chore(deps-dev): bump @babel/core from 7.12.13 to 7.12.16
#1136
- fix(deps): bump moment-timezone from 0.5.32 to 0.5.33
#1130
- fix(deps): bump jszip from 3.5.0 to 3.6.0
#1131
- chore(deps-dev): bump lint-staged from 10.5.3 to 10.5.4
#1132
- chore(deps-dev): bump stylelint from 13.8.0 to 13.10.0
#1135
- chore(deps-dev): bump @typescript-eslint/parser from 4.12.0 to 4.15.0
#1106
- chore(deps-dev): bump ts-mock-imports from 1.3.1 to 1.3.3
#1122
- fix(deps): bump fp-ts from 2.9.4 to 2.9.5
#1124
- chore(deps-dev): bump @types/express-rate-limit from 5.1.0 to 5.1.1
#1123
- fix(deps): bump web-streams-polyfill from 3.0.1 to 3.0.2
#1121
- chore(deps-dev): bump typescript from 4.1.3 to 4.1.4
#1120
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#1107
- chore(deps-dev): bump eslint from 7.17.0 to 7.19.0
#1108
v4.57.0
New
Improved
- fix: interrupt submission if field is blank
#1096
- refactor: combine email submission middleware into controller
#935
- refactor: migrate dropdown validator to ts
#861
- test: mock DNS in webhooks tests
#1056
Fixes
- fix/travis: wean off Travis workspaces
#1067
- fix/updates: bugs and refactors after building payments demo
#1061
Dependency updates
- fix: upgrade angular-translate from 2.18.3 to 2.18.4
#1086
- fix: upgrade sortablejs from 1.12.0 to 1.13.0
#1054
- fix(deps): bump @babel/runtime from 7.12.5 to 7.12.13
#1098
- fix(deps): bump @opengovsg/formsg-sdk from 0.8.2 to 0.8.3
#1095
- fix(deps): bump @sentry/browser from 5.30.0 to 6.1.0
#1094
- fix(deps): bump aws-sdk from 2.828.0 to 2.834.0
#1059
- fix(deps): bump aws-sdk from 2.834.0 to 2.838.0
#1092
- fix(deps): bump ejs from 3.1.5 to 3.1.6
#1100
- fix(deps): bump fp-ts from 2.9.3 to 2.9.4
#1075
- fix(deps): bump helmet from 4.3.1 to 4.4.1
#1042
- fix(deps): bump neverthrow from 3.2.0 to 4.0.1
#1041
- fix(deps): bump opossum from 5.1.2 to 5.1.3
#1069
- chore(deps-dev): bump @babel/core from 7.12.10 to 7.12.13
#1080
- chore(deps-dev): bump @babel/plugin-transform-runtime
#1089
- chore(deps-dev): bump @babel/preset-env from 7.12.11 to 7.12.13
#1091
- chore(deps-dev): bump @opengovsg/mockpass from 2.6.1 to 2.6.2
#1101
- chore(deps-dev): bump @types/express from 4.17.9 to 4.17.11
#1058
- chore(deps-dev): bump @types/mongodb from 3.6.3 to 3.6.5
#1093
- chore(deps-dev): bump @types/node from 14.14.20 to 14.14.22
#1043
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#1090
- chore(deps-dev): bump core-js from 3.8.2 to 3.8.3
#1076
- chore(deps-dev): bump csv-parse from 4.15.0 to 4.15.1
#1064
- chore(deps-dev): bump eslint-config-prettier from 7.1.0 to 7.2.0
#1081
- chore(deps-dev): bump eslint-plugin-typesafe from 0.4.0 to 0.5.2
#1060
- chore(deps-dev): bump husky from 4.3.7 to 4.3.8
#1033
- chore(deps-dev): bump jasmine from 3.6.3 to 3.6.4
#1065
- chore(deps-dev): bump mongodb-memory-server-core from 6.9.2 to 6.9.3
#1063
- chore(deps-dev): bump sinon from 9.2.3 to 9.2.4
#1057
- chore(deps-dev): bump supertest from 6.0.1 to 6.1.3
#1062
- chore(deps-dev): bump ts-jest from 26.4.4 to 26.5.0
#1099
v4.56.0
v4.55.0
v4.54.0
New
- feat: Add cancel download attachment feature
#1018
Improved
- fix(webhook): change type from any to void, re-order imports
#1023
- feat: remove Examples frontend reliance on batch job
#1021
- feat: remove landing page reliance on batch job
#1020
- fix: incorrect mobile number placeholder
#1017
- chore(robots): disallow NLB crawler to parse beyond loading the frontend
#1019
Dependency upgrades
- fix(deps): bump @sentry/integrations from 5.29.2 to 5.30.0
#1028
- chore(deps-dev): bump csv-parse from 4.14.2 to 4.15.0
#1027
- build/typescript-4.1.3: TypeScript version upgrade
#1029
- chore(deps-dev): bump eslint-plugin-typesafe from 0.3.0 to 0.4.0
#1026
- fix(deps): bump libphonenumber-js from 1.9.6 to 1.9.8
#1024
- chore(deps-dev): bump eslint-plugin-prettier from 3.3.0 to 3.3.1
#1025
- fix(deps): bump aws-sdk from 2.818.0 to 2.828.0
#1014
- chore(deps-dev): bump sinon from 9.2.2 to 9.2.3
#1012
- fix(deps): bump twilio from 3.54.1 to 3.55.0
#1010
- chore(deps-dev): bump @types/express-serve-static-core
#1011
- fix(deps): bump @sentry/browser from 5.29.2 to 5.30.0
#1002
- fix(deps): bump neverthrow from 3.1.4 to 3.2.0
#1008
- chore(deps-dev): bump @types/jest from 26.0.19 to 26.0.20
#989
- chore(deps-dev): bump @types/node from 14.14.14 to 14.14.20
#997
- chore(deps-dev): bump husky from 4.3.6 to 4.3.7
#1006
- chore(deps-dev): bump @types/validator from 13.1.2 to 13.1.3
#1001