fix(deps): update all minor dependencies #33
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:
^0.34.3
->^0.35.0
2.29.4
->2.29.5
0.10.0
->0.10.4
51.8.1
->51.8.2
5.9.2
->5.12.3
10.12.1
->10.13.1
0.34.2
->0.34.3
3.5.16
->3.5.18
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
withastro/starlight (@astrojs/starlight)
v0.35.1
Compare Source
Patch Changes
4cf28f2
Thanks @mniinio! - Adds Finnish language supportv0.35.0
Compare Source
Minor Changes
#2261
778b743
Thanks @shubham-padia! - Adds support for using any of Starlight’s built-in icons in asides.#3272
e7fe267
Thanks @delucis! - Adds a newgenerateId
option to Starlight’sdocsLoader()
This enables overriding the default sluggifier used to convert content filenames to URLs.
#3276
3917b20
Thanks @delucis! - Excludes banner content from search resultsPreviously, content set in
banner
in page frontmatter was indexed by Starlight’s default search provider Pagefind. This could cause unexpected search results, especially for sites setting a common banner content on multiple pages. Starlight’s defaultBanner
component is now excluded from search indexing.This change does not impact
Banner
overrides using custom components.#3266
1161af0
Thanks @HiDeoo! - Adds support for custom HTML attributes on autogenerated sidebar links using theautogenerate.attrs
option.#3274
80ccff7
Thanks @HiDeoo! - Fixes an issue where some Starlight remark and rehype plugins were transforming Markdown and MDX content in non-Starlight pages.Previously, some of Starlight’s remark and rehype plugins, most notably the plugin transforming Starlight's custom Markdown syntax for rendering asides, were applied to all Markdown and MDX content. This included content from individual Markdown pages and content from content collections other than the
docs
collection used by Starlight.This change restricts the application of Starlight’s remark and rehype plugins to only Markdown and MDX content loaded using Starlight's
docsLoader()
. If you were relying on this behavior, please let us know about your use case in the dedicated#starlight
channel in the Astro Discord or by opening an issue.Patch Changes
#3266
1161af0
Thanks @HiDeoo! - Ensures invalid sidebar group configurations using theattrs
option are properly reported as a type error.Previously, invalid sidebar group configurations using the
attrs
option were not reported as a type error but only surfaced at runtime. This change is only a type-level change and does not affect the runtime behavior of Starlight which does not support theattrs
option for sidebar groups.#3274
80ccff7
Thanks @HiDeoo! - Prevents Starlight remark and rehype plugins from transforming Markdown and MDX content when using the AstrorenderMarkdown()
content loader API.v0.34.8
Compare Source
Patch Changes
21fcd94
Thanks @HiDeoo! - Fixes a regression in Starlight version0.34.5
that caused multilingual sites with a default locale explicitly set toroot
to report a configuration error.v0.34.7
Compare Source
Patch Changes
7bd02e3
Thanks @HiDeoo! - Fixes a potential issue withabsolutePathToLang()
plugin API not handling paths with spaces correctly.v0.34.6
Compare Source
Patch Changes
88f0d34
Thanks @HiDeoo! - Fixes an issue preventing to override the slug of a page with theslug
frontmatter property using the/
value.v0.34.5
Compare Source
Patch Changes
#3282
7680e87
Thanks @alvinometric! - Moves padding of<main>
element to a--sl-main-pad
CSS custom property to simplify setting custom values#3288
131371e
Thanks @HiDeoo! - Fixes a potential configuration issue for multilingual sites with a default language including a regional subtag.v0.34.4
Compare Source
Patch Changes
#3205
95d124a
Thanks @sgalcheung! - Fixes an issue preventing to use the<StarlightPage>
component when thedocs
content collection that Starlight uses does not exist.#3206
e6ea584
Thanks @HiDeoo! - Fixes a text selection issue for heading with a clickable anchor link when using double click to select text in Chrome and Safari.#3233
3064c40
Thanks @torn4dom4n! - Updates Vietnamese UI translations.#3248
16c1239
Thanks @HiDeoo! - Prevents icons in the<Card>
component from being shrunk in some narrow viewports.#3225
21b93b8
Thanks @randomguy-2650! - Updates German UI translationschangesets/changesets (@changesets/cli)
v2.29.5
Compare Source
Patch Changes
#1693
6352819
Thanks @Andarist! - Fixed an issue withworkspace:^
andworkspace:~
dependency ranges not being semantically treated as, respectively,^CURRENT_VERSION
and~CURRENT_VERSION
. This led to dependent packages being, at times, bumped too often when their dependencies with those ranges were bumped.Updated dependencies [
6352819
]:slidevjs/slidev (@slidev/cli)
v51.8.2
Compare Source
🐞 Bug Fixes
🏎 Performance
View changes on GitHub
withastro/astro (astro)
v5.12.3
Compare Source
Patch Changes
#14119
14807a4
Thanks @ascorbic! - Fixes a bug that caused builds to fail if a client directive was mistakenly added to an Astro component#14001
4b03d9c
Thanks @dnek! - Fixes an issue wheregetImage()
assigned the resized base URL to the srcset URL ofImageTransform
, which matched the width, height, and format of the original image.v5.12.2
Compare Source
Patch Changes
#14071
d2cb35d
Thanks @Grisoly! - Exposes theCode
componentlang
prop type:#14111
5452ee6
Thanks @ascorbic! - Fixes a bug that prevented "key" from being used as a prop for Astro components in MDX#14106
b5b39e4
Thanks @ascorbic! - Exits with non-zero exit code when config has an error#14112
37458b3
Thanks @ascorbic! - Fixes a bug that meant that SVG components could no longer be serialized withJSON.stringify
#14061
c7a7dd5
Thanks @jonasgeiler! - Add module declaration for?no-inline
asset imports#14109
5a08fa2
Thanks @ascorbic! - Throw a more helpful error if defineLiveCollection is used outside of a live.config file#14110
e7dd4e1
Thanks @ascorbic! - Warn if duplicate IDs are found by file loaderv5.12.1
Compare Source
Patch Changes
#14094
22e9087
Thanks @ascorbic! - Correct types to allowpriority
on all images#14091
26c6b6d
Thanks @ascorbic! - Fixes a bug that caused a type error when defining session options without a driver#14082
93322cb
Thanks @louisescher! - Fixes an issue where Astro's default 404 route would incorrectly match routes containing "/404" in dev#14089
687d253
Thanks @florian-lefebvre! - Fixes a case whereastro:env
would not load the right environments variables in dev#14092
6692c71
Thanks @ascorbic! - Improves error handling in live collections#14074
144a950
Thanks @abcfy2! - Fixes a bug that caused some image service builds to fail#14092
6692c71
Thanks @ascorbic! - Fixes a case where zod could not be imported fromastro:content
virtual module in live collection configv5.12.0
Compare Source
Minor Changes
#13971
fe35ee2
Thanks @adamhl8! - Adds an experimental flagrawEnvValues
to disable coercion ofimport.meta.env
values (e.g. converting strings to other data types) that are populated fromprocess.env
Astro allows you to configure a type-safe schema for your environment variables, and converts variables imported via
astro:env
into the expected type.However, Astro also converts your environment variables used through
import.meta.env
in some cases, and this can prevent access to some values such as the strings"true"
(which is converted to a boolean value), and"1"
(which is converted to a number).The
experimental.rawEnvValues
flag disables coercion ofimport.meta.env
values that are populated fromprocess.env
, allowing you to use the raw value.To enable this feature, add the experimental flag in your Astro config:
If you were relying on this coercion, you may need to update your project code to apply it manually:
See the experimental raw environment variables reference docs for more information.
#13941
6bd5f75
Thanks @aditsachde! - Adds support for TOML files to Astro's built-inglob()
andfile()
content loaders.In Astro 5.2, Astro added support for using TOML frontmatter in Markdown files instead of YAML. However, if you wanted to use TOML files as local content collection entries themselves, you needed to write your own loader.
Astro 5.12 now directly supports loading data from TOML files in content collections in both the
glob()
and thefile()
loaders.If you had added your own TOML content parser for the
file()
loader, you can now remove it as this functionality is now included:Note that TOML does not support top-level arrays. Instead, the
file()
loader considers each top-level table to be an independent entry. The table header is populated in theid
field of the entry object.See Astro's content collections guide for more information on using the built-in content loaders.
Patch Changes
6bd5f75
]:v5.11.2
Compare Source
Patch Changes
#14064
2eb77d8
Thanks @jp-knj! - Allows usingtsconfig
compilerOptions.paths
without settingcompilerOptions.baseUrl
#14068
10189c0
Thanks @jsparkdev! - Fixes the incorrect CSS import path shown in the terminal message during Tailwind integration setup.v5.11.1
Compare Source
Patch Changes
#14045
3276b79
Thanks @ghubo! - Fixes a problem where importing animated.avif
files returns aNoImageMetadata
error.#14041
0c4d5f8
Thanks @dixslyf! - Fixes a<ClientRouter />
bug where the fallback view transition animations when exiting a pageran too early for browsers that do not support the View Transition API.
This bug prevented
event.viewTransition?.skipTransition()
from skipping the page exit animationwhen used in an
astro:before-swap
event hook.v5.11.0
Compare Source
Minor Changes
#13972
db8f8be
Thanks @ematipico! - Updates theNodeApp.match()
function in the Adapter API to accept a second, optional parameter to allow adapter authors to add headers to static, prerendered pages.NodeApp.match(request)
currently checks whether there is a route that matches the givenRequest
. If there is a prerendered route, the function returnsundefined
, because static routes are already rendered and their headers cannot be updated.When the new, optional boolean parameter is passed (e.g.
NodeApp.match(request, true)
), Astro will return the first matched route, even when it's a prerendered route. This allows your adapter to now access static routes and provides the opportunity to set headers for these pages, for example, to implement a Content Security Policy (CSP).Patch Changes
#14029
42562f9
Thanks @ematipico! - Fixes a bug where server islands wouldn't be correctly rendered when they are rendered inside fragments.Now the following examples work as expected:
v5.10.2
Compare Source
Patch Changes
#14000
3cbedae
Thanks @feelixe! - Fix routePattern JSDoc examples to show correct return values#13990
de6cfd6
Thanks @isVivek99! - Fixes a case whereastro:config/client
andastro:config/server
virtual modules would not contain config passed to integrationsupdateConfig()
during the build#14019
a160d1e
Thanks @ascorbic! - Removes the requirement to settype: 'live'
when defining experimental live content collectionsPreviously, live collections required a
type
andloader
configured. Now, Astro can determine that your collection is alive
collection without defining it explicitly.This means it is now safe to remove
type: 'live'
from your collections defined insrc/live.config.ts
:import { defineLiveCollection } from 'astro:content'; import { storeLoader } from '@​mystore/astro-loader'; const products = defineLiveCollection({ - type: 'live', loader: storeLoader({ apiKey: process.env.STORE_API_KEY, endpoint: 'https://api.mystore.com/v1', }), }); export const collections = { products };
This is not a breaking change: your existing live collections will continue to work even if you still include
type: 'live'
. However, we suggest removing this line at your earliest convenience for future compatibility when the feature becomes stable and this config option may be removed entirely.#13966
598da21
Thanks @msamoylov! - Fixes a broken link on the default 404 page in developmentv5.10.1
Compare Source
Patch Changes
#13988
609044c
Thanks @ascorbic! - Fixes a bug in live collections that caused it to incorrectly complain about the collection being defined in the wrong file#13909
b258d86
Thanks @isVivek99! - Fixes rendering of special boolean attributes for custom elements#13983
e718375
Thanks @florian-lefebvre! - Fixes a case where the toolbar audit would incorrectly flag images processed by Astro in content collections documents#13999
f077b68
Thanks @ascorbic! - AddslastModified
field to experimental live collection cache hintsLive loaders can now set a
lastModified
field in the cache hints for entries and collections to indicate when the data was last modified. This is then available in thecacheHint
field returned bygetCollection
andgetEntry
.#13987
08f34b1
Thanks @ematipico! - Adds an informative message in dev mode when the CSP feature is enabled.#14005
82aad62
Thanks @ematipico! - Fixes a bug where inline styles and scripts didn't work when CSP was enabled. Now when adding<styles>
elements inside an Astro component, their hashes care correctly computed.#13985
0b4c641
Thanks @jsparkdev! - Updates wrong linkv5.10.0
Compare Source
Minor Changes
#13917
e615216
Thanks @ascorbic! - Adds a newpriority
attribute for Astro's image components.This change introduces a new
priority
option for the<Image />
and<Picture />
components, which automatically sets theloading
,decoding
, andfetchpriority
attributes to their optimal values for above-the-fold images which should be loaded immediately.It is a boolean prop, and you can use the shorthand syntax by simply adding
priority
as a prop to the<Image />
or<Picture />
component. When set, it will apply the following attributes:loading="eager"
decoding="sync"
fetchpriority="high"
The individual attributes can still be set manually if you need to customize your images further.
By default, the Astro
<Image />
component generates<img>
tags that lazy-load their content by settingloading="lazy"
anddecoding="async"
. This improves performance by deferring the loading of images that are not immediately visible in the viewport, and gives the best scores in performance audits like Lighthouse.The new
priority
attribute will override those defaults and automatically add the best settings for your high-priority assets.This option was previously available for experimental responsive images, but now it is a standard feature for all images.
Usage
#13917
e615216
Thanks @ascorbic! - The responsive images feature introduced behind a flag in v5.0.0 is no longer experimental and is available for general use.The new responsive images feature in Astro automatically generates optimized images for different screen sizes and resolutions, and applies the correct attributes to ensure that images are displayed correctly on all devices.
Enable the
or component, or configure a default
image.responsiveStyles
option in your Astro config. Then, set alayout
attribute on anyimage.layout
, for instantly responsive images with automatically generatedsrcset
andsizes
attributes based on the image's dimensions and the layout type.Displaying images correctly on the web can be challenging, and is one of the most common performance issues seen in sites. This new feature simplifies the most challenging part of the process: serving your site visitor an image optimized for their viewing experience, and for your website's performance.
For full details, see the updated Image guide.
Migration from Experimental Responsive Images
The
experimental.responsiveImages
flag has been removed, and all experimental image configuration options have been renamed to their final names.If you were using the experimental responsive images feature, you'll need to update your configuration:
Remove the experimental flag
export default defineConfig({ experimental: { - responsiveImages: true, }, });
Update image configuration options
During the experimental phase, default styles were applied automatically to responsive images. Now, you need to explicitly set the
responsiveStyles
option totrue
if you want these styles applied.export default defineConfig({ image: { + responsiveStyles: true, }, });
The experimental image configuration options have been renamed:
Before:
After:
Component usage remains the same
The
layout
,fit
, andposition
props on<Image>
and<Picture>
components work exactly the same as before:If you weren't using the experimental responsive images feature, no changes are required.
Please see the Image guide for more information on using responsive images in Astro.
#13685
3c04c1f
Thanks @ascorbic! - Adds experimental support for live content collectionsLive content collections are a new type of content collection that fetch their data at runtime rather than build time. This allows you to access frequently-updated data from CMSs, APIs, databases, or other sources using a unified API, without needing to rebuild your site when the data changes.
Live collections vs build-time collections
In Astro 5.0, the content layer API added support for adding diverse content sources to content collections. You can create loaders that fetch data from any source at build time, and then access it inside a page via
getEntry()
andgetCollection()
. The data is cached between builds, giving fast access and updates.However there is no method for updating the data store between builds, meaning any updates to the data need a full site deploy, even if the pages are rendered on-demand. This means that content collections are not suitable for pages that update frequently. Instead, today these pages tend to access the APIs directly in the frontmatter. This works, but leads to a lot of boilerplate, and means users don't benefit from the simple, unified API that content loaders offer. In most cases users tend to individually create loader libraries that they share between pages.
Live content collections solve this problem by allowing you to create loaders that fetch data at runtime, rather than build time. This means that the data is always up-to-date, without needing to rebuild the site.
How to use
To enable live collections add the
experimental.liveContentCollections
flag to yourastro.config.mjs
file:Then create a new
src/live.config.ts
file (alongside yoursrc/content.config.ts
if you have one) to define your live collections with a live loader and optionally a schema using the newdefineLiveCollection()
function from theastro:content
module.You can then use the dedicated
getLiveCollection()
andgetLiveEntry()
functions to access your live data:v5.9.4
Compare Source
Patch Changes
#13951
7eb88f1
Thanks @ascorbic! - Fixes a issue that caused errors when using an adapter-provided session driver with custom options#13953
448bddc
Thanks @zaitovalisher! - Fixes a bug where quotes were not added to the 'strict-dynamic' CSP directivev5.9.3
Compare Source
Patch Changes
#13923
a9ac5ed
Thanks @ematipico! - BREAKING CHANGE to the experimental Content Security Policy (CSP) onlyChanges the behavior of experimental Content Security Policy (CSP) to now serve hashes differently depending on whether or not a page is prerendered:
<meta>
element for static pages.Response
headercontent-security-policy
for on-demand rendered pages.This new strategy allows you to add CSP content that is not supported in a
<meta>
element (e.g.report-uri
,frame-ancestors
, and sandbox directives) to on-demand rendered pages.No change to your project code is required as this is an implementation detail. However, this will result in a different HTML output for pages that are rendered on demand. Please check your production site to verify that CSP is working as intended.
To keep up to date with this developing feature, or to leave feedback, visit the CSP Roadmap proposal.
#13926
953a249
Thanks @ematipico! - Adds a new Astro Adapter Feature calledexperimentalStaticHeaders
to allow your adapter to receive theHeaders
for rendered static pages.Adapters that enable support for this feature can access header values directly, affecting their handling of some Astro features such as Content Security Policy (CSP). For example, Astro will no longer serve the CSP
<meta http-equiv="content-security-policy">
element in static pages to adapters with this support.Astro will serve the value of the header inside a map that can be retrieved from the hook
astro:build:generated
. Adapters can read this mapping and use their hosting headers capabilities to create a configuration file.A new field called
experimentalRouteToHeaders
will contain a map ofMap<IntegrationResolvedRoute, Headers>
where theHeaders
type contains the headers emitted by the rendered static route.To enable support for this experimental Astro Adapter Feature, add it to your
adapterFeatures
in your adapter config:See the Adapter API docs for more information about providing adapter features.
#13697
af83b85
Thanks @benosmac! - Fixes issues with fallback route pattern matching wheni18n.routing.fallbackType
isrewrite
.generatePath
when building fallback routes and checking for existing translated pagesNow for a route to be matched it needs to be inside a named
[locale]
folder. This fixes an issue whereroute.pattern.test()
incorrectly matched dynamic routes, causing the page to be skipped.findRouteToRewrite
Now the requested pathname must exist in
route.distURL
for a dynamic route to match. This fixes an issue whereroute.pattern.test()
incorrectly matched dynamic routes, causing the build to fail.#13924
1cd8c3b
Thanks @qw-in! - Fixes an edge case whereisPrerendered
was incorrectly set tofalse
for static redirects.#13926
953a249
Thanks @ematipico! - Fixes an issue where the experimental CSPmeta
element wasn't placed in the<head>
element as early as possible, causing these policies to not apply to styles and scripts that came before themeta
element.pnpm/pnpm (pnpm)
v10.13.1
Compare Source
Patch Changes
v10.13.0
Compare Source
Minor Changes
Added the possibility to load multiple pnpmfiles. The
pnpmfile
setting can now accept a list of pnpmfile locations #9702.pnpm will now automatically load the
pnpmfile.cjs
file from any config dependency named@pnpm/plugin-*
orpnpm-plugin-*
#9729.The order in which config dependencies are initialized should not matter — they are initialized in alphabetical order. If a specific order is needed, the paths to the
pnpmfile.cjs
files in the config dependencies can be explicitly listed using thepnpmfile
setting inpnpm-workspace.yaml
.Patch Changes
pkg.pr.new
, treat them as Git tarball URLs #9694.dangerouslyAllowAllBuilds
,onlyBuiltDependencies
,onlyBuiltDependenciesFile
, andneverBuiltDependencies
#9628.pnpm-workspace.yaml
with deep #9701.pnpm rebuild
command should not add pkgs included inignoredBuiltDependencies
toignoredBuilds
innode_modules/.modules.yaml
#9338.shell-quote
withshlex
for quoting command arguments #9381.v10.12.4
Compare Source
Patch Changes
Fix
pnpm licenses
command for local dependencies #9583.Fix a bug in which
pnpm ls --filter=not-exist --json
prints nothing instead of an empty array #9672.Fix a deadlock that sometimes happens during peer dependency resolution #9673.
Running
pnpm install
afterpnpm fetch
should hoist all dependencies that need to be hoisted.Fixes a regression introduced in [v10.12.2] by [#9648]; resolves [#9689].
[v10.12.2]: https://redirect.github.com/pnpm/pnpm/releases/tag/v10.12.2Add commentMore actions
[#9648]: https://github.com/pnpm/pnpm/pull/9648
[#9689]: https://github.com/pnpm/pnpm/issues/9689
v10.12.3
Compare Source
Patch Changes
Regression introduced in v10.12.2 by #9648; resolves #9685.
v10.12.2
Compare Source
Patch Changes
enableGlobalVirtualStore
set totrue
#9648.--help
and-h
flags not working as expected for thepnpm create
command.pnpm licenses list --json
command is incorrect.pnpm deploy
fails due to overridden dependencies having peer dependencies causingERR_PNPM_OUTDATED_LOCKFILE
#9595.lovell/sharp (sharp)
v0.34.3
Compare Source
vuejs/core (vue)
v3.5.18
Compare Source
Bug Fixes
v-pre
(#12556) (21b685a)v-bind
dynamic argument content correctly (#12554) (d3af67e)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.