t2013anurag / transaction

Manage tasks efficiently - store details in redis and push status to pubsub client (Pusher, PubNub etc.)
https://rubygems.org/gems/transaction
MIT License
4 stars 3 forks source link

Update simplecov: 0.17.0 → 0.21.1 (major) #36

Closed depfu[bot] closed 3 years ago

depfu[bot] commented 3 years ago

Welcome to Depfu 👋

This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.

After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.

Let us know if you have any questions. Thanks so much for giving Depfu a try!


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.0 → 0.21.1) · Repo · Changelog

Release Notes

0.21.1

Bugfixes

  • minimum_coverage_by_file works again as expected (errored out before 😱)

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

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

0.19.1 (from changelog)

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

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

Noteworthy

  • The repo has moved to https://github.com/simplecov-ruby/simplecov - everything stays the same, redirects should work but you might wanna update anyhow
  • The primary development branch is now main, not master anymore. If you get simplecov directly from github change your reference. For a while master will still be occasionally updated but that's no long term solion.

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

0.17.1 (from changelog)

Bugfix release for problems with ParallelTests.

Bugfixes

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.

↗️ docile (indirect, 1.3.2 → 1.3.4) · Repo · Changelog

Release Notes

1.3.4 (from changelog)

  • Special thanks to Benoit Daloze (@eregon):
    • Fix delegation on Ruby 2.7 (issues #45 and #44, PR #52)

1.3.3 (from changelog)

  • Special thanks (again!) to Taichi Ishitani (@taichi-ishitani):
    • Fix keyword arg warnings on Ruby 2.7 (issue #44, PR #45)
    • Filter Docile's source files from backtrace (issue #35, PR #36)

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

Commits

See the full diff on Github. The new version differs by 20 commits:

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

Release Notes

0.12.3

Bugfixes

  • Relax ruby version requirement to work with Ruby 3.0 (next version, current ruby-head). Thanks @byroot.

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.

🆕 simplecov_json_formatter (added, 0.1.2)

🗑️ 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[bot] commented 3 years ago

Closed in favor of #37.