Skip to content

Releases: withastro/astro

@astrojs/[email protected]

27 Feb 13:28
9aa5ac1
Compare
Choose a tag to compare

Patch Changes

  • #13323 80926fa Thanks @ematipico! - Updates esbuild and vite to the latest to avoid false positives audits warnings caused by esbuild.

@astrojs/[email protected]

27 Feb 13:28
9aa5ac1
Compare
Choose a tag to compare

Patch Changes

  • #13323 80926fa Thanks @ematipico! - Updates esbuild and vite to the latest to avoid false positives audits warnings caused by esbuild.

@astrojs/[email protected]

27 Feb 13:28
9aa5ac1
Compare
Choose a tag to compare

Patch Changes

  • #13323 80926fa Thanks @ematipico! - Updates esbuild and vite to the latest to avoid false positives audits warnings caused by esbuild.

@astrojs/[email protected]

27 Feb 13:28
9aa5ac1
Compare
Choose a tag to compare

Patch Changes

@astrojs/[email protected]

27 Feb 13:28
9aa5ac1
Compare
Choose a tag to compare

Patch Changes

@astrojs/[email protected]

27 Feb 13:28
9aa5ac1
Compare
Choose a tag to compare

Minor Changes

  • #13254 1e11f5e Thanks @p0lyw0lf! - Adds the ability to process and optimize remote images in Markdown syntax in MDX files.

    Previously, Astro only allowed local images to be optimized when included using ![]() syntax. Astro's image service could only display remote images without any processing.

    Now, Astro's image service can also optimize remote images written in standard Markdown syntax. This allows you to enjoy the benefits of Astro's image processing when your images are stored externally, for example in a CMS or digital asset manager.

    No additional configuration is required to use this feature! Any existing remote images written in Markdown will now automatically be optimized. To opt-out of this processing, write your images in Markdown using the JSX <img/> tag instead. Note that images located in your public/ folder are still never processed.

Patch Changes

@astrojs/[email protected]

27 Feb 13:28
9aa5ac1
Compare
Choose a tag to compare

Minor Changes

  • #13254 1e11f5e Thanks @p0lyw0lf! - Adds remote image optimization in Markdown

    Previously, an internal remark plugin only looked for images in ![]() syntax that referred to a relative file path. This meant that only local images stored in src/ were passed through to an internal rehype plugin that would transform them for later processing by Astro's image service.

    Now, the plugins recognize and transform both local and remote images using this syntax. Only authorized remote images specified in your config are transformed; remote images from other sources will not be processed.

    While not configurable at this time, this process outputs two separate metadata fields (localImagePaths and remoteImagePaths) which allow for the possibility of controlling the behavior of each type of image separately in the future.

Patch Changes

@astrojs/[email protected]

27 Feb 13:28
9aa5ac1
Compare
Choose a tag to compare

Patch Changes

@astrojs/[email protected]

27 Feb 13:28
9aa5ac1
Compare
Choose a tag to compare

Minor Changes

  • #13254 1e11f5e Thanks @p0lyw0lf! - Adds remote URL filtering utilities

    This adds logic to filter remote URLs so that it can be used by both astro and @astrojs/markdown-remark.

@astrojs/[email protected]

27 Feb 13:28
9aa5ac1
Compare
Choose a tag to compare

Patch Changes