This is the first stable release in over 2 years. It is essentially an effort to reboot the project to being better supported and to have a regular release cadence.
See the v4 milestone for the list of changes. Although note that some changes have been done without associated issues or PR.
Where possible ObsoleteAttributes have been applied with directions on using the new API.
There is a work-in-progress v3 to v4 upgrade guide. Please feel free to help out by adding any additional notes to it.
v4.0.0-beta0004
No release notes provided.
v.4.0.0-beta0003
#595 - Remove obsoleted types and members - @jnm2#603 - Optimized .ShouldBeUnique() for large datasets - Thanks to @JakenVeina#604 - Implement ShouldBeDecoratedWith() for Type - Thanks to @hrai#610 - ShouldBe does a sequence comparison for ReadOnlyMemory - Thanks to @hrai#626 - Add class constraints to ShouldNotBeNull - Thanks to @SimonCropp#625 - Add generic overloads for ShouldSatisfyAllConditions - Thanks to @dlumpp#624 - Add overloads for .ShouldBeOfTypes() when using enumerables - Thanks to @Pondidum#634 - Support nullable reference types - Thanks to @jnm2#639 - Move to .NET Standard only - Thanks to @SimonCropp#644 - Move ShouldMatchApproved to use DiffEngine - Thanks to @SimonCropp#624 - Remove func message overloads - Thanks to @SimonCropp#645 - Force correct debug settings - Thanks to @SimonCropp#648 - Expose more APIs - Thanks to @SimonCropp#650 - Modify FindAsyncMethodUsingAttribute to discover async test methods - Thanks to @Kermittt
v4.0.0-beta2
#564 - #550 Add diffing support for Windows VS Code contributed by Eubert Go (ber2go)
#560 - Refactor ShouldThrowAsync for cancellation handing and add test contributed by Adam Hathcock (adamhathcock)
#555 - Fix in the Should.ThrowAsync error messages and exception handling contributed by Gabriel Milani (gmilani)
This release also includes the initial release of the new ShouldBeEquivalentTo method used for object graph comparison. This feature is still early in the making so I imagine there'll be a few bugs, for this reason this package will stay as a beta whilst we iterate on it.
Please raise any issues you find on our GitHub repository.
v4.0.0-beta1
#547 - Make ShouldMatchApproved cross-platform contributed by Joseph Woodward (JosephWoodward)
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 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 Shouldly from 3.0.2 to 4.1.0.
Release notes
Sourced from Shouldly's releases.
... (truncated)
Commits
d242b4f
Update Directory.Build.propse6d2a19
simplify namespaces3c61a90
Update TaskOfTWithTimeoutScenario.csf17a087
global usings0371fb9
global usings115b30f
Update ShouldCompleteInExamples.cs2f04efe
Update FuncOfTaskOfTWithTimeoutScenario.cs73f8d62
remove memory reference99b6915
make some methods staticbf12614
use range indexorDependabot 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 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)