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 4.0.1 to 4.1.0 #1998

Merged
merged 1 commit into from
Mar 19, 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 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)
###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com//pull/1998)

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] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner March 18, 2024 20:29
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Mar 18, 2024
@andrueastman andrueastman enabled auto-merge (squash) March 19, 2024 05:49
@andrueastman andrueastman merged commit 7663a8e into dev Mar 19, 2024
10 checks passed
@andrueastman andrueastman deleted the dependabot/nuget/NUnit.Analyzers-4.1.0 branch March 19, 2024 05:49
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.

1 participant