Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update simplecov: 0.17.1 → 0.18.5 (major) #526

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Feb 26, 2020

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ simplecov (0.17.1 → 0.18.5) · Repo · Changelog

Release Notes

0.18.5

Can you guess? Another bugfix release!

Bugfixes

  • minitest won't crash if SimpleCov isn't loaded - aka don't execute SimpleCov code in the minitest plugin if SimpleCov isn't loaded. Thanks to @edariedl for the report of the peculiar problem in #877.

0.18.4

Another small bugfix release 🙈 Fixes SimpleCov running with rspec-rails, which was broken due to our fixed minitest integration.

Bugfixes

  • SimpleCov will run again correctly when used with rspec-rails. The excellent bug report #873 by @odlp perfectly details what went wrong. Thanks to @adam12 for the fix #874.

0.18.3

Small bugfix release. It's especially recommended to upgrade simplecov-html as well because of bugs in the 0.12.0 release.

Bugfixes

  • Fix a regression related to file encodings as special characters were missing. Furthermore we now respect the magic # encoding: ... comment and read files in the right encoding. Thanks (@Tietew) - see #866
  • Use Minitest.after_run hook to trigger post-run hooks if Minitest is present. See #756 and #855 thanks (@adam12)

0.18.2

Small release just to allow you to use the new simplecov-html.

Enhancements

  • Relax simplecov-html requirement so that you're able to use 0.12.0

0.18.1

Small Bugfix release.

Bugfixes

  • Just putting # :nocov: on top of a file or having an uneven number of them in general works again and acts as if ignoring until the end of the file. See #846 and thanks @DannyBen for the report.

0.18.0

Huge release! Highlights are support for branch coverage (Ruby 2.5+) and dropping support for EOL'ed Ruby versions (< 2.4).
Please also read the other beta patch notes.

Enhancements

  • You can now define the minimum expected coverage by criterion like minimum_coverage line: 90, branch: 80
  • Memoized some internal data structures that didn't change to reduce SimpleCov overhead
  • Both FileList and SourceFile now have a coverage method that returns a hash that points from a coverage criterion to a CoverageStatistics object for uniform access to overall coverage statistics for both line and branch coverage

Bugfixes

  • we were losing precision by rounding the covered strength early, that has been removed. For Formatters this also means that you may need to round it yourself now.
  • Removed an inconsistency in how we treat skipped vs. irrelevant lines (see #565) - SimpleCov's definition of 100% is now "You covered everything that you could" so if coverage is 0/0 that's counted as a 100% no matter if the lines were irrelevant or ignored/skipped

Noteworthy

  • FileList stopped inheriting from Array, it includes Enumerable so if you didn't use Array specific methods on it in formatters you should be fine

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ simplecov-html (indirect, 0.10.2 → 0.12.2) · Repo · Changelog

Release Notes

0.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!

0.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)

0.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

0.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)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

🗑️ json (removed)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot changed the title Update simplecov: 0.17.1 → 0.18.5 (major) Update simplecov: 0.17.1 → 0.18.5 (major) Mar 19, 2020
@depfu depfu bot force-pushed the depfu/update/simplecov-0.18.5 branch from 982afe1 to 768cb05 Compare March 19, 2020 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants