Skip to main content

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 enabled option to turn the extension off on a page.

2.0

2.0.1 (2026-12-01)

  • fix: Report a lua-env shortcode 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 json into a boolean and a json-file path. They were one option accepting either, so json: no wrote a file called no rather than disabling the export. A document passing a path to json must be updated. (#41GitHub)
Bug Fixes
  • fix: Read json-exclude-sensitive and json-warn-on-server through 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 accepted true and false only. (#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
  • docs: Serve the extension’s social card as the Open Graph image, so a shared link shows the card rather than the first image on the page. (#38GitHub)
  • docs: Add worked examples for deeper paths, paths that do not resolve, json-file, the redaction, and json-warn-on-server. (#42GitHub)
Refactoring
  • build: Update the vendored Lua modules to 2.3.0, which includes the schema-check fix 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 only true and false as 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-quarto in the extension manifest, so listing lua-env under filters is 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-required to >=1.9.38, the first version whose _extension.yml schema accepts a filter entry point.

1.5.1 (2026-08-01)

Documentation
  • docs: Add a documentation website under docs/, built on the atelier project 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.md to a landing page pointing at the website, and example.qmd to 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 docs for the website’s own dependencies.

1.5.0 (2026-05-31)

New Features
  • feat: Add json-include whitelist of dot-separated paths to keep in the JSON export.
  • feat: Add json-exclude blacklist of dot-separated paths to drop from the JSON export.
  • feat: Add json-exclude-sensitive option (default true) 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-server option (default true) 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 Meta pass 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.lua with 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
  • fix: FORMAT is a string (#6GitHub).
  • fix: Switch to deploy from GitHub Actions (#5GitHub).

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.
Back to top