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

build(deps): Bump NUnit.Analyzers from 4.0.1 to 4.1.0 #379

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 18, 2024

Bumps NUnit.Analyzers from 4.0.1 to 4.1.0.

Release notes

Sourced from NUnit.Analyzers's releases.

NUnit Analyzers 4.1 - March 16, 2024

This release of the Analyzers extends the suppression of nullable warnings to also respect assumptions - expressed via Assume.That. Also nullable warnings are suppressed even in the context of the null-forgiving operator !, and NUnit2010 is extended to also cover is pattern expressions - e.g. is null and more general integer patterns as is < 0 or >= 1.

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

Issues Resolved

Features and Enhancements

  • #693 Possibly Null Reference Warning should be suppressed for Assume
  • #691 Extent rule NUnit2010 to detect 'is null'
  • #679 Null suppression doesn't work when the body has a null suppression

Bugs

  • #700 CodeFix for Assert with null message causes ambiguous code.
  • #689 Incorrect constraint model transformation for named parameters

Tooling, Process, and Documentation

  • #697 chore: Bump NUnit to version 4.1.0
  • #694 Switch to using license expression
  • #690 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0
  • #687 chore: Update release notes
Changelog

Sourced from NUnit.Analyzers's changelog.

NUnit Analyzers 4.1 - March 16, 2024

This release of the Analyzers extends the suppression of nullable warnings to also respect assumptions - expressed via Assume.That. Also nullable warnings are suppressed even in the context of the null-forgiving operator !, and NUnit2010 is extended to also cover is pattern expressions - e.g. is null and more general integer patterns as is < 0 or >= 1.

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

  • lahma
  • manfred-brands
  • mikkelbu
  • RenderMichael
  • TheBigNeo
  • verdie-g

Issues Resolved

Features and Enhancements

  • #693 Possibly Null Reference Warning should be suppressed for Assume
  • #691 Extent rule NUnit2010 to detect 'is null'
  • #679 Null suppression doesn't work when the body has a null suppression

Bugs

  • #700 CodeFix for Assert with null message causes ambiguous code.
  • #689 Incorrect constraint model transformation for named parameters

Tooling, Process, and Documentation

  • #697 chore: Bump NUnit to version 4.1.0
  • #694 Switch to using license expression
  • #690 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0
  • #687 chore: Update release notes

NUnit Analyzers 4.0.1 - February 1, 2024

Small release that fixes a problem with the 4.0 release when combining TestCaseSource and CancelAfter.

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

  • manfred-brands
  • mikkelbu
  • richardissimo

Issues Resolved

Bugs

  • #685 error NUnit1029: The TestCaseSource provides '1' parameter(s), but the Test method expects '1' parameter(s)

Tooling, Process, and Documentation

  • #684 chore: bump-version

... (truncated)

Commits
  • d558632 Merge pull request #707 from nunit/release4.1
  • cb8c825 chore: Update release notes
  • f771316 Merge pull request #704 from manfred-brands/issues/679_NullSuppressionOperator
  • 1703848 Replace use of 'record' type.
  • 0aacb17 Ignore null suppression operator when matching Is.Not.Null
  • 4798485 Merge pull request #703 from manfred-brands/issues/691_IsNull
  • 59a9926 Merge pull request #702 from manfred-brands/issues/693_Assume
  • f93b9cc NUnit2010: Add support for detecting use of 'is' pattern inside 'Assert.That'
  • 97bd87e Support Assume.That(x, Is.Not.Null) to suppress nullable warning
  • 47648c5 Merge pull request #698 from verdie-g/are-equal-null-message-fix
  • 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 will merge this PR once CI passes on it, as requested by @samtrion.


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)

Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 18, 2024

The following labels could not be found: dependency-nuget.

@dependabot dependabot bot requested review from a team and samtrion and removed request for a team March 18, 2024 12:32
samtrion
samtrion previously approved these changes Mar 18, 2024
Copy link
Member

@samtrion samtrion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

Bumps [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers) from 4.0.1 to 4.1.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@4.0.1...4.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Copy link

sonarcloud bot commented Mar 18, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

codecov bot commented Mar 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.86%. Comparing base (33ff17d) to head (3171531).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #379   +/-   ##
=======================================
  Coverage   85.86%   85.86%           
=======================================
  Files          61       61           
  Lines         191      191           
  Branches       16       16           
=======================================
  Hits          164      164           
  Misses         19       19           
  Partials        8        8           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@samtrion samtrion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot merged commit ad606a2 into main Mar 18, 2024
14 checks passed
@dependabot dependabot bot deleted the dependabot/nuget/NUnit.Analyzers-4.1.0 branch March 18, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant