Skip to content

Releases: HiDeoo/starlight-links-validator

[email protected]

18 Oct 09:26
93838fe

Choose a tag to compare

Minor Changes

[email protected]

16 Oct 16:52
e8d203c

Choose a tag to compare

Patch Changes

  • #121 242bc28 Thanks @HiDeoo! - Setups trusted publishing using OpenID Connect (OIDC) authentication — no code changes.

[email protected]

18 Sep 13:37
1d04d00

Choose a tag to compare

Minor Changes

  • #118 efef54a Thanks @HiDeoo! - Adds hyperlinks (OSC 8) support to validation terminal output.

    In supported terminals, error slugs can be conveniently used (e.g. with Ctrl+Click, Opt+Click, Cmd+Click, or a context menu) to open the corresponding file using the default associated application.

[email protected]

28 Aug 09:12
99831fd

Choose a tag to compare

Patch Changes

  • #115 b042c61 Thanks @trueberryless! - Fixes validation issue for links to Starlight page's title anchor, e.g. /getting-started/#_top.

[email protected]

16 Aug 10:09
3a568c1

Choose a tag to compare

Patch Changes

[email protected]

17 Jun 09:17
affd2ac

Choose a tag to compare

Minor Changes

  • #108 82f8ec5 Thanks @HiDeoo! - Adds support for excluding links from validation using a function.

    When using the function syntax, the function should return true for any link that should be excluded from validation or false otherwise. The function will be called for each link to validate and will receive an object containing various properties to help determine whether to exclude the link or not.

    Check out the exclude configuration option documentation for more details and examples.

[email protected]

12 Apr 15:09
11c906d

Choose a tag to compare

Minor Changes

  • #104 cbeaa0f Thanks @HiDeoo! - Ignores query strings when checking for excluded links.

    Previously, to exclude links with query strings, you may have needed to rely on fairly loose glob patterns, e.g. /playground/** to exclude /playground/, /playground/?id=foo and /playground/?id=bar. With this change, excluding /playground/ will ignore all query strings, so /playground/, /playground/?id=foo and /playground/?id=bar will all be excluded.

[email protected]

09 Apr 14:14
8957a8c

Choose a tag to compare

Patch Changes

  • #102 88e66a8 Thanks @HiDeoo! - Fixes a regression with version 0.15.0 where the errorOnLocalLinks option was not being applied correctly.

[email protected]

03 Apr 07:39
92cbf97

Choose a tag to compare

Minor Changes

  • #93 6d7174b Thanks @HiDeoo! - ⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now version 0.32.0.

    Please use the @astrojs/upgrade command to upgrade your project:

    npx @astrojs/upgrade
  • #100 b238cb7 Thanks @HiDeoo! - Adds a new sameSitePolicy option to configure how external links pointing to the same origin as the one configured in the Astro site option should be handled.

    The current default behavior to ignore all external links remains unchanged. This new option allows to error on such links so they can be rewritten without the origin or to validate them as if they were internal links.

  • #100 b238cb7 Thanks @HiDeoo! - Adds a new components option to define additional components and their props to validate as links on top of the built-in <LinkButton> and <LinkCard> Starlight components.

Patch Changes

[email protected]

14 Feb 10:31
40d388b

Choose a tag to compare

Patch Changes

  • #91 1ef31b8 Thanks @DaniFoldi! - Moves mdast-util-mdx-jsx package to non-dev dependencies to prevent issues in monorepos with hoisting disabled.