Skip to content

Releases: infection/infection

Correctly handle non UTF-8 characters in diff and process output for HTML logger

11 Jan 20:51
1e584ea
Compare
Choose a tag to compare

Fixed:

  • Error Malformed UTF-8 characters, possibly incorrectly encoded on send Stryke dashboard report with tests that contain invalid UTF-8 characters #1643

HTML logger, mutating only changed `lines`, show Ignored mutants

10 Jan 10:27
Compare
Choose a tag to compare

Added:

  • Implement the Stryker HTML report #1625
  • Add new --git-diff-lines option to generate Mutants only for the changed lines #1632
  • Show ignored mutants on progress and summary #1612

Changed:

  • Replace badge logger with more advanced stryker logger #1629
  • Mark Mutant as killed if Test Framework returns non-zero exit code #1621
  • Set failOnRisky, failOnWarning to true if parameters are not already set for mutants #1630
  • Automatically set XDEBUG_MODE=coverage if needed #1518
  • Add dg/bypass-finals to the conflict packages list #1605

Fix compatibility with Symfony 4, 5, 6

08 Jan 13:08
bded758
Compare
Choose a tag to compare

Fixed:

  • Remove string type declaration of parameter #1639 (fixes #1635)

0.25.5

16 Dec 05:13
6844063
Compare
Choose a tag to compare

Added:

  • Show ignored mutants on progress and summary #1612

Changed:

  • Use InstalledVersions::getPrettyVersion() to have 1.0.2 instead of 1.0.2.0 #1609
  • Fix: adjust signature of inherited method #1616

bypass-finals conflic, automatic `XDEBUG_MODE=coverage`, stop Infection execution on empty git diff filter

07 Dec 21:10
Compare
Choose a tag to compare

Added:

  • PHP 8.1 support #1535
  • Allow Symfony 6 #1606
  • Set XDEBUG_MODE for processes with coverage #1518
  • Add dg/bypass-finals to the conflict packages list #1605

Changed:

  • Stop Infection execution with 0 exit code when git diff filter returns empty result #1600
  • feat: Concat does not generate mutant when both operands are the same #1602

Ignore mutations by regex for uncovered mutants

02 Oct 13:19
f7a1af2
Compare
Choose a tag to compare

Fixed:

  • ignoreSourceCodeByRegex option is ignored between // @codeCoverageIgnoreStart and // @codeCoverageIgnoreEnd #1561

Avoid parser bugs for very large negative numbers

19 Sep 11:06
Compare
Choose a tag to compare

Fixed:

  • Avoid parser bugs for very large negative numbers #1580

Count syntax errors caused by a mutatan as a failure of a mutant

12 Sep 08:54
854bc7f
Compare
Choose a tag to compare

Added:

  • Count syntax errors caused by a mutatan as a failure of a mutant #1571

Performance improvements, running killing tests first; JSON schema for autocomplete of config file; detecting syntax errors

05 Sep 19:40
Compare
Choose a tag to compare

0.25.0 (2021-09-06)

Full Changelog

Added:

  • Detect syntax errors during mutation analysis and differentiate them from all errors #1555 #262
  • Add $schema to generated infection.json config file for autocomplete #1553 #1432

Changed:

  • [Performance] Add files to coverage whitelist instead of the whole directories when --filter or --git-diff-filter are used #1543
  • [Performance] Speed up Infection runs by remembering which test killed a mutant #1519 #1549
  • [internal] Allow Infection test suite to be executed in parallel using Paratest #1544
  • Generate infection.json (without .dist postfix) by default #1554
  • Do not mark Mutant as Killed when no tests were executed #1546

Fixed:

  • Display time and consumed memory even in case of insufficient MSI #1562
  • Trim "\n" and "\t" characters when replacing relative paths with absolute ones during XML config creation #1550 #1542
  • For Mutant's phpunit.xml, set executionOrder="default" to prevent random ordering of the tests since we need them to be sorted (fastest - first) #1547

Major performance improvent, more clever `badge` logger, new Mutators

26 Jul 22:15
Compare
Choose a tag to compare

0.24.0 (2021-07-27)

Full Changelog

Added:

  • [Mutator] Add Mutator SpreadAssignment #1529
  • [Mutator] Add Mutator SpreadRemoval #1529

Changed:

  • [Performance] Improve Infection performance executed against slow test suites #1539
  • Allow using MSI Badge for multiple branches #1538
  • Add Mutator information to GitHub annotation logger #1540
  • [BC BREAK] Rename Spread mutator to SpreadOneItem #1529