Astro [email protected] — Release Notes & Engineering Impact
Astro [email protected]. Source highlight: `2fa19c4` - Improved error handling in the rendering phase
168 tracked entries. Older history is imported progressively; see source coverage.
Astro [email protected]. Source highlight: `2fa19c4` - Improved error handling in the rendering phase
Astro [email protected]. Source highlight: Adds Google Icons to built-in font providers
Astro [email protected]. Source highlight: Fixes an issue where requests with query parameters to the `base` path would return a 404 if trailingSlash was not `'ignore'` in development
Astro [email protected]. Source highlight: Improves JSDoc annotations for `AstroGlobal`, `AstroSharedContext` and `APIContext` types
Astro [email protected]. Source highlight: Fixes images outside the project directory not working when using astro:assets in development mode
Astro [email protected]. Source highlight: Fixes a case where JSDoc annotations wouldn't show for fonts related APIs in the Astro config
Astro [email protected]. Source highlight: Fixes a bug where Astro didn't properly combine CSP resources from the `csp` configuration with those added using the runtime API (`Astro.csp.insertDirective()`) to form grammatically correct CSP headers
Astro [email protected]. Source highlight: Fixes actions types when using specific TypeScript configurations
Astro [email protected]. Source highlight: Fixes a vite warning log during builds when using npm
Astro [email protected]. Source highlight: Fixes an unhandled rejection issue when using Astro with Vercel Workflow DevKit
Astro [email protected]. Source highlight: Adds experimental SVGO optimization support for SVG assets
Astro [email protected]. Source highlight: Add handling of invalid encrypted props and slots in server islands.
Astro [email protected]. Source highlight: Improves the security of Server Islands slots by encrypting them before transmission to the browser, matching the security model used for props. This improves the integrity of slot content and prevents injection attacks, even when component templates don't explicitly support slots.
Astro [email protected]. Source highlight: Fixes a case where `process.env` wouldn't be properly populated during the build
Astro [email protected]. Source highlight: Fixes hydration of client components when running the dev server and using a barrel file that re-exports both Astro and UI framework components.
Astro [email protected]. Source highlight: Fixes a case where build's `process.env` would be inlined in the server output
Astro [email protected]. Source highlight: Adds missing documentation for some public utilities exported from `astro:i18n`.
Astro [email protected]. Source highlight: Fixes skew protection support for images and font URLs
Astro [email protected]. Source highlight: Fixes a leak of server runtime code when importing SVGs in client-side code. Previously, when importing an SVG file in client code, Astro could end up adding code for rendering SVGs on the server to the client bundle.
Astro [email protected]. Source highlight: Adds two new adapter configuration options `assetQueryParams` and `internalFetchHeaders` to the Adapter API.
Astro [email protected]. Source highlight: Fixes a regression introduced in Astro v5.14.7 that caused `?url` imports to not work correctly. This release reverts #14142.
Astro [email protected]. Source highlight: Fixes image path resolution in content layer collections to support bare filenames. The `image()` helper now normalizes bare filenames like `"cover.jpg"` to relative paths `"./cover.jpg"` for consistent resolution behavior between markdown frontmatter and JSON content collections.
Astro [email protected]. Source highlight: Fixes a regression that caused Actions to throw errors while loading
Astro [email protected]. Source highlight: Fixes a bug where the behavior of the "muted" HTML attribute was inconsistent with that of other attributes.
Astro [email protected]. Source highlight: Fixes `defineLiveCollection()` types
Astro [email protected]. Source highlight: Fixes an error in the docs that specified an incorrect version for the `security.allowedDomains` release.
Astro [email protected]. Source highlight: Fixes `Cannot set property manifest` error in test utilities by adding a protected setter for the manifest property
Astro [email protected]. Source highlight: Fixes a case where the URLs generated by the experimental Fonts API would be incorrect in dev
Astro [email protected]. Source highlight: Adds a new property `routePattern` available to `GetStaticPathsOptions`
Astro [email protected]. Source highlight: Fixes an issue where `astro info` would log errors to console in certain cases.
Astro [email protected]. Source highlight: Updated dependencies \[`1e2499e`]:
Astro [email protected]. Source highlight: Removes warning that caused unexpected console spam when using Bun
Astro [email protected]. Source highlight: Adds Vite version & integration versions to output of `astro info`
Astro [email protected]. Source highlight: Removes pinned package that is no longer needed.
Astro [email protected]. Source highlight: Restores the ability to use Google Analytics `History change trigger` with the `<ClientRouter />`.
Astro [email protected]. Source highlight: **BREAKING CHANGES only to the experimental CSP feature**
Astro [email protected]. Source highlight: Fixes `Astro.url.pathname` to respect `trailingSlash: 'never'` configuration when using a base path. Previously, the root path with a base would incorrectly return `/base/` instead of `/base` when `trailingSlash` was set to 'never'.
Astro [email protected]. Source highlight: Fixes a bug where the types for the live content collections were not being generated correctly in dev mode
Astro [email protected]. Source highlight: Fixes an issue where remote paths weren't correctly computed when generating assets
Astro [email protected]. Source highlight: `4d16de7` Thanks @ematipico! - Improves the detection of remote paths in the `_image` endpoint. Now `href` parameters that start with `//` are considered remote paths.
Astro [email protected]. Source highlight: Fixes the `experimental.chromeDevtoolsWorkspace` feature.
Astro [email protected]. Source highlight: Adds an experimental flag `staticImportMetaEnv` to disable the replacement of `import.meta.env` values with `process.env` calls and their coercion of environment variable values. This supersedes the `rawEnvValues` experimental flag, which is now removed.
Astro [email protected]. Source highlight: Prevent double-prefixed redirect paths when using fallback and redirectToDefaultLocale together
Astro [email protected]. Source highlight: `0567fb7` Thanks @ascorbic! - Adds `//` to list of internal path prefixes that do not have automated trailing slash handling
Astro [email protected]. Source highlight: Skips trailing slash handling for paths that start with `/.`.
Astro [email protected]. Source highlight: Fixes a regression introduced by a recent optimisation of how SVG images are emitted during the build.
Astro [email protected]. Source highlight: Fixes a bug in i18n implementation, where Astro didn't emit the correct pages when `fallback` is enabled, and a locale uses a catch-all route, e.g. `src/pages/es/[...catchAll].astro`
Astro [email protected]. Source highlight: Optimized the build pipeline for SVG images. Now, Astro doesn't reprocess images that have already been processed.
Astro [email protected]. Source highlight: Fixes a bug that caused builds to fail if a client directive was mistakenly added to an Astro component
Astro [email protected]. Source highlight: Exposes the `Code` component `lang` prop type: