
🍿 Minor Changes
-
#1238
02a808eThanks @delucis! - Add support for Astro v4, drop support for Astro v3⚠️ BREAKING CHANGE Astro v3 is no longer supported. Make sure you update Astro and any other integrations at the same time as updating Starlight.
Use the new
@astrojs/upgradecommand to upgrade Astro and Starlight together:Terminal window npx @astrojs/upgrade -
#1242
d8fc9e1Thanks @delucis! - Enables link prefetching on hover by defaultAstro v4’s prefetch support is now enabled by default. If
prefetchis not set inastro.config.mjs, Starlight will useprefetch: { prefetchAll: true, defaultStrategy: 'hover' }by default.If you want to preserve previous behaviour, disable link prefetching in
astro.config.mjs:import { defineConfig } from 'astro/config';import starlight from '@astrojs/starlight';export default defineConfig({// Disable link prefetching:prefetch: false,integrations: [starlight({// ...}),],});