Skip to content

Releases: HiDeoo/starlight-links-validator

v0.8.0

16 Apr 11:09
v0.8.0
836a093
Compare
Choose a tag to compare

   🚀 Features

  • Adds a new option to exclude a list of links from validation  -  by @HiDeoo (6bc4f)
    View changes on GitHub

v0.7.1

29 Mar 14:45
v0.7.1
50da4c9
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Fixes validation issue with the Astro trailingSlash option for root pages  -  by @HiDeoo (c9001)
    View changes on GitHub

v0.7.0

29 Mar 11:11
v0.7.0
0b0a64a
Compare
Choose a tag to compare

   🚀 Features

  • Validates that links respects the Astro trailingSlash option when set to always or never  -  by @HiDeoo (a4562)
    View changes on GitHub

v0.6.0

04 Mar 17:50
v0.6.0
9df7a8a
Compare
Choose a tag to compare

   🚀 Features

  • Adds support for validating links to pages using a custom slug  -  by @HiDeoo (5f011)
    View changes on GitHub

v0.5.3

08 Feb 12:14
v0.5.3
2522cc8
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

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