# Astro 5.4

DevFeed: [Astro 5.4](<https://devfeed.tech/articles/astro-5-4-3241.md>)

Original publisher: [Read original article](<https://astro.build/blog/astro-540/>)

Author: Matt Kane

Published: 2025-02-25T00:00:00Z

Content type: release

Language: en

Sources: [The Astro Blog](<https://devfeed.tech/sources/the-astro-blog.md>)

Topics: [Astro](<https://devfeed.tech/topics/astro.md>), [Markdown](<https://devfeed.tech/topics/markdown.md>), [MDX](<https://devfeed.tech/topics/mdx.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [Security](<https://devfeed.tech/topics/security.md>), [ZEIT](<https://devfeed.tech/topics/zeit.md>)

Tags: [astro](<https://devfeed.tech/tags/astro.md>), [markdown](<https://devfeed.tech/tags/markdown.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [security](<https://devfeed.tech/tags/security.md>), [vercel](<https://devfeed.tech/tags/vercel.md>)

## AI overview

Astro 5.4 adds remote image optimization and experimental responsive image support for Markdown and MDX files. It also introduces hostname allowlists for development and preview servers to help prevent DNS rebinding attacks, along with RegExp support for Vercel ISR excludes and an upgrade path through the CLI or package manager.

## Source excerpt

Astro 5.4 brings remote image optimization in Markdown, enhanced security for dev and preview servers, RegExp support for Vercel ISR excludes, and more!