Skip to content

Commit

Permalink
Merge pull request #7945 from opengovsg/release_v6.166.0
Browse files Browse the repository at this point in the history
build: release v6.166.0
  • Loading branch information
kevin9foong authored Nov 26, 2024
2 parents ee9254e + c51e807 commit ea8401c
Show file tree
Hide file tree
Showing 93 changed files with 3,519 additions and 4,691 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,33 @@ All notable changes to this project will be documented in this file. Dates are d

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

#### [v6.166.0](https://github.com/opengovsg/FormSG/compare/v6.165.0...v6.166.0)

- feat(mrf): conditional routing [`#7804`](https://github.com/opengovsg/FormSG/pull/7804)
- fix: trim text input before sending to backend [`#7937`](https://github.com/opengovsg/FormSG/pull/7937)
- test(story): add chromatic story to ensure thankyou page renders [`#7264`](https://github.com/opengovsg/FormSG/pull/7264)
- chore: remove unused deps [`#7906`](https://github.com/opengovsg/FormSG/pull/7906)
- feat(i18n): extract text from admin-form prompts [`#7931`](https://github.com/opengovsg/FormSG/pull/7931)
- fix(deps): bump libphonenumber-js from 1.11.14 to 1.11.15 in /shared [`#7936`](https://github.com/opengovsg/FormSG/pull/7936)
- chore(deps-dev): bump @playwright/test from 1.45.1 to 1.49.0 [`#7923`](https://github.com/opengovsg/FormSG/pull/7923)
- chore(FE): cleanup date check on sex field [`#7922`](https://github.com/opengovsg/FormSG/pull/7922)
- chore(FE): use consistent vite port for dev with README [`#7930`](https://github.com/opengovsg/FormSG/pull/7930)
- feat(i18n): move workspace relative date format [`#7929`](https://github.com/opengovsg/FormSG/pull/7929)
- build: release v6.165.0 [`#7928`](https://github.com/opengovsg/FormSG/pull/7928)
- build: release v6.165.0 [`#7927`](https://github.com/opengovsg/FormSG/pull/7927)
- feat(i18n): extract text for form metadata [`#7926`](https://github.com/opengovsg/FormSG/pull/7926)

#### [v6.165.0](https://github.com/opengovsg/FormSG/compare/v6.164.0...v6.165.0)

> 20 November 2024

- chore(approvals-ga): remove beta flag for MRF email notifications and approvals [`#7920`](https://github.com/opengovsg/FormSG/pull/7920)
- chore(deps-dev): bump @typescript-eslint/parser from 8.14.0 to 8.15.0 in /shared [`#7911`](https://github.com/opengovsg/FormSG/pull/7911)
- fix(deps): bump @aws-sdk/client-lambda from 3.654.0 to 3.693.0 [`#7910`](https://github.com/opengovsg/FormSG/pull/7910)
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.14.0 to 8.15.0 in /shared [`#7912`](https://github.com/opengovsg/FormSG/pull/7912)
- build: merge release v6.164.0 to develop [`#7921`](https://github.com/opengovsg/FormSG/pull/7921)
- build: release v6.164.0 [`#7919`](https://github.com/opengovsg/FormSG/pull/7919)
- chore: bump version to v6.165.0 [`7984ee9`](https://github.com/opengovsg/FormSG/commit/7984ee906d7c6eef156a15569694f9c6784f9e8a)

#### [v6.164.0](https://github.com/opengovsg/FormSG/compare/v6.163.0...v6.164.0)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ npm run dev

After the Docker image has finished building, the following local applications can be accessed:

- React application can be accessed at [localhost:3000](localhost:3000)
- React application can be accessed at [localhost:5173](localhost:5173)
- The backend API server can be accessed at [localhost:5001](localhost:5001)
- The development mail server can be accessed at [localhost:1080](localhost:1080)

Expand Down
2 changes: 0 additions & 2 deletions __tests__/integration/helpers/express-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import compression from 'compression'
import cookieParser from 'cookie-parser'
import express, { Express, Router } from 'express'
import session from 'express-session'
import nocache from 'nocache'

import { errorHandlerMiddlewares } from 'src/app/loaders/express/error-handler'
import helmetMiddlewares from 'src/app/loaders/express/helmet'
Expand Down Expand Up @@ -37,7 +36,6 @@ export const setupApp = (
app.use(compression())
app.use(parserMiddlewares())
app.use(helmetMiddlewares())
app.use(nocache())

app.use(testSessionMiddlewares())

Expand Down
13 changes: 0 additions & 13 deletions docs/TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,6 @@ conf.members[0].host = 'database:27017'
rs.reconfig(conf, {force:true})
```

## `TypeError: Cannot read property 'tap' of undefined`

If you are using a machine with an M1 chip, you may be facing this issue due to your `node` installation, as an inappropriate version of `node` would cause more updated versions of `webpack` to be installed and thus introduces breaking changes in the code.

To overcome this, use Rosetta to install `node` in -x86_64 architecture as described in the "Macs with M1 chip" section [here](https://github.com/nvm-sh/nvm#macos-troubleshooting).

Be sure to check that the correct `node` is installed with:

```bash
$ node -p process.arch
x64
```

## `npm` not found

Make sure `nvm` is loaded to the environment in `~/.bash_profile`. To do so, the `~/.bash_profile` should include the following lines:
Expand Down
Loading

0 comments on commit ea8401c

Please sign in to comment.