Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: release v6.122.0 #7351

Merged
merged 19 commits into from
May 29, 2024
Merged

build: release v6.122.0 #7351

merged 19 commits into from
May 29, 2024

Conversation

KenLSM
Copy link
Contributor

@KenLSM KenLSM commented May 29, 2024

New

  • docs(onboarding): touch up onboarding docs, update nvmrc #7348
  • chore: regenerate correct package-lock #7349
  • chore(mrf): update copy questions -> fields #7341
  • chore: Security upgrade react-email from 2.1.2 to 2.1.3 #7340
  • feat: upgrade prettier to v3 #7278
  • feat(i18n): stub public-facing locales #7288
  • feat: update eslint packages to stable latest versions #7277
  • chore: remove unused jwt-decode package #7202
  • fix: storybook folder to use base dir #7328
  • build: merge v6.121.0 into develop #7327
  • build: release v6.121.0 #7326

Dependencies

  • fix(deps): bump libphonenumber-js from 1.11.1 to 1.11.2 in /shared #7347
  • fix(deps): bump type-fest from 4.18.2 to 4.18.3 in /shared #7346
  • fix(deps): bump express-rate-limit from 6.7.0 to 7.2.0 #7164

Dev-Dependencies

  • chore(deps-dev): bump @types/lodash from 4.17.1 to 4.17.4 in /shared #7337
  • build(deps-dev): bump immer from 8.0.1 to 9.0.21 in /frontend #7289
  • chore(deps-dev): bump @types/lodash from 4.17.3 to 4.17.4 in /shared #7334
  • chore(deps-dev): bump @types/lodash from 4.17.1 to 4.17.3 in /shared #7332
  • chore(deps-dev): bump ts-jest from 29.0.5 to 29.1.2 #7329

Tests

justynoh and others added 19 commits May 14, 2024 11:53
build: merge v6.121.0 into develop
* fix: storybook folder to use base dir

* chore: mock fe changes to trigger chromatic

* Revert "chore: mock fe changes to trigger chromatic"

This reverts commit 3244eef.
* feat: update eslint packages to stable latest versions

not v9 for now since lots of breaking changes
plugin prettier also v4 for now, v5 breaks due to

* fix: add back missed storybook lint import

* fix: remove react-app eslint rules due to incompatibility with eslint

since we are still on CRA4

* fix: add react-hooks eslint plugin since react-app plugin is removed

* feat: add eslint rules to ignore explicit anys in test code

# Conflicts:
#	.eslintrc

* fix: ALL LINT ERRORS DUE TO ANYS

* feat: add looser eslint rules for test files
Bumps [express-rate-limit](https://github.com/express-rate-limit/express-rate-limit) from 6.7.0 to 7.2.0.
- [Release notes](https://github.com/express-rate-limit/express-rate-limit/releases)
- [Commits](express-rate-limit/express-rate-limit@v6.7.0...v7.2.0)

---
updated-dependencies:
- dependency-name: express-rate-limit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.0.5 to 29.1.2.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](kulshekhar/ts-jest@v29.0.5...v29.1.2)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat(i18n): stub locales for public-form

Identify common error messages that a member of the public might see
in a form page, and place them in a locale specifically for that.

TODO - Move some of the validation messages in common over to this

* refactor(i18n): use locale-specific errors in public form

- Replace hard-coded text in PublicFormProvider and related components
  with i18next equivalents
- Default server error messages to i18next keys, and in
  PublicFormProvider, attempt to use them as such. If they are not,
  use the response messages as-is.

* refactor(i18next): make translations optional

Allow translations to be optional, so that development is not
held back by waiting for translations.

Previously, these were required, so either the team waits for
translated text, or is forced to use placeholders. This either slows
the team down, or litters the codebase with unhelpful locale text
to be laboriously translated later.

- Allow features within Translation locales to be optional
  - Extend Translation to FallbackTranslation, which still makes them
    mandatory
- Declare en-sg as a FallbackTranslation
- Trim zh-sg to only have `login` translations, removing all other
  placeholder text

---------

Co-authored-by: Ken <ken@open.gov.sg>
…7332)

Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.1 to 4.17.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…7334)

Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.3 to 4.17.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: update eslint packages to stable latest versions

not v9 for now since lots of breaking changes
plugin prettier also v4 for now, v5 breaks due to

* fix: add back missed storybook lint import

* fix: remove react-app eslint rules due to incompatibility with eslint

since we are still on CRA4

* fix: add react-hooks eslint plugin since react-app plugin is removed

* feat: add eslint rules to ignore explicit anys in test code

# Conflicts:
#	.eslintrc

* fix: ALL LINT ERRORS DUE TO ANYS

* feat: add looser eslint rules for test files

* feat: upgrade prettier to v3

* fix: formatting changes

* fix: lint for shared

* fix: fix type issues on react-email templates on express server (#7279)

* fix: remove erroneous react type pkg install on root

* fix: add react-email package to root

so react-email templates has no type errors when rendering on the server

* fix: lint issues

* fix: add missing type variable

---------

Co-authored-by: Ken <ken@open.gov.sg>
Bumps [immer](https://github.com/immerjs/immer) from 8.0.1 to 9.0.21.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](immerjs/immer@v8.0.1...v9.0.21)

---
updated-dependencies:
- dependency-name: immer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…7337)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix: package.json & package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NEXT-6828457

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 4.18.2 to 4.18.3.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](sindresorhus/type-fest@v4.18.2...v4.18.3)

---
updated-dependencies:
- dependency-name: type-fest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…7347)

Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.11.1 to 1.11.2.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.11.1...v1.11.2)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
regenerate correct package-lock
Copy link
Contributor

@g-tejas g-tejas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@KenLSM KenLSM merged commit d71989c into release-al2 May 29, 2024
43 of 44 checks passed
@KenLSM KenLSM deleted the release_v6.122.0 branch May 29, 2024 07:18
@KenLSM KenLSM mentioned this pull request Jun 5, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants