Changelog
What changed, and when.
Every released version of lua-env, and what each one changed.
2
2.1
2.1.0 (2026-12-02)
- feat: Add the
enabledoption to turn the extension off on a page.
2.0
2.0.1 (2026-12-01)
- fix: Report a
lua-envshortcode with no variable name once. The schema check already reports it, so the extension no longer adds a second warning.
2.0.0 (2026-09-23)
New Features
- feat: Split
jsoninto a boolean and ajson-filepath. They were one option accepting either, sojson: nowrote a file callednorather than disabling the export. A document passing a path tojsonmust be updated. (#41GitHub)
Bug Fixes
- fix: Read
json-exclude-sensitiveandjson-warn-on-serverthrough the schema, so a value that is not a boolean is reported rather than falling back to the default in silence. Reading the document text acceptedtrueandfalseonly. (#41GitHub) - fix: Report a key nested inside an option as a warning rather than an error, so one nested typo does not invalidate the whole configuration. This matches how the extension already reports an unknown key at the top of its own block. (#41GitHub)
Documentation
Refactoring
- build: Update the vendored Lua modules to 2.3.0, which includes the
schema-checkfix for an extension whose entry points are in a subdirectory. A module no longer carries a version line in its header, so its checksum changes only when its code changes. (#39GitHub) - build: Fetch the schema validator from a Quarto Wizard release asset rather than a raw path inside its repository, which a refactor could move without notice. The vendored file is unchanged. (#40GitHub)
- build: Update the vendored Lua modules to 2.5.0, which adds the accessor that reads what the schema resolves an option to. The schema validator moves to its own release train and is pinned at
schema-v2.2.0, which accepts onlytrueandfalseas a boolean. (#41GitHub)
1
1.6
1.6.0 (2026-09-07)
New Features
- feat: Check the document configuration against the extension schema and report what it does not accept. (#34GitHub)
1.5
1.5.2 (2026-08-01)
Bug Fixes
- fix: Register the filter at
pre-quartoin the extension manifest, so listinglua-envunderfiltersis enough. The shortcode reads metadata the filter publishes, and a filter left at the default entry point published it after Quarto had expanded the shortcodes, so every{{< lua-env >}}rendered as nothing unless the entry point was named by hand. - fix: Raise
quarto-requiredto>=1.9.38, the first version whose_extension.ymlschema accepts a filter entry point.
1.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-lua-env/. - docs: Correct the filter placement. The shortcode needs
at: pre-quarto;at: post-quarto, which the README recommended, publishes the metadata after Quarto has expanded shortcodes, so every{{< lua-env >}}rendered as nothing. - 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.
1.5.0 (2026-05-31)
New Features
- feat: Add
json-includewhitelist of dot-separated paths to keep in the JSON export. - feat: Add
json-excludeblacklist of dot-separated paths to drop from the JSON export. - feat: Add
json-exclude-sensitiveoption (defaulttrue) to redact host filesystem paths (quarto.doc.input_file,quarto.doc.output_file,quarto.project.directory,quarto.project.output_directory,pandoc.PANDOC_SCRIPT_FILE). - feat: Add
json-warn-on-serveroption (defaulttrue) to warn when JSON export is enabled in CI or server contexts.
Bug Fixes
- fix: Coerce boolean metadata robustly, accepting raw Lua booleans, Pandoc
MetaBool, and the strings'true'/'false'(case-insensitive). - fix: Reset module-level configuration state at the start of each
Metapass to prevent cross-document leakage in batch renders.
Documentation
- docs: Document the JSON export schema, filtering options, and example coverage for the new filter behaviour.
1.4
1.4.1 (2026-04-15)
Refactoring
- refactor: Synchronise shared modules (
logging.lua,string.lua) with canonical versions.
1.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).
1.3
1.3.0 (2026-02-21)
New Features
- feat: Add _schema.yml for configuration validation and IDE support (#14GitHub).
Bug Fixes
- fix: Correct json option type from string to boolean/string union.
1.2
1.2.1 (2026-02-11)
Bug Fixes
- fix: Update copyright year.
- fix: Use british english spelling.
1.2.0 (2025-10-25)
New Features
- feat: Enhance example document metadata and formatting.
Refactoring
- refactor: Use lua modules and enhance error handling (#11GitHub).
1.1
1.1.0 (2025-10-12)
New Features
- feat: Add JSON export functionality for lua-env metadata (#9GitHub).
1.0
1.0.3 (2025-04-05)
New Features
- feat: Add CITATION file for project citation.
1.0.2 (2024-06-28)
Bug Fixes
1.0.1 (2024-02-03)
New Features
- feat: Format quarto.version.
Bug Fixes
- fix: Add internal license for extension.
1.0.0 (2023-01-24)
New Features
- feat: Expose pandoc variables.
Bug Fixes
- fix: Better description.
- fix: Rm duplicated functions.
Refactoring
- refactor: Rename variable to be more general.
- refactor: Rename functions.
Documentation
- docs: Add examples for Pandoc lua env as meta.
- docs: Add exposed variables/objects.
- docs: Improve readme.
- docs: Add raw shortcodes.
Style
- style: No empty lines in license.