maximum_coverage_drop won't fail any more if .last_run.json is still in the old format. Thanks @​petertellgren
maximum_coverage_drop won't fail if an expectation is specified for a previous unrecorded criterion, it will just pass (there's nothing, so nothing to drop)
fixed bug in maximum_coverage_drop calculation that could falsely report it had dropped for minimal differences
v0.21.1
Bugfixes
minimum_coverage_by_file works again as expected (errored out before 😱)
v0.21.0
The "Collate++" release making it more viable for big CI setups by limiting memory consumption. Also includes some nice new additions for branch coverage settings.
Enhancements
Performance of SimpleCov.collate improved - it should both run faster and consume much less memory esp. when run with many files (memory consumption should not increase with number of files any more)
Can now define the minimum_coverage_by_file, maximum_coverage_drop and refuse_coverage_drop by branch as well as line coverage. Thanks to @​jemmaissroff
Can set primary coverage to something other than line by setting primary_coverage :branch in SimpleCov Configuration. Thanks to @​jemmaissroff
Misc
reduce gem size by splitting Changelog into Changelog.md and a pre 0.18 Changelog.old.md, the latter of which is not included in the gem
The interface of ResultMeger.merge_and_store is changed to support the collate performance improvements mentioned above. It's not considered an official API, hence this is not in the breaking section. For people using it to merge results from different machines, it's recommended to migrate to collate.
v0.20.0
The "JSON formatter" release. Starting now a JSON formatter is included by default in the release. This is mostly done for Code Climate reasons, you can find more details in this issue.
Shipping with so much by default is sub-optimal, we know. It's the long term plan to also provide simplecov-core without the HTML or JSON formatters for those who don't need them/for other formatters to rely on.
Enhancements
simplecov_json_formatter included by default (docs), this should enable the Code Climate test reporter to work again once it's updated
invalidate internal cache after switching SimpleCov.root, should help with some bugs
v0.19.1
Bugfixes
No more warnings triggered by enable_for_subprocesses. Thanks to @​mame
Avoid trying to patch Process.fork when it isn't available. Thanks to @​MSP-Greg
v0.19.0
Breaking Changes
Dropped support for Ruby 2.4, it reached EOL
Enhancements
observe forked processes (enable with SimpleCov.enable_for_subprocesses). See #881, thanks to @​robotdana
SimpleCov distinguishes better that it stopped processing because of a previous error vs. SimpleCov is the originator of said error due to coverage requirements.
Bugfixes
Changing the SimpleCov.root combined with the root filtering didn't work. Now they do! Thanks to @​deivid-rodriguez and see #894
in parallel test execution it could happen that the last coverage result was written to disk when it didn't complete yet, changed to only write it once it's the final result
if you run parallel tests only the final process will report violations of the configured test coverage, not all previous processes
changed the parallel_tests merging mechanisms to do the waiting always in the last process, should reduce race conditions
maximum_coverage_drop won't fail any more if .last_run.json is still in the old format. Thanks @​petertellgren
maximum_coverage_drop won't fail if an expectation is specified for a previous unrecorded criterion, it will just pass (there's nothing, so nothing to drop)
fixed bug in maximum_coverage_drop calculation that could falsely report it had dropped for minimal differences
0.21.1 (2021-01-04)
Bugfixes
minimum_coverage_by_file works again as expected (errored out before 😱)
0.21.0 (2021-01-03)
The "Collate++" release making it more viable for big CI setups by limiting memory consumption. Also includes some nice new additions for branch coverage settings.
Enhancements
Performance of SimpleCov.collate improved - it should both run faster and consume much less memory esp. when run with many files (memory consumption should not increase with number of files any more)
Can now define the minimum_coverage_by_file, maximum_coverage_drop and refuse_coverage_drop by branch as well as line coverage. Thanks to @​jemmaissroff
Can set primary coverage to something other than line by setting primary_coverage :branch in SimpleCov Configuration. Thanks to @​jemmaissroff
Misc
reduce gem size by splitting Changelog into Changelog.md and a pre 0.18 Changelog.old.md, the latter of which is not included in the gem
The interface of ResultMeger.merge_and_store is changed to support the collate performance improvements mentioned above. It's not considered an official API, hence this is not in the breaking section. For people using it to merge results from different machines, it's recommended to migrate to collate.
0.20.0 (2020-11-29)
The "JSON formatter" release. Starting now a JSON formatter is included by default in the release. This is mostly done for Code Climate reasons, you can find more details in this issue.
Shipping with so much by default is sub-optimal, we know. It's the long term plan to also provide simplecov-core without the HTML or JSON formatters for those who don't need them/for other formatters to rely on.
Enhancements
simplecov_json_formatter included by default (docs), this should enable the Code Climate test reporter to work again once it's updated
invalidate internal cache after switching SimpleCov.root, should help with some bugs
0.19.1 (2020-10-25)
Bugfixes
No more warnings triggered by enable_for_subprocesses. Thanks to @​mame
Avoid trying to patch Process.fork when it isn't available. Thanks to @​MSP-Greg
Relax ruby version requirement to work with Ruby 3.0 (next version, current ruby-head). Thanks @​byroot.
v0.12.2
Bugfixes
Refreshing the page while a source file is open works again. Thanks @​HansBug for the report #94 and @​Tietew for the fix!
v0.12.1
Bugfix release to fix huge bugs that sadly test suit and maintainters didn't catch.
Bugfixes
Disable pagination and with it all files on 2nd page+ being broken/not able to open
Fix display of non ASCII characters, for this you have to upgrade to simplecov 0.18.3 though (it's handled in there)
v0.12.0
This release is basically a collection of long standing PRs finally merged.
Yes it looks different, no it's not a redesign - just a side effect of lots of dependency updates to improve CSP compatibility.
Enhancements
The HTML should now be servable with CSP settings of default-src 'none'; script-src 'self'; img-src 'self'; style-src 'self';
File list is horizontally scrollable if the space doesn't suffice
numbers are now right aligned and displayed with the same number of decimals for easier comparison and reading.
Bugfixes
Make sorting icons appear again
close link tag which could cause problems when parsing as xhtml/xml
make sure encoding errors won't crash the formatter
When viewing a short source file while you have a big file list you will no longer be able to scroll on after the source file has ended
v0.11.0
This release goes together with simplecov 0.18 to bring branch coverage support to you. Please also check the notes of the beta releases.
Enhancements
Display total branch coverage percentage in the overview (if branch coverage enabled)
v0.11.0.beta2
Enhancements
changed display of branch coverage to be branch_type: hit_count which should be more expressive and more intuitive
Cached lookup of whether we're doing branch coverage or not (should be faster)
Bugfixes
Fixed sorting of percent column (regression in previous release)
v0.11.0.beta1
Changes ruby support to 2.4+, adds branch coverage support. Meant to be used with simplecov 0.18
Breaking Changes
Drops support for EOL'ed ruby versions, new support is ~> 2.4
Relax ruby version requirement to work with Ruby 3.0 (next version, current ruby-head). Thanks @​byroot.
0.12.2 (2020-02-27)
Bugfixes
Refreshing the page while a source file is open works again. Thanks @​HansBug for the report #94 and @​Tietew for the fix!
0.12.1 (2020-02-23)
Bugfix release to fix huge bugs that sadly test suit and maintainters didn't catch.
Bugfixes
Disable pagination and with it all files on 2nd page+ being broken/not able to open
Fix display of non ASCII characters, for this you have to upgrade to simplecov 0.18.3 though (it's handled in there)
0.12.0 (2020-02-12)
This release is basically a collection of long standing PRs finally merged.
Yes it looks different, no it's not a redesign - just a side effect of lots of dependency updates to improve CSP compatibility.
Enhancements
The HTML should now be servable with CSP settings of default-src 'none'; script-src 'self'; img-src 'self'; style-src 'self';
File list is horizontally scrollable if the space doesn't suffice
numbers are now right aligned and displayed with the same number of decimals for easier comparison and reading.
Bugfixes
Make sorting icons appear again
close link tag which could cause problems when parsing as xhtml/xml
make sure encoding errors won't crash the formatter
When viewing a short source file while you have a big file list you will no longer be able to scroll on after the source file has ended
0.11.0 (2020-01-28)
This release goes together with simplecov 0.18 to bring branch coverage support to you. Please also check the notes of the beta releases.
Enhancements
Display total branch coverage percentage in the overview (if branch coverage enabled)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps simplecov and simplecov-html. These dependencies needed to be updated together. Updates
simplecov
from 0.17.1 to 0.21.2Release notes
Sourced from simplecov's releases.
... (truncated)
Changelog
Sourced from simplecov's changelog.
... (truncated)
Commits
a003140
prep 0.21.2 release52cb560
More exit code check specsd4ed992
More thorough maximum coverage drop specs + fixese0c5fd1
reformat and reformulate some cukes10c1dff
Bugfix maximum coverage drop with old .last_run file120d0ea
Fix minimum_coverage_by_file check & prep 0.21.1 (#966)20af434
Release prep for 0.21.0 (#963)b95ce9a
Enable and fix new cops9cdc07b
Upgrade rubocop and fix offenses168f244
highlight why we can do result.to_hash.firstUpdates
simplecov-html
from 0.10.2 to 0.12.3Release notes
Sourced from simplecov-html's releases.
... (truncated)
Changelog
Sourced from simplecov-html's changelog.
... (truncated)
Commits
3a30b47
make choice of simplecov explicited0a3e5
0.12.3 version bump which I of course forgot...ef9fb3c
simplecov-core doesn't support Ruby 2.4 anymorec32c38d
Update references to correct repoada2bf9
User relevant changelog for 0.12.37b20041
Update Ruby & simplecov reference6567856
Update ruby_version requirement to allow ruby 3.07d1db36
Bump rack from 2.1.2 to 2.2.3bdcaca2
Remove sass dependencyb1bc84a
Bump version for 0.12.2 releaseDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)