Skip to content

Tags: DEFRA/epr-frontend

Tags

0.65.0

Toggle 0.65.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PAE-391: add mitigation for useragent vulnerability (#129)

0.64.0

Toggle 0.64.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PAE-392: add Content Security Policy (#127)

0.63.0

Toggle 0.63.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PAE-385 - implement url i18n (#126)

* PAE-385 - implement url i18n

* updating tests and language tag

* removing comments

* Update src/server/common/helpers/i18next.test.js

Co-authored-by: David Lusby <[email protected]>

* Update src/server/common/helpers/i18next.test.js

Co-authored-by: David Lusby <[email protected]>

* Update src/server/common/helpers/i18next.test.js

Co-authored-by: David Lusby <[email protected]>

* Update src/server/common/helpers/i18next.test.js

Co-authored-by: David Lusby <[email protected]>

* error fix

---------

Co-authored-by: David Lusby <[email protected]>

0.62.0

Toggle 0.62.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PAE-396: Implement frontend polling for summary log upload progress (#…

…123)

* refactor(summary-logs): poll backend for status instead of CDP Uploader

Changes frontend to poll backend GET endpoint for summary log status
rather than polling CDP Uploader directly. This aligns with the new
architecture where backend manages authoritative state via callbacks
from CDP Uploader.

The backend now receives upload-completed callbacks and updates the
summary log state in the database (preprocessing, validating, rejected,
invalid, validated, submitted). Frontend polls backend every 3 seconds
during non-terminal states and stops polling once terminal state reached.

Removes session-based state management and CDP Uploader polling logic.
All state transitions now controlled by backend, providing single source
of truth for upload status.

* Handle 404 as preprocessing state during polling

* Fix SonarCloud issues and use http-status-codes

* Fix upload error handling to redirect from progress page

When an upload is rejected by CDP Uploader, the progress controller
now redirects to the upload page with the error message in session,
rather than displaying the error on the progress page itself.

This ensures the error is displayed on the upload form where users
expect to see upload-related errors, maintaining consistency with
the GDS error pattern.

- Add redirect logic for rejected status in progress controller
- Update tests to expect redirect instead of error display
- All journey tests and unit tests passing

* Fix SonarCloud code quality issues in upload progress controller

- Changed PROCESSING_STATES from array to Set for better performance on membership checks
- Updated .includes() calls to .has() for Set compatibility
- Extracted duplicated view name string to VIEW_NAME constant

0.61.0

Toggle 0.61.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump the dev group across 1 directory with 6 updates (#128)

Bumps the dev group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `24.8.1` | `24.9.1` |
| [@vitest/eslint-plugin](https://github.com/vitest-dev/eslint-plugin-vitest) | `1.3.20` | `1.3.23` |
| [eslint](https://github.com/eslint/eslint) | `9.37.0` | `9.38.0` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `61.1.4` | `61.1.5` |
| [msw](https://github.com/mswjs/msw) | `2.11.5` | `2.11.6` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.46.1` | `8.46.2` |



Updates `@types/node` from 24.8.1 to 24.9.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@vitest/eslint-plugin` from 1.3.20 to 1.3.23
- [Release notes](https://github.com/vitest-dev/eslint-plugin-vitest/releases)
- [Commits](vitest-dev/eslint-plugin-vitest@v1.3.20...v1.3.23)

Updates `eslint` from 9.37.0 to 9.38.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.37.0...v9.38.0)

Updates `eslint-plugin-jsdoc` from 61.1.4 to 61.1.5
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](gajus/eslint-plugin-jsdoc@v61.1.4...v61.1.5)

Updates `msw` from 2.11.5 to 2.11.6
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md)
- [Commits](mswjs/msw@v2.11.5...v2.11.6)

Updates `typescript-eslint` from 8.46.1 to 8.46.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.46.2/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.9.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: "@vitest/eslint-plugin"
  dependency-version: 1.3.23
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: eslint
  dependency-version: 9.38.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: eslint-plugin-jsdoc
  dependency-version: 61.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: msw
  dependency-version: 2.11.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: typescript-eslint
  dependency-version: 8.46.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

0.60.0

Toggle 0.60.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump pino from 10.0.0 to 10.1.0 in the prod group (#121)

Bumps the prod group with 1 update: [pino](https://github.com/pinojs/pino).


Updates `pino` from 10.0.0 to 10.1.0
- [Release notes](https://github.com/pinojs/pino/releases)
- [Commits](pinojs/pino@v10.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: pino
  dependency-version: 10.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

0.59.0

Toggle 0.59.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PAE-393: add coverageThreshold, deal with missing coverage (#125)

0.58.0

Toggle 0.58.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PAE-384 - setup-i18n-config-and-locale-loading (#119)

0.57.0

Toggle 0.57.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PAE-389: Supply callback URL to CDP Uploader (#118)

* Add callback URL to CDP Uploader for summary log uploads

* Make callback URL test less brittle

Simplified the test to check for the important parts (organisation ID and
registration ID in the callback URL) rather than coupling to the exact URL
structure and format. This reduces maintenance burden while still ensuring
we're passing the callback correctly.

0.56.0

Toggle 0.56.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PAE-372: upgrade redis to latest version (#115)