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)
#516 - Add new Do Not Launch Strategy contributed by Brian Dukes (bdukes)
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps Shouldly from 3.0.2 to 4.0.2.
Release notes
Sourced from Shouldly's releases.
Commits
ce01fda
Update Directory.Build.props1564c73
force EmptyFiles to be included03da770
Bump DiffEngine from 6.4.7 to 6.4.8 (#734)af3ddeb
Enable a few important diagnostics (#726)8882275
Bump DiffEngine from 6.4.6 to 6.4.7 (#733)bcc003a
fix props importac7436c
fix some nullability issues (#732)ba7fbf4
move from targets to props (#730)c1717ca
Merge pull request #725 from jnm2/pattern_matching1fd03fa
temp disable mac build see shouldly/shouldly#731Dependabot 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)