In V6, all public methods in HaveIBeenPwnedClient have two versions: One with a CancellationToken and one without. In the modern .NET world, there's a big push to either requiring cancellation tokens (or a explicit CancellationToken.None when cancelling is not important) or have an optional parameter with the cancellation token with a default value.
I prefer being as explicit in code as possible so in #65 we already marked the methods without a CancellationToken with an ObsoleteAttribute. In vFuture, we remove the methods without a cancellation token.
(Related: https://github.com/akamsteeg/AtleX.HaveIBeenPwned/issues/65)
In V6, all public methods in HaveIBeenPwnedClient have two versions: One with a CancellationToken and one without. In the modern .NET world, there's a big push to either requiring cancellation tokens (or a explicit CancellationToken.None when cancelling is not important) or have an optional parameter with the cancellation token with a default value.
I prefer being as explicit in code as possible so in #65 we already marked the methods without a
CancellationToken
with anObsoleteAttribute
. In vFuture, we remove the methods without a cancellation token.