Skip to content

Bump NSubstitute from 5.3.0 to 6.0.0#79

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/test/A3.MinimalApiValidation.Tests/NSubstitute-6.0.0
Open

Bump NSubstitute from 5.3.0 to 6.0.0#79
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/test/A3.MinimalApiValidation.Tests/NSubstitute-6.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor

Updated NSubstitute from 5.3.0 to 6.0.0.

Release notes

Sourced from NSubstitute's releases.

6.0.0

ℹ️ No changes from Release Candidate 1.

NSubstitute v6.0.0

From RC1 notes:

  • [NEW] ArgMatchers.Matching predicate matcher as an alternative to Is(Expression<Predicate<T>>. (.NET6 and above.)
  • [UPDATE] Improved support for custom argument matchers. Arg.Is now accepts arg matchers.
  • [UPDATE][BREAKING] Update target frameworks: .NET8, .NET Standard 2.0
  • [UPDATE][BREAKING] Remove legacy obsolete API
  • [UPDATE][BREAKING] Mark as obsolete api CompatArg with pre c# 7.0 support
  • [UPDATE][BREAKING] Nullability is enabled for public api for .NET 8+ TFMs
  • [UPDATE] Migrate documentation to docfx platform and update samples to NUnit 4
  • [NEW] Added NuGet Package README file.

Full change list

6.0.0-rc.1

NSubstitute v6.0.0 Release Candidate 1

Due to the large number of changes in this release, we wanted to start with a release candidate to ensure we've correctly captured breaking changes.

  • [NEW] ArgMatchers.Matching predicate matcher as an alternative to Is(Expression<Predicate<T>>. (.NET6 and above.)
  • [UPDATE] Improved support for custom argument matchers. Arg.Is now accepts arg matchers.
  • [UPDATE][BREAKING] Update target frameworks: .NET8, .NET Standard 2.0
  • [UPDATE][BREAKING] Remove legacy obsolete API
  • [UPDATE][BREAKING] Mark as obsolete api CompatArg with pre c# 7.0 support
  • [UPDATE][BREAKING] Nullability is enabled for public api for .NET 8+ TFMs
  • [UPDATE] Migrate documentation to docfx platform and update samples to NUnit 4
  • [NEW] Added NuGet Package README file.

Full change list

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

---
updated-dependencies:
- dependency-name: NSubstitute
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 Jul 13, 2026
@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown

Summary - Unit Tests

Result Passed Failed Skipped
success 💚 1563 💔 0 💤 0

Summary - Test Coverage

Summary
Generated on: 07/13/2026 - 01:15:57
Coverage date: 07/13/2026 - 01:15:53
Parser: MultiReport (2x Cobertura)
Assemblies: 1
Classes: 23
Files: 22
Line coverage: 86.7% (670 of 772)
Covered lines: 670
Uncovered lines: 102
Coverable lines: 772
Total lines: 1998
Branch coverage: 74.5% (519 of 696)
Covered branches: 519
Total branches: 696
Method coverage: Feature is only available for sponsors

Coverage

A3.MinimalApiValidation - 86.7%
Name Line Branch
A3.MinimalApiValidation 86.7% 74.5%
A3.MinimalApiValidation.Binders.FromQuery`1 100% 71.4%
A3.MinimalApiValidation.Binders.QueryTypeInfo 93.4% 85%
A3.MinimalApiValidation.EndpointValidationExtensions 81.4% 50%
A3.MinimalApiValidation.EndpointValidatorOptions 100%
A3.MinimalApiValidation.Exceptions.BinderValidationFailedException 41.6%
A3.MinimalApiValidation.Internal.Filter.RequestModelValidationFilter`1 97% 72.7%
A3.MinimalApiValidation.Internal.Filter.ValidateOnlyFilter 93.3% 50%
A3.MinimalApiValidation.Internal.Filter.ValidateOnlyResponse 100%
A3.MinimalApiValidation.Internal.LogMessages 81.4% 46.4%
A3.MinimalApiValidation.Internal.Middleware.Body 90.3% 81.2%
A3.MinimalApiValidation.Internal.Middleware.BodyParameterInfo 93.7% 71.4%
A3.MinimalApiValidation.Internal.Middleware.BodyValidationResult 100%
A3.MinimalApiValidation.Internal.Middleware.HeaderOrQuery 100% 100%
A3.MinimalApiValidation.Internal.Middleware.ParameterAttributeInfo 93.1% 83.3%
A3.MinimalApiValidation.Internal.Middleware.ValidationMiddleware 94.6% 83.3%
A3.MinimalApiValidation.Internal.Utils 75% 63.4%
A3.MinimalApiValidation.ValidationAttributes.GreaterThanAttribute 82.2% 70%
A3.MinimalApiValidation.ValidationAttributes.GreaterThanOrEqualToAttribute 82.2% 70%
A3.MinimalApiValidation.ValidationAttributes.LessThanAttribute 84.4% 73.3%
A3.MinimalApiValidation.ValidationAttributes.LessThanOrEqualToAttribute 84.4% 73.3%
A3.MinimalApiValidation.ValidationAttributes.MaxAttribute 86.3% 96.6%
A3.MinimalApiValidation.ValidationAttributes.MinAttribute 86.3% 96.6%
A3.MinimalApiValidation.ValidationAttributes.ValidationContextExtensions 100% 75%

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.

0 participants