Releases: HiDeoo/starlight-links-validator
Releases · HiDeoo/starlight-links-validator
v0.5.2
🐞 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 Astrobase
option - by @HiDeoo (c8f58)
View changes on GitHub
v0.5.1
🐞 Bug Fixes
View changes on GitHub
v0.5.0
🚨 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 theerrorOnRelativeLinks
tofalse
in yourastro.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
View changes on GitHub
v0.4.2
v0.4.1
🐞 Bug Fixes
View changes on GitHub
v0.4.0
v0.3.0
🚀 Features
View changes on GitHub
v0.2.0
🚨 Breaking Changes
🐞 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
🚀 Features
- Initial public release.