Skip to content

Releases: daniel-ac-martin/NotGovUK

Cypress v13

02 Aug 14:17
Compare
Choose a tag to compare

Updates to Cypress v13 (from v10), which has some breaking changes.

Also include misc patch changes of various dependencies.

To migrate:

  • testIsolation should be set to false under e2e in cypress.config.mjs. (Unless you update your tests to support this.)
  • The 'process' NPM module should be installed into the base of your repository. (pnpm install -wD process)
  • videoUploadOnPasses should be removed from cypress.config.mjs. (and perhaps replaced with video)

See:

Tudor crown

17 Feb 21:52
Compare
Choose a tag to compare

Adds support for the Tudor crown of King Charles III, which should be used from 19th February 2024.

New components, better authentication and sessions

03 Sep 22:21
Compare
Choose a tag to compare

Provides some new components, better authentication (especially OpenID Connect) and better session support.

New components:

  • SummaryList
  • SummaryCard
  • ErrorSummary
  • NotificationBanner

Potentially BREAKING:

  • Support for Node.js v14 has been dropped

Better component testing

21 Feb 15:08
Compare
Choose a tag to compare

Provides better support for component testing with react-testing-library.

Also:

  • We now run on Node.js v18 by default.

BREAKING:

** Potentially BREAKING:**

  • webpack-cli has been updated from v4 to v5.
  • webpack-dev-middleware has been updated from v5 to v6.
  • Applications now listen on IPv6 by default. See #705.

Pagination component

10 Feb 20:10
Compare
Choose a tag to compare

Adds the Pagination component and some accessibility fixes.

Potentially BREAKING changes:

  • govuk-frontend updated from v3 to v4
  • restify updated from v8 to v11

Functional testing, Readiness checks, and new logging options

05 Apr 15:28
07aba49
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Node.js v12 is no-longer officially supported. Please update to Node.js v14.

New features:

  • Functional testing support via Cypress.io
  • Readiness checks
  • Better CI/CD pipelines
  • CookieBanner component has been added
  • New logging options:
    1. Set the logging destination by passing a filename in logger.destination to the engine
    2. Set the logging level by passing a string of the log level in logger.level to the engine

Documented form components

07 Oct 12:49
1fbf485
Compare
Choose a tag to compare

This has a breaking change as buttons are now defined as <Button>Text</Button>.

Basic authentication

22 Aug 21:56
465c3cd
Compare
Choose a tag to compare

Basic authentication can now be enabled on new applications by using the following environment variables:

  • AUTH_METHOD = basic
  • AUTH_USERNAME (set to the username you want users to supply)
  • AUTH_PASSWORD (set to the password you want users to supply)
  • PRIVACY = true (to apply the authentication to the entire website)

Deployment pipeline generator

27 Jun 22:54
6906ac2
Compare
Choose a tag to compare

Within an application or prototype you can now run npm run create:deployment to generate a deployment pipeline. Heroku and Netlify are currently supported.

Page generator

23 Jun 21:50
2849051
Compare
Choose a tag to compare

Allows new pages to be generated inside an application with the command npm run create:page.