github withastro/starlight @astrojs/starlight@0.15.0

latest releases: @astrojs/starlight@0.28.2, @astrojs/starlight@0.28.1, @astrojs/starlight@0.28.0...
9 months ago

Minor Changes

  • #1238 02a808e Thanks @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/upgrade command to upgrade Astro and Starlight together:

    npx @astrojs/upgrade
  • #1242 d8fc9e1 Thanks @delucis! - Enables link prefetching on hover by default

    Astro v4’s prefetch support is now enabled by default. If prefetch is not set in astro.config.mjs, Starlight will use prefetch: { 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({
    			// ...
    		}),
    	],
    });

Patch Changes

Don't miss a new starlight release

NewReleases is sending notifications on new releases.