Skip to content

Starlight Blog Changelog

0.7.0

   🚨 Breaking Changes

  • Bumps minimum required Starlight version to 0.22.1  -  by @HiDeoo (ed23e)

   🚀 Features

  • Add support for draft blog posts  -  by @HiDeoo (eebbb)
    View changes on GitHub

0.6.0

   🚀 Features

  • Respects the Astro trailingSlash option  -  by @HiDeoo (e87f6)
  • Adds new prevNextLinksOrder option to control if next links will point to the next blog post towards the past or the future  -  by @HiDeoo (0c12c)
  • Adds support for Markdown in blog post excerpts  -  by @HiDeoo (49cd5)
  • Adds new prefix option to configure the base prefix for all blog routes  -  by @HiDeoo (b6542)
  • Uses Starlight <LinkCard> component for prev/next links  -  by @HiDeoo (75528)

   🐞 Bug Fixes

  • Fixes a TypeScript type issue with the plugin configuration schema  -  by @HiDeoo (d1194)
    View changes on GitHub

0.5.1

   🐞 Bug Fixes

  • Fixes issues when using the Astro base option  -  by @HiDeoo (6d893)
    View changes on GitHub

0.5.0

   🚨 Breaking Changes

  • Bumps minimum required Astro version to 4.2.7 and Starlight to 0.19.0  -  by @HiDeoo (a9fc3)

  • Starlight Blog is now a Starlight plugin  -  by @HiDeoo (bbb9d)

    You will need to update your Astro configuration to remove the previous version and add the new version as a Starlight plugin in your astro.config.mjs file:

    import starlight from "@astrojs/starlight";
    import { defineConfig } from "astro/config";
    import starlightBlog from 'starlight-blog';
    export default defineConfig({
    // …
    integrations: [
    starlightBlog(),
    starlight({
    plugins: [starlightBlog()],
    title: "My Docs",
    }),
    ],
    });

    You will also need to update Starlight’s frontmatter schema in the src/content/config.ts file:

    import { docsSchema, i18nSchema } from '@astrojs/starlight/schema';
    import { defineCollection } from 'astro:content';
    import { docsAndBlogSchema } from 'starlight-blog/schema';
    import { blogSchema } from 'starlight-blog/schema';
    export const collections = {
    docs: defineCollection({ schema: docsAndBlogSchema }),
    docs: defineCollection({ schema: docsSchema({ extend: blogSchema() }) }),
    i18n: defineCollection({ type: 'data', schema: i18nSchema() }),
    }

   🚀 Features

  • Exports the StarlightBlogConfig TypeScript type representing the user’s plugin configuration  -  by @HiDeoo (012f5)
    View changes on GitHub

0.4.0

   🚨 Breaking Changes

  • Bump minimum required Astro version to 3.2.0 and Starlight to 0.11.0  -  by @HiDeoo (d231b)

  • Use Starlight component overrides for custom UI  -  by @HiDeoo (cdf7c) You must update your configuration to use the new Starlight component overrides:

    starlight({
    components: {
    MarkdownContent: 'starlight-blog/overrides/MarkdownContent.astro',
    Sidebar: 'starlight-blog/overrides/Sidebar.astro',
    ThemeSelect: 'starlight-blog/overrides/ThemeSelect.astro',
    },
    }),
    View changes on GitHub

0.3.2

   🐞 Bug Fixes

  • Invalid page component import path  -  by @HiDeoo (cf9db)
    View changes on GitHub

0.3.1

   🐞 Bug Fixes

  • Build error with Starlight v0.9.1  -  by @HiDeoo (be007)
    View changes on GitHub

0.3.0

   🚨 Breaking Changes

  • Bump minimum required Astro version to 3.0 and Starlight to 0.9.0  -  by @HiDeoo (64177)

   🐞 Bug Fixes

  • Prevent CSS issues with Starlight v0.8.0  -  by @lorenzolewis and @HiDeoo (53aaf)
    View changes on GitHub

0.2.1

   🐞 Bug Fixes

    View changes on GitHub

0.2.0

   🚀 Features

    View changes on GitHub