astro breaking changes
Updated December 4, 2026
On this page
Latest version 7.4.14, released December 1, 2026. Source repository
Its 7.4.2 release requires Node.js 22.23.4 or later. Node.js end of life dates.
- From 6.4.7 to 7.4.14: 691 breaking changes in 38 versions.
- From 5.0.0 to 7.4.14: 1,072 breaking changes in 73 versions.
astro 7.4.14 breaking changes
- Behavior changed
Objects that stringify to text, such as Error or boxed String, are now escaped instead of rendered as raw HTML. Output that relied on the raw HTML will change. github.com - Behavior changed
Action requests are only accepted when the action name uses the same encoding Astro's client produces. Clients that encode names differently will now be refused. github.com - Behavior changed
image.domains
Entries without a protocol now only allow http and https. To keep data URIs working, add a pattern with protocol 'data'. github.com - Behavior changed
image.remotePatterns
Entries without a protocol now only allow http and https, so remotePatterns: [{}] no longer allows data URIs. Add { protocol: 'data' } to allow them. github.com
astro 7.4.11 breaking changes
- Behavior changed
security.allowedDomains
X-Forwarded-Proto, X-Forwarded-Host and X-Forwarded-Port are checked together against each allowedDomains entry, so a forwarded protocol or port is applied only when the matching entry allows it. Check that your allowedDomains entries... github.com
astro 7.4.9 breaking changes
- Removed
'astro:transitions'.fade
'astro:transitions'.fade was removed in astro 7.4.9 npmjs.com - Removed
'astro:transitions'.slide
'astro:transitions'.slide was removed in astro 7.4.9 npmjs.com - Removed
'astro:transitions/client'.Direction
'astro:transitions/client'.Direction was removed in astro 7.4.9 npmjs.com - Removed
'astro:transitions/client'.Fallback
'astro:transitions/client'.Fallback was removed in astro 7.4.9 npmjs.com - Removed
'astro:transitions/client'.NavigationTypeString
'astro:transitions/client'.NavigationTypeString was removed in astro 7.4.9 npmjs.com - Removed
'astro:transitions/client'.Options
'astro:transitions/client'.Options was removed in astro 7.4.9 npmjs.com - Removed
'astro:transitions/client'.TransitionBeforePreparationEvent.AT_TARGET
'astro:transitions/client'.TransitionBeforePreparationEvent.AT_TARGET was removed in astro 7.4.9 npmjs.com - Removed
'astro:transitions/client'.TransitionBeforePreparationEvent.bubbles
'astro:transitions/client'.TransitionBeforePreparationEvent.bubbles was removed in astro 7.4.9 npmjs.com - Removed
'astro:transitions/client'.TransitionBeforePreparationEvent.BUBBLING_PHASE
'astro:transitions/client'.TransitionBeforePreparationEvent.BUBBLING_PHASE was removed in astro 7.4.9 npmjs.com - Removed
'astro:transitions/client'.TransitionBeforePreparationEvent.cancelable
'astro:transitions/client'.TransitionBeforePreparationEvent.cancelable was removed in astro 7.4.9 npmjs.com
And 407 more in this version. Sign up to see every change
astro 7.4.6 breaking changes
- Behavior changed
astro check
Previously astro check exited 0 when type checking dependencies were missing. It now exits 1, so CI fails instead of silently skipping type checking. Install @astrojs/check and typescript if your pipeline relies on it. github.com - Behavior changed
ClientRouter
Full reloads on pages using ClientRouter now rely on the browser's native scroll restoration instead of the previous scroll handling. Code that depended on the old scroll behavior may need review. github.com - Behavior changed
matchAllRoutes
matchAllRoutes now includes fallbackRoutes, matching matchRoute and the production router. Dev-server i18n fallback requests resolve to the source route's metadata instead of the 404 route. github.com
astro 7.4.5 breaking changes
- Behavior changed
Only the leading valid element name of a string tag is rendered, and strings that do not start with a valid element name now throw an error instead of producing invalid HTML. Check dynamic tag strings in .astro, JSX and MDX. github.com - Behavior changed
Request paths with invalid percent-encoding now get a 400 response rather than being logged as an error and routed with the undecoded path. Code relying on the old routing must handle the 400. github.com
astro 7.4.2 breaking changes
- Removed
The minimum supported Node.js version is now 22.23.4, so projects on older Node.js versions must upgrade Node.js before updating Astro. github.com
Older versions
84 older versions, each with its first changes. Sign up to see every change
Show 84 older versions
astro 7.4.1 breaking changes
- Behavior changed
Cached optimized images and incrementally restored build output now keep their last modified date when copied into the build output on all platforms. github.com
astro 7.4.0 breaking changes
- Removed
Node.js versions below 22.22.0 are no longer supported, so projects on older Node.js must upgrade before using this release. github.com - Behavior changed
config.image.service.entrypoint
When a project sets build and runtime image services, integrations must read the runtime property instead of config.image.service.entrypoint. github.com
And 12 more in this version.
astro 7.3.6 breaking changes
- Behavior changed
CSRF protection now takes modern browser headers into account, so some cross-site requests that previously passed may now be rejected. github.com - Behavior changed
security.allowedDomains
When using the Node adapter, requests whose Host header is not listed in security.allowedDomains are now validated and may be rejected. github.com
astro 7.3.4 breaking changes
- Behavior changed
The React integration switches its JSX compilation from Babel to Oxc, and Babel-based setups need migrating as described in the React README. github.com
astro 7.3.3 breaking changes
- Removed
ImageTransform.background
ImageTransform.background was removed in astro 7.3.3 npmjs.com - Removed
ImageTransform.densities
ImageTransform.densities was removed in astro 7.3.3 npmjs.com
And 25 more in this version.
astro 7.3.2 breaking changes
- Behavior changed
Dynamic values passed as a script or style child in MDX are now escaped instead of rendered raw. Use set:html to keep raw rendering for a dynamic value. github.com
astro 7.3.0 breaking changes
- Removed
app:beginContentEntryCollection
beginContentEntryCollection was removed in astro 7.3.0 npmjs.com - Removed
app:beginImageCollection
beginImageCollection was removed in astro 7.3.0 npmjs.com
And 26 more in this version.
astro 7.2.8 breaking changes
- Configuration changed
Astro now requires Sharp 0.35.4 or newer. Users pinned to an older Sharp version must upgrade it. github.com
astro 7.2.7 breaking changes
- Default changed
Generated and default Cloudflare compatibility_date values now match the installed runtime, and Wrangler ^4.125.0 is required. Users on older Wrangler versions need to upgrade. github.com - Signature changed
SvgOptimizer.optimize
Was optimize: (contents: string) => string | Promise<string>; now optimize: (contents: string, path: string) => string | Promise<string>. npmjs.com
astro 7.2.5 breaking changes
- Behavior changed
Session ID validation now rejects non-UUID cookie values before using them as storage keys. Code that relies on custom session ID formats may see sessions reset. github.com - Behavior changed
When a directive uses unsafe-inline, Astro no longer emits hashes for that directive. Sites relying on those hashes must adjust their CSP. github.com
And 6 more in this version.
astro 7.2.4 breaking changes
- Behavior changed
A request like /docs-archive/page is no longer treated as being under a /docs base, so routing and context.url.pathname now agree. Code that relied on the old matching must be checked. github.com
astro 7.2.3 breaking changes
- Removed
app:App.createPipeline
App.createPipeline was removed in astro 7.2.3 npmjs.com - Removed
app:App.manifestData.routes
App.manifestData.routes was removed in astro 7.2.3 npmjs.com
And 17 more in this version.
astro 7.2.2 breaking changes
- Behavior changed
Non-transient image file errors during build are no longer silently ignored and will surface as errors. Transient I/O errors are now retried with backoff. github.com - Behavior changed
Files inside directories whose names start with pages are no longer built as routes. If your site relied on them, move those files out of such directories. github.com
And 1 more in this version.
astro 7.2.1 breaking changes
- Behavior changed
reference
Entry references in content collection reference() fields that point to a missing entry are no longer silently accepted; Astro logs an error after loaders finish syncing. Check that referenced entry IDs exist. github.com - Signature changed
SSRManifestCSP
Was type SSRManifestCSP = {cspDestination: 'adapter' | 'meta' | 'header' | undefined; algorithm: CspAlgorithm; directives: CspDirective[]; scriptHashes: string[]; scriptResources: string[]; isStrictDynamic: boolean; styleHashes: string[]... npmjs.com
astro 7.2.0 breaking changes
- Behavior changed
Boolean popover values on custom elements (tag names with a hyphen) are now always rendered as a bare popover attribute or omitted, so popover="true" and popover="false" no longer appear in output. github.com - Behavior changed
astro preview
When Astro detects that astro preview is run by an AI coding agent, it now starts the server in background mode. Set ASTRO_PREVIEW_BACKGROUND=0 to opt out. github.com
And 7 more in this version.
astro 7.1.6 breaking changes
- Signature changed
AstroInlineConfig.experimental.collectionStorage
Was collectionStorage?: 'single-file' | 'chunked'; now collectionStorage?: 'single-file' | 'chunked' | {type: 'chunked'; chunkSize: number;}. npmjs.com - Signature changed
AstroUserConfig.experimental
Was experimental?: {clientPrerender?: boolean; contentIntellisense?: boolean; chromeDevtoolsWorkspace?: boolean; svgOptimizer?: SvgOptimizer; collectionStorage?: 'single-file' | 'chunked';}; now experimental?: {clientPrerender?: boolean... npmjs.com
And 3 more in this version.
astro 7.1.5 breaking changes
- Removed
SSRManifest.loggerConfig
SSRManifest.loggerConfig was removed in astro 7.1.5 npmjs.com - Signature changed
SSRManifest
Was type SSRManifest = {adapterName: string; routes: RouteInfo[]; site?: string; base: string; userAssetsBase: string | undefined; trailingSlash: AstroConfig['trailingSlash']; buildFormat: NonNullable<AstroConfig['build']>['format']... npmjs.com
astro 7.1.4 breaking changes
- Signature changed
AstroSession.constructor
Was constructor({cookies, config, runtimeMode, driverFactory, mockStorage}: {cookies: AstroCookies; config: SSRManifestSession | undefined; runtimeMode: RuntimeMode; driverFactory: SessionDriverFactory | null; mockStorage: Storage |... npmjs.com - Signature changed
config:sessionDrivers
Was const sessionDrivers: {http: (config?: import("unstorage/drivers/http").HTTPOptions | undefined) => SessionDriverConfig; fs: (config?: import("unstorage/drivers/fs").FSStorageOptions | undefined) => SessionDriverConfig... npmjs.com
astro 7.1.2 breaking changes
- Behavior changed
Cookie values made only of URL-safe characters are no longer percent-encoded in Set-Cookie headers. Encoded values still round-trip as before, so code that parses the raw header string may need to change. github.com
astro 7.1.0 breaking changes
- Signature changed
'astro:actions'.ActionAPIContext.csp
Was csp: {insertDirective: (directive: CspDirective) => void; insertStyleResource: (payload: string) => void; insertStyleHash: (hash: CspHash) => void; insertScriptResource: (resource: string) => void; insertScriptHash: (hash: CspHash) =>... npmjs.com - Signature changed
'astro:actions'.ActionAPIContext.csp.insertScriptHash
Was insertScriptHash: (hash: CspHash) => void; now insertScriptHash: (payload: CspHashEntry) => void. npmjs.com
And 37 more in this version.
astro 7.0.8 breaking changes
- Removed
'astro:actions'.ActionAPIContext.logger.error
'astro:actions'.ActionAPIContext.logger.error was removed in astro 7.0.8 npmjs.com - Removed
'astro:actions'.ActionAPIContext.logger.info
'astro:actions'.ActionAPIContext.logger.info was removed in astro 7.0.8 npmjs.com
And 13 more in this version.
astro 7.0.6 breaking changes
- Behavior changed
security.checkOrigin
The origin check now applies to Astro Actions and on-demand endpoints in the composable astro/hono pipeline, where it could previously be skipped. Requests that used to pass may now be rejected, so check that your clients send valid... github.com
astro 7.0.5 breaking changes
- Behavior changed
optimizeDeps.exclude
Astro now defers tsconfig and jsconfig paths alias resolution to Vite, keeping a small fallback for a few CSS cases; the release notes say this has no expected impact on user projects. github.com
astro 7.0.4 breaking changes
- Behavior changed
The internal request helper now checks X-Forwarded-Host against security.allowedDomains before using X-Forwarded-For for clientAddress, matching the public createRequest helper. Apps behind misconfigured proxies may see different... github.com
astro 7.0.3 breaking changes
- Signature changed
'astro:i18n'.normalizeTheLocale
Was const normalizeTheLocale: typeof I18nInternals.normalizeTheLocale; now const normalizeTheLocale: typeof normalizeTheLocaleInternal. npmjs.com
astro 7.0.0 breaking changes
- Removed
'astro:transitions'.createAnimationScope
Remove any use of createAnimationScope() from your code. npmjs.com - Removed
'astro:transitions/client'.isTransitionBeforePreparationEvent
Compare event.type to the event name string instead. npmjs.com
And 59 more in this version.
astro 7.0.0-beta.6 breaking changes
- Removed
experimental.cache
Move cache out of the experimental block to the top-level cache option. github.com - Removed
experimental.routeRules
Move routeRules out of the experimental block to the top-level routeRules option. github.com
astro 7.0.0-beta.5 breaking changes
- Default changed
compressHTML
Whitespace is now stripped using JSX rules; set compressHTML: true to keep earlier behavior. github.com
astro 7.0.0-beta.4 breaking changes
- Default changed
markdown.processor
Markdown now uses @astrojs/markdown-satteri by default; to keep remark/rehype, install @astrojs/markdown-remark and set processor to unified(). github.com
astro 7.0.0-beta.3 breaking changes
- Removed
astro db
The @astrojs/db package is deprecated; use a database client such as Drizzle or Kysely directly. github.com - Removed
astro init
Command removed in this release. github.com
And 5 more in this version.
astro 7.0.0-alpha.2 breaking changes
- Removed
App.Providers
Use locals to share per-request state instead. github.com
astro 7.0.0-alpha.0 breaking changes
- Removed
experimental.rustCompiler
The Go-based compiler is removed and the experimental.rustCompiler flag no longer exists; remove it from astro.config.mjs. Unclosed HTML tags now throw errors. github.com - Behavior changed
Astro now builds on Vite v8, which may change build and dev behavior for existing projects. github.com
And 1 more in this version.
astro 6.4.7 breaking changes
- Behavior changed
Middleware and route handlers now receive fully decoded paths instead of double-encoded requests being rejected with 400, so middleware that inspects raw paths may see different values. github.com - Behavior changed
getAbsoluteLocaleUrl
With trailingSlash set to 'never', this helper now returns URLs without trailing slashes, so code that expects them must be updated. github.com
And 3 more in this version.
astro 6.4.6 breaking changes
- Behavior changed
addAttribute
Attribute names containing quotes, apostrophes, angle brackets, slashes, equals signs or whitespace are now dropped instead of being rendered. Check any code that relies on such attribute names. github.com - Behavior changed
allowedDomains
When allowedDomains is configured and the Host header does not match it, prerendered error pages are fetched from localhost instead of the original origin. Check error page setup if you rely on the original origin. github.com
astro 6.4.5 breaking changes
- Behavior changed
Astro.request.url
When security.allowedDomains is configured, Astro.request.url now reflects validated X-Forwarded-Proto and X-Forwarded-Host headers, matching Astro.url. Code relying on the socket-derived URL behind a proxy should be checked. github.com
astro 6.4.4 breaking changes
- Behavior changed
Astro.currentLocale
On dynamic routes served from a mapped domain, Astro.currentLocale now returns that domain's locale instead of the default locale. github.com - Behavior changed
Astro.routePattern
Dynamic parameter names in Astro.routePattern now keep the casing used in the filename, so code that expects a lowercased pattern will see different values. github.com
astro 6.4.0 breaking changes
- Removed
jsx/rehype.js:getAstroMetadata
getAstroMetadata was removed in astro 6.4.0 npmjs.com - Removed
jsx/rehype.js:rehypeAnalyzeAstroMetadata
rehypeAnalyzeAstroMetadata was removed in astro 6.4.0 npmjs.com
And 7 more in this version.
astro 6.3.8 breaking changes
- Signature changed
errors:AstroErrorData.InvalidRedirectDestination
Was const InvalidRedirectDestination: {name: string; title: string; message: (from: string, to: string) => string; hint: string;}; now const InvalidRedirectDestination: {name: string; title: string; message(from: string, to: string... npmjs.com
astro 6.3.5 breaking changes
- Signature changed
errors:AstroErrorData.InvalidPrerenderExport
Was const InvalidPrerenderExport: {name: string; title: string; message(prefix: string, suffix: string, isHydridOutput: boolean): string; hint: string;}; now const InvalidPrerenderExport: {name: string; title: string; message(prefix... npmjs.com
astro 6.3.4 breaking changes
- Signature changed
APIContext
Was interface APIContext<Props extends Record<string, any> = Record<string, any>, Params extends Record<string, string | undefined> = Record<string, string | undefined>>; now interface APIContext<Props extends Record<string, any> =... npmjs.com - Signature changed
AstroInlineConfig.experimental.advancedRouting
Was advancedRouting?: boolean; now advancedRouting?: boolean | {fetchFile?: string | null;}. npmjs.com
And 5 more in this version.
astro 6.3.2 breaking changes
- Behavior changed
Requests with double-encoded URL paths are rejected with a 400 response instead of being partially decoded. Code that relied on the old fallback must handle the 400 instead. github.com - Behavior changed
isRemotePath
isRemotePath() is stricter and now returns false for paths containing control characters after a leading slash. Code that depended on the looser check may see different results. github.com
And 2 more in this version.
astro 6.3.0 breaking changes
- Removed
app:App.createRenderContext
App.createRenderContext was removed in astro 6.3.0 npmjs.com - Removed
app:App.getAdapterLogger
App.getAdapterLogger was removed in astro 6.3.0 npmjs.com
And 18 more in this version.
astro 6.2.2 breaking changes
- Signature changed
LiveDataCollection
Was interface LiveDataCollection<TData extends Record<string, any> = Record<string, unknown>>; now interface LiveDataCollection<TData extends Record<string, any> = Record<string, any>>. npmjs.com - Signature changed
LiveDataCollectionResult
Was interface LiveDataCollectionResult<TData extends Record<string, any> = Record<string, unknown>, TError extends Error = Error>; now interface LiveDataCollectionResult<TData extends Record<string, any> = Record<string, any>, TError... npmjs.com
And 3 more in this version.
astro 6.2.0 breaking changes
- Removed
AstroInlineConfig.experimental.svgo
AstroInlineConfig.experimental.svgo was removed in astro 6.2.0 npmjs.com - Removed
AstroUserConfig.experimental.svgo
AstroUserConfig.experimental.svgo was removed in astro 6.2.0 npmjs.com
And 25 more in this version.
astro 6.1.7 breaking changes
- Behavior changed
_image
The /_image endpoint now checks that the source is actually SVG before honoring f=svg, so requests that previously served non-SVG content as image/svg+xml will no longer do so. github.com
astro 6.1.6 breaking changes
- Signature changed
app:App.logger
Was logger: Logger; now logger: AstroLogger. npmjs.com - Signature changed
app:AppPipeline.logger
Was readonly logger: Logger; now readonly logger: AstroLogger. npmjs.com
And 8 more in this version.
astro 6.1.5 breaking changes
- Behavior changed
When creating new projects, astro add cloudflare now sets compatibility_date to the current date instead of a date resolved from locally installed packages. Users who depended on the previous date should check the generated wrangler config. github.com
astro 6.1.4 breaking changes
- Removed
assets/utils:matchHostname
matchHostname was removed in astro 6.1.4 npmjs.com - Removed
assets/utils:matchPathname
matchPathname was removed in astro 6.1.4 npmjs.com
And 19 more in this version.
astro 6.1.0 breaking changes
- Removed
'astro:assets'.AstroAssets
'astro:assets'.AstroAssets was removed in astro 6.1.0 npmjs.com - Signature changed
AstroInlineConfig.markdown.smartypants
Was smartypants?: boolean; now smartypants?: boolean | Smartypants. npmjs.com
And 4 more in this version.
astro 6.0.6 breaking changes
- Removed
Support for Node >=20.19.1 that was added temporarily is removed, so users on those Node versions should move to a supported Node version. github.com
astro 6.0.5 breaking changes
- Signature changed
assets/runtime:createSvgComponent
Was function createSvgComponent({meta, attributes, children}: SvgComponentProps): import("../runtime/server/index.js").AstroComponentFactory & ImageMetadata; now function createSvgComponent({meta, attributes, children, styles}... npmjs.com
astro 6.0.0 breaking changes
- Removed
Use Node 22.12.0 or higher in development and deployment environments. docs.astro.build - Removed
'astro:actions'.ACTION_ERROR_CODES
'astro:actions'.ACTION_ERROR_CODES was removed in astro 6.0.0 npmjs.com
And 207 more in this version.
astro 6.0.0-beta.16 breaking changes
- Default changed
fetchpriority
The Image component no longer outputs fetchpriority="auto" by default; the value is the browser default, so output is equivalent. github.com
astro 6.0.0-beta.15 breaking changes
- Removed
astro:ssr-manifest
Types for the astro:ssr-manifest module are removed because the module was removed. github.com
astro 6.0.0-beta.13 breaking changes
- Behavior changed
Styles applied to code blocks are emitted differently to support CSP; this was later reverted in beta.15. github.com
astro 6.0.0-beta.12 breaking changes
- Renamed
entryType
In the v6 beta Adapter API, entryType is renamed to entrypointResolution; legacy-dynamic becomes explicit and self becomes auto. github.com - Behavior changed
Responsive image styles are now generated at build time with class and data attributes instead of injected at runtime, which may affect custom styling or CSP setups. github.com
astro 6.0.0-beta.11 breaking changes
- Behavior changed
SVG images processed by the default Sharp image service can now be converted to raster formats; check SVG image output. github.com
astro 6.0.0-beta.10 breaking changes
- Behavior changed
add
The add command and --add flag reject values that are not valid npmjs.org package names. github.com - Behavior changed
ssrMoveAssets
SSR builds no longer move non-asset module files to client folder in astro 6.0.0-beta.10 github.com
astro 6.0.0-beta.8 breaking changes
- Renamed
experimentalStatiHeaders
Rename the adapter flag experimentalStaticHeaders to staticHeaders in your Astro config. github.com
astro 6.0.0-beta.7 breaking changes
- Behavior changed
astro add cloudflare
astro add cloudflare now edits tsconfig and package.json github.com
astro 6.0.0-beta.6 breaking changes
- Removed
experimental.fonts
Move the experimental.fonts configuration to the new top-level fonts option. github.com - Behavior changed
renderMarkdown
Frontmatter is now parsed into metadata.frontmatter and removed from HTML output in content loaders. github.com
astro 6.0.0-beta.2 breaking changes
- Removed
Config files must now be ESM; convert CommonJS astro config files to ESM. github.com - Behavior changed
Astro.csp
Access CSP methods conditionally with optional chaining, since methods no longer throw when csp is not configured. github.com
astro 6.0.0-beta.0 breaking changes
- Behavior changed
legacy.collectionsBackwardsCompat
Adds a flag restoring v5 legacy content collection behavior in astro 6.0.0-beta.0 github.com
astro 6.0.0-alpha.4 breaking changes
- Removed
Removes rendering Astro components in Vitest client environments github.com
astro 6.0.0-alpha.3 breaking changes
- Removed
Removes an exposed internal API of the preview server in astro 6.0.0-alpha.3 github.com - Removed
session.driver
Removes the session test driver in astro 6.0.0-alpha.3 github.com
astro 6.0.0-alpha.1 breaking changes
- Removed
Use the new createSchema() property instead of a schema function. github.com - Removed
Removes percent-encoded percent signs in routes in astro 6.0.0-alpha.1 github.com
And 11 more in this version.
astro 6.0.0-alpha.0 breaking changes
- Removed
Users must run Astro on Node.js 22.12.0 or newer. github.com - Removed
Removes legacy content collection support in astro 6.0.0-alpha.0 github.com
And 14 more in this version.
astro 5.0.0 breaking changes
- Removed
'astro:transitions'.ViewTransitionsModule
'astro:transitions'.ViewTransitionsModule was removed in astro 5.0.0 npmjs.com - Removed
App
App was removed in astro 5.0.0 npmjs.com
And 145 more in this version.
astro 5.0.0-beta.9 breaking changes
- Configuration changed
src.content.config.*
The old location is still supported but is required when legacy.collections is enabled. github.com - Signature changed
Astro.IntegrationHooks.astro:build:done
The routes argument is now IntegrationRouteData instead of RouteData. Update adapter types to match. npmjs.com
astro 5.0.0-beta.8 breaking changes
- Behavior changed
actions
Action results from HTML forms are rendered directly instead of redirecting with cookies; restore old behavior with middleware if needed. github.com
astro 5.0.0-beta.7 breaking changes
- Behavior changed
astro.components
Vite upgraded to 6.0.0-beta.6 in astro 5.0.0-beta.7 github.com
astro 5.0.0-beta.6 breaking changes
- Behavior changed
--mode
The --mode flag now accepts any value; mode changes do not change code transforms. github.com - Behavior changed
charset
Markdown pages in src/pages now get a meta charset tag instead; layouts must include the meta charset tag if needed. github.com
astro 5.0.0-beta.5 breaking changes
- Behavior changed
redirects
Redirects configured in astro.config.mjs now return an HTML response in dev matching the static build. github.com
astro 5.0.0-beta.4 breaking changes
- Removed
image().refine
Validate image properties at runtime in the page or component instead. github.com - Removed
layout
The layout frontmatter property is not supported in Markdown collection entries; use dynamic routes that include the page styling instead. github.com
And 4 more in this version.
astro 5.0.0-beta.3 breaking changes
- Removed
cacheManifest
The astro:build:done hook no longer receives cacheManifest. Remove any code that reads it. github.com - Removed
experimental.contentCollectionsCache
The contentCollectionsCache flag no longer exists. Remove it from your Astro config. github.com
And 1 more in this version.
astro 5.0.0-alpha.8 breaking changes
- Renamed
ViewTransitions
The ViewTransitions component is now ClientRouter with no other changes. The old name works in Astro 5.x and will be removed in 6.0. github.com - Behavior changed
locals
Middleware, endpoints and pages can only add values to locals, not replace the object. Use Object.assign on the existing object instead. github.com
And 1 more in this version.
astro 5.0.0-alpha.7 breaking changes
- Removed
supportedAstroFeatures.assets
Adapters can no longer set the assets property; use sharpImageService to declare sharp compatibility. github.com - Configuration changed
experimental.serverIslands
Server islands are no longer experimental. Remove the serverIslands flag from your experimental config. github.com
And 2 more in this version.
astro 5.0.0-alpha.6 breaking changes
- Removed
output: 'hybrid'
The output 'hybrid' option no longer exists. Remove it from your Astro config; server-rendered pages still need an adapter. github.com
astro 5.0.0-alpha.5 breaking changes
- Behavior changed
build.client
Build output paths change when outDir is set; update code that depends on the old build paths. github.com
astro 5.0.0-alpha.4 breaking changes
- Renamed
ScopedDataStore
Use the DataStore type name instead of ScopedDataStore. github.com - Configuration changed
experimental.contentLayer
Remove the experimental.contentLayer flag from your Astro config. github.com
And 1 more in this version.
astro 5.0.0-alpha.3 breaking changes
- Renamed
vfile.data.__astroHeadings
Remark and Rehype plugins must read headings from the new location. github.com - Renamed
vfile.data.imagePaths
Read imagePaths from the new location; it is now an array instead of a Set. github.com
And 2 more in this version.
astro 5.0.0-alpha.2 breaking changes
- Behavior changed
astro:content
Importing astro:content on the client now throws an error. Keep content usage on the server. github.com - Behavior changed
page.url.current
page.url values include base automatically, so remove any manual base prefix you added. github.com
And 1 more in this version.
astro 5.0.0-alpha.1 breaking changes
- Removed
astro.jsx.babel.js
Upgrade @astrojs/mdx to the latest version, since it no longer relies on these entrypoints. github.com - Removed
astro.jsx.component.js
Upgrade @astrojs/mdx to the latest version, since it no longer relies on these entrypoints. github.com
And 9 more in this version.
astro 5.0.0-alpha.0 breaking changes
- Removed
Previously deprecated types may now be fully removed from the astro module. Update code that relied on them. github.com - Removed
AstroAdapterFeatures.functionPerRoute
The functionPerRoute option is removed from Astro and @astrojs/vercel. Remove it from your configuration. npmjs.com
And 2 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.