Astro
latest 7.4.2
- npm astro
- github withastro/astro
What to do
latest7.4.2
warning: 1 needs action
- releases, 6.4.8 to 7.4.2
- 40
- needs action
- 1
- safe to upgrade
- 3
- no summary yet
- 1
- digest fixes you can skip
- 35
what has changed, in the order you upgrade
v740 releases · 1 featured · 4 notable · 35 digest, 1 needs action, 1 not summarized
- featured7.0.0
Astro 7 moves to Vite 8 and a Rust compiler, removes Astro DB, and changes default whitespace handling
warning: action required · 10 breaking changes
- breaking[1]:
compressHTMLnow defaults to'jsx', so whitespace between inline elements can render differently. - breaking[2]:The
@astrojs/dbpackage and theastro db,astro login,astro logout,astro linkandastro initcommands are removed. - breaking[3]:The compiler is stricter: unclosed HTML tags now throw an error and invalid HTML is no longer corrected.
- breaking[4]:
@astrojs/markdown-remarkis no longer installed by default, so the remark/rehype pipeline needs to be installed explicitly. - breaking[5]:Advanced routing uses
src/fetch.tsby default, andfetchFilemoves to a top-level option. - breaking[6]:
createAnimationScope()and severalastro:transitionsconstants and helpers are removed. - breaking[7]:The
experimental.queuedRenderingsetting no longer exists. - breaking[8]:The
experimental.cacheandexperimental.routeRulesflags are removed in favour of top-level options. - breaking[9]:The custom logger
experimental.loggerflag is removed and the logger is now a top-level option. - breaking[10]:
state.provide(),state.resolve(),state.finalizeAll()andApp.Providersare removed from the public advanced routing API.
- breaking[1]:
- notable7.1.0
Adds deferRender for glob loader, chunked data store, scoped CSP directives and a paginate format option.
ok: safe to upgrade
- notable7.2.0
Adds background preview servers, experimental incremental static builds, and a way to drop session support.
ok: safe to upgrade
- notable7.3.0
Adds a preview --ignore-lock flag, logger access for image services and cache providers, and several fixes.
ok: safe to upgrade
- notable7.4.0
pending: summary queuedread the release notes