chore(deps): bump astro from 7.1.0 to 7.3.3 in /packages/web
Bumps astro from 7.1.0 to 7.3.3.
Release notes
Sourced from astro's releases.
astro@7.3.3
Patch Changes
#17651
504333cThanks@sxzz! - Refactors internal version handling to use a smaller, ESM-native dependency#17942
0bc5715Thanks@matthewp! - Returns appropriate 400 and 404 responses from the image endpoint for invalid and missing local image paths#17700
b2222fcThanks@winklemad! - FixesAstro.preferredLocaleListreturning an empty list when a locale is configured with the object form ({ path, codes }) and the browser sends the code with different casing or an underscore, such asen-USmatching a configureden-us#17941
394ff79Thanks@matthewp! - Fixesastro preview --ignore-lock(andastro dev --ignore-lock) being refused when run from an AI agent environment. The flag now starts the server in the foreground instead of erroring, since agent detection only inferred background mode and was never explicitly requested. An explicit--backgroundcombined with--ignore-lockstill errors.#17928
3277927Thanks@ArmandPhilippot! - Fixes TypeScript autocompletion forgetImage()to suggest all available predefined options.#17928
3277927Thanks@ArmandPhilippot! - Fixes a type error ingetImage()options that allowed passing bothwidthsanddensitiesat the same time.#17857
2637ed1Thanks@Princesseuh! - Improves rendering performance#17943
2fc7ce9Thanks@matthewp! - Fixes a WebAssembly error when importingastro:actionsin tests that run under@cloudflare/vitest-pool-workers#18018
1b5a234Thanks@astro-factory! - Fixes trailing-slash redirect response body pointing to the incoming URL instead of the redirect target. Thelocationheader was correct, but the HTML body (<meta http-equiv="refresh">,<title>, and<a>tag) contained the original request path without the trailing-slash correction or query string.#17905
eaf70faThanks@SudoDevStudio! - Fixes custom dev toolbar apps losing their UI after client-side navigation with<ClientRouter />.#18011
558b301Thanks@astro-factory! - Fixes prerendered Cloudflare pages rendering as[object Object]whennodejs_compatis enabled inwrangler.toml#17944
ba08e35Thanks@matthewp! - Fixes a regression inastro devwhere writes outside the module graph (for example,@astrojs/cloudflare's.wrangler/statefiles) invalidated the middleware on every request, causing repeated SSR reloads. Such writes no longer invalidate the middleware.#17531
ae837dbThanks@danilloestrela! - Updatessvgoto4.0.2to resolve a security advisory#17953
dbbf10eThanks@astro-factory! - Fixes a one-time page reload shortly after the first load on cold dev-server starts when a project has framework components imported from MDX content entries. MDX files are now included in the dev dependency pre-bundling scan, so their framework dependencies are bundled up front instead of being discovered (and reloaded for) at runtime.#17955
4e8ad9aThanks@matthewp! - Improves dev server startup time. The content config and dev server app module graphs now begin compiling during server creation without blocking the server from listening. Request handling waits for the shared setup result when needed, cuttingastro devready time by roughly a third on projects with a content config.#17960
9838049Thanks@Chy-Zaber-Bin-Zahid! - Improves the diagnostics of some Astro errors.#17998
0e5478dThanks@astro-factory! - Fixes SVG<style>elements nested inside<defs>or other container elements not being hashed for CSP#17994
80f9f1dThanks@astro-factory! - Fixesexperimental.incrementalBuildrestoring pages with stale CSS after a preprocessor partial changes or missing original images referenced by restored pages#17889
8ae6b46Thanks@ajfAfg! - Fixes a bug where the dev server stripped the configuredbasefrom URLs that only share a prefix with it. Withbase: '/s', requests to/src/...were rewritten to/rc/...and failed, breaking those pages during development.#17980
cfccafaThanks@gameroman! - Improves JSDoc for fonts api#17953
dbbf10eThanks@astro-factory! - Fixes CSS HMR for framework components rendered through content entries afterClientRouternavigation#17970
0b4dc3aThanks@matthewp! - Improves serialization of transition animation values in generated CSS#17999
30ef3cbThanks@astro-factory! - Fixes content collection HMR not updating prerendered pages when an adapter enables a separate prerender environment (e.g.@astrojs/cloudflarewithprerenderEnvironment: 'node')#18002
312ab49Thanks@shoutoutuoadi325! - Fixes redirect targets being corrupted when a dynamic route parameter value contains$replacement patterns like$&
... (truncated)
Changelog
Sourced from astro's changelog.
7.3.3
Patch Changes
#17651
504333cThanks@sxzz! - Refactors internal version handling to use a smaller, ESM-native dependency#17942
0bc5715Thanks@matthewp! - Returns appropriate 400 and 404 responses from the image endpoint for invalid and missing local image paths#17700
b2222fcThanks@winklemad! - FixesAstro.preferredLocaleListreturning an empty list when a locale is configured with the object form ({ path, codes }) and the browser sends the code with different casing or an underscore, such asen-USmatching a configureden-us#17941
394ff79Thanks@matthewp! - Fixesastro preview --ignore-lock(andastro dev --ignore-lock) being refused when run from an AI agent environment. The flag now starts the server in the foreground instead of erroring, since agent detection only inferred background mode and was never explicitly requested. An explicit--backgroundcombined with--ignore-lockstill errors.#17928
3277927Thanks@ArmandPhilippot! - Fixes TypeScript autocompletion forgetImage()to suggest all available predefined options.#17928
3277927Thanks@ArmandPhilippot! - Fixes a type error ingetImage()options that allowed passing bothwidthsanddensitiesat the same time.#17857
2637ed1Thanks@Princesseuh! - Improves rendering performance#17943
2fc7ce9Thanks@matthewp! - Fixes a WebAssembly error when importingastro:actionsin tests that run under@cloudflare/vitest-pool-workers#18018
1b5a234Thanks@astro-factory! - Fixes trailing-slash redirect response body pointing to the incoming URL instead of the redirect target. Thelocationheader was correct, but the HTML body (<meta http-equiv="refresh">,<title>, and<a>tag) contained the original request path without the trailing-slash correction or query string.#17905
eaf70faThanks@SudoDevStudio! - Fixes custom dev toolbar apps losing their UI after client-side navigation with<ClientRouter />.#18011
558b301Thanks@astro-factory! - Fixes prerendered Cloudflare pages rendering as[object Object]whennodejs_compatis enabled inwrangler.toml#17944
ba08e35Thanks@matthewp! - Fixes a regression inastro devwhere writes outside the module graph (for example,@astrojs/cloudflare's.wrangler/statefiles) invalidated the middleware on every request, causing repeated SSR reloads. Such writes no longer invalidate the middleware.#17531
ae837dbThanks@danilloestrela! - Updatessvgoto4.0.2to resolve a security advisory#17953
dbbf10eThanks@astro-factory! - Fixes a one-time page reload shortly after the first load on cold dev-server starts when a project has framework components imported from MDX content entries. MDX files are now included in the dev dependency pre-bundling scan, so their framework dependencies are bundled up front instead of being discovered (and reloaded for) at runtime.#17955
4e8ad9aThanks@matthewp! - Improves dev server startup time. The content config and dev server app module graphs now begin compiling during server creation without blocking the server from listening. Request handling waits for the shared setup result when needed, cuttingastro devready time by roughly a third on projects with a content config.#17960
9838049Thanks@Chy-Zaber-Bin-Zahid! - Improves the diagnostics of some Astro errors.#17998
0e5478dThanks@astro-factory! - Fixes SVG<style>elements nested inside<defs>or other container elements not being hashed for CSP#17994
80f9f1dThanks@astro-factory! - Fixesexperimental.incrementalBuildrestoring pages with stale CSS after a preprocessor partial changes or missing original images referenced by restored pages#17889
8ae6b46Thanks@ajfAfg! - Fixes a bug where the dev server stripped the configuredbasefrom URLs that only share a prefix with it. Withbase: '/s', requests to/src/...were rewritten to/rc/...and failed, breaking those pages during development.#17980
cfccafaThanks@gameroman! - Improves JSDoc for fonts api#17953
dbbf10eThanks@astro-factory! - Fixes CSS HMR for framework components rendered through content entries afterClientRouternavigation#17970
0b4dc3aThanks@matthewp! - Improves serialization of transition animation values in generated CSS#17999
30ef3cbThanks@astro-factory! - Fixes content collection HMR not updating prerendered pages when an adapter enables a separate prerender environment (e.g.@astrojs/cloudflarewithprerenderEnvironment: 'node')
... (truncated)
Commits
8a3106e[ci] release (#17939)5efea1bAdd a version field to the astro-client-only fixture80f9f1dHash compiled CSS output in incremental build to detect Sass partial changes ...bc6572fRevert "Forward user class to Picture's outer element" (#18004) (#18030)0e5478dNormalize CRLF line endings before computing CSP hashes (#17998)30ef3cbfix: invalidate prerender environment in invalidateDataStore (#17991) (#17999)312ab49Fix redirect targets when a param value contains a$replacement pattern (#...1b5a234Fix trailing-slash redirect body to match the Location header target (#18018)558b301Fix prerendered Cloudflare pages rendering as [object Object] with nodejs_com...4464b3afix(assets): forward class to picture element in Picture component (#18003) (...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Bumps astro from 7.1.0 to 7.3.3 in packages/web. Includes fixes across the image endpoint, locale matching, dev server startup and reload behavior, and rendering performance, plus an svgo update to 4.0.2 resolving a security advisory.