Repository navigation
Release Notes
Added
-
A Ruff-style, single-version release pipeline. A reviewed
Cargo.tomlversion is now distributed by cargo-dist as checksummed,
attested Linux/macOS/Windows archives plus shell and PowerShell installers;
maturin builds matching PyPI wheels and an sdist; and a custom
trusted-publishing job publishes the source crate to crates.io. A manual
releaseenvironment gate re-runs formatting, clippy, tests, package
verification, and knowledge drift before any registry write. -
Release compliance material for the statically linked LGPL-3.0-only
malachitedependency: verbatim LGPL/GPL texts, relinking instructions,
source archives, and fail-closed metadata/wheel checks. -
A
richoutput format, and it is the default in a terminal. Each finding
gets a severity banner, the offending source line with its span underlined,
two lines of context, the explanation, and a run summary
(✖ 2 errors ⚠ 1 warning in 1 file). Redirected or piped output stays
concise— one stable line per diagnostic, no escape sequences — so scripts
and CI keep parsing what they parse today.--formatoverrides the choice
either way. -
--color auto|always|never.autostyles only a terminal,NO_COLOR
disables styling regardless, and--color alwaysstyles even when
redirected. Onlyrichis ever styled.COLUMNSsets the rendered width.Frames are read lazily from disk, so a cache hit still answers without
building aSourceManager. A file that changed or vanished since the
analysis renders without its frame rather than failing. -
THIRD-PARTY-LICENSES.md— dependency license survey, including the
LGPL-3.0-onlymalachitefamily thatrustpython-parserlinks statically
and what it obliges when distributing a prebuilt binary.
Performance
- Cold analysis of a 393-file project: ~5.9 s to ~4.9 s, warm cache
unchanged at 0.05 s. Source decoding, tokenizing, and parsing ran one file
at a time (1.92 s wall at 1.65 s of CPU) and now run in parallel (1.00 s),
registering in the same order soFileIds and every ordering derived from
one are identical. The remaining cost is summarizing ~5,600 callables and is
allocation-bound rather than a scheduling problem — the dependency scan is
3 ms and the worst-parallelizing rounds are 22 ms of 4,067 ms — so the
binary now uses mimalloc, which also cuts the run-to-run spread from 0.91 s
to 0.06 s at the same peak memory. Findings are unchanged on all four
measured corpora.
Fixed
- Release workflows now fail closed under security linting. External
Actions are pinned to reviewed commit SHAs, release tags enter shell steps
through environment variables, reusable jobs no longer inherit unrelated
secrets, and job permissions are limited to the release phase that needs
them. CI runs zizmor to prevent these controls from drifting. - The declared Rust 1.85 MSRV is now enforced in CI and works in practice;
request validation no longer uses let-chain syntax that requires Rust 1.88. - Untrusted input can no longer abort the process. The 0.2.0 limits missed
every chain that nests without nesting brackets —a()()(),a.b.b.b,
1 + 1 + 1,lambda: lambda:— each of which overflowed the stack. Tokens
per logical line are now bounded (8,192; the largest real logical line
measured is 1,361), which bounds tree depth for all of them at once. A FIFO
no longer blocks forever and a character device no longer reads without end:
file type and size are checked on the directory entry, before opening. --fixcan no longer write outside the project. Symlinks were followed
wherever they led, so a link committed to a repository let
qual check --fixrewrite an arbitrary file elsewhere on the machine.
Paths that resolve outside the project root are skipped at discovery and
refused again immediately before the write.MLC109no longer claims certainty it does not have. An empty
AnimationGroup()is built with run time 0 and is harmless when nested;
only reachingScene.playas the whole animation fails. It is now a
warningathighconfidence, and the message says what is actually true.
On ManimML this converted 29 certain errors into warnings.
Changed
- The project is now named Qual. The CLI and Cargo crate move from
manim-linttoqual; the PyPI distribution moves toqual-manimbecause
PyPI rejects the shorter name as too similar to an existing project;
configuration moves from
[tool.manim-lint]to[tool.qual]; inline suppressions use# qual:;
the cache moves to.qual-cache; and maintainer builds use the
QUAL_MANIM_ROOTandQUAL_BUILD_IDenvironment variables. Rule IDs and
diagnostic semantics are unchanged. - The knowledge-drift gate reads
QUAL_MANIM_ROOT(default../manim)
instead of a hardcoded path on the author's machine, which CI had been
recreating on the runner withsudoand which no contributor could match. - Package metadata is publishable: repository, homepage, keywords, categories,
and anexcludethat keeps fixture corpora out of the crate. The README
install step names the actual repository.
Install qual 0.3.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Poietra/qual/releases/download/v0.3.0/qual-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/Poietra/qual/releases/download/v0.3.0/qual-installer.ps1 | iex"Download qual 0.3.0
| File | Platform | Checksum |
|---|---|---|
| qual-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| qual-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| qual-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| qual-aarch64-unknown-linux-gnu.tar.gz | ARM64 Linux | checksum |
| qual-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
| qual-aarch64-unknown-linux-musl.tar.gz | ARM64 MUSL Linux | checksum |
| qual-x86_64-unknown-linux-musl.tar.gz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo Poietra/qualYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>