Skip to content

2026-11-23

Latest

Choose a tag to compare

@Witiko Witiko released this 23 Nov 16:29
· 4 commits to main since this release
ceddc8d

expltools 2026-11-23

explcheck v0.25.0

New features

This version of explcheck has implemented the following new features:

Fixes

This version of explcheck has fixed the following problems:

  • Report issues E420 (Locally setting a global variable) and E421 (Globally setting a local variable) in top-level code. (reported by @jasperhabicht and @cfr42 in #232, fixed in #235)

    Previously, these issues were not reported in top-level code, since the semantics of local and global assignments are equivalent there. However, since l3debug explicitly rejects inconsistent local/global assignments in top-level code, explcheck should do the same.

  • Consider standalone boolean variables and constants such as \c_true_bool expandable within boolean expressions. (#236)

    Previously, these caused enclosing segments and functions to be considered unexpandable for issues E428 (Unexpandable or restricted-expandable boolean expression) and W429 (Defined an unexpandable function as unprotected). While correct for top-level material, this was incorrect for boolean expressions. Expandability is now estimated separately for different expansion contexts, and the issues use the appropriate estimates.

Architecture

This version of explcheck has made the following architectural changes:

  • Add the module explcheck-expandability.lua for tracking expandability estimates. (#236)

  • Add outputs to processing steps, remove cleanup() substeps. (#237..#239)

    Previously, transient results for passing data around processing substeps within a step were removed within cleanup() substeps. After this change, steps declare persistent results within outputs and all other transient results are automatically removed in the method process_files() from explcheck-utils.lua. This prevents unintended memory leaks between steps.

Documentation

This version of explcheck has made the following improvements to the documentation:

  • Make documentation PDF/UA-2-compliant. (#233, #234)

    This makes the documentation use \DocumentMetadata to produce PDF/UA-2-compilant output. For gray issues from the document titled Warnings and errors for the expl3 analysis tool, we add an explicit textual description "Not yet implemented" next to the section headings.

Continuous integration

This version of explcheck has made the following changes to our continuous integration (CI):

  • Check the PDF/UA-2 compliance of the documentation with VeraPDF. (#233, #234)
  • Skip steps in non-scheduled CI runs unless relevant code has changed. (#234, 67c70c9)
  • Only check third-party submodules in scheduled CI runs. (#235)