Astro
Frontend & MobileThe web framework for content-driven websites. ⭐️ Star to support our work!
Release History
astro@6.0.0-beta.172 featuresThis release introduces the `middlewareMode` option for adapter authors, deprecating the older `edgeMiddleware` setting. Additionally, a new configuration option allows users to set a size limit for Astro Actions request bodies.
@astrojs/node@10.0.0-beta.62 featuresThis patch release introduces configuration for Astro Actions request body size limits and refactors adapter usage via `middlewareMode`.
@astrojs/vercel@10.0.0-beta.61 featureThis minor release introduces the new `middlewareMode` adapter feature while deprecating the older `edgeMiddleware` option for configuration.
@astrojs/cloudflare@13.0.0-beta.11This patch release updates the dependency on @astrojs/underscore-redirects and refactors internal adapter usage to utilize `middlewareMode` set to `classic`.
@astrojs/mdx@5.0.0-beta.9This patch release primarily involves updating dependencies, specifically upgrading @astrojs/markdown-remark to version 7.0.0-beta.8.
@astrojs/markdoc@1.0.0-beta.12This patch release primarily involved updating dependencies, specifically upgrading @astrojs/markdown-remark to version 7.0.0-beta.8.
@astrojs/netlify@7.0.0-beta.121 fix1 featureThis release introduces the new `middlewareMode` adapter feature, deprecating the older `edgeMiddleware` option, and resolves an issue causing 404 errors on server-rendered routes when using the Netlify adapter.
@astrojs/markdown-remark@7.0.0-beta.81 fixThis patch release addresses a bug related to the usage of the Code component, preventing unexpected errors.
astro@6.0.0-beta.162 fixesThis release removes the redundant `fetchpriority="auto"` attribute from the <Image> component output and resolves build errors related to large static route generation and SVG usage in content collections. It also removes the problematic `cssesc` dependency for better ESM support.
@astrojs/netlify@7.0.0-beta.111 fixThis patch release fixes a build failure related to the Netlify adapter caused by recent internal changes. It also updates the dependency for underscore redirects.
@astrojs/cloudflare@13.0.0-beta.101 fixThis patch release removes the problematic `cssesc` dependency, replacing it with an ESM-friendly implementation, and fixes an issue with the <Code /> component on Cloudflare Workers.
astro@5.18.01 fix1 featureThis release introduces a new configuration option, `security.actionBodySizeLimit`, to control the maximum payload size for Astro Actions. A bug fix was also implemented for X-Forwarded-Proto validation in specific domain configurations.
@astrojs/cloudflare@13.0.0-beta.9Breaking3 fixes2 featuresThis release updates the default image service to `cloudflare-binding` and introduces granular configuration for build and runtime image services. It also enhances Cloudflare adapter support by exposing more options from the underlying Cloudflare Vite plugin.
@astrojs/node@10.0.0-beta.51 featureThis patch release includes updates related to the new Adapter API introduced in v6 and adds a default body size limit for server actions.
@astrojs/rss@4.0.15-beta.4This patch release updates the dependency fast-xml-parser to version 5.3.6.
@astrojs/preact@5.0.0-beta.41 fixThis patch release fixes a bug where the Preact integration interfered with React 19 components, causing invalid hook call errors.
@astrojs/svelte@8.0.0-beta.3This patch release updates the dependency on Svelte to version 5.51.5.
astro@6.0.0-beta.1510 fixes4 featuresThis release introduces two major experimental features: a queue-based rendering engine (`queuedRendering`) for potential performance gains, and an optional Rust-based compiler (`rustCompiler`). Several performance improvements and bug fixes related to SSR, client-side navigation, and build stability were also implemented.
astro@6.0.0-beta.143 fixesThis patch release focuses on stability, fixing an issue with route cache clearing during development and resolving validation logic in X-Forwarded-Proto checks.
@astrojs/node@9.5.41 featureThis patch introduces a default body size limit for server actions to enhance memory safety and updates the minimum required Astro version for @astrojs/node.
astro@5.17.31 fix1 featureThis patch release introduces a default body size limit for server actions to enhance memory safety and fixes an issue where the Image component incorrectly handled remote image sizing and redirects.
@astrojs/markdoc@1.0.0-beta.11This patch release primarily updates dependencies, specifically upgrading @astrojs/markdown-remark to version 7.0.0-beta.7.
astro@6.0.0-beta.13Breaking3 fixes3 featuresThis release introduces an NPM font provider, enhances the `<Code />` component with support for embedded languages, and updates how code block styles are emitted for better CSP compatibility. Adapters can now explicitly control HTML streaming via `createApp()`.
@astrojs/markdown-remark@7.0.0-beta.7BreakingThis release updates how styles for code blocks are emitted to improve Content Security Policy (CSP) support. Users should review the v6 upgrade guidance for necessary adjustments.
@astrojs/mdx@5.0.0-beta.8BreakingThis release updates dependencies and introduces a significant change in how styles for code blocks are emitted to improve Content Security Policy (CSP) support.
@astrojs/db@0.19.0-beta.4This patch release includes an improvement to the CLI styling.
@astrojs/vercel@10.0.0-beta.5This patch release includes updates necessary to align with the new Adapter API introduced in Astro v6.
@astrojs/netlify@7.0.0-beta.10This patch updates dependencies, specifically upgrading @astrojs/underscore-redirects to v1.0.0, and includes necessary adjustments for the new Adapter API introduced in Astro v6.
@astrojs/cloudflare@13.0.0-beta.8Breaking1 fixThis release drops official support for Cloudflare Pages deployments, shifting focus to Cloudflare Workers, and fixes an issue where static sites incorrectly outputted worker code.
astro-vscode@2.16.9-beta.01 fixThis patch release primarily addresses a bug related to syntax highlighting for specific lowercase component tags.
astro@6.0.0-beta.12Breaking5 fixes2 featuresThis release introduces significant updates to the v6 beta Adapter API, renaming configuration properties and deprecating several functions. It also improves responsive image handling with CSP compatibility and fixes several development and CLI bugs.
@astrojs/markdoc@1.0.0-beta.101 fixThis patch release resolves an issue in Markdoc where custom attributes on the built-in `table` tag/node were not being synchronized, leading to validation errors.
@astrojs/vercel@10.0.0-beta.41 fixThis patch release updates the codebase to utilize the new Adapter API and fixes an issue related to build.serverEntry respecting this new API.
@astrojs/netlify@7.0.0-beta.91 fixThis patch release updates to the new Adapter API and fixes an issue related to `build.serverEntry` respecting this new API.
@astrojs/node@10.0.0-beta.41 fixThis patch release improves the reliability of error page loading by prioritizing reading from disk.
astro@6.0.0-beta.113 fixes2 featuresThis release introduces SVG rasterization support via the Sharp image service and enhances the Adapter API to allow specifying a custom server entrypoint when using `entryType: 'self'`. Several minor bugs related to content collection entries and server entrypoint respect have also been fixed.
@astrojs/cloudflare@13.0.0-beta.72 fixesThis patch release fixes an issue where server-side dependencies in frontmatter were not discovered early, preventing unnecessary reloads during development. It also resolves a bug related to `build.serverEntry` not being respected with the new Adapter API.
@astrojs/mdx@5.0.0-beta.71 fixThis patch release addresses an edge case bug related to component detection when the optimize option is enabled.
@astrojs/node@9.5.31 fixThis patch release improves the reliability of error page loading by ensuring it reads from disk first.
astro@5.17.21 fixThis patch release primarily focuses on improving Host header handling for SSR deployments when operating behind proxies.
@astrojs/markdoc@1.0.0-beta.91 featureThis release updates internal helper dependencies and integrates Astro's new emitClientAsset API for image handling within content collections.
create-astro@5.0.0-beta.42 fixesThis patch release addresses a security vulnerability in the `add` command by strictly validating inputs for integrations and adapters, preventing arbitrary values from being accepted.
@astrojs/vercel@10.0.0-beta.3BreakingThis release removes deprecated Vercel exports and updates the core implementation to utilize the new Adapter API.
@astrojs/cloudflare@13.0.0-beta.6Breaking1 fix1 featureThis release removes the deprecated `cloudflareModules` option from the Cloudflare adapter and introduces support for prerendering pages using the workerd runtime for better consistency.
@astrojs/node@10.0.0-beta.3This patch release primarily involved updating internal dependencies, specifically @astrojs/internal-helpers to version 0.8.0-beta.1.
astro@6.0.0-beta.104 fixes4 featuresThis release introduces significant enhancements for integration authors, including custom prerendering logic via the Integration API and new utilities for handling remote image sizing and client assets during SSR. It also includes several bug fixes related to redirects, asset handling in SSR, and security improvements to the 'add' command.
@astrojs/markdown-remark@7.0.0-beta.6This patch release primarily involves updating internal dependencies, specifically bumping @astrojs/internal-helpers to version 0.8.0-beta.1.
@astrojs/netlify@7.0.0-beta.81 featureThis release updates the internal implementation to leverage the new Adapter API and updates several internal dependencies.
@astrojs/vue@6.0.0-beta.1This minor release updates several underlying Vite plugins, including @vitejs/plugin-vue to v6, without requiring user action.
@astrojs/internal-helpers@0.8.0-beta.12 featuresThis minor release introduces the `normalizePathname()` utility for URL path normalization and adds a new "/cli" specifier along with `NPM_PACKAGE_NAME_REGEX`.
@astrojs/mdx@5.0.0-beta.6This patch release primarily involves updating dependencies, specifically upgrading @astrojs/markdown-remark to version 7.0.0-beta.6.
astro@6.0.0-beta.92 fixesThis patch release primarily focuses on fixing an issue with CSP header injection during development and improving the handling of legacy adapters.
@astrojs/cloudflare@13.0.0-beta.5BreakingThis release removes the unused `workerEntryPoint` option, requiring users to configure the main entry point via the wrangler config's `main` field instead, and updates a dependency.
@astrojs/node@10.0.0-beta.2Breaking1 featureThis minor release stabilizes the adapter feature flag for static headers, renaming `experimentalStatiHeaders` to `staticHeaders` and requiring users to update their configuration.
astro@6.0.0-beta.8Breaking3 fixesThis release stabilizes the `staticHeaders` adapter feature by renaming it from `experimentalStatiHeaders` and includes several bug fixes related to CSS updates in development mode and image generation during build.
@astrojs/vercel@10.0.0-beta.2BreakingThis minor release stabilizes the adapter feature `experimentalStatiHeaders`, renaming it to `staticHeaders` and requiring configuration updates for users relying on it.
@astrojs/netlify@7.0.0-beta.7BreakingThis release stabilizes the adapter feature flag `experimentalStatiHeaders`, renaming it to `staticHeaders`, and updates the `@astrojs/underscore-redirects` dependency.
@astrojs/markdown-remark@7.0.0-beta.51 fixThis patch release fixes a bug related to Prism code block generation, preventing the unwanted inclusion of the `is:raw` attribute in the output.
@astrojs/mdx@5.0.0-beta.5This patch release primarily updates dependencies, specifically upgrading @astrojs/markdown-remark to a beta version.
@astrojs/markdoc@1.0.0-beta.8This patch release primarily updates dependencies, specifically upgrading @astrojs/markdown-remark to version 7.0.0-beta.5.
@astrojs/node@10.0.0-beta.1This patch release primarily involves updating internal dependencies, specifically bumping @astrojs/internal-helpers to version 0.8.0-beta.0.
@astrojs/vercel@10.0.0-beta.1This patch release primarily involves updating internal helper dependencies.
@astrojs/preact@5.0.0-beta.31 fixThis patch release fixes an issue where Preact components failed to render correctly with the Cloudflare adapter in development mode.
astro@6.0.0-beta.74 fixes2 featuresThis release improves Cloudflare adapter setup with better TypeScript support and fixes several bugs related to content layer dynamic imports and image attribute handling. It also updates internal dependencies.
@astrojs/netlify@7.0.0-beta.6This patch release updates internal and redirects dependencies to newer versions.
@astrojs/rss@4.0.15-beta.3This patch release primarily updates the internal dependency on zod to version 4.
@astrojs/internal-helpers@0.8.0-beta.0BreakingThis minor release introduces a breaking change by removing several path utility functions from the /path export.
@astrojs/cloudflare@13.0.0-beta.41 fixThis patch release fixes type incompatibility issues for the exported `handle()` function and updates the Cloudflare integration to use the latest compatibility date.
@astrojs/mdx@5.0.0-beta.4This patch release primarily involved updating dependencies, specifically upgrading @astrojs/markdown-remark to version 7.0.0-beta.4.
create-astro@5.0.0-beta.32 fixesThis patch release introduces a timeout for npm version checks to prevent hangs and fixes an issue where using --add and --no-install flags together caused an error.
@astrojs/markdown-remark@7.0.0-beta.4This patch release primarily updates internal helper dependencies.
@astrojs/sitemap@3.6.1-beta.3This patch release primarily updates the internal dependency on zod to version 4.
@astrojs/markdoc@1.0.0-beta.71 fixThis patch release fixes a bug in Markdoc configuration where custom render components were being overridden by built-in transform functions. Dependencies were also updated.
@astrojs/db@0.19.0-beta.3This patch release primarily updates the internal dependency on zod to version 4.
@astrojs/mdx@5.0.0-beta.3This patch release primarily updates dependencies, specifically upgrading @astrojs/markdown-remark to version 7.0.0-beta.3.
astro@6.0.0-beta.6Breaking2 fixes4 featuresThis release introduces a comprehensive new Fonts API for managing custom fonts and enhances content loaders by adding frontmatter extraction and relative image path resolution to `renderMarkdown`. Configuration for fonts has been updated, removing the experimental flag.
@astrojs/markdoc@1.0.0-beta.6This patch release primarily updates dependencies, specifically upgrading @astrojs/markdown-remark to version 7.0.0-beta.3.
@astrojs/cloudflare@13.0.0-beta.31 fixThis patch release fixes a critical bug in the development server related to loading framework components from linked monorepo packages, resolving 504 errors during initial requests.
@astrojs/markdown-remark@7.0.0-beta.31 featureThis minor release introduces an enhancement to Markdown processing by exposing the 'fileURL' option in 'MarkdownProcessorRenderOptions' for better relative image path resolution.
astro@5.17.1BreakingThis patch removes the memory-intensive `getFontBuffer()` helper from the experimental Fonts API. Users relying on this function must implement manual file reading or fetching logic.
astro@5.17.06 featuresThis release introduces significant enhancements to the Content Layer API by allowing async parsing and body retention control, alongside new configuration options for the image service and dev toolbar placement.
astro@6.0.0-beta.52 fixesThis patch release addresses issues related to CSS loading and raw imports when mixing SSR and prerendered routes.
astro@5.16.163 fixesThis patch release focuses on stability, ensuring server island requests use encrypted identifiers and fixing a minor bug in the error overlay rendering.
astro@6.0.0-beta.42 fixesThis patch release addresses two specific bugs: one related to missing styles in development for prerendered pages with the Cloudflare adapter, and another concerning unauthorized file serving in the dev server.
@astrojs/cloudflare@13.0.0-beta.21 fixThis patch release updates the underlying `@cloudflare/workers-types` library and fixes a type mismatch issue related to the `handle()` function in serverless environments.
@astrojs/react@5.0.0-beta.3This minor release updates the internal dependency for the React plugin to version 5.
@astrojs/rss@4.0.15-beta.2This patch updates the internal validation library to use Zod v4.
@astrojs/svelte@8.0.0-beta.2This minor release updates the dependency for the Svelte Vite plugin to version 6.
@astrojs/react@5.0.0-beta.2This patch release lowers the minimum required Node.js version to allow Astro to run on Stackblitz until it updates its environment.
@astrojs/prism@4.0.0-beta.21 fixThis patch addresses compatibility by lowering the minimum required Node.js version, enabling support for environments like Stackblitz.
@astrojs/svelte@8.0.0-beta.11 fixThis patch addresses compatibility by lowering the minimum required Node.js version, enabling support for environments like Stackblitz.
@astrojs/markdoc@1.0.0-beta.51 fixThis patch lowers the minimum required Node.js version to improve compatibility with environments like Stackblitz and updates several internal dependencies.
astro@6.0.0-beta.31 fixThis patch release improves performance by caching Shiki highlighter instances and lowers the minimum required Node.js version for broader compatibility.
@astrojs/mdx@5.0.0-beta.2This patch release lowers the minimum required Node.js version to support Stackblitz and updates the dependency on @astrojs/markdown-remark.
@astrojs/preact@5.0.0-beta.21 fixThis patch addresses compatibility by lowering the minimum required Node.js version, enabling execution on platforms like Stackblitz.
@astrojs/solid-js@6.0.0-beta.21 fixThis patch lowers the minimum required Node.js version to support running Astro on Stackblitz.
@astrojs/upgrade@0.7.0-beta.21 fixThis patch addresses compatibility by lowering the minimum required Node.js version, enabling support for environments like Stackblitz.
@astrojs/markdown-remark@7.0.0-beta.21 fixThis release introduces performance improvements by caching Shiki highlighter instances and updates dependencies, including @astrojs/prism.
create-astro@5.0.0-beta.2This patch release lowers the minimum required Node.js version to allow Astro to run on Stackblitz until it updates its environment.
astro@5.16.151 fixThis patch release fixes a bug related to the experimental Fonts API where class-instance font providers were not functioning correctly, particularly for the local provider.
Common Errors
AstroActionError1 reportAstroActionError often arises when the expected request body format in an Astro endpoint (like `form` or `json`) doesn't match the actual content type sent by the client. To fix, ensure the client sends data with the correct `Content-Type` header (e.g., `application/x-www-form-urlencoded` for `form`, `application/json` for `json`) aligning with how your Astro endpoint is processing the request body; also verify the client is correctly formatting the data itself according to the selected `Content-Type`.
OperationError1 reportOperationError in Astro usually arises from issues during data serialization/deserialization, often related to mismatches in expected data structures or encryption key problems. To fix it, ensure data types align between server and client components and that encryption keys are correctly configured and accessible to both environments. Specifically, verify any environmental variables used for encryption and examine the data being passed between components for unexpected formats.
ConnectTimeoutError1 reportConnectTimeoutError in Astro usually indicates a problem reaching the npm or yarn registry. Try switching to a different npm/yarn registry using `npm config set registry https://registry.npmjs.org/` or `yarn config set registry https://registry.yarnpkg.com/`, or check your internet connection and firewall settings to ensure access to the registry. You might also try increasing the timeout limit using `npm config set timeout 600` or `yarn config set network-timeout 600000`.
GenerateContentTypesError1 reportThe "GenerateContentTypesError" in Astro typically arises from server-side modules (like `node:os`) being used directly within client-side code or content collections. To resolve this, either move the server-side logic to an API endpoint accessed via `fetch`, or use a conditional import/require statement, ensuring the server-side code is only executed during the build process or in a Node.js environment. Specifically, dynamic imports with environment checks (e.g., `import.meta.env.SSR`) are useful for conditionally importing server-side modules.
Related Frontend & Mobile Packages
The library for web and native user interfaces.
Flutter makes it easy and fast to build beautiful apps for mobile and beyond
The React Framework
A framework for building native applications using React
:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
Subscribe to Updates
Get notified when new versions are released