Skip to content

build: release v6.70.0 - #6620

Closed
wanlingt wants to merge 14 commits into
release-al2from
release_v6.70.0
Closed

build: release v6.70.0#6620
wanlingt wants to merge 14 commits into
release-al2from
release_v6.70.0

Conversation

@wanlingt

Copy link
Copy Markdown
Contributor

New

  • chore: Added react dev inspector #6611
  • feat: filter out API details from user object #6588
  • docs: update feature section of README #6603
  • chore: remove angular deps #6602
  • chore: remove customMin and customMax virtuals #6596
  • build: merge v6.69.0 into develop #6601
  • build: release v6.69.0 #6600

Dependencies

  • fix(deps): bump libphonenumber-js from 1.10.40 to 1.10.41 in /shared #6616
  • fix(deps): bump libphonenumber-js from 1.10.39 to 1.10.40 in /shared #6614
  • fix(deps): bump type-fest from 4.1.0 to 4.2.0 in /shared #6610
  • fix(deps): bump import-in-the-middle from 1.3.4 to 1.4.2 #6609
  • fix(deps): bump validator from 13.9.0 to 13.11.0 in /shared #6605
  • fix(deps): bump libphonenumber-js from 1.10.38 to 1.10.39 in /shared #6594

Dev-Dependencies

  • chore(deps-dev): bump @types/lodash from 4.14.196 to 4.14.197 in /shared #6612

Tests

chore: Added react dev inspector #6611

  • Start FormSG locally and press "Control + Shift + C". Click any component and it should redirect you to the corresponding LOC in vs code.

Deploy Notes

New dependencies:

  • dependency : React Dev Inspector

New dev dependencies:

  • dependency : React Dev Inspector

feat: filter out API details from user object #6588

  • Update a user with the apiToken property ({keyHash: .., createdAt:.., lastUsedAt:.. }). Check that none of the following queries returns the apiToken property with the user object:
    • GET /api/v3/admin/forms - visit admin form dashboard page
    • POST /api/v3/auth/otp/verify - log out and log in again
    • GET /api/v3/user - visit admin form dashboard page
    • POST /user/contact/otp/verify - verify contact OTP

chore: remove customMin and customMax virtuals #6596

  • For each combination of (min/max/exact) for (number / short text / long text) field:
    • Create a field with the validation. This should work.
    • Modify the validation options. This should work.
    • Attempt to submit a form with a response not satisfying the validation option. This should trigger an error on the frontend.
    • Attempt to submit a form with a response satisfying the validation option. This should work.

dependabot Bot and others added 14 commits August 7, 2023 06:22
…6594)

Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.38 to 1.10.39.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.38...v1.10.39)

---
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>
build: merge v6.69.0 into develop
Removed from number field and text field schemas
Bumps [validator](https://github.com/validatorjs/validator.js) from 13.9.0 to 13.11.0.
- [Release notes](https://github.com/validatorjs/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](validatorjs/validator.js@13.9.0...13.11.0)

---
updated-dependencies:
- dependency-name: validator
  dependency-type: direct:production
  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>
* docs: update feature section of README

* docs: remove E2E wording for encryption
Bumps [import-in-the-middle](https://github.com/DataDog/import-in-the-middle) from 1.3.4 to 1.4.2.
- [Release notes](https://github.com/DataDog/import-in-the-middle/releases)
- [Commits](nodejs/import-in-the-middle@v1.3.4...v1.4.2)

---
updated-dependencies:
- dependency-name: import-in-the-middle
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](sindresorhus/type-fest@v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: type-fest
  dependency-type: direct:production
  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>
…red (#6612)

Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.196 to 4.14.197.
- [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: restrict user fields to email and agency

* feat: remove apiToken property from populated user

* test: return correct admin properties in tests

* feat: remove apiToken from user queries

* feat: filter out apiToken in user model

* test: revert changes made to tests

* fix: remove line breaks

* fix: refine mongoose setup

* test: add check for apiToken property
* added react dev inspector

* moved react dev inspector to dev dependency

* changed command to trigger inspector
…6614)

Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.39 to 1.10.40.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.39...v1.10.40)

---
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>
…6616)

Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.40 to 1.10.41.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.40...v1.10.41)

---
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>
@wanlingt

Copy link
Copy Markdown
Contributor Author

Closed as we want to merge in another PR #6301

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.

4 participants