2026.08.29¶
Refuse empty input rather than answering differently per format. The same empty input produced a JSON parse error,
Nonefor YAML and an empty dict for TOML.Strip a leading byte order mark from input. It is a decoding artifact rather than data, and reached the parsers as content.
Add
--input-fileto read input from a path instead of standard input.Refuse a
--modifiergiven more than once, which previously collapsed into the modifier set with no feedback.Warn when
--include-preambleis given for output that has no preamble.Report the
literalizerversion alongside theliteralizeversion, since the library decides what the output looks like.Keep the originating library exception attached when reporting an error, rather than discarding it with
from None.Say in
--helpthat language-option choices are the union across every language, since--helprenders before--languageis known.Reject formatting options that produce malformed output.
--indentno longer accepts an empty string or one holding a line break,--ref-keyno longer accepts an empty or whitespace-only marker, and--pre-indent-levelis now bounded because each level repeats the indent on every output line.Reject options that the selected mode ignores.
--call-function,--call-paramsand--per-elementin literal mode, and--pre-indent-leveland--include-delimitersin call mode, previously had no effect and produced output that did not reflect the request.--no-new-variablewithout--variable-namewas a silent no-op and is now refused too.Report a
--call-paramsvalue that names no parameter explicitly. An empty, whitespace-only or comma-only value previously reached the arity check, which reported “Expected 0 parameters but got N values”.Report every
literalizererror as a clean CLI message. The CLI matched two hand-maintained tuples of exception classes, so the 32LiteralizerErrorsubclasses missing from them escaped as Python tracebacks. Both sites now match theLiteralizerErrorbase class.Sign the macOS binary with a Developer ID certificate and notarize it, so Gatekeeper no longer blocks it when it is downloaded in a browser. The
xattr -d com.apple.quarantineworkaround is no longer needed.