Skip to content

Releases: HiDeoo/starlight-links-validator

v0.5.2

15 Jan 15:29
v0.5.2
924f660
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Broken bug report link in GitHub Actions logs  -  by @torn4dom4n in #26 (243f6)
  • Fixes validation of assets in the public/ directory when using the Astro base option  -  by @HiDeoo (c8f58)
    View changes on GitHub

v0.5.1

14 Dec 18:36
v0.5.1
e4d378d
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Fixes validation issues when using the Astro base option  -  by @HiDeoo (60f31)
    View changes on GitHub

v0.5.0

13 Dec 17:24
v0.5.0
073755b
Compare
Choose a tag to compare

   🚨 Breaking Changes

  • Bump minimum required Astro version to 4.0 and Starlight to 0.15.0  -  by @HiDeoo (5a45a)

  • Starlight Links Validator is now a Starlight plugin  -  by @HiDeoo (1d8ff)

    You will need to update your Astro configuration to remove the previous version integration 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 starlightLinksValidator from "starlight-links-validator";
    
    export default defineConfig({
      // …
      integrations: [
    -   starlightLinksValidator(),
        starlight({
    +     plugins: [starlightLinksValidator()],
          title: "My Docs",
        }),
      ],
    });
  • Add errors for relative internal links  -  by @HiDeoo (af185)

    In previous versions, relative internal links were ignored. They are now considered as invalid links and will be reported as such.
    If you want to preserve the previous behaviour, you can set the errorOnRelativeLinks to false in your astro.config.mjs file:

    export default defineConfig({
      integrations: [
        starlight({
          plugins: [
            starlightLinksValidator({
              errorOnRelativeLinks: false,
            }),
          ],
        }),
      ],
    });

   🚀 Features

  • Update plugin output to closely match the output of Astro v4  -  by @HiDeoo (99f40)
  • Add a new option to not error on fallback page links  -  by @HiDeoo (cfc3b)
  • Add a new option to error on inconsistent locale links  -  by @HiDeoo (c397c)
  • Improve link validation output readability  -  by @HiDeoo (f5900)

   🐞 Bug Fixes

  • Prevent validation issues when using the trailingSlash option set to never  -  by @HiDeoo (ea412)
    View changes on GitHub

v0.4.2

06 Nov 10:12
v0.4.2
72fab3d
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.4.1

04 Nov 08:56
v0.4.1
dbe5b00
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.4.0

20 Sep 14:30
v0.4.0
f9c988b
Compare
Choose a tag to compare

   🚨 Breaking Changes

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

   🚀 Features

    View changes on GitHub

v0.3.0

26 Aug 15:34
v0.3.0
a18b55b
Compare
Choose a tag to compare

   🚀 Features

  • Add support for validating emitted file assets  -  by @HiDeoo (675dd)
    View changes on GitHub

v0.2.0

16 Aug 15:42
v0.2.0
f6bd50a
Compare
Choose a tag to compare

   🚨 Breaking Changes

  • Stop dual transpiling to ESM and CJS and ship TypeScript  -  by @HiDeoo (cc14a)

   🐞 Bug Fixes

  • Fixes various issues with IDs and links with HTML embedded in Markdown  -  by @HiDeoo (889c7)
  • Prevent invalid validation issues in files with a path containing special characters  -  by @HiDeoo (4b6f6)
    View changes on GitHub

v0.1.1

23 Jun 11:51
v0.1.1
fa5998f
Compare
Choose a tag to compare

   🚀 Features

  • Initial public release.