chore(deps): update dependency astro to v5.7.14 #50
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:
5.7.4
->5.7.14
Release Notes
withastro/astro (astro)
v5.7.14
Compare Source
Patch Changes
#13773
3aa5337
Thanks @sijad! - Ignores lightningcss unsupported pseudo-class warning.#13833
5a6d2ae
Thanks @ascorbic! - Fixes an issue where session modules would fail to resolve in Node.js < 20.6#13383
f7f712c
Thanks @Haberkamp! - Stop toolbar settings from overflowing#13794
85b19d8
Thanks @alexcarpenter! - Exclude pre tags froma11y-no-noninteractive-tabindex
audit check.#13373
50ef568
Thanks @jpwienekus! - Fixes a bug where highlights and tooltips render over the audit list window.#13769
e9fc456
Thanks @romanstetsyk! - Expand ActionError codes to include all IANA-registered HTTP error codes.#13668
866285a
Thanks @sapphi-red! - Replaces internal CSS chunking behavior for Astro components' scoped styles to use Vite'scssScopeTo
feature. The feature is a port of Astro's implementation so this should not change the behavior.v5.7.13
Compare Source
Patch Changes
#13761
a2e8463
Thanks @jp-knj! - Adds new content collections errors#13788
7d0b7ac
Thanks @florian-lefebvre! - Fixes a case where an error would not be thrown when using the<Font />
component from the experimental fonts API without adding fonts in the Astro config#13784
d7a1889
Thanks @florian-lefebvre! - Fixes the experimental fonts API to correctly takeconfig.base
,config.build.assets
andconfig.build.assetsPrefix
into account#13777
a56b8ea
Thanks @L4Ph! - Fixed an issue where looping GIF animation would stop when converted to WebP#13566
0489d8f
Thanks @TheOtterlord! - Fix build errors being ignored when build.concurrency > 1v5.7.12
Compare Source
Patch Changes
#13752
a079c21
Thanks @florian-lefebvre! - Improves handling of font URLs not ending with a file extension when using the experimental fonts API#13750
7d3127d
Thanks @martrapp! - Allows the ClientRouter to open new tabs or windows when submitting forms by clicking while holding the Cmd, Ctrl, or Shift key.#13765
d874fe0
Thanks @florian-lefebvre! - Fixes a case where font sources with relative protocol URLs would fail when using the experimental fonts API#13640
5e582e7
Thanks @florian-lefebvre! - Allows inferringweight
andstyle
when using the local provider of the experimental fonts APIIf you want Astro to infer those properties directly from your local font files, leave them undefined:
v5.7.11
Compare Source
Patch Changes
#13734
30aec73
Thanks @ascorbic! - Loosen content layer schema types#13751
5816b8a
Thanks @florian-lefebvre! - Updatesunifont
to support subsets when using thegoogle
provider with the experimental fonts API#13756
d4547ba
Thanks @florian-lefebvre! - Adds a terminal warning when a remote provider returns no data for a family when using the experimental fonts API#13742
f599463
Thanks @florian-lefebvre! - Fixes optimized fallback css generation to properly add asrc
when using the experimental fonts API#13740
6935540
Thanks @vixalien! - Fix cookies set after middleware did a rewrite withnext(url)
not being applied#13759
4a56d0a
Thanks @jp-knj! - Improved the error handling of certain error cases.v5.7.10
Compare Source
Patch Changes
c3e80c2
Thanks @jsparkdev! - update vite to latest version for fixing CVEv5.7.9
Compare Source
Patch Changes
2103991
Thanks @ascorbic! - Fixes height for responsive imagesv5.7.8
Compare Source
Patch Changes
b32dffa
Thanks @florian-lefebvre! - Updatesunifont
to fix a case where aunicodeRange
related error would be thrown when using the experimental fonts APIv5.7.7
Compare Source
Patch Changes
#13705
28f8716
Thanks @florian-lefebvre! - Updates unifont to latest and adds support forfetch
options from remote providers when using the experimental fonts API#13692
60d5be4
Thanks @Le0Developer! - Fixes a bug where Astro couldn't probably useinferSize
for images that contain apostrophe'
in their name.#13698
ab98f88
Thanks @sarah11918! - Improves the configuration reference docs for theadapter
entry with more relevant text and links.#13706
b4929ae
Thanks @ascorbic! - Fixes typechecking for content config schema#13653
a7b2dc6
Thanks @florian-lefebvre! - Reduces the amount of preloaded files for the local provider when using the experimental fonts API#13653
a7b2dc6
Thanks @florian-lefebvre! - Fixes a case where invalid CSS was emitted when using an experimental fonts API family name containing a spacev5.7.6
Compare Source
Patch Changes
#13703
659904b
Thanks @ascorbic! - Fixes a bug where empty fallbacks could not be provided when using the experimental fonts API#13680
18e1b97
Thanks @florian-lefebvre! - Improves theUnsupportedExternalRedirect
error message to include more details such as the concerned destination#13703
659904b
Thanks @ascorbic! - Simplifies styles for experimental responsive imagesThe generated styles for image layouts are now simpler and easier to override. Previously the responsive image component used CSS to set the size and aspect ratio of the images, but this is no longer needed. Now the styles just include
object-fit
andobject-position
for all images, and setsmax-width: 100%
for constrained images andwidth: 100%
for full-width images.This is an implementation change only, and most users will see no change. However, it may affect any custom styles you have added to your responsive images. Please check your rendered images to determine whether any change to your CSS is needed.
The styles now use the
:where()
pseudo-class, which has a specificity of 0, meaning that it is easy to override with your own styles. You can now be sure that your own classes will always override the applied styles, as will global styles onimg
.An exception is Tailwind 4, which uses cascade layers, meaning the rules are always lower specificity. Astro supports browsers that do not support cascade layers, so we cannot use this. If you need to override the styles using Tailwind 4, you must use
!important
classes. Do check if this is needed though: there may be a layout that is more appropriate for your use case.#13703
659904b
Thanks @ascorbic! - Adds warnings about using local font files in thepublicDir
when the experimental fonts API is enabled.#13703
659904b
Thanks @ascorbic! - Renames experimental responsive image layout option from "responsive" to "constrained"The layout option called
"responsive"
is renamed to"constrained"
to better reflect its behavior.The previous name was causing confusion, because it is also the name of the feature. The
responsive
layout option is specifically for images that are displayed at the requested size, unless they do not fit the width of their container, at which point they would be scaled down to fit. They do not get scaled beyond the intrinsic size of the source image, or thewidth
prop if provided.It became clear from user feedback that many people (understandably) thought that they needed to set
layout
toresponsive
if they wanted to use responsive images. They then struggled with overriding styles to make the image scale up for full-width hero images, for example, when they should have been usingfull-width
layout. Renaming the layout toconstrained
should make it clearer that this layout is for when you want to constrain the maximum size of the image, but allow it to scale-down.Upgrading
If you set a default
image.experimentalLayout
in yourastro.config.mjs
, or set it on a per-image basis using thelayout
prop, you will need to change all occurences toconstrained
:v5.7.5
Compare Source
Patch Changes
#13660
620d15d
Thanks @mingjunlu! - Addsserver.allowedHosts
docs comment toAstroUserConfig
#13591
5dd2d3f
Thanks @florian-lefebvre! - Removes unused code#13669
73f24d4
Thanks @ematipico! - Fixes an issue whereAstro.originPathname
wasn't returning the correct value when using rewrites.#13674
42388b2
Thanks @florian-lefebvre! - Fixes a case where an experimental fonts API error would be thrown when using anotherastro:assets
API#13654
4931457
Thanks @florian-lefebvre! - FixesfontProviders.google()
so it can forward options to the unifont provider, when using the experimental fonts APIUpdated dependencies [
5dd2d3f
]: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 becomes conflicted, 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.