Skip to content

Releases: brminnick/AsyncAwaitBestPractices

v3.1.0-pre4

20 Aug 00:26
Compare
Choose a tag to compare
v3.1.0-pre4 Pre-release
Pre-release

New In This Release:

  • Added SafeFireAndForgetExtensions.RemoveDefaultExceptionHandling
  • Fixed InvalidHandleEventException bug when using the incorrect overload for WeakEventManager<T>.HandleEvent
  • Fixed NullReferenceException when called ICommand.Execute
  • Lowered .NET Standard Dependency to .NET Standard 1.0

v3.1.0-pre3

14 Aug 20:27
Compare
Choose a tag to compare
v3.1.0-pre3 Pre-release
Pre-release

New In This Release:
- Added SafeFireAndForgetExtensions.RemoveDefaultExceptionHandling
- Fixed InvalidHandleEventException bug when using the incorrect overload for WeakEventManager<T>.HandleEvent

v3.1.0-pre2

31 Jul 01:30
Compare
Choose a tag to compare
v3.1.0-pre2 Pre-release
Pre-release

New In This Release:
- Added SafeFireAndForgetExtensions.RemoveDefaultExceptionHandling

v3.0.0

30 Jul 17:27
Compare
Choose a tag to compare

New In This Release:
- Added support for event Action and event Action<T>
- Added support for .SafeFireAndForget<Exception>()
- Added SafeFireAndForgetExtensions.SetDefaultExceptionHandling(Action<Exception> onException) to set a default action for every call to SafeFireAndForget
- Added SafeFireAndForgetExtensions.Initialize(bool shouldAlwaysRethrowException = false). When set to true will rethrow every exception caught by SafeFireAndForget. Warning: SafeFireAndForgetExtensions.Initialize(true) is only recommended for DEBUG environments.
- Breaking Change: Changed default value to continueOnCapturedContext = false. This improves performance by not requiring a context switch when .SafeFireAndForget() and IAsyncCommand have completed.

v3.0.0-pre4

14 Jul 02:06
Compare
Choose a tag to compare
v3.0.0-pre4 Pre-release
Pre-release

New In This Release:
- Added support for event Action and event Action<T>
- Added support for .SafeFireAndForget<Exception>()
- Added SafeFireAndForgetExtensions.SetDefaultExceptionHandling(Action<Exception> onException) to set a default action for every call to SafeFireAndForget
- Added SafeFireAndForgetExtensions.Initialize(bool shouldAlwaysRethrowException = false). When set to true will rethrow every exception caught by SafeFireAndForget. Warning: SafeFireAndForgetExtensions.Initialize(true) is only recommended for DEBUG environments.
- Added support for Exception innerException to InvalidCommandParameterException
- Breaking Change: Changed default value to continueOnCapturedContext = false. This improves performance by not requiring a context switch when .SafeFireAndForget() and IAsyncCommand have completed.

v3.0.0-pre3

07 Jul 20:09
Compare
Choose a tag to compare
v3.0.0-pre3 Pre-release
Pre-release

New In This Release:
- Added support for event Action and event Action<T>
- Added support for .SafeFireAndForget<TException>()
- Added SafeFireAndForgetExtensions.SetDefaultExceptionHandling(Action<Exception> onException) to set a default action for every call to SafeFireAndForget
- Added SafeFireAndForgetExtensions.Initialize(bool shouldAlwaysRethrowException = false). When set to true will rethrow every exception caught by SafeFireAndForget. Warning: SafeFireAndForgetExtensions.Initialize(true) is only recommended for DEBUG environments.
- Added support for Exception innerException to InvalidCommandParameterException
- Breaking Change: Changed default value to continueOnCapturedContext = false. This improves performance by not requiring a context switch when .SafeFireAndForget() and IAsyncCommand have completed.

v3.0.0-pre2

02 Jul 22:46
Compare
Choose a tag to compare
v3.0.0-pre2 Pre-release
Pre-release

New In This Release:

  • Added support for event Action and event Action<T>
  • Added support for .SafeFireAndForget<TException>()
  • Added SafeFireAndForgetExtensions.SetDefaultExceptionHandling(Action<Exception> onException) to set a default action for every call to SafeFireAndForget
  • Added SafeFireAndForgetExtensions.Initialize(bool shouldAlwaysRethrowException = false). When set to true will rethrow every exception caught by SafeFireAndForget. Warning: SafeFireAndForgetExtensions.Initialize(true) is only recommended for DEBUG environments.
  • Breaking Change: Changed default value to continueOnCapturedContext = false. This improves performance by not requiring a context switch when .SafeFireAndForget() and IAsyncCommand have completed.

v3.0.0-pre1

09 Jun 19:47
Compare
Choose a tag to compare
v3.0.0-pre1 Pre-release
Pre-release

New In This Release:
- Added support for event Action and event Action<T>

v2.1.1

17 Apr 20:04
Compare
Choose a tag to compare

New in this release:

  • Performance improvements to SafeFireAndForget

v2.1.0

12 Jan 19:58
Compare
Choose a tag to compare

New In This Release:

WeakEventManager.AddEventHandler can now be used with Delegate
WeakEventManager.RemoveEventHandler can now be used with Delegate