Skip to content

Releases: flaviusone/coverage-diff

v3.2.0

23 May 18:50
Compare
Choose a tag to compare

Feat

  • Add a new option customFormatter to generate a custom result based on the coverage diff. #37 (@fallemand)

v3.1.0

30 Jun 21:36
Compare
Choose a tag to compare

Feat

  • Adds newFileCoverageThreshold config option #28 . This is useful when you want to enforce a higher coverage threshold on new files, but not force a high threshold on existing files. (@NickBolles)

Minor

v3.0.0

22 Mar 23:17
Compare
Choose a tag to compare

Breaking

  • Changes the way regression works (see #27)

Feat

  • Adds belowThreshold output value #27

v2.0.0

13 Mar 22:32
Compare
Choose a tag to compare

Breaking

  • removed deprecatedCoverageDecreaseThreshold
  • Updates markdown-table to v2 (might change output style).
  • Emits ES2021 instead of es5.
  • Removed I from the beginning of all ts interfaces.

Minor

  • Updates all dev dependencies.
  • Migrated CI from deprecated Travis.
  • Minor code cleanup.

v1.6.1

11 Mar 23:03
Compare
Choose a tag to compare

Fix:

  • Total percentages should still be printed even if there is no diff in coverage (instead of 0) #21

v1.6.0

22 Apr 13:12
652e646
Compare
Choose a tag to compare

Feature:

  • Add current coverage alongside diff to file information in table

v1.5.2

11 Mar 14:22
Compare
Choose a tag to compare

Fix:

  • Fix typo in coverageDecreaseThreshold option. Kept coverageDecreaseTreshold for backwards compatibility.

v1.5.1

06 Aug 12:51
Compare
Choose a tag to compare

Fix:

  • Only check files that changed coverage.

v1.5.0

03 Aug 13:23
Compare
Choose a tag to compare

Features

  • Added two new optional parameters:
    • coverageThreshold Fail coverage check if per-file coverage is lower. Defaults to 100%
    • coverageDecreaseTreshold Fail coverage check if per-file coverage decrease is lower. Defaults to 0% decrease.

Fixes

  • Fixed common types not being included in build. It seems that by design TS doesn't emit .d.ts files

v1.4.1

11 Jul 12:19
Compare
Choose a tag to compare

Minor

  • Don't regress on total decrease