Skip to content

Bump GovUk.Frontend.AspNetCore from 3.2.3 to 4.3.0#225

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/GovUk.Frontend.AspNetCore-4.3.0
Open

Bump GovUk.Frontend.AspNetCore from 3.2.3 to 4.3.0#225
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/GovUk.Frontend.AspNetCore-4.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 20, 2026

Copy link
Copy Markdown

Updated GovUk.Frontend.AspNetCore from 3.2.3 to 4.3.0.

Release notes

Sourced from GovUk.Frontend.AspNetCore's releases.

4.3.0

Targets GOV.UK Frontend v6.3.0.

Added tag helpers for the generic header component.

Added GetJavascriptFileName() and GetStylesheetFileName() methods to PageTemplateHelper.

4.2.1

Targets GOV.UK Frontend v6.2.0.

Fixes

Fixes including copied assets in static asset manifest generation.

4.2.0

Targets GOV.UK Frontend v6.2.0.

govuk-frontend asset support

SASS support

A SASS module has been added that provides functions for creating image and font URLs with a versioned query parameter.
When this query parameter is included in a request URL, middleware will add long-lived cache headers to the response, allowing aggressive caching of assets.
See the SASS sample for an example of how to use this.

MSBuild property changes

[!NOTE]
The following changes only apply if you have enabled RestoreGovUkFrontendNpmPackage in your project file.

The RestoreGovUkFrontendNpmPackage, GovUkFrontendNpmPackageLocation and CopyGovUkFrontendAssetsToWebRoot MSBuild properties have been deprecated.
In their place is EnableGovUkFrontendSupport, GovUkFrontendNpmPackageDirectory, GovUkFrontendAssetsDirectory, GovUkFrontendJavaScriptDirectory and
GovUkFrontendStylesheetDirectory, enabling more fine-grained control over assets.

Static file support

The _GovUkPageTemplate.cshtml layout view now supports static files.

Tag helpers

<govuk-file-upload> now supports attributes for customising the text used by the JavaScript-enhanced file upload component:
choose-files-button-text, drop-instruction-text, entered-drop-zone-text, left-drop-zone-text,
multiple-files-chosen-text-one, multiple-files-chosen-text-other and no-file-chosen-text.

Fixes

Fixes default navigation ID and menu button text on service navigation components.

Fixes Cache-Control header value for hosted stylesheet, javascript and static assets.

Fixes default button content on <govuk-password-input>.

4.1.1

Targets GOV.UK Frontend v6.1.0.

New features

Adds AddPageError extension method to HttpContext.

4.1.0

Targets GOV.UK Frontend v6.1.0.

Tag helpers

<govuk-header> can now have additional content specified.

The summary list tag helpers now support short tag name syntax.

4.0.1

Targets GOV.UK Frontend v6.0.0.

Fixes

Removes some redundant properties from HeaderOptions.

Amends attribute propagation on <govuk-service-navigation-nav-item> to copy extra attributes onto generated <li> instead of the inner link.
Attributes for the <a> element can still be specified by using link-* attributes.

4.0.0

Targets GOV.UK Frontend v6.0.0.

_GovUkPageTemplate view changes

Additional sections and ViewData keys have been added.

Breaking changes

Page template

If you are using the _GovUkPageTemplate view, you may need to update your views to use the new section names.
Specifically, if you where using the Header section, consider using the GovUkHeader and/or GovUkServiceNavigation sections instead.
Similarly, if you were using the Footer section, consider using the GovUkFooter section instead.

See src/GovUk.Frontend.AspNetCore/Views/_GovUkPageTemplate.cshtml for the complete view implementation.

Tag helpers

The deprecated asp-for attribute has been removed from the tag helpers that generate form elements; the for attribute should be used instead.

The content licence and copyright sections are no longer included in the footer by default with the <govuk-footer> tag helper.
Add <govuk-footer-content-licence /> and <govuk-footer-copyright /> elements to include these sections if needed.

The deprecated gfa-error-prefix attribute on <title> elements has been removed; the error-prefix attribute should be used instead.

The deprecated is-current attribute on <govuk-pagination-item> has been removed; the current attribute should be used instead.

GovUkFrontEndOptions

The deprecated StaticAssetsContentPath, CompiledContentPath, PrependErrorSummary properties on GovUkFrontendOptions have been removed.
The Rebrand option has also been removed.

New features

Adds support for the password tag helper's show/hide customisation.

Infer type attribute on <govuk-input> from the model metadata when type is not specified.

Fixes

Fix error summary when items are specified with an explicit href attribute.

3.5.1

Targets GOV.UK Frontend v5.14.0.

New features

Adds support for the password tag helper's show/hide customisation.

Fixes

Fix error summary when items are specified with an explicit href attribute.

3.5.0

Targets GOV.UK Frontend v5.14.0.

3.4.3

Targets GOV.UK Frontend v5.13.0.

Fixes

Fixes default back link content.

Fixes generated error summary to not swallow content.

3.4.2

Targets GOV.UK Frontend v5.13.0.

Fixes

Fix id attribute name on <govuk-notification-banner>.

Fix mangling non-conformant HTML blocks.

Fix missing whitespace after 'Error:' in error messages.

3.4.1

Targets GOV.UK Frontend v5.13.0.

New features

Password input

Tag helpers have been added to create a password input component.

readonly attribute

A readonly attribute has been added to the <govuk-character-count>, <govuk-date-input>, <govuk-input> and <govuk-textarea> tag helpers.

Fixes

Fix <govuk-date-input-hint> when used inside a <govuk-date-input-fieldset>.

3.4.0

Targets GOV.UK Frontend v5.13.0.

New features

<govuk-date-input>

The prefix used for generated error messages can now be specified by an error-message-prefix attribute on <govuk-date-input>
instead of using [DateInput(ErrorMessagePrefix = "...")] on the model property.

<govuk-input>

<govuk-input-before-input> and <govuk-input-after-input> tag helpers have been added that allow providing content to render before and after the generated <input> element for text input components, respectively.

Fixes

Fix adding additional classes to <govuk-pagination>.

3.3.0

Targets GOV.UK Frontend v5.12.0.

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: GovUk.Frontend.AspNetCore
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jul 20, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dotnet. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants