Releases: HiDeoo/starlight-links-validator
Releases · HiDeoo/starlight-links-validator
v0.13.4
🐞 Bug Fixes
- Fixes a validation issue with Markdown headings including trailing markup - by @jorenbroekema and @HiDeoo (009be)
View changes on GitHub
v0.13.3
🚀 Features
- Improves messages for errors related to the Astro
trailingSlash
option to indicate if a link is missing a trailing slash or if a link has a trailing slash when it should not - by @HiDeoo (a8776)
View changes on GitHub
v0.13.2
🐞 Bug Fixes
View changes on GitHub
v0.13.1
🐞 Bug Fixes
- Refactors some internal types to prevent type issues with future Starlight versions - by @HiDeoo (11518)
View changes on GitHub
v0.13.0
🚨 Breaking Changes
-
Adds errors for local links, e.g. URLs with a hostname of
localhost
or127.0.0.1
- by @HiDeoo (80636)In previous versions, such links were silently ignored. They are now considered as invalid links as they are usually used for development purposes and should not be present in production.
If you want to preserve the previous behaviour, you can set theerrorOnLocalLinks
option tofalse
in yourastro.config.mjs
file:export default defineConfig({ integrations: [ starlight({ plugins: [ starlightLinksValidator({ errorOnLocalLinks: false, }), ], }), ], });
View changes on GitHub
v0.12.4
v0.12.3
🐞 Bug Fixes
View changes on GitHub
v0.12.2
🐞 Bug Fixes
View changes on GitHub
v0.12.1
🐞 Bug Fixes
View changes on GitHub
v0.12.0
🚀 Features
- Adds a new
errorOnInvalidHashes
option defaulting totrue
to disable hash validation - by @HiDeoo (32a92)
The default validation behavior remains unchanged.