Changelog
What changed, and when.
Every released version of the badge extension, and what each one changed.
2
2.6
2.6.1 (2026-09-07)
Bug Fixes
- fix: The
badgeshortcode no longer stops the render when it is called with no arguments. It reports the missing key and renders nothing. (#49)
2.6.0 (2026-09-07)
New Features
- feat: Check the document configuration against the extension schema and report what it does not accept. (#45)
2.5
2.5.2 (2026-08-02)
Refactoring
- refactor: Target the Quarto Wizard v2 extension schema in
_schema.yml, renamingmin-itemstominItems.
2.5.1 (2026-08-01)
Documentation
- docs: Add a documentation website under
docs/, built on theatelierproject type and published to https://m.canouil.dev/quarto-badge/. - docs: Trim
README.mdto a landing page pointing at the website, andexample.qmdto a short starting point to copy. - docs: Add the Pages workflow, which renders
docs/on pull requests and deploys it from the release tag. - docs: Add the Quarto Extensions Updates workflow, scanning
docsfor the website’s own dependencies.
2.5.0 (2026-05-31)
New Features
- feat: Add
iconconfiguration option for a Bootstrap icon prefix shown before the badge value. - feat: Add
targetconfiguration option for the link target attribute, automatically settingrel="noopener noreferrer"for_blank. - feat: Add
titleconfiguration option for a hover tooltip, with{value}placeholder support. - feat: Validate
colouragainst CSS named colours, hex,rgb/rgba,hsl/hsla,hwb,lab,lch,oklab,oklch, andcolor()values; invalid values are warned and ignored. - feat: Validate
href(after{value}substitution) and reject malformed or disallowed-scheme URLs with a warning. - feat: Support per-document badge overrides via the
badge-overridesmetadata key; entries override matchingkeyvalues from the base configuration and new keys are appended.
Bug Fixes
- fix: Warn when the badge shortcode is invoked with a key that is not configured (previously rendered an empty element silently).
- fix: HTML-escape the badge value,
hrefattribute,{value}substitution result, andclass/titleattributes to prevent attribute injection.
Refactoring
- refactor: Synchronise shared modules (
string.lua,logging.lua,metadata.lua,pandoc-helpers.lua) with the canonical source and addcolour.luafor colour validation.
Documentation
- docs: Document new configuration options, validation behaviour, and document-level overrides in README and example.
- docs: Extend
_schema.ymlwith the new properties and thebadge-overrideskey.
2.4
2.4.1 (2026-04-15)
Refactoring
- refactor: Synchronise shared module (
logging.lua) with canonical version.
Documentation
- docs: Remove version pinning from example URLs in README and example.
2.4.0 (2026-03-23)
Refactoring
- refactor: Replace monolithic
utils.luawith focused modules (string.lua,logging.lua,metadata.lua,pandoc-helpers.lua,html.lua,paths.lua,colour.lua).
2.3
2.3.0 (2026-02-21)
New Features
- feat: Add _schema.yml for configuration validation and IDE support (#24).
2.2
2.2.2 (2026-02-11)
Bug Fixes
- fix: Update copyright year.
2.2.1 (2025-12-03)
Bug Fixes
- fix: Use british english spelling.
2.2.0 (2025-10-25)
Documentation
- docs: Update author information in example.qmd.
- docs: Add output section for example.qmd in README.
- docs: Update installation section and enhance usage examples.
- docs: Update installation and usage sections in README and example.
2.1
2.1.0 (2025-10-24)
Refactoring
- refactor: Use module and enhance logging utilities (#19).
2.0
2.0.2 (2025-04-05)
Bug Fixes
- fix: Add output-file option.
2.0.1 (2025-04-05)
New Features
- feat: Add CITATION file for project citation.
Bug Fixes
- fix: Switch to deploy from GitHub Actions (#14).
Documentation
- docs: Change note to caution.
2.0.0 (2023-12-10)
Refactoring
- refactor: Rewrite the whole API (#10).
1
1.2
1.2.0 (2023-10-19)
Bug Fixes
- fix: “v” no longer hardcoded (#5).
1.1
1.1.0 (2023-08-06)
New Features
- feat: Make badge clickable to access changelog (#3).
1.0
1.0.0 (2023-06-22)
New Features
- feat: Add new parameters to control badges.
0
0.2
0.2.1 (2023-06-20)
Bug Fixes
- fix: Better alignment of the badge with the text.
0.2.0 (2023-06-20)
Bug Fixes
- fix: Default when no version provided in yaml.
- fix: Hide badges from TOC.
- fix: Add toc.
0.1
0.1.0 (2023-06-20)
Bug Fixes
- fix: Remove prefix.