Astro
Frontend & MobileThe web framework for content-driven websites. ⭐️ Star to support our work!
Release History
View all versions →astro@7.2.94 fixesThis patch release addresses several bugs, including issues with typing `.html` imports, crashes with dynamic routes, stale SSR manifest entries, and incorrect escaping in MDX script/style elements.
astro@7.2.81 fixThis patch release updates the minimum supported version of Sharp to 0.35.4 and replaces the internal `find-process` dependency with a more efficient alternative.
astro-vscode@2.16.201 fixThis patch release fixes syntax highlighting for multiline script and style tags that include lang or type attributes.
@astrojs/cloudflare@14.2.51 featureThis patch updates the default Cloudflare compatibility date and requires a newer version of Wrangler. It also enhances cache metadata for Worker responses with version information.
@astrojs/language-server@2.16.151 fixThis patch release fixes an issue where `source.organizeImports` was incorrectly leaking generated Astro component exports into `.astro` files.
astro@7.2.74 fixesThis patch release includes several bug fixes for route handling, request processing, and the experimental SVG optimizer. It also updates Cloudflare adapter compatibility requirements.
astro@7.2.61 fixThis patch release fixes a bug that could cause `new FetchState(request)` to fail in development environments with optimized server dependencies.
@astrojs/vercel@11.0.81 fixThis patch release fixes a critical bug in @vercel/nft file tracing that caused deployed functions to crash due to missing dependencies when 'outDir' was configured outside the project root.
@astrojs/markdown-satteri@0.3.82 fixesThis patch release fixes two bugs: one related to Sätteri processor option types and another concerning the editor tooltip for `smartPunctuation`.
@astrojs/netlify@8.2.41 fixThis patch release fixes an issue with Netlify Image CDN allowlists rejecting certain remote URLs. It also updates the @astrojs/underscore-redirects dependency.
create-astro@5.2.41 fixAddresses npm install warnings on npm v11+ by ensuring esbuild scripts are allowed, improving compatibility with newer npm versions.
astro@7.2.517 fixes2 featuresThis patch release addresses several bugs, including issues with the Cloudflare adapter, SSR URL normalization, CLI flags, content collection handling, and i18n fallbacks. It also improves build error reporting and CSP handling.
@astrojs/mdx@7.0.82 fixesThis patch release addresses build errors related to plugin errors and improves Sätteri processor option type compatibility.
astro-vscode@2.16.191 fixThis patch release fixes an issue where Vue template auto-import completions were missing if the Astro extension loaded before other extensions. This ensures a smoother development experience for Vue users within Astro projects.
@astrojs/cloudflare@14.2.41 fixThis patch release fixes a dependency scanning failure related to regex literals in `.astro` frontmatter. It also updates the `@astrojs/underscore-redirects` dependency.
@astrojs/react@6.0.4This patch updates the internal helpers dependency to version 0.10.4.
@astrojs/markdown-satteri@0.3.7This patch updates the Sätteri processor to v0.10.3 and the @astrojs/internal-helpers dependency to v0.10.4. Refer to the Sätteri changelog for specific bug fixes and feature additions.
astro@7.2.44 fixesThis patch release addresses several build and routing issues, including fixes for hanging builds with malformed images, improved base path handling, and correct dynamic route parameter resolution when using specific build configurations. It also resolves an issue with `Astro.site` being undefined in certain component rendering scenarios.
@astrojs/preact@6.0.4This patch release updates the internal helpers dependency to version 0.10.4. This change is part of ongoing maintenance and dependency management.
@astrojs/netlify@8.2.3This patch release updates dependencies for @astrojs/internal-helpers and @astrojs/underscore-redirects to their latest versions.
@astrojs/vercel@11.0.71 fixThis patch release fixes an issue where edge middleware would not run when ISR was enabled. It also updates internal dependencies.
@astrojs/cloudflare@14.2.3This patch release updates dependencies for @astrojs/internal-helpers and @astrojs/underscore-redirects to their latest versions.
@astrojs/mdx@7.0.7This patch updates the Sätteri processor to v0.10.3 and also updates internal helper and markdown-remark dependencies. Specific details on bug fixes and features from the Sätteri update can be found in its changelog.
@astrojs/markdoc@2.0.8This patch updates the internal helpers dependency to version 0.10.4.
@astrojs/node@11.1.4This patch release updates the internal helpers dependency to version 0.10.4.
Common Errors
SyntaxError2 reportsAstroActionError1 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