Skip to content

Releases: microsoft/vs-threading

v17.2.32

06 May 20:04
50970d6
Compare
Choose a tag to compare

Changes:

The netcoreapp3.1 target in this package adds WindowsDesktop dependencies to match what was already available in the net471 target. To avoid a WindowsDesktop runtime dependency, target net5.0 or later. For .NET 5.0, the WindowsDesktop dependencies are only expressed when targeting in net5.0-windows. See #1033.

Fixes:

  • #1000: AsyncSemaphore deadlock: EnterAsync holds lock while blocking on cancellation handler which needs lock

Enhancements:

  • #1004: Add net5.0 and net5.0-windows TFMs
  • #994: Add SynchronizationContext.GetAwaiter extension method

Others:

v17.2.20-alpha

26 Apr 21:33
34b8473
Compare
Choose a tag to compare
v17.2.20-alpha Pre-release
Pre-release

Changes:

Fixes:

  • #979: Fix InvalidCastException thrown from VSTHRD102

Enhancements:

  • #987: AsyncQueue.ToArray() made public (#986)
  • #978: Update reentrant exception to be of specific type
  • #986: Get list of queued items in AsyncQueue

Others:

  • #977: Build SBOM manifest as part of build
  • #976: Apply latest Library.Template including SDT additions

This list of changes was auto generated.

v17.1.46

23 Feb 14:59
Compare
Choose a tag to compare

What's Changed

Fixes

  • Fix a task continuation hang related to project lock. by @lifengl in #927

Enhancements

  • Allow PrepareResourceAsync task to be cancelled when all joined requests are cancelled by @lifengl in #936
  • Use ManualResetEvent on AwaitExtensions.WaitForRegistryChangeAsync. by @teo-tsirpanis in #948
  • Avoid Tuple allocation in ToTask(WaitHandle) when CancellationToken cannot be cancelled by @AArnott in #949

New Contributors

Full Changelog: v17.0.64...v17.1.46

v17.0.64

14 Dec 17:59
9708b8b
Compare
Choose a tag to compare

Fixes

  • #906 Unhandled exception in AsyncSemaphore: The LinkedList node does not belong to current LinkedList

v17.0.63

04 Oct 14:16
4885b8f
Compare
Choose a tag to compare

Enhancements:

  • #907: VSTHRD010 Extend member access analysis to events

v17.0.46-alpha

04 Oct 14:44
4c92741
Compare
Choose a tag to compare
v17.0.46-alpha Pre-release
Pre-release

Fixes

  • #693 .Result after Task.WhenAll raise VSTHRD002
  • #485 Trailing period in vs-threading.MembersRequiringMainThread.txt causes compiler hang

Enhancements

  • #884 Make use of fast HashSet.Contains check
  • #889 Avoid reading resource unless needed
  • #900 Fix an unnecessary thread pool dependency when waiting JTF collection.

v17.0.32-alpha

04 Oct 14:40
127e17d
Compare
Choose a tag to compare
v17.0.32-alpha Pre-release
Pre-release

Fixes

  • #544 JTF.TryExecute may throw NullReferenceException
  • #456 Structs not being recognized as MembersRequiringMainThread

v17.0.26-alpha

04 Oct 14:39
a0ab9d8
Compare
Choose a tag to compare
v17.0.26-alpha Pre-release
Pre-release

Fixes:

  • #637 VSTHRD114: fires even in the function is annotated as returning nullable Tasks
  • #772 VSTHRD110 does not trigger when using null-conditional member access
  • #849 Analyzer failure when checking parenthesized expression

v17.0.17-alpha

22 Jun 14:01
65186b0
Compare
Choose a tag to compare
v17.0.17-alpha Pre-release
Pre-release

No shipping changes

v17.0.15-alpha

22 Jun 14:01
18f95d1
Compare
Choose a tag to compare
v17.0.15-alpha Pre-release
Pre-release

No shipping changes