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

Bump NUnit.Analyzers from 3.6.1 to 3.8.0 #1126

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 25, 2023

Bumps NUnit.Analyzers from 3.6.1 to 3.8.0.

Release notes

Sourced from NUnit.Analyzers's releases.

NUnit Analyzers 3.8 (and 2.8)

NUnit Analyzers 3.8 (and 2.8) - September 25, 2023

This release contains a fix to the WithinUsageAnalyzer and handling of false duplicates when combining NUnit1032 - An IDisposable field/property should be Disposed in a TearDown method - with LifeCycle.InstancePerTestCase.

The release contains contributions from the following users (in alphabetical order):

Issues Resolved

Features and Enhancements

  • #595 NUnit1032 false positive in LifeCycle.InstancePerTestCase test fixture using constructor

Bugs

  • #596 WithinUsageAnalyzer threw an exception of type 'System.IndexOutOfRangeException'

Tooling, Process, and Documentation

  • #598 Update NUnit1032.md to fix typo Dipose -> Dispose.

NUnit Analyzers 3.7 (and 2.7)

NUnit Analyzers 3.7 (and 2.7) - September 16, 2023

This release contains a lot of improvements and corrections to the supression of non-nullable fields and properties that are assigned in setup methods (and not in constructors). We have also added suppression of:

  • CA1812 - Avoid uninstantiated internal classes - on test classes
  • CA1001 - Types that own disposable fields should be disposable - when disposed is called in TearDown methods

The release also contain some improvements to the performance of the analyzers by avoid repeated calls to GetTypeByMetadataName. Also ValuesAttribute is now also handled by the analyzer in a similar manner as TestCaseAttribute. Most of the work done in this release have either been driven by or made by @​manfred-brands.

The release contains contributions from the following users (in alphabetical order):

... (truncated)

Changelog

Sourced from NUnit.Analyzers's changelog.

NUnit Analyzers 3.8 (and 2.8) - September 25, 2023

This release contains a fix to the WithinUsageAnalyzer and handling of false duplicates when combining NUnit1032 - An IDisposable field/property should be Disposed in a TearDown method - with LifeCycle.InstancePerTestCase.

The release contains contributions from the following users (in alphabetical order):

  • andrewimcclement
  • fredjeronimo
  • HenryZhang-ZHY
  • manfred-brands
  • mikkelbu

Issues Resolved

Features and Enhancements

  • #595 NUnit1032 false positive in LifeCycle.InstancePerTestCase test fixture using constructor

Bugs

  • #596 WithinUsageAnalyzer threw an exception of type 'System.IndexOutOfRangeException'

Tooling, Process, and Documentation

  • #598 Update NUnit1032.md to fix typo Dipose -> Dispose.

NUnit Analyzers 3.7 (and 2.7) - September 16, 2023

This release contains a lot of improvements and corrections to the supression of non-nullable fields and properties that are assigned in setup methods (and not in constructors). We have also added suppression of:

  • CA1812 - Avoid uninstantiated internal classes - on test classes
  • CA1001 - Types that own disposable fields should be disposable - when disposed is called in TearDown methods

The release also contain some improvements to the performance of the analyzers by avoid repeated calls to GetTypeByMetadataName. Also ValuesAttribute is now also handled by the analyzer in a similar manner as TestCaseAttribute. Most of the work done in this release have either been driven by or made by manfred-brands.

The release contains contributions from the following users (in alphabetical order):

  • 333fred
  • Corniel
  • andrewimcclement
  • IlIlIllIllI
  • jhinder
  • MaceWindu
  • manfred-brands
  • mikkelbu
  • RenderMichael
  • SeanKilleen
  • stevenaw

Issues Resolved

... (truncated)

Commits
  • 767ae3a Merge pull request #600 from nunit/release3.8
  • d2ddcaa chore: Update release notes
  • f6e3687 Merge pull request #599 from manfred-brands/issue595_InstancePer
  • 2145034 Do not raise NUnit1032 if Fixture uses LifeCycle.InstancePerTestCase
  • c6175b3 Do not suppress CA1001 if Fixture uses LifeCycle.InstancePerTestCase
  • 3a43fae Merge pull request #598 from andrewimcclement/patch-1
  • db138ef Update NUnit1032.md to fix typo Dipose -> Dispose.
  • 9b7f547 Merge pull request #597 from HenryZhang-ZHY/issue/596
  • 73f5711 fix: IndexOutOfRangeException threw by WithinUsageAnalyzer
  • 596df34 Merge pull request #591 from nunit/chore/bump-version
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers) from 3.6.1 to 3.8.0.
- [Release notes](https://github.com/nunit/nunit.analyzers/releases)
- [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.txt)
- [Commits](nunit/nunit.analyzers@3.6.1...3.8.0)

---
updated-dependencies:
- dependency-name: NUnit.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Sep 25, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 26, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/nuget/NUnit.Analyzers-3.8.0 branch September 26, 2023 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant