Skip to content

Bump GovUk.Frontend.AspNetCore from 3.5.1 to 4.0.0#3247

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/nuget/TeachingRecordSystem/GovUk.Frontend.AspNetCore-4.0.0
Open

Bump GovUk.Frontend.AspNetCore from 3.5.1 to 4.0.0#3247
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/nuget/TeachingRecordSystem/GovUk.Frontend.AspNetCore-4.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 31, 2026

Updated GovUk.Frontend.AspNetCore from 3.5.1 to 4.0.0.

Release notes

Sourced from GovUk.Frontend.AspNetCore's releases.

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.
Use empty <govuk-footer-content-licence> and <govuk-footer-content-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.

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.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Mar 31, 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 .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants