Update astro monorepo #31
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/astro-monorepo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
8.0.2→8.0.37.3.5→7.3.8Release Notes
withastro/astro (@astrojs/mdx)
v8.0.3Compare Source
Patch Changes
6987261Thanks @renovate! - Adds YAML parsing with timestamp and merge key support, and formats YAML errors consistently across Astro, Markdown, MDX, and Markdoc.6987261,62b13ba]:withastro/astro (astro)
v7.3.8Compare Source
Patch Changes
#18293
28e7410Thanks @astro-factory! - FixesAstro.cachebeingundefinedwhen a custom 404 or 500 page is rendered by the error handler, for example after a request to an API route with an HTTP method the route doesn't export#18298
0e9e857Thanks @matthewp! - Fixesastro addremoving existingallowBuildsapprovals frompnpm-workspace.yamlwith pnpm v11.0–v11.22#18263
882dd98Thanks @florian-lefebvre! - Refactors internal bundling and code transforms to use Vite's Oxc-basedtransformWithOxcand Rolldown instead of esbuild. These packages no longer depend on esbuild directly.#18290
31f13c3Thanks @astro-factory! - Fixes theglob()loader not reloading changed files in dev when the pattern starts with an extglob such as!(drafts)/**/*.mdv7.3.7Compare Source
Patch Changes
#18266
cba76ccThanks @astro-factory! - Fixes a build error when a Markdown content collection entry loaded withglob({ deferRender: true })has alayoutfrontmatter property.layoutis now ignored for content collection entries, as documented.#18287
38f6793Thanks @astro-factory! - Fixesastro add cloudflarefailing to install dependencies with pnpm v11+ by approving theworkerdbuild script, and shows the package manager's error output whenastro addfails to install dependencies#18222
fcf6ed6Thanks @mingjunlu! - Fixes an issue where AVIF images were served asimage/heifinstead ofimage/avifin the dev server.#18240
de4df06Thanks @astro-factory! - Fixes thecache()handler fromastro/honoandastro/fetchthrowing aTypeErrorwhen a cache provider is configured. It now registers the cache provider before rendering, soAstro.cacheis available to downstream handlers likepages().#18268
547b572Thanks @astro-factory! - Fixessecurity.checkOriginrejecting cross-origin requests with non-form content types such asapplication/json. As documented, the check only applies to unsafe requests that have nocontent-typeheader or one ofapplication/x-www-form-urlencoded,multipart/form-data, ortext/plain.v7.3.6Compare Source
Patch Changes
#18166
5134d0fThanks @astro-factory! - Fixes an intermittent dev server crash when usingastro:actionsinside a server island with adapters that use a pre-bundled SSR environment (e.g.@astrojs/cloudflare)#18076
8a2df66Thanks @astro-factory! - Fixes stale scoped styles during HMR when both markup and<style>are changed in a single save#18252
2d29e7eThanks @astro-factory! - Fixes CSS from other pages leaking into a page's<head>in dev when the page imports a module such asastro:config/server.#18000
6724575Thanks @barclayd! - Fixes a bug where server islands containing framework components rendered empty in the dev server when using a customsrc/fetch.ts#18241
7c5fd6fThanks @astro-factory! - Fixes the composablei18n()handler fromastro/fetchandastro/honoreturning an empty 404 for paths without a locale prefix. It now renders the custom 404 page, matchingastro().#18164
1a6997fThanks @astro-factory! - Fixes CSS Module HMR in dev when a component is rendered both with and without hydration on the same page. Astro now uses path-based class name hashing in dev mode so that editing CSS declarations no longer changes the generated selectors, allowing Vite's CSS HMR to update styles without a full page reload.#18243
dd29d62Thanks @astro-factory! - Fixescontext.propsbeingnullin middleware and endpoints when the composableastro/honoorastro/fetchactions()handler runs beforemiddleware(), or whenpages()runs withoutmiddleware()#18193
95d5d16Thanks @astro-factory! - Fixesastro buildfailing on Windows with Node.js 25+ withERR_INVALID_ARG_VALUEwhen clearing the output directory hits a transientEPERMerror#18220
d6c13a4Thanks @astro-factory! - Fixes type errors reported in Astro's built-in<Picture />and<Font />components when type-checking a project withtscand@astrojs/ts-content-mapper#18133
faac481Thanks @astro-factory! - Fixes lost request state when Vite discovers server dependencies during a request in Cloudflare dev mode#18146
2af4516Thanks @astro-factory! - Fixes CSS imported from aninjectScript('page')script being dropped during build#18159
e5f8fe0Thanks @astro-factory! - Fixes a hang when aserver:defercomponent is inside a slot of another component in an MDX content collection entry#18246
c3b42adThanks @astro-factory! - Fixes theglob()loader skipping content files whose paths contain#or?#18248
b97184eThanks @astro-factory! - Fixes a bug where page routes added withinjectRoute()returned a 404 wheni18n.routing.prefixDefaultLocalewastrueand the route path had no locale prefix#18251
3415263Thanks @astro-factory! - Fixes content collection changes being ignored inastro devafter the dev server restarts because of a config change#18226
ad54af0Thanks @imharjot! - FixesAstro.cookies.get()returningundefinedfor request cookies with empty values#18155
37ab0e4Thanks @astro-factory! - Fixes nondeterministic ordering of the server manifest'sassetsarray, ensuring builds with identical inputs produce byte-identical output#18099
6987261Thanks @renovate! - Adds YAML parsing with timestamp and merge key support, and formats YAML errors consistently across Astro, Markdown, MDX, and Markdoc.#15595
64e4039Thanks @qzio! - Improves CSRF protection by taking modern browsers headers into account#18215
941bd5eThanks @ump45nose! - Fixes a runtimeReferenceErrorfor inlined scripts that import a URL with/* @​vite-ignore */.Astro now inlines scripts after Vite replaces its preload markers, so ignored dynamic imports can remain inline without shipping an unresolved
__VITE_PRELOAD__reference.#18179
6caa659Thanks @matthewp! - Fixes custom View Transition direction names that are not valid CSS identifiers, such as names starting with a digit or containing spaces. These directions now match their animations correctly.#18250
7eae39bThanks @astro-factory! - Fixes a 404 for a CSS file that a dynamic import preloads when the imported module uses a component that is also a hydrated island on the same page#18176
7c9d00dThanks @astro-factory! - Fixes duplicate CSS in production builds when a component is both server-rendered and used withclient:onlyon the same page#18245
492e95fThanks @astro-factory! - Fixes the composableastro/fetchandastro/honohandlers (trailingSlash(),redirects(),actions(),middleware(), andpages()) so they reject over-encoded request paths with a400 Bad Request, matchingastro(). For these requests,redirects()andactions()return the400response instead ofundefined, so no redirect is issued and no action runs.#18078
0a2ab10Thanks @manuelgruber! - FixesAstro.rewrite()andcontext.rewrite()selecting the wrong route inastro devwhen two dynamic routes match the same path#18210
62b13baThanks @edmundhung! - Allows Astro CLI commands to install tagged package versions#18069
d39eb97Thanks @astro-factory! - Fixes a dev server dependency scan failure when an.astrofile contains a literal<scriptin frontmatter or a template expression#18114
c17d920Thanks @matthewp! - Fixes Astro on StackBlitz and other WebContainer environments#18088
cb767f9Thanks @astro-factory! - Fixes aMODULE_LEVEL_DIRECTIVEwarning during build caused by a stale"use astro:head-inject"directive in content collection propagated asset modules#18247
2b3f73dThanks @astro-factory! - Fixes actions returning 500 for malformed JSON request bodies and undecodable action names. ASyntaxErrorfrom invalid JSON now returns 400 (BAD_REQUEST), and aURIErrorfrom a malformed percent-encoded action name now returns 404 (NOT_FOUND).1d9e910Thanks @matthewp! - Validates theHostheader againstsecurity.allowedDomainswhen using the Node adapter#18249
c7799a4Thanks @astro-factory! - Fixes thefontsourcefont provider to resolve variable fonts when using the "Variable" suffix in the font name (e.g."Inter Variable")#18163
e48da9dThanks @astro-factory! - Fixes<video muted>losing its muted state after a ClientRouter navigation in Chrome#18244
f67e7f7Thanks @astro-factory! - Fixes localized error pages such assrc/pages/pt/404.astroreturning a200status when rendered through thepages()handler fromastro/fetchorastro/hono#18242
c5275e3Thanks @astro-factory! - Fixesexperimental_AstroContaineroutput including dev toolbardata-astro-source-fileanddata-astro-source-locattributes when rendering components under VitestUpdated dependencies [
6987261,62b13ba]:Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate.
87bff46631tof3ea77a21df3ea77a21dtoc0e78eb83dc0e78eb83dto8c9ed480da8c9ed480datoe8c88bb0f8View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.