Skip to content

Releases: x-govuk/govuk-frontend-aspnetcore

v2.2.1

11 Apr 14:48

Choose a tag to compare

Targets GOV.UK Frontend v5.2.0.

Fixes

Attribute encoding

Newly-refactored tag helpers now correctly encode their attributes.

v2.8.0

12 Jan 14:00

Choose a tag to compare

Targets GOV.UK Frontend v5.8.0.

v2.7.1

05 Jan 17:48

Choose a tag to compare

Targets GOV.UK Frontend v5.7.1.

v2.7.0

05 Jan 17:43

Choose a tag to compare

Targets GOV.UK Frontend v5.7.0.

v2.6.0

05 Jan 17:37

Choose a tag to compare

Targets GOV.UK Frontend v5.6.0.

v2.5.0

05 Jan 17:33

Choose a tag to compare

Targets GOV.UK Frontend v5.5.0.

v2.4.0

05 Jan 17:28

Choose a tag to compare

Targets GOV.UK Frontend v5.4.1.

Tag helper changes

<govuk-breadcrumbs> tag helper

A label-text attribute has been added.

v2.3.1

05 Jan 12:48

Choose a tag to compare

Targets GOV.UK Frontend v5.3.1.

Removes HtmlTags references.

v2.3.0

05 Jan 12:32

Choose a tag to compare

Targets GOV.UK Frontend v5.3.1 and .NET 8.

New features

DateInputAttribute

This attribute can be added to properties that are model bound from date input components. It allows overriding the prefix used for error messages e.g.

[DateInput(ErrorMessagePrefix = "Your date of birth")]
public DateOnly? DateOfBirth { get; set; }

Tag helper changes

<govuk-input> tag helper

An autocapitalize attribute has been added.
Attributes can be set on the input wrapper element by specifying input-wrapper-* attributes.

Fixes

Page template

Fix duplicate PathBase in OpengraphImageUrl in page template view.

v2.2.0

02 Aug 12:15

Choose a tag to compare

Targets GOV.UK Frontend v5.2.0.