-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency govuk.frontend.aspnetcore to v2 #281
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/govuk.frontend.aspnetcore-2.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0d0896c
to
fde25a5
Compare
0def959
to
f9f659c
Compare
9d1f9f8
to
78e888d
Compare
e73ef6e
to
ce74e63
Compare
975bb57
to
325ad76
Compare
325ad76
to
be2eb89
Compare
959a194
to
adaa4c9
Compare
17f65c8
to
c2959e7
Compare
acb3f22
to
e07c513
Compare
325280b
to
1151c7e
Compare
5e3de16
to
2a8b862
Compare
51e2052
to
d243587
Compare
9d64219
to
edb3693
Compare
98c711d
to
6a382b1
Compare
6a382b1
to
3a84bcb
Compare
adec745
to
550d7a3
Compare
550d7a3
to
3cdf9ca
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.5.0
->2.8.0
Release Notes
gunndabad/govuk-frontend-aspnetcore (GovUk.Frontend.AspNetCore)
v2.8.0
Targets GOV.UK Frontend v5.8.0.
v2.7.1
Targets GOV.UK Frontend v5.7.1.
v2.7.0
Targets GOV.UK Frontend v5.7.0.
v2.6.0
Targets GOV.UK Frontend v5.6.0.
v2.5.0
Targets GOV.UK Frontend v5.5.0.
v2.4.0
Targets GOV.UK Frontend v5.4.1.
Tag helper changes
<govuk-breadcrumbs>
tag helperA
label-text
attribute has been added.v2.3.1
Removes
HtmlTags
references.v2.3.0
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.
Tag helper changes
<govuk-input>
tag helperAn
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
Targets GOV.UK Frontend v5.2.0.
v2.1.0
Page template
The
StaticAssetsContentPath
andCompiledContentPath
properties onGovUkFrontendOptions
have been changed fromstring
toPathString?
.The
GenerateScriptImports
,GenerateStyleImports
andGetCspScriptHashes
methods onPageTemplateHelper
and the corresponding extension methods overIHtmlHelper
have had overloads added that take a
PathString pathBase
parameter.The
_GovUkPageTemplate.cshtml
view has been fixed to respectHttpRequest.PathBase
.Middleware has been added to rewrite the URL references in
all.min.css
to respectHttpRequest.PathBase
and theStaticAssetsContentPath
.v2.0.1
Page template
New overloads of
GenerateScriptImports
andGenerateStyleImports
have been added that accept anappendVersion
parameter.This appends a query string with a hash of the file's contents so that content changes following upgrades are seen by end users.
A
GetCspScriptHashes
extension method onIHtmlHelper
has been added that forwards to the same method onPageTemplateHelper
.v2.0.0
Targets GOV.UK Frontend v5.1.0.
New features
GOV.UK Frontend hosting options
Previously the GOV.UK Frontend library's assets were always hosted at the root of the application.
Many applications generate their own CSS and/or JavaScript bundles and don't need the standard versions at all, though they likely still need the static assets (fonts, images etc.).
There are now two properties on
GovUkFrontendOptions
to control the hosting of the static assets and the compiled assets -StaticAssetsContentPath
(default/assets
) andCompiledContentPath
(default/govuk
), respectively.Applications that build and reference their own CSS and JavaScript can set
CompiledContentPath
tonull
to skip hosting the standard compiled assets. Similarly, settingStaticAssetsContentPath
tonull
will skip hosting the static assets.Page template
PageTemplateHelper
and the_GovUkPageTemplate.cshtml
view have been updated to respect theStaticAssetsContentPath
andCompiledContentPath
paths set onGovUkFrontendOptions
.An additional
ViewData
key can now be passed to_GovUkPageTemplate.cshtml
-AssetPath
. When specified, it will be used in place of theStaticAssetsContentPath
value fromGovUkFrontendOptions
for referencing static asserts.GovUkFrontendJsEnabledScript
,GovUkFrontendScriptImports
andGovUkFrontendStyleImports
extension methods have been added overIHtmlHelper
that wrap theGenerateJsEnabledScript
,GovUkFrontendScriptImports
andGovUkFrontendStyleImports
methods onPageTemplateHelper
, respectively.Tag helper changes
bool
tag helper properties have been changed tobool?
.This is so that it's possible to differentiate between properties that have been explicitly initialized and those that have been left at the default values.
With this, other tag helpers or tag helper initializers can be created that assign default values to these properties.
Breaking changes
AddImportsToHtml
This option was used to automatically add style and JavaScript imports to all Razor views.
PageTemplateHelper
and the_GovUkPageTemplate.cshtml
layout view are better ways to generate a full page template now so this option, along with the backing tag helper component, have been removed.Fixes
Page template
The
og:image
meta
tag in the_GovUkPageTemplate.cshtml
view is now an absolute URL.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.