Skip to content

Releases: HiDeoo/starlight-openapi

v0.8.1

16 Oct 14:26
v0.8.1
af65983
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Fixes an issue with array recursion detection  -  by @HiDeoo (46d98)
    View changes on GitHub

v0.8.0

01 Oct 16:03
v0.8.0
484a0a1
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v0.7.0

16 Aug 17:50
v0.7.0
e7cffe1
Compare
Choose a tag to compare

   🚨 Breaking Changes

  • Bumps minimum required Starlight version to 0.26.0  -  by @HiDeoo (df599)

   🐞 Bug Fixes

    View changes on GitHub

v0.6.4

04 Jun 07:18
v0.6.4
ae6de0d
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.6.3

18 Apr 16:25
v0.6.3
6a926b2
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Fixes an object rendering issue with implicit object schemas  -  by @HiDeoo (a73ec)
    View changes on GitHub

v0.6.2

16 Apr 12:27
v0.6.2
5b27ed4
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Fixes an issue preventing operations with identical IDs but different methods from having distinct generated pages  -  by @HiDeoo (e0d68)
    View changes on GitHub

v0.6.1

16 Apr 10:14
v0.6.1
22bc6bd
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Fixes a request body rendering issue with implicit object schemas  -  by @HiDeoo (9f94d)
    View changes on GitHub

v0.6.0

23 Mar 12:29
v0.6.0
2d0ad7d
Compare
Choose a tag to compare

   🚀 Features

  • Displays the description of objects before their properties  -  by @HiDeoo (cc93a)

   🐞 Bug Fixes

  • Fixes a markdown rendering performance issue  -  by @HiDeoo (242a3)
  • Fixes a potential crash when rendering examples  -  by @HiDeoo (0d0fc)
  • Fixes authorization methods broken links  -  by @HiDeoo (b88eb)
    View changes on GitHub

v0.5.0

18 Feb 12:03
v0.5.0
66cde15
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 (c7fb9)

  • Starlight OpenAPI is now a Starlight plugin  -  by @HiDeoo (322c3)

    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 { generateAPI } from 'starlight-openapi'
    +import starlightOpenAPI, { openAPISidebarGroups } from 'starlight-openapi'
    
    -// Generate the documentation and get the associated sidebar groups.
    -const { openAPISidebarGroups, starlightOpenAPI } = await generateAPI([
    -  {
    -    base: 'api',
    -    label: 'My API',
    -    schema: '../schemas/api-schema.yaml',
    -  },
    -])
    
    export default defineConfig({
      // …
      integrations: [
        starlight({
    +     plugins: [
    +       // Generate the OpenAPI documentation pages.
    +       starlightOpenAPI([
    +         {
    +         base: 'api',
    +         label: 'My API',
    +         schema: '../schemas/api-schema.yaml',
    +         },
    +       ]),
    +     ],
          sidebar: [
            {
              label: 'Guides',
              items: [{ label: 'Example Guide', link: '/guides/example/' }],
            },
            // Add the generated sidebar groups to the sidebar.
            ...openAPISidebarGroups,
          ],
          title: "My Docs",
        }),
    -   // Add the Starlight OpenAPI integration.
    -   starlightOpenAPI(),
      ],
    });

   🚀 Features

   🐞 Bug Fixes

  • Fixes issue where OpenAPI pages were missing a sidebar  -  by @HiDeoo (c774e)
    View changes on GitHub

v0.4.0

16 Jan 09:37
v0.4.0
b37afd6
Compare
Choose a tag to compare

   🚨 Breaking Changes

  • Bump maximum supported Starlight version to 0.13.1  -  by @HiDeoo (dd21a)
    The Starlight OpenAPI integration is not compatible with Starlight 0.14.0 and above due to an upstream issue. Please follow this PR to track the progress regarding this issue.

   🐞 Bug Fixes

  • Fixes remote schema download issue  -  by @HiDeoo (ebdcd)
  • Fixes installation issue with Yarn by no longer relying on gitpkg to install a dependency  -  by @HiDeoo and Laurynas Keturakis (da6d8)
    View changes on GitHub