Skip to content

Releases: HiDeoo/starlight-blog

v0.8.3

23 May 06:00
v0.8.3
c97e67a
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Hides table of content on the blog post and tag list pages  -  by @HiDeoo (55fc6)
    View changes on GitHub

v0.8.2

12 May 09:48
v0.8.2
6956193
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Fixes a 404 RSS feed sidebar link error when using the Astro trailingSlash option set to always  -  by @HiDeoo (8e1d5)
    View changes on GitHub

v0.8.1

11 May 20:01
v0.8.1
1a22390
Compare
Choose a tag to compare

   🚀 Features

  • Adds a social link to Starlight for the blog RSS feed  -  by @HiDeoo (c506b)

   🐞 Bug Fixes

  • Fixes an RSS feed image rendering issue by temporarily replacing images with a placeholder  -  by @HiDeoo (9f33e)
    View changes on GitHub

v0.8.0

11 May 15:19
v0.8.0
343e9fa
Compare
Choose a tag to compare

   🚀 Features

  • Adds an RSS feed to the generated blog  -  by @HiDeoo (e4ddb)
    The feature is automatically enabled when the Astro site option is set in astro.config.mjs.
    View changes on GitHub

v0.7.1

08 May 17:08
v0.7.1
e950bfa
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Prevents the blog post and tag lists from being included in the Pagefind search index to avoid duplicated search results  -  by @HiDeoo (0f82e)
  • Prevents blog navigation links from being included in the Pagefind search index to avoid duplicated search results  -  by @HiDeoo (98967)
    View changes on GitHub

v0.7.0

02 May 15:06
v0.7.0
924b20c
Compare
Choose a tag to compare

   🚨 Breaking Changes

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

   🚀 Features

    View changes on GitHub

v0.6.0

17 Apr 08:45
v0.6.0
0190226
Compare
Choose a tag to compare

   🚀 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

v0.5.1

10 Mar 09:00
v0.5.1
915ff41
Compare
Choose a tag to compare

   🐞 Bug Fixes

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

v0.5.0

17 Feb 17:00
v0.5.0
e6d6614
Compare
Choose a tag to compare

   🚨 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

v0.4.0

09 Oct 16:10
v0.4.0
0b20349
Compare
Choose a tag to compare

   🚨 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