Changes
The two most recent releases in full, then the version history. The
distribution's Changes file is the authoritative record.
0.52 — 22 November 2026
Almost every change in this release came from fuzzing real
distributions with t/all-fuzz.t: schemas that read the
documentation more fully, types that are no longer guessed from
incidental syntax, and harnesses that expect only what a routine
actually promises.
Enhancements
- A
sample_maxschema key. When a documented range is far wider than its default (10_000 to 100_000_000 (default 200_000)), the default is recorded assample_max: valid values are generated only up to it, whilemaxstays the bound a value is checked against. A work factor such as a PBKDF2 round count is fuzzed at its default instead of at a value that takes minutes per call. The harness,CoverageGuidedFuzzerandBenchmarkGeneratorall honour it; an ordinary bounded option such as a port is still generated across its whole range. - Positional arguments followed by named options. A
routine declared as
my ($password, %opts) = @_is called in that shape: the leading arguments keep theirposition, the rest are markednamed: 1and passed after them. - Class methods. An Input section that documents a
$classinvocant sets the newinvocant: classkey, and the harness callsModule->routine(...)instead of shifting every argument by one. - More classes can be built. A constructor that takes a directory is given a temporary one, and a constructor that takes a documented list of objects is given a stand-in built from the POD, so their instance methods are fuzzed rather than skipped.
- Byte strings. A parameter documented as a file's
contents gets the new
bytessemantic and is fuzzed with octets rather than text. bin/run-all-fuzzruns everyt/all-fuzz.tin the surrounding workspace against the working tree and keeps the logs of any suite that fails.
Bug fixes
- More of the POD is read. Input sections written as
a table (
name : type,$name SCALAR,\@list => ...), as the Perl hash they describe, with several parameters on one row, or with quoted types are all understood, as is POD that sits in a later block headed with the routine's name. Ranges written with words or.., "one or more", "a readable file", "an existing directory" and documented element shapes ("arrayref of {col, op, val} hashrefs") become constraints. Output shapes such as "Always an arrayref of hashrefs" are read as the container. - Types are not guessed from incidental syntax. A
/or%in a regex, a hyphen in a string, asprintfformat,//,->and-eare no longer read as arithmetic, and an operator in the body no longer overrides a documented type.return \%hashis a hashref, a return ofsprintforjoinis a string,localtimeis a nine-element list, and a guardedreturn undefis the error return rather than the success type. An argument the body only calls methods on is an object. - Patterns. A regex held in a variable, or built from
the routine's own lexicals, is no longer emitted as a
matchesconstraint (the harness did not compile). Every pattern a parameter is accepted by is joined into one domain, and only a regex that spells out a date is taken for ISO 8601. - The harness expects only what is promised. A wrong-typed number must die only when the routine's own validator checks it. A routine that reports bad input by returning undef passes a must-die case; a blessed exception counts as an error; a documented boolean is a truth value, not literally 0 or 1; an environment variable set to undef is unset; and an argument the routine refuses when empty gets an expect-to-die empty-string case. Semantic cases were all being generated as though every semantic type were a Unix timestamp.
- Untestable routines are skipped as a family. A constructor that needs an object it calls methods on, a live database server, or a hashref of a specific documented shape is reported as skipped, and its instance methods with it. A constructor that stores one field is no longer mistaken for an accessor.
- File descriptors. The leak check is turned off only for a call documented to hold a database handle on purpose, not for any routine that mentions the cache.
- Comments are not code. A signature-like example in a
comment (
# my ($password, %opts) = @_;) is no longer read as the routine's parameters. BenchmarkGeneratorpasses a parameter with no position as aname => valuepair after the positional ones, instead of dropping it.
0.51 — 18 November 2026
Enhancements
- Mutants that do not compile are reported. They are
still not run or scored, but
test-generator-mutateprintsSkipped (compile): Nand its--jsonreport has acompile_skippedcount per file.test-generator-indexshows the count in the mutation summary, as(+N not compiled)in each file's Skipped cell, and on the file's mutation page. A file whose mutants all failed to compile now gets a row instead of being left out.
Bug fixes
- Mutants compile against the project's own
lib/. They were checked against whatever copies of the project's modules were installed, so a module that used a newer or uninstalled sibling had every mutant silently skipped and scored a vacuous 100% with Total: 0.
Earlier releases
| Version | Date | Highlights |
|---|---|---|
| 0.50 | 17 November 2026 | Files with a helper package are extracted (schemas marked skip); constructors that need live objects are skipped; required => 1 in a formal Input spec is honoured. |
| 0.49 | 16 November 2026 | Surviving mutants feed harness generation, documented constraints are checked against behaviour, element schemas, per-transform input fields, deterministic bounded regex generation, the existing_file semantic. |
| 0.48 | 11 November 2026 | Harnesses check what a call leaves behind (globals, files, file descriptors) and whether accessors damage their object; unbuildable classes are skipped; coverage-guided fuzzing reads real coverage counters. |
| 0.47 | 7 October 2026 | extract-schemas --function NAME for isolating one routine, a self-fuzz summary that lists every routine and why it was skipped, and $pkg, $proto and $klass recognised as invocants. |
| 0.46 | 18 August 2026 | Duplication drill-down pages, sortable and reorderable dashboard tables with saved state, and the domain, path, data-flow and transaction test suites. |
| 0.45 | 10 August 2026 | Bug fixes and test-suite work. |
| 0.44 | 21 July 2026 | Schema extraction and dashboard refinements. |
| 0.43 | 11 July 2026 | The version required by t/fuzz.t's Test::Needs guard. |
| 0.42 | 7 July 2026 | POD example extraction, benchmark generation, portable workflow deployment, CPAN Testers reproduction scripts, corpus minimisation. |
| 0.41 | 28 June 2026 | In-place mutation strategy: mutants are written to the project's own lib/ so use lib in test files cannot load the original code. |
| 0.40 | 25 June 2026 | A large release; see Changes. |
| 0.39 | 24 May 2026 | See Changes. |
| 0.38 | 18 May 2026 | See Changes. |
Full history:
MetaCPAN's
changelog, or the Changes file in
the repository.
Upgrading
cpanm App::Test::Generator
Schemas are compatible across releases: a schema that works with 0.52 has
worked since the transform syntax settled. Generated harnesses are
regenerated by tooling, so a stale one is replaced rather than migrated.
If you keep generated .t files in version control, regenerate
them after upgrading — an older harness may not know about a type or a
config key that the new version accepts.