Skip to content

Releases: withastro/astro

astro@5.6.2

14 Apr 08:44
159b534
Compare
Choose a tag to compare

Patch Changes

  • #13606 793ecd9 Thanks @natemoo-re! - Fixes a regression that allowed prerendered code to leak into the server bundle.

  • #13576 1c60ec3 Thanks @ascorbic! - Reduces duplicate code in server islands scripts by extracting shared logic into a helper function.

  • #13588 57e59be Thanks @natemoo-re! - Fixes a memory leak when using SVG assets.

  • #13589 5a0563d Thanks @ematipico! - Deprecates the asset utility function emitESMImage() and adds a new emitImageMetadata() to be used instead

    The function
    emitESMImage() is now deprecated. It will continue to function, but it is no longer recommended nor supported. This function will be completely removed in a next major release of Astro.

    Please replace it with the new functionemitImageMetadata() as soon as you are able to do so:

    - import { emitESMImage } from "astro/assets/utils";
    + import { emitImageMetadata } from "astro/assets/utils";

    The new function returns the same signature as the previous one. However, the new function removes two deprecated arguments that were not meant to be exposed for public use: _watchMode and experimentalSvgEnabled. Since it was possible to access these with the old function, you may need to verify that your code still works as intended with emitImageMetadata().

  • #13596 3752519 Thanks @jsparkdev! - update vite to latest version to fix CVE

  • #13547 360cb91 Thanks @jsparkdev! - Updates vite to the latest version

  • #13548 e588527 Thanks @ryuapp! - Support for Deno to install npm pacakges.

    Deno requires npm prefix to install packages on npm. For example, to install react, we need to run deno add npm:react. But currently the command executed is deno add react, which doesn't work. So, we change the package names to have an npm prefix if you are using Deno.

  • #13587 a0774b3 Thanks @robertoms99! - Fixes an issue with the client router where some attributes of the root element were not updated during swap, including the transition scope.

@astrojs/vue@5.0.10

14 Apr 08:44
159b534
Compare
Choose a tag to compare

Patch Changes

@astrojs/svelte@7.0.10

14 Apr 08:44
159b534
Compare
Choose a tag to compare

Patch Changes

@astrojs/studio@0.1.7

14 Apr 08:44
159b534
Compare
Choose a tag to compare

Patch Changes

@astrojs/solid-js@5.0.8

14 Apr 08:44
159b534
Compare
Choose a tag to compare

Patch Changes

@astrojs/react@4.2.4

14 Apr 08:44
159b534
Compare
Choose a tag to compare

Patch Changes

@astrojs/preact@4.0.9

14 Apr 08:44
159b534
Compare
Choose a tag to compare

Patch Changes

@astrojs/netlify@6.2.6

14 Apr 08:44
159b534
Compare
Choose a tag to compare

Patch Changes

@astrojs/mdx@4.2.4

14 Apr 08:44
159b534
Compare
Choose a tag to compare

Patch Changes

@astrojs/markdoc@0.13.4

14 Apr 08:43
159b534
Compare
Choose a tag to compare

Patch Changes