Astro
Frontend & MobileThe web framework for content-driven websites. ⭐️ Star to support our work!
Release History
@astrojs/language-server@2.16.101 fixThis patch release fixes a crash occurring in the language server and `astro check` when TypeScript project references are used alongside .vue or .svelte files.
@astrojs/svelte@8.1.21 fixThis patch release resolves an issue where Astro's overrides of Svelte 5 component types caused type errors during testing library checks.
@astrojs/cloudflare@13.5.51 fixThis patch release fixes an issue where the assets.directory was incorrectly set in wrangler.json when a base path was configured, and updates a dependency.
@astrojs/sitemap@3.7.31 featureThis patch improves the accuracy of the <lastmod> timestamp within the sitemap index by reflecting the most recent modification date from the child sitemaps.
astro@6.3.85 fixesThis patch release addresses several bugs related to asset loading, route validation errors, scoped styles in MDX, and CSS rendering for conditionally rendered Svelte components.
astro@5.18.21 fixThis patch release fixes an issue where styles for prerendered routes were missing from the SSR manifest, improving CSS discovery for workers and middleware.
@astrojs/cloudflare@13.5.41 fix1 featureThis patch ensures that user-defined Vite dependency optimization settings are correctly applied to SSR and prerender environments, resolving dependency optimization failures in development mode for certain file types.
astro@6.3.75 fixesThis patch release addresses several bugs, including incorrect handling of binary request bodies in the Node adapter, ignored Vite build options for client builds, and issues with custom elements in MDX and dynamic route URL parsing.
astro@6.3.65 fixesThis patch release focuses on fixing several bugs related to HMR stability, content collection schema generation, and image processing for remote SVGs. It also improves accessibility by correctly preserving empty alt attributes in markdown images.
@astrojs/cloudflare@13.5.31 fixThis patch release reverts a problematic change in the esbuild dependency scanning plugin that caused build and check failures due to incorrect bundling of virtual modules.
astro@6.3.53 fixesThis patch release primarily addresses a bug where the 'position' prop on Image components violated CSP, and fixes stale content serving in the development server during SSR-only module changes.
@astrojs/yaml2ts@0.2.4This patch release updates the internal TypeScript dependency to version 6 without requiring user action.
astro@6.3.47 fixes4 featuresThis patch release introduces new experimental routing configuration options and improves type safety for context providers and advanced routing entrypoints. It also includes several bug fixes related to Hono middleware, content collection serialization, and Cloudflare adapter behavior in development.
astro-vscode@2.16.161 fixThis patch release primarily addresses a bug related to MDX syntax highlighting within indented astro codeblocks.
@astrojs/netlify@7.0.10This patch release updates the internal TypeScript dependency to version 6 and patches the @astrojs/underscore-redirects package to version 1.0.3.
@astrojs/language-server@2.16.9This patch release updates internal dependencies, including TypeScript to v6 and @astrojs/yaml2ts to v0.2.4, with no required user action.
@astrojs/cloudflare@13.5.21 fixThis patch release fixes a critical bug causing page crashes during the first visit with Cloudflare SSR in Astro v6 due to dependency loading issues and updates the underscore redirects dependency.
@astrojs/ts-plugin@1.10.9This patch release updates the TypeScript dependency to v6 and patches the @astrojs/yaml2ts dependency to v0.2.4.
@astrojs/db@0.21.2This patch updates the internal TypeScript dependency to version 6 without requiring user action.
@astrojs/mdx@5.0.61 fixThis patch release fixes an issue where the smartypants option was being ignored.
astro@6.3.31 fixThis patch release addresses a security vulnerability related to XSS in SSR output concerning slot names on hydrated components.
@astrojs/preact@5.1.3This patch release primarily involved updating internal helper dependencies.
@astrojs/cloudflare@13.5.14 fixesThis patch release focuses on bug fixes, particularly improving compatibility and behavior for Cloudflare deployments by correctly handling adapter options and preventing duplicate KV bindings. It also resolves an import issue between .astro and .ts files.
@astrojs/svelte@8.1.1This patch updates the peer dependency range to officially support TypeScript v6.
astro-vscode@2.16.15BreakingThis patch release primarily focuses on updating minimum compatibility requirements by dropping support for older versions of VS Code.
@astrojs/node@10.1.1This patch release primarily updates internal helper dependencies.
@astrojs/netlify@7.0.9This patch release primarily updates internal dependencies to newer versions, including @astrojs/internal-helpers and @astrojs/underscore-redirects.
@astrojs/markdoc@1.0.5This patch release updates internal type usage from @astrojs/prism and refreshes several related dependencies.
@astrojs/react@5.0.5This patch release primarily involves updating internal helper dependencies to version 0.9.1.
@astrojs/ts-plugin@1.10.8BreakingThis patch release drops support for older versions of VS Code, requiring users to update to version 1.101.0 or newer for continued compatibility.
@astrojs/mdx@5.0.5This patch release primarily updates the dependency for @astrojs/markdown-remark to version 7.1.2.
@astrojs/vercel@10.0.7This patch release primarily updates internal helper dependencies.
@astrojs/prism@4.0.21 fixThis patch release fixes an issue preventing the <Prism /> component from functioning correctly within Cloudflare Workers environments.
@astrojs/markdown-remark@7.1.2This patch release updates internal type usage from @astrojs/prism and bumps dependencies, including @astrojs/internal-helpers and @astrojs/prism.
@astrojs/internal-helpers@0.9.12 fixesThis patch release tightens security checks in path handling and fixes an issue with the development image endpoint origin check.
astro@6.3.29 fixesThis patch release addresses several bugs, including issues with `Astro.cache` initialization, HMR errors with the Cloudflare adapter, and memory leaks in the compiler. Dependencies were also updated.
astro@7.0.0-alpha.11 fixThis patch release removes an outdated warning regarding Vite v8 compatibility, confirming support in Astro v7.
astro@6.3.11 fixThis patch release addresses an issue where local images resulted in 404 errors on non-prerendered pages when utilizing the generic image endpoint.
@astrojs/cloudflare@13.5.0This minor update primarily updates the underlying adapter dependency to Astro version 6.3.0.
@astrojs/node@10.1.0This minor update primarily updates the underlying adapter dependency to Astro version 6.3.0.
@astrojs/language-server@2.16.81 fixThis patch release addresses a bug related to the language server's dependency on the typescript package.
@astrojs/telemetry@3.3.2This patch release refactors internal configuration logic to remove the external 'dlv' dependency by implementing native logic.
astro@6.3.0Breaking6 featuresThis release introduces experimental advanced routing, allowing users to fully customize the request handling pipeline via `src/app.ts`. It also enhances security by disabling SVG processing by default and improves remote image optimization by handling redirects.
@astrojs/cloudflare@13.4.02 featuresThis release enhances remote image optimization by adding support for tracking redirects and failing gracefully if redirects lead to untrusted domains. It also updates an internal dependency.
@astrojs/cloudflare@13.3.12 fixesThis patch release addresses critical bugs related to KV namespace bindings being removed with session support and 404 errors for static assets/prerendered pages when `base` is set. It also updates the dependency for underscore redirects.
astro@6.2.216 fixesThis patch release focuses heavily on bug fixes across routing, styling, image handling, and session management. Key improvements include fixing build crashes with AVIF images and resolving issues with scoped styles and prefetch attributes.
astro@6.2.13 fixesThis patch release focuses on improving configuration validation robustness, particularly addressing issues related to the `integrations` field and compatibility with Zod 4.4.0.
@astrojs/db@0.21.11 fixThis patch release addresses compatibility issues with Zod 4.4.0 concerning the server configuration property and error formatting.
@astrojs/vercel@11.0.0-alpha.01 featureThis release primarily focuses on upgrading the underlying build tool, moving to Vite v8. This upgrade may impact configurations relying on older Vite behavior.
@astrojs/vue@7.0.0-alpha.01 featureThis release primarily focuses on upgrading the core dependency to Vite v8. It also includes dependency updates leading to the alpha release of astro@7.0.0-alpha.0.
@astrojs/preact@6.0.0-alpha.0This release primarily focuses on upgrading the core dependency to Vite v8, which may introduce breaking changes related to Vite's API or behavior.
@astrojs/solid-js@7.0.0-alpha.0This release primarily focuses on upgrading the core dependency to Vite v8, which may introduce breaking changes related to Vite's own API.
@astrojs/mdx@6.0.0-alpha.01 featureThis release primarily focuses on upgrading the core dependency to Vite v8. It also includes dependency updates leading to the alpha release of astro@7.0.0-alpha.0.
@astrojs/node@11.0.0-alpha.0This patch primarily updates dependencies, resulting in the release of astro@7.0.0-alpha.0.
astro@7.0.0-alpha.0Breaking2 fixes2 featuresThis release upgrades Astro to Vite v8 and defaults to the new, faster Rust-based compiler, which enforces stricter HTML syntax validation. Several bugs related to server restarts and i18n routing have also been resolved.
@astrojs/cloudflare@14.0.0-alpha.01 featureThis release primarily upgrades the underlying build tool dependency to Vite v8. It also updates several internal dependencies, including the underscore-redirects package.
@astrojs/svelte@9.0.0-alpha.01 featureThis release primarily focuses on upgrading the core dependency to Vite v8. It also includes dependency updates leading to the alpha release of astro@7.0.0-alpha.0.
@astrojs/db@1.0.0-alpha.0This release primarily focuses on upgrading the core dependency to Vite v8.
@astrojs/netlify@8.0.0-alpha.01 featureThis release primarily upgrades the underlying build tool dependency to Vite v8 and updates related package versions.
@astrojs/react@6.0.0-alpha.0This release primarily focuses on upgrading the core dependency to Vite v8.
@astrojs/alpinejs@1.0.0-alpha.0This release primarily focuses on upgrading the core dependency to Vite v8.
@astrojs/markdoc@2.0.0-alpha.01 featureThis release primarily focuses on upgrading the core dependency to Vite v8. It also includes dependency updates leading to the alpha release of astro@7.0.0-alpha.0.
@astrojs/cloudflare@13.3.01 fix2 featuresThis release introduces a `waitUntil` option in `RenderOptions` for better background task handling in adapters, and fixes a security issue where `allowedHosts` was ignored by the Cloudflare adapter during local preview.
astro@6.2.01 fix4 featuresThis release introduces experimental features for configurable logging and SVG optimization, alongside improvements for adapter compatibility and HTML compression options. A new helper function was added for resolving font file URLs in advanced asset usage scenarios.
@astrojs/cloudflare@13.2.21 fixThis patch release fixes an issue where the dependency scan failed when default-importing .astro components from .ts files. It updates the dependency on @astrojs/underscore-redirects to version 1.0.3.
@astrojs/db@0.21.0Breaking1 fix1 featureThis release introduces `getDbError()` for robust database error handling, addressing TypeScript narrowing issues caused by Drizzle wrappers, and patches a critical SQL injection vulnerability by updating `drizzle-orm`.
astro@6.1.104 fixesThis patch release focuses on stability, fixing spurious warnings during development, improving server island security, and resolving navigation issues in `astro dev`.
@astrojs/svelte@8.1.01 fix3 featuresThis minor release updates the Svelte integration type shims to correctly handle optional props for Svelte 5 components, resolving false-positive type errors.
@astrojs/check@0.9.9This patch updates the peer dependency range to support TypeScript v6 and bumps the version of @astrojs/language-server.
@astrojs/language-server@2.16.71 fixThis patch release improves the language server behavior related to auto-import suggestions and edits for Astro components.
@astrojs/vercel@10.0.6@astrojs/cloudflare@13.2.11 fixThis patch release addresses an issue causing Cloudflare dev and build failures related to an overly recent compatibility date set by the Cloudflare Vite plugin.
@astrojs/netlify@7.0.8This patch release primarily consists of dependency updates for internal helpers and the underscore redirects integration.
@astrojs/preact@5.1.2This patch release primarily involves updating internal dependencies, specifically @astrojs/internal-helpers to version 0.9.0.
@astrojs/node@10.0.6This patch release primarily involves updating internal dependencies, specifically @astrojs/internal-helpers to version 0.9.0.
@astrojs/vercel@10.0.5This patch release primarily involves updating internal dependencies, specifically @astrojs/internal-helpers to version 0.9.0.
@astrojs/react@5.0.4This patch release primarily involves updating internal dependencies, specifically @astrojs/internal-helpers to version 0.9.0.
@astrojs/markdoc@1.0.4This patch release primarily consists of dependency updates for internal helper packages.
@astrojs/upgrade@0.7.21 fixThis patch release improves the reliability of the `@astrojs/upgrade` tool, particularly on Windows systems, by aligning its package manager command spawning with `create-astro`.
@astrojs/markdown-remark@7.1.11 fixThis patch release hardens metadata lookups in content handling and project scaffolding by ignoring prototype keys. It also updates an internal dependency.
@astrojs/internal-helpers@0.9.01 fixThis release includes minor hardening for content handling and project scaffolding by ignoring prototype keys, alongside patch updates for several core dependencies.
@astrojs/mdx@5.0.4This patch release primarily updates dependencies, specifically upgrading @astrojs/markdown-remark to version 7.1.1.
@astrojs/cloudflare@13.2.01 featureThis release introduces support for Preview deployments via the Cloudflare adapter and updates several internal dependencies.
astro@6.1.94 fixesThis patch release focuses on security hardening across error handling, metadata lookups, and island resolution, alongside updating core dependencies like vite and unstorage.
create-astro@5.0.61 fixThis patch release hardens metadata lookups in content handling and project scaffolding by ignoring prototype keys.
@astrojs/telemetry@3.3.1This patch release primarily involved removing the unused 'debug' dependency.
astro@6.1.86 fixesThis patch release focuses on stability and performance, fixing issues related to build output file naming, dev server configuration propagation, and client-side routing styles. It also includes a dependency update for telemetry.
astro@6.1.73 fixesThis patch release addresses several bugs, including issues with remote image dimension validation during static builds, the --port flag persistence after server restarts, and security validation on the /_image endpoint for SVG requests.
@astrojs/netlify@7.0.71 fixThis patch release fixes an issue related to remote image dimension validation during static builds on Netlify and updates a dependency.
@astrojs/cloudflare@13.1.101 fixThis patch updates the Cloudflare binding image transform behavior and ensures console output from workerd during prerendering is surfaced.
@astrojs/node@10.0.51 fixThis patch release fixes an issue where static asset error responses incorrectly included immutable cache headers, ensuring correct status codes for conditional request failures.
@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.
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