Astro
Frontend & MobileThe web framework for content-driven websites. ⭐️ Star to support our work!
Release History
@astrojs/cloudflare@13.1.91 fixThis patch release fixes an issue where .svelte files in node_modules caused errors with the Cloudflare adapter when prerendering for a Node environment. It also updates the underscore-redirects dependency.
@astrojs/svelte@8.0.51 fixThis patch release fixes an issue where .svelte files in node_modules caused errors when using the Cloudflare adapter with node prerendering.
@astrojs/partytown@2.1.7This patch release updates the dependency for @qwik.dev/partytown to version 0.13.2.
astro@6.1.62 fixesThis patch release addresses several bugs, including an issue with Actions when using static output and incorrect reload behavior for SCSS/CSS module changes during development. It also improves handling of special characters in inline script content.
@astrojs/cloudflare@13.1.82 fixesThis patch release addresses an ERR_MULTIPLE_CONSUMERS error related to Cloudflare Queues integration during prerendering and cleans up an unused export in the /info package path.
astro@6.1.53 fixesThis patch release fixes several build and streaming issues, improves UnoCSS revival in development mode, and updates the default Cloudflare compatibility date for new projects.
astro@6.1.44 fixesThis patch release addresses several bugs related to Vite builds, the Cloudflare adapter in development mode, and trailing slash handling for pages with dots in filenames and static builds.
@astrojs/react@5.0.31 fixThis patch release fixes an issue where React 19's "Float" mechanism incorrectly injected preload links into Astro islands instead of the document head.
astro@6.1.36 fixesThis patch release addresses several bugs across development, SSR builds, and client-side bundling, including fixes related to the Cloudflare adapter and MDX rendering.
@astrojs/preact@5.1.11 fixThis patch release optimizes dependency pre-optimization in the Vite dep optimizer to improve development performance by preventing unnecessary full page reloads.
@astrojs/underscore-redirects@1.0.31 fixThis patch release fixes an issue where generated redirect files did not respect the trailingSlash configuration, leading to incorrect URL formats and 404 errors.
@astrojs/netlify@7.0.6This patch release primarily updates dependencies, specifically upgrading @astrojs/underscore-redirects to version 1.0.3.
@astrojs/vercel@10.0.41 fixThis patch release fixes a critical bug in the edge middleware where HTTP methods and bodies were incorrectly dropped when forwarding requests, leading to failures for non-GET API routes.
@astrojs/cloudflare@13.1.7This patch release primarily updates dependencies, specifically upgrading @astrojs/underscore-redirects to version 1.0.3.
@astrojs/cloudflare@13.1.61 fixThis patch release fixes a development-mode crash loop occurring in the Cloudflare adapter when Starlight is in use.
create-astro@5.0.51 fixThis patch release primarily addresses an issue where dependency installation failed on Windows when Bun was used as the package manager.
@astrojs/cloudflare@13.1.51 fixThis patch release fixes an HMR crash related to content collection file edits caused by a conflict between Vite's SSR transform and zod v4's `meta` export, and updates a dependency.
astro@6.1.23 fixesThis patch release addresses several bugs, including issues with preview host configuration, static asset interception in middleware mode with the Node adapter, and improved Zod validation error formatting.
create-astro@5.0.42 fixesThis patch release fixes an issue where dependency installation failed on Windows during project creation by correctly invoking package manager commands via cmd.exe. It also improves error reporting during installation failures.
astro@6.1.12 fixesThis patch release addresses two specific bugs: one causing a crash in the dev toolbar audit and another affecting Vue's `:deep()` selector handling in the client router during development.
astro@6.1.015 fixes3 featuresThis release introduces advanced configuration options for Sharp image service defaults and SmartyPants typography, alongside several bug fixes addressing development server stability, build errors, and accessibility auditing.
@astrojs/svelte@8.0.42 fixesThis patch release includes fixes for Svelte integration issues, specifically addressing empty class attributes in SSR and improving generic type parameter inference for Svelte components.
@astrojs/partytown@2.1.61 fixThis patch release addresses a critical bug related to file descriptor leaks in read streams.
@astrojs/rss@4.0.181 fixThis patch release updates the dependency on fast-xml-parser to version ^5.5.7 to address security vulnerabilities related to entity expansion.
@astrojs/mdx@5.0.3This patch release primarily updates the dependency for @astrojs/markdown-remark to version 7.1.0.
@astrojs/netlify@7.0.51 fixThis patch release fixes an issue where server islands returned 404 errors in static output mode and updates dependencies.
@astrojs/vercel@10.0.31 fixThis patch release addresses a specific bug related to Vercel ISR path rewriting.
@astrojs/cloudflare@13.1.42 fixesThis patch release fixes an issue where redirect destinations were unnecessarily prerendered, preventing potential build failures caused by external requests during static builds.
@astrojs/preact@5.1.01 featureThis minor release introduces the ability to configure Babel options when using the Preact integration via the Vite plugin configuration.
@astrojs/react@5.0.22 fixesThis patch release focuses on improving React integration by fixing hydration issues related to conditional slot rendering and `experimentalReactChildren`. It also includes performance improvements for static HTML rendering in React.
@astrojs/markdown-remark@7.1.01 featureThe markdown processor now allows users to pass advanced configuration options for SmartyPants typography transformations when initializing the processor.
@astrojs/sitemap@3.7.21 fixThis patch release fixes an issue where i18n fallback pages were incorrectly omitted from the sitemap when using the 'rewrite' fallback type.
@astrojs/markdoc@1.0.3This patch release primarily updates dependencies, specifically upgrading @astrojs/markdown-remark to version 7.1.0.
astro-vscode@2.16.14This patch updates the minimum required version of VS Code to 1.92.0 (July 2024).
@astrojs/node@10.0.42 fixesThis patch release addresses critical stability issues by fixing file descriptor leaks and resolving an infinite loop scenario during client directory resolution.
@astrojs/cloudflare@13.1.3This patch release primarily updates the dependency for @astrojs/underscore-redirects to version 1.0.2.
@astrojs/netlify@7.0.4This patch release primarily involved updating dependencies, specifically upgrading @astrojs/underscore-redirects to version 1.0.2.
astro@6.0.83 fixesThis patch release addresses several bugs, including issues with Astro Actions schema validation, dev server hangs with the Cloudflare adapter, and path handling in `Astro.rewrite()`.
@astrojs/underscore-redirects@1.0.21 fixThis patch release fixes a bug related to the creation of redirects in the _redirects file when trailing slashes were present.
astro@6.0.77 fixesThis patch release addresses several bugs, including regressions in server islands, issues with dynamic locale resolution, and fixes an EventEmitter memory leak in Node.js middleware.
@astrojs/vercel@10.0.21 fixThis patch release primarily addresses a bug related to Vercel serverless path override handling by ensuring override values are only applied when the trusted middleware secret is present.
@astrojs/svelte@8.0.31 fixThis patch release fixes an issue with Cloudflare dev SSR dependency optimization related to Svelte rune compilation.
create-astro@5.0.3This patch release introduces a warning when using the --yes flag with third-party templates to inform users about potential lifecycle script execution during dependency installation.
@astrojs/node@10.0.31 fixThis patch release addresses an EventEmitter memory leak issue present in the Node.js middleware handler when serving static pages.
astro@6.0.6Breaking7 fixesThis patch release fixes several bugs related to client hydration with subpath imports, HMR behavior on Windows, SSR dynamic routes, and type inference for content collections, while also updating dependency versions.
@astrojs/svelte@8.0.2BreakingThis patch removes temporary support for Node versions >=20.19.1 to align with Stackblitz's default Node 22 environment.
astro-vscode@2.16.132 fixes1 featureThis patch release improves template scoping for .astro files and resolves bugs related to attribute completions and syntax highlighting within expressions.
@astrojs/prism@4.0.1BreakingThis patch removes temporary support for Node >=20.19.1 to align with Stackblitz's default Node 22 environment.
@astrojs/upgrade@0.7.1BreakingThis patch removes temporary support for Node >=20.19.1 to align with Stackblitz's default Node 22 environment.
create-astro@5.0.2BreakingThis patch removes temporary support for Node >=20.19.1 to align with Stackblitz's default Node 22 environment.
@astrojs/markdown-remark@7.0.1This patch release primarily updates the dependency for @astrojs/prism to version 4.0.1.
@astrojs/react@5.0.1BreakingThis patch removes temporary support for Node versions >=20.19.1 due to changes in Stackblitz's default Node version.
@astrojs/solid-js@6.0.1BreakingThis patch removes temporary support for Node versions >=20.19.1 to align with Stackblitz's default Node 22 environment.
@astrojs/preact@5.0.2BreakingThis patch removes temporary support for Node >=20.19.1 to align with Stackblitz's default Node 22 environment.
@astrojs/language-server@2.16.61 fixThis patch release primarily addresses a bug where code completions were intermittently failing within HTML href attributes.
@astrojs/db@0.20.11 fixThis patch release addresses dependency warnings by replacing the deprecated deep-diff library with microdiff.
@astrojs/mdx@5.0.2BreakingThis patch removes temporary support for Node >=20.19.1 due to Stackblitz updating its default Node version to 22 and updates the @astrojs/markdown-remark dependency.
@astrojs/markdoc@1.0.2BreakingThis patch release removes temporary support for older Node versions (>=20.19.1) in response to Stackblitz defaulting to Node 22, and updates several dependencies.
@astrojs/vue@6.0.1This patch updates the required peer dependency constraint for Astro to version 6.0.0.
astro-vscode@2.16.121 fixThis patch release updates Volar services to version 0.0.70, resolving installation warnings related to a vulnerable transitive dependency on lodash.
@astrojs/node@10.0.2This patch updates the required peer dependency constraint for Astro to version 6.0.0.
@astrojs/vercel@10.0.1This patch updates the required peer dependency constraint for Astro to version 6.0.0.
@astrojs/language-server@2.16.51 fixThis patch release updates Volar services to version 0.0.70, primarily fixing security warnings related to a transitive dependency on lodash.
@astrojs/netlify@7.0.3This patch updates the required peer dependency version for Astro to 6.0.0 and bumps the version of @astrojs/underscore-redirects.
@astrojs/preact@5.0.11 fixThis patch release fixes an issue where `useId()` could collide across multiple Astro islands during Preact SSR and hydration.
astro@6.0.510 fixesThis patch release focuses on stability and correctness, fixing several issues related to server deferral in prerendered environments, build process leaks, and hydration script emission. It also resolves startup warnings and improves content schema validation.
@astrojs/cloudflare@13.1.21 fixThis patch fixes an issue causing module resolution failures for deferred islands in prerendered environments and updates the required peer dependency version for Astro core.
@astrojs/mdx@5.0.1This patch updates the required peer dependency version for Astro to 6.0.0.
create-astro@5.0.11 fixThis patch release resolves Node.js DEP0190 warnings during the execution of `create-astro` by removing the use of `shell: true` when spawning package manager commands.
@astrojs/check@0.9.81 fixThis patch release primarily addresses an issue where the 'astro check' command could not be found and updates the language server dependency.
@astrojs/svelte@8.0.1This patch updates the required peer dependency constraint for Astro to version 6.0.0.
@astrojs/markdoc@1.0.1This patch updates the required peer dependency version for Astro to 6.0.0.
astro@6.0.47 fixesThis patch release focuses on fixing several bugs related to the development server, routing, server islands, and toolbar functionality. It also updates an error hint to reflect the correct Vite 7 configuration key.
@astrojs/cloudflare@13.1.11 fixThis patch release improves the Cloudflare development server startup time by prebundling additional Astro runtime dependencies and fixes an issue where images failed to load in dev mode with the Cloudflare option enabled.
@astrojs/netlify@7.0.21 fixThis patch release primarily addresses an issue causing build warnings related to the adapter and updates the dependency for @astrojs/underscore-redirects.
@astrojs/node@10.0.11 fixThis patch release fixes an issue causing excessive warnings during the build process when using the adapter.
astro@6.0.31 fixThis patch release improves the development environment handling for prerendered routes, ensuring consistent behavior across SSR and prerender environments, and fixes a regression in the `astro:build:done` hook output.
@astrojs/cloudflare@13.1.05 fixes1 featureThis release introduces the `prerenderEnvironment` option for the Cloudflare adapter to support Node.js prerendering environments. It also includes several bug fixes, particularly around configuration forwarding and image handling in the Cloudflare adapter.
@astrojs/cloudflare@13.0.22 fixesThis patch release fixes an issue with `return;` syntax in frontmatter and corrects incorrect KV binding behavior in the Cloudflare adapter.
astro@6.0.21 fixThis patch release primarily addresses a bug related to the `return;` syntax within frontmatter.
@astrojs/partytown@2.1.51 fixThis patch release primarily addresses a bug that caused publishing to fail.
@astrojs/rss@4.0.171 fixThis patch release pins the fast-xml-parser dependency to version 5.4.1 to address an upstream bug.
astro-vscode@2.16.111 fixThis patch release primarily addresses an issue that caused a failure during the publication process for version 2.16.11.
astro@6.0.11 fixThis patch release fixes a bug in the `astro add` command related to displaying pending tsconfig changes before confirmation.
@astrojs/netlify@6.6.5This patch release primarily involved updating internal and redirects dependencies to newer versions.
@astrojs/node@9.5.5This patch release primarily consists of dependency updates, specifically upgrading @astrojs/internal-helpers to version 0.7.6.
@astrojs/internal-helpers@0.7.61 fixThis patch release addresses a bug related to glob matching of remote patterns, ensuring they match only the intended paths.
@astrojs/markdown-remark@6.3.11This patch release primarily focused on updating internal dependencies to version 0.7.6 of @astrojs/internal-helpers.
@astrojs/vercel@9.0.5This patch release primarily involves updating internal dependencies to version 0.7.6 of @astrojs/internal-helpers.
astro@5.18.1This patch release primarily focused on updating internal dependencies to newer versions.
@astrojs/markdoc@0.15.11This patch release primarily updates internal and markdown remark dependencies to newer versions.
@astrojs/mdx@4.3.14This patch release primarily updates the dependency on @astrojs/markdown-remark to version 6.3.11.
@astrojs/cloudflare@12.6.13This patch release primarily involved updating internal and redirects dependencies to newer versions.
@astrojs/svelte@8.0.0Breaking1 fixAstro v6.0 introduces major upgrades, moving to Vite v7.0 and increasing the minimum required Node.js version to 22.12.0, alongside minor dependency updates.
@astrojs/db@0.20.0Astro v6.0 has been released, upgrading the development server and production bundler to Vite v7.0. This patch also updates the internal usage of zod to v4.
@astrojs/prism@4.0.0Breaking1 fixThis release updates to Astro 6 beta and enforces a minimum Node.js version of 22.12.0, with a minor adjustment made to accommodate Stackblitz environments.
@astrojs/react@5.0.0Breaking1 fix1 featureAstro v6.0 has been released, upgrading the core engine to Vite v7.0 and increasing the minimum required Node.js version to 22.12.0, alongside dependency updates.
@astrojs/node@10.0.0Breaking10 fixes2 featuresThis release removes the experimental error page host option, stabilizes static header configuration naming, and updates session driver configuration to use a standardized object shape. Several bug fixes address path resolution, CSRF checks, and error page serving in the Node.js adapter.
@astrojs/netlify@7.0.0Breaking4 fixes5 featuresAstro v6 is released, upgrading the core bundler to Vite v7.0 and introducing significant updates to adapter configuration, including stabilizing features and deprecating old options. Key changes involve renaming experimental flags and updating session driver configuration syntax.
@astrojs/rss@4.0.16This patch updates several internal dependencies, including Zod to v4 and fast-xml-parser to v5.3.6, and aligns usage with the standalone Zod dependency.
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