v7.0.0
.NET 8.0 + ConfigureAwaitOptions
Support
In this release, we add .NET 8.0 as a target framework 🎉
We've also added support to .SafeFireAndForget()
for ConfigureAwaitOptions
:
public static void SafeFireAndForget(this System.Threading.Tasks.Task task, ConfigureAwaitOptions configureAwaitOptions, Action<Exception>? onException = null)
.NET 8.0 Introduces ConfigureAwaitOptions
that allow users to customize the behavior when awaiting:
ConfigureAwaitOptions.None
- No options specified
ConfigureAwaitOptions.SuppressThrowing
- Avoids throwing an exception at the completion of awaiting a Task that ends in the Faulted or Canceled state
ConfigureAwaitOptions.ContinueOnCapturedContext
- Attempts to marshal the continuation back to the original SynchronizationContext or TaskScheduler present on the originating thread at the time of the await
ConfigureAwaitOptions.ForceYielding
- Forces an await on an already completed Task to behave as if the Task wasn't yet completed, such that the current asynchronous method will be forced to yield its execution
What's Changed
- Add Support for
ConfigureAwaitOptions
in .NET 8 by @brminnick in #189 - Update to .NET 8.0 GA by @brminnick in #190
Housekeeping
- Bump Xamarin.UITest from 3.2.9 to 4.0.0 by @dependabot in #136
- Bump NUnit3TestAdapter from 4.3.0 to 4.3.1 by @dependabot in #137
- Bump Newtonsoft.Json from 13.0.1 to 13.0.2 by @dependabot in #138
- Bump Xamarin.UITest from 4.0.0 to 4.0.1 by @dependabot in #139
- Bump Xamarin.Forms from 5.0.0.2515+946-sha.94acebbb4-azdo.6439792 to 5.0.0.2545 by @dependabot in #140
- Bump Xamarin.Essentials from 1.7.3 to 1.7.4 by @dependabot in #141
- Bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1 by @dependabot in #142
- Bump Xamarin.UITest from 4.0.1 to 4.1.0 by @dependabot in #147
- Bump Xamarin.Essentials from 1.7.4 to 1.7.5 by @dependabot in #148
- Bump Xamarin.UITest from 4.1.0 to 4.1.2 by @dependabot in #150
- Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0 by @dependabot in #151
- Bump NUnit3TestAdapter from 4.3.1 to 4.4.0 by @dependabot in #152
- Bump NUnit3TestAdapter from 4.4.0 to 4.4.2 by @dependabot in #153
- Bump Xamarin.Forms from 5.0.0.2545 to 5.0.0.2578 by @dependabot in #155
- Bump Newtonsoft.Json from 13.0.2 to 13.0.3 by @dependabot in #154
- Bump Xamarin.UITest from 4.1.2 to 4.1.3 by @dependabot in #156
- Bump Xamarin.TestCloud.Agent from 0.23.1 to 0.23.2 by @dependabot in #157
- Bump Xamarin.CommunityToolkit.Markup from 2.0.5 to 2.0.6 by @dependabot in #158
- Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0 by @dependabot in #159
- Bump NUnit3TestAdapter from 4.4.2 to 4.5.0 by @dependabot in #160
- Bump Xamarin.UITest from 4.1.3 to 4.1.4 by @dependabot in #161
- Bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.6.1 by @dependabot in #162
- Bump Microsoft.NET.Test.Sdk from 17.6.1 to 17.6.2 by @dependabot in #163
- Bump Xamarin.Essentials from 1.7.5 to 1.7.6 by @dependabot in #165
- Bump Microsoft.NET.Test.Sdk from 17.6.2 to 17.6.3 by @dependabot in #166
- Bump Xamarin.Essentials from 1.7.6 to 1.7.7 by @dependabot in #167
- Bump Xamarin.UITest from 4.1.4 to 4.2.0 by @dependabot in #168
- Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 by @dependabot in #169
- Bump Xamarin.Forms from 5.0.0.2578 to 5.0.0.2612 by @dependabot in #171
- Bump Xamarin.Essentials from 1.7.7 to 1.8.0 by @dependabot in #170
- Bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.1 by @dependabot in #172
- Port Sample App to .NET MAUI by @brminnick in #173
- Bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2 by @dependabot in #174
- Update Sample to Support .NET 8 by @brminnick in #175
- Bump Microsoft.Maui.Controls from 8.0.0-preview.7.8842 to 8.0.0-rc.1.9171 by @dependabot in #177
- Bump Microsoft.Extensions.Http.Polly from 8.0.0-preview.7.23375.9 to 8.0.0-rc.1.23421.29 by @dependabot in #176
- Bump CommunityToolkit.Maui from 5.3.0 to 6.0.0 by @dependabot in #178
- Bump CommunityToolkit.Maui.Markup from 3.2.0 to 3.3.0 by @dependabot in #179
- Bump Microsoft.Maui.Controls from 8.0.0-rc.1.9171 to 8.0.0-rc.2.9373 by @dependabot in #180
- Bump Microsoft.Extensions.Http.Polly from 8.0.0-rc.1.23421.29 to 8.0.0-rc.2.23480.2 by @dependabot in #181
- Bump CommunityToolkit.Mvvm from 8.2.1 to 8.2.2 by @dependabot in #182
- Bump Microsoft.Maui.Controls from 8.0.0-rc.2.9373 to 8.0.0-rc.2.9511 by @dependabot in #183
- Bump CommunityToolkit.Maui from 6.0.0 to 6.1.0 by @dependabot in #185
- Bump NUnit from 3.13.3 to 3.14.0 by @dependabot in #186
- Bump Microsoft.Maui.Controls from 8.0.0-rc.2.9511 to 8.0.0-rc.2.9530 by @dependabot in #187
- Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 by @dependabot in #188
- Bump CommunityToolkit.Maui.Markup from 3.3.0 to 3.3.1 by @dependabot in #191
Full Changelog: v6.0.6...v7.0.0