-
Notifications
You must be signed in to change notification settings - Fork 78
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
MatchException
does not exist anymore in 2.5.0
#251
Comments
…hedValues`, thanks XUnit for making incompatible changes without first deprecating types See fsprojects/FsUnit#240 for the FsUnit change (2nd commit) and fsprojects/FsUnit#251, and https://xunit.net/releases/v2/2.5.0
…hedValues`, thanks XUnit for making incompatible changes without first deprecating types See fsprojects/FsUnit#240 for the FsUnit change (2nd commit) and fsprojects/FsUnit#251, and https://xunit.net/releases/v2/2.5.0
…hedValues`, thanks XUnit for making incompatible changes without first deprecating types See fsprojects/FsUnit#240 for the FsUnit change (2nd commit) and fsprojects/FsUnit#251, and https://xunit.net/releases/v2/2.5.0
Hi @abelbraaksma, Some users (including me) are concerned about that change in a minor version. There are several exception types for different use-cases. But I think as you already changed the code in |
Hey @abelbraaksma, |
Apologies for missing your updates, @CaptnCodr. I got distracted and forgot ;). Just today I find myself upgrading several large projects of a customer, and searching again for the missing This makes updating it that much harder, if not impossible, as at least for some time we will need to support both the old and the new version of xUnit. My creative solution now is to use Backward incompatibility is tough to deal with (not saying you shouldn't move forward, but yes, as you mentioned, never do that on a minor version). Anyway, thanks for getting back to me at the time. No need to reopen. |
follow up: a terrible idea. Not in principle, but because it requires manual changes in the |
Description
Basically, binary incompatibility.
MatchException
, a public type, was removed from the surface area. See #240.Repro steps
Any code that used
MatchException
for their own extensions:Expected behavior
MatchException
got a deprecation message prior to removing itMatchException
would be mentioned in a wiki or readme or release notes, plus how to replace it with a new typeMatchException
remained in place, even if it is just a placeholder typeActual behavior
The type is gone.
Known workarounds
None yet. But I'll research. Probably there's a "new way to do things", which is primarily why I report this, so that others can find it too.
Related information
Version 2.5.0. Older releases did not have this problem. It was introduced after updating the similarly (and notoriously so, they do this all the time) backward-incompatible changes of xUnit, which they did on a minor release (2.4 -. 2.5). Not a critique on this library, though!
The text was updated successfully, but these errors were encountered: