Skip to content

Commit 3a02ab3

Browse files
authored
Merge pull request #8896 from opengovsg/release_v6.269.0
build: release v6.269.0
2 parents 277430b + 1b1ca1b commit 3a02ab3

File tree

11 files changed

+86
-43
lines changed

11 files changed

+86
-43
lines changed

CHANGELOG.md

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,23 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7+
#### [v6.269.0](https://github.com/opengovsg/FormSG/compare/v6.268.1...v6.269.0)
8+
9+
- build: merge v6.268.1 back to develop [`#8895`](https://github.com/opengovsg/FormSG/pull/8895)
10+
- build: release v6.268.1 [`#8891`](https://github.com/opengovsg/FormSG/pull/8891)
11+
- fix(copy): update Webhooks text to have more clarity entire payload is sent [`#8880`](https://github.com/opengovsg/FormSG/pull/8880)
12+
- feat: enable save draft instrumentation basic [`#8893`](https://github.com/opengovsg/FormSG/pull/8893)
13+
- docs(readme): remove button for beanstalk [`#8878`](https://github.com/opengovsg/FormSG/pull/8878)
14+
- build: merge v6.628.0 back to develop [`#8876`](https://github.com/opengovsg/FormSG/pull/8876)
15+
- fix(deps): bump libphonenumber-js from 1.12.25 to 1.12.26 in /shared [`#8871`](https://github.com/opengovsg/FormSG/pull/8871)
16+
717
#### [v6.268.1](https://github.com/opengovsg/FormSG/compare/v6.268.0...v6.268.1)
818

19+
> 13 November 2025
20+
921
- build: release v6.268.0 [`#8875`](https://github.com/opengovsg/FormSG/pull/8875)
1022
- fix: changes from feat/add-hotfix-script [`d845902`](https://github.com/opengovsg/FormSG/commit/d845902902e162314761c0c0c266360a93616c35)
23+
- chore: bump version to v6.268.1 [`6817482`](https://github.com/opengovsg/FormSG/commit/6817482b353f63137759f33d399db5fd061efb3d)
1124

1225
#### [v6.268.0](https://github.com/opengovsg/FormSG/compare/v6.267.0...v6.268.0)
1326

@@ -302,7 +315,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
302315
- build(deps): bump next from 15.3.4 to 15.5.2 in /react-email-preview [`#8660`](https://github.com/opengovsg/FormSG/pull/8660)
303316
- fix(deps): bump next from 15.3.4 to 15.5.2 [`#8661`](https://github.com/opengovsg/FormSG/pull/8661)
304317
- build(deps-dev): bump vite from 5.4.19 to 5.4.20 in /frontend [`#8686`](https://github.com/opengovsg/FormSG/pull/8686)
305-
- fix: home number fields are added to the draft despite not being modified [`#8704`](https://github.com/opengovsg/FormSG/pull/8704)
306318
- Revert "feat: save draft v1.0 (#8091)" [`ef00908`](https://github.com/opengovsg/FormSG/commit/ef00908c4fa711b8022f06a59595d13ec24d2963)
307319
- Revert "fix: home number fields are added to the draft despite not being modified (#8704)" [`8ceffce`](https://github.com/opengovsg/FormSG/commit/8ceffce1e0485fa4623cb941dd1042f73bedd5f6)
308320
- chore: bump version to v6.242.0 [`49cfc58`](https://github.com/opengovsg/FormSG/commit/49cfc582734a9110861ec37aa14932753639e334)
@@ -311,10 +323,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
311323

312324
> 16 September 2025
313325

326+
- fix: home number fields are added to the draft despite not being modified [`#8704`](https://github.com/opengovsg/FormSG/pull/8704)
314327
- feat: save draft v1.0 [`#8091`](https://github.com/opengovsg/FormSG/pull/8091)
315328
- build: merge release v6.240.0 to develop [`#8695`](https://github.com/opengovsg/FormSG/pull/8695)
316329
- build: release v6.240.0 [`#8693`](https://github.com/opengovsg/FormSG/pull/8693)
317-
- chore: bump version to v6.241.0 [`8572128`](https://github.com/opengovsg/FormSG/commit/8572128021278843f40d95dd30722a2f81370e5d)
330+
- chore: bump version to v6.241.0 [`13345f3`](https://github.com/opengovsg/FormSG/commit/13345f3eabe3c954d90b8ec10ca4e15c6b709b68)
318331

319332
#### [v6.240.0](https://github.com/opengovsg/FormSG/compare/v6.239.0...v6.240.0)
320333

@@ -1140,8 +1153,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
11401153
- build: merge release v6.178.2 to develop [`#8111`](https://github.com/opengovsg/FormSG/pull/8111)
11411154
- build: release v6.178.2 [`#8110`](https://github.com/opengovsg/FormSG/pull/8110)
11421155
- fix: also match amount paid [`#8109`](https://github.com/opengovsg/FormSG/pull/8109)
1143-
- fix: hawkeye v1.0 pending response at missing bug [`#8106`](https://github.com/opengovsg/FormSG/pull/8106)
1144-
- chore: remove coverage restriction, inspect through datadog instead [`#8100`](https://github.com/opengovsg/FormSG/pull/8100)
11451156
- chore: bump version to v6.179.0 [`1247426`](https://github.com/opengovsg/FormSG/commit/1247426080ba2254a33c8efb3deb51c6cd9f7e9e)
11461157
- chore: bump version to v6.178.2 [`618bdff`](https://github.com/opengovsg/FormSG/commit/618bdffa52a73fca82c53283ee7868390af42c91)
11471158
- chore: bump version to v6.180.0 [`13b3fc4`](https://github.com/opengovsg/FormSG/commit/13b3fc4c696810eb1c58a54edf4d583894022b52)
@@ -1150,13 +1161,15 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
11501161

11511162
> 13 February 2025
11521163

1164+
- fix: hawkeye v1.0 pending response at missing bug [`#8106`](https://github.com/opengovsg/FormSG/pull/8106)
1165+
- chore: remove coverage restriction, inspect through datadog instead [`#8100`](https://github.com/opengovsg/FormSG/pull/8100)
11531166
- feat: address field [`#7966`](https://github.com/opengovsg/FormSG/pull/7966)
11541167
- feat(mrf-admin-view): hawkeye v1.0 [`#7965`](https://github.com/opengovsg/FormSG/pull/7965)
11551168
- fix(deps): bump zod from 3.24.1 to 3.24.2 in /shared [`#8101`](https://github.com/opengovsg/FormSG/pull/8101)
11561169
- fix: failing test for new joi validation [`#8098`](https://github.com/opengovsg/FormSG/pull/8098)
11571170
- build: release v6.178.1 to develop [`#8096`](https://github.com/opengovsg/FormSG/pull/8096)
11581171
- build: merge release v6.178.0 to develop [`#8093`](https://github.com/opengovsg/FormSG/pull/8093)
1159-
- chore: bump version to v6.179.0 [`affeb5f`](https://github.com/opengovsg/FormSG/commit/affeb5f3ed0c9add243c763ebf02905f35e91bca)
1172+
- chore: bump version to v6.179.0 [`9ace3f2`](https://github.com/opengovsg/FormSG/commit/9ace3f23a41f089356ba43013a71d5e996748777)
11601173

11611174
#### [v6.178.2](https://github.com/opengovsg/FormSG/compare/v6.178.1...v6.178.2)
11621175

@@ -1227,44 +1240,40 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
12271240
- * fix(deps): bump libphonenumber-js from 1.11.16 to 1.11.17 in /shared (#8021) [`#8039`](https://github.com/opengovsg/FormSG/pull/8039)
12281241
- fix(deps): bump zod from 3.23.8 to 3.24.1 in /shared [`#7996`](https://github.com/opengovsg/FormSG/pull/7996)
12291242
- fix(deps): bump type-fest from 4.30.2 to 4.32.0 in /shared [`#8037`](https://github.com/opengovsg/FormSG/pull/8037)
1230-
- fix: set limit to 250kb for whitelist [`#8043`](https://github.com/opengovsg/FormSG/pull/8043)
1231-
- build: merge release v6.173.1 to develop [`#8044`](https://github.com/opengovsg/FormSG/pull/8044)
1232-
- build: release v6.173.1 [`#8042`](https://github.com/opengovsg/FormSG/pull/8042)
1233-
- fix: remove multer [`#8041`](https://github.com/opengovsg/FormSG/pull/8041)
1234-
- chore: bump version to v6.174.0 [`d3ee082`](https://github.com/opengovsg/FormSG/commit/d3ee082079a5a658aefb3821eb608b8497985bc5)
1235-
- chore: bump version to v6.173.1 [`70fd33a`](https://github.com/opengovsg/FormSG/commit/70fd33aa01b398f98f2b2dfee6880cd043889cc1)
12361243
- chore: bump version to v6.175.0 [`d31bb97`](https://github.com/opengovsg/FormSG/commit/d31bb9717625d365d6798a51d8235b5acdab706c)
12371244

12381245
#### [v6.174.0](https://github.com/opengovsg/FormSG/compare/v6.173.1...v6.174.0)
12391246

12401247
> 13 January 2025
12411248

1249+
- fix: set limit to 250kb for whitelist [`#8043`](https://github.com/opengovsg/FormSG/pull/8043)
1250+
- build: merge release v6.173.1 to develop [`#8044`](https://github.com/opengovsg/FormSG/pull/8044)
1251+
- build: release v6.173.1 [`#8042`](https://github.com/opengovsg/FormSG/pull/8042)
12421252
- fix: only show fixed translations for supported forms [`#8038`](https://github.com/opengovsg/FormSG/pull/8038)
12431253
- feat(iframe): add frame messaging for paysg [`#7979`](https://github.com/opengovsg/FormSG/pull/7979)
12441254
- chore: mongoose, nanoid packages update [`#8000`](https://github.com/opengovsg/FormSG/pull/8000)
12451255
- build: merge release v6.173.0 to develop [`#8034`](https://github.com/opengovsg/FormSG/pull/8034)
12461256
- fix(deps): bump libphonenumber-js from 1.11.16 to 1.11.17 in /shared [`#8021`](https://github.com/opengovsg/FormSG/pull/8021)
1247-
- chore: bump version to v6.174.0 [`22b1122`](https://github.com/opengovsg/FormSG/commit/22b1122e8e15dbb8ca4c69c1d6c026a865d3b67c)
1257+
- chore: bump version to v6.174.0 [`d3ee082`](https://github.com/opengovsg/FormSG/commit/d3ee082079a5a658aefb3821eb608b8497985bc5)
12481258

12491259
#### [v6.173.1](https://github.com/opengovsg/FormSG/compare/v6.173.0...v6.173.1)
12501260

12511261
> 13 January 2025
12521262

12531263
- fix: remove multer [`#8041`](https://github.com/opengovsg/FormSG/pull/8041)
12541264
- * fix(deps): bump fp-ts from 2.16.8 to 2.16.9 (#8017) [`#8027`](https://github.com/opengovsg/FormSG/pull/8027)
1255-
- fix: update mongodb binary version to 6 [`#8032`](https://github.com/opengovsg/FormSG/pull/8032)
12561265
- chore: bump version to v6.173.1 [`70fd33a`](https://github.com/opengovsg/FormSG/commit/70fd33aa01b398f98f2b2dfee6880cd043889cc1)
1257-
- chore: bump version to v6.173.0 [`54e544d`](https://github.com/opengovsg/FormSG/commit/54e544d9835af07fbcd2b0218ed522c26b18fa5e)
12581266

12591267
#### [v6.173.0](https://github.com/opengovsg/FormSG/compare/v6.172.0...v6.173.0)
12601268

12611269
> 7 January 2025
12621270

1271+
- fix: update mongodb binary version to 6 [`#8032`](https://github.com/opengovsg/FormSG/pull/8032)
12631272
- feat: multi lang feature [`#8022`](https://github.com/opengovsg/FormSG/pull/8022)
12641273
- fix(deps): bump fp-ts from 2.16.8 to 2.16.9 [`#8017`](https://github.com/opengovsg/FormSG/pull/8017)
12651274
- build: merge release v6.172.0 to develop [`#8016`](https://github.com/opengovsg/FormSG/pull/8016)
12661275
- build: release v6.172.0 [`#8015`](https://github.com/opengovsg/FormSG/pull/8015)
1267-
- chore: bump version to v6.173.0 [`1cb7772`](https://github.com/opengovsg/FormSG/commit/1cb7772374249830091d1fb3278a035957d23bcb)
1276+
- chore: bump version to v6.173.0 [`54e544d`](https://github.com/opengovsg/FormSG/commit/54e544d9835af07fbcd2b0218ed522c26b18fa5e)
12681277

12691278
#### [v6.172.0](https://github.com/opengovsg/FormSG/compare/v6.171.0...v6.172.0)
12701279

README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
---
66

77
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](code_of_conduct.md)
8-
[![Build Status](https://github.com/opengovsg/FormSG/actions/workflows/deploy-eb.yml/badge.svg)](https://github.com/opengovsg/FormSG/actions/workflows/deploy-eb.yml)
98
[![Coverage Status](https://coveralls.io/repos/github/opengovsg/FormSG/badge.svg?branch=develop)](https://coveralls.io/github/opengovsg/FormSG?branch=develop)
109
[![DeepWiki](https://img.shields.io/badge/DeepWiki-opengovsg%2FFormSG-blue.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK/AIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06/uv1saEDv4O3n3dV60RfP947Mm9/SQc0ICFQgzfc4CYZoTPAswgSJCCUJUnAAoRHOAUOcATwbmVLWdGoH//PB8mnKqScAhsD0kYP3j/Yt5LPQe2KvcXmGvRHcDnpxfL2zOYJ1mFwrryWTz0advv1Ut4CJgf5uhDuDj5eUcAUoahrdY/56ebRWeraTjMt/00Sh3UDtjgHtQNHwcRGOC98BJEAEymycmYcWwOprTgcB6VZ5JK5TAJ+fXGLBm3FDAmn6oPPjR4rKCAoJCal2eAiQp2x0vxTPB3ALO2CRkwmDy5WohzBDwSEFKRwPbknEggCPB/imwrycgxX2NzoMCHhPkDwqYMr9tRcP5qNrMZHkVnOjRMWwLCcr8ohBVb1OMjxLwGCvjTikrsBOiA6fNyCrm8V1rP93iVPpwaE+gO0SsWmPiXB+jikdf6SizrT5qKasx5j8ABbHpFTx+vFXp9EnYQmLx02h1QTTrl6eDqxLnGjporxl3NL3agEvXdT0WmEost648sQOYAeJS9Q7bfUVoMGnjo4AZdUMQku50McDcMWcBPvr0SzbTAFDfvJqwLzgxwATnCgnp4wDl6Aa+Ax283gghmj+vj7feE2KBBRMW3FzOpLOADl0Isb5587h/U4gGvkt5v60Z1VLG8BhYjbzRwyQZemwAd6cCR5/XFWLYZRIMpX39AR0tjaGGiGzLVyhse5C9RKC6ai42ppWPKiBagOvaYk8lO7DajerabOZP46Lby5wKjw1HCRx7p9sVMOWGzb/vA1hwiWc6jm3MvQDTogQkiqIhJV0nBQBTU+3okKCFDy9WwferkHjtxib7t3xIUQtHxnIwtx4mpg26/HfwVNVDb4oI9RHmx5WGelRVlrtiw43zboCLaxv46AZeB3IlTkwouebTr1y2NjSpHz68WNFjHvupy3q8TFn3Hos2IAk4Ju5dCo8B3wP7VPr/FGaKiG+T+v+TQqIrOqMTL1VdWV1DdmcbO8KXBz6esmYWYKPwDL5b5FA1a0hwapHiom0r/cKaoqr+27/XcrS5UwSMbQAAAABJRU5ErkJggg==)](https://deepwiki.com/opengovsg/FormSG)
1110

@@ -14,6 +13,7 @@
1413
For comprehensive self-hosting guides, configuration references, and deployment instructions, visit our **[FormSG Self-Hosting Guide](https://ogp-international.gitbook.io/ogp-international-hub/self-hosting/formsg)**.
1514

1615
The GitBook documentation is actively maintained and provides:
16+
1717
- Deployment guides for AWS and other platforms
1818
- Configuration reference for all environment variables
1919
- Component customization guides
@@ -23,7 +23,7 @@ The GitBook documentation is actively maintained and provides:
2323
## Table of Contents
2424

2525
- [Contributing](#contributing)
26-
- [IMPORTANT NOTE TO ALL CONTRIBUTORS](#important-note-to-all-contributors)
26+
- [IMPORTANT NOTE TO ALL CONTRIBUTORS](#important-note-to-all-contributors)
2727
- [Features](#features)
2828
- [Local Development (Docker)](#local-development-docker)
2929
- [Prerequisites](#prerequisites)
@@ -104,30 +104,32 @@ npm run build:frontend
104104

105105
Run the following shell commands to build the Docker image. The first time will usually take 10 or so minutes. These commands runs the backend services specified under [docker-compose.yml](docker-compose.yml) and the React frontend on the native host.
106106

107-
This command runs:
107+
This command runs:
108+
108109
- backend server
109110
- frontend server
110-
- emulated serverless ClamAV (legacy) virus scanner function
111-
- emulated serverless GuardDuty virus scanner function
112-
- emulated serverless pdf generation function
111+
- emulated serverless ClamAV (legacy) virus scanner function
112+
- emulated serverless GuardDuty virus scanner function
113+
- emulated serverless pdf generation function
113114

114115
```bash
115116
npm run dev
116117
```
117118

118-
Alternatively, you can run required components independently - which is what the main dev team usually does:
119+
Alternatively, you can run required components independently - which is what the main dev team usually does:
120+
119121
```bash
120-
# Frontend server
122+
# Frontend server
121123
npm run dev:frontend (frontend react server, compulsory)
122124

123-
# Backend server
124-
docker compose up
125+
# Backend server
126+
docker compose up
125127

126-
# PDF generation function (only needed if you're using features requiring PDF generation, eg, payment invoice/auto-reply PDF)
127-
npm run dev:pdf-gen
128+
# PDF generation function (only needed if you're using features requiring PDF generation, eg, payment invoice/auto-reply PDF)
129+
npm run dev:pdf-gen
128130

129131
# Virus scanners - run both (only needed if you're uploading attachments)
130-
npm run dev:virus-scanner
132+
npm run dev:virus-scanner
131133

132134
npm run dev:virus-scanner-guardduty
133135
```

frontend/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "form-frontend",
3-
"version": "6.268.1",
3+
"version": "6.269.0",
44
"homepage": ".",
55
"type": "module",
66
"private": true,

frontend/src/features/public-form/PublicFormProvider.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,11 +876,19 @@ export const PublicFormProvider = ({
876876
'features.publicForm.components.saveDraft.toast.restoredOnlyUnchangedFields',
877877
)
878878
: t('features.publicForm.components.saveDraft.toast.restoredAllFields')
879+
console.log({
880+
message: restoreDraftMessage,
881+
meta: {
882+
action: 'restoreDraft',
883+
formId,
884+
hasChangedDraftFields,
885+
},
886+
})
879887
toast({
880888
description: restoreDraftMessage,
881889
})
882890
},
883-
[t, toast],
891+
[t, toast, formId],
884892
)
885893
const hasUnrestorableFields = Boolean(changedFieldIds?.length > 0)
886894

frontend/src/features/public-form/components/FloatingToolBar/FloatingToolbar.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,17 @@ export const FloatingToolBar = (): JSX.Element | null => {
4040
<FloatingIssueFeedbackButton isPreview={isPreview} formId={formId} />
4141
{isSaveDraftEnabled && enableFloatingSaveDraftButton && (
4242
<FloatingSaveDraftButton
43-
onSaveDraft={onSaveDraft}
43+
onSaveDraft={() => {
44+
console.log({
45+
message: 'User clicked save draft from floating toolbar',
46+
meta: {
47+
action: 'saveDraft',
48+
variant: 'FloatingToolbar',
49+
formId,
50+
},
51+
})
52+
onSaveDraft()
53+
}}
4454
draftLastSavedDateTimeString={draftLastSavedDateTimeString}
4555
/>
4656
)}

frontend/src/features/public-form/components/FormStartPage/FormHeader.tsx

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,12 @@ export const MiniHeader = ({
4646
isOpen,
4747
isTemplate,
4848
}: MiniHeaderProps): JSX.Element => {
49-
const { isSaveDraftEnabled, onSaveDraft, draftLastSavedDateTimeString } =
50-
usePublicFormContext()
49+
const {
50+
isSaveDraftEnabled,
51+
onSaveDraft,
52+
draftLastSavedDateTimeString,
53+
formId,
54+
} = usePublicFormContext()
5155

5256
const isTest = import.meta.env.STORYBOOK_NODE_ENV === 'test'
5357
const gb = useGrowthBook()
@@ -96,7 +100,17 @@ export const MiniHeader = ({
96100
</Flex>
97101
{isSaveDraftEnabled && enableFormHeaderSaveDraftButton && (
98102
<FormHeaderSaveDraftButton
99-
onSaveDraft={onSaveDraft}
103+
onSaveDraft={() => {
104+
console.log({
105+
message: 'User clicked save draft from form header',
106+
meta: {
107+
action: 'saveDraft',
108+
variant: 'FormHeader',
109+
formId,
110+
},
111+
})
112+
onSaveDraft()
113+
}}
100114
draftLastSavedDateTimeString={draftLastSavedDateTimeString}
101115
/>
102116
)}

frontend/src/i18n/locales/features/admin-form/settings/webhooks/en-sg.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export const enSG = {
33
input: {
44
label: 'Endpoint URL',
55
description:
6-
'FormSG will POST encrypted form responses in real-time to the HTTPS endpoint specified here. Ensure that your external system can support the classification and sensitivity.',
6+
'FormSG will POST the entire encrypted form response in real-time to the HTTPS endpoint specified. Ensure that the external system can support the classification and sensitivity.',
77
},
88
retry: {
99
label: 'Enable retries',

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "FormSG",
33
"description": "Form Manager for Government",
4-
"version": "6.268.1",
4+
"version": "6.269.0",
55
"homepage": "https://form.gov.sg",
66
"authors": [
77
"FormSG <[email protected]>"

0 commit comments

Comments
 (0)