Skip to content

Releases: microsoft/vs-threading

v18.7.23

22 Jun 17:32
adf10d8

Choose a tag to compare

What's Changed

Fixes

  • Fix CancellationToken.Combine with 3+ cancelable tokens by @AArnott in #1443
  • Fix VSTHRD110 firing in Expression-valued scenarios by @AArnott with @Copilot in #1467
  • Fix super set for VSTHRD103 by @AArnott in #1545
  • Fix VSTHRD114 not firing for null in ternary conditional expressions by @AArnott with @Copilot in #1548
  • Disable VSTHRD010 in AppWithoutMainThread.editorconfig by @ArturDorochowicz in #1562
  • Fix VSTHRD103 missing diagnostic for sync extension methods with async alternatives in the same static class by @drewnoakes with @Copilot in #1569

Enhancements

  • Add JoinableTaskFactory.DisableProcessing() by @AArnott in #1576
  • Add NoMessagePumpSyncContext..ctor(SynchronizationContext) for Post/Send behaviors by @AArnott in #1578
  • Add trim and NativeAOT safety attributes by @AArnott in #1471
  • Add IPendingExecutionRequestState interface to expose completion state of SingleExecuteProtector by @lifengl in #1447
  • Add AdditionalFiles support to VSTHRD103 analyzer for excluding specific APIs by @AArnott with @Copilot in #1465
  • Document InvalidOperationException for AsyncReaderWriterLock acquisition methods by @AArnott with @Copilot in #1466
  • Allow library code to detect the JoinableTaskContext is not associated with Main thread by @lifengl in #1477
  • remove NotifyOfCrossThreadDependency call inside get_NoMessagePumpSynchronizationContext by @lifengl in #1486
  • reduce overhead when running in no main thread mode by @lifengl in #1502
  • Join tasks waited by JoinableTaskCollection.JoinUntilEmpty in dumpasync result by @lifengl in #1538
  • Remove slow regex from threading analyzers by @AArnott in #1547

New Contributors

Full Changelog: v17.14.15...v18.7.23

v17.14.15

13 Jun 14:23
a6094b6

Choose a tag to compare

What's Changed

Fixes

  • Fix VSTHRD110 false negative in local functions of async methods by @AArnott in #1385
  • Fix a race condition which leads product to hang by @lifengl in #1426
  • Switch from build to buildTransitive for analyzer package by @AArnott in #1434

Enhancements

  • Create a Microsoft.VisualStudio.Threading.Only package by @AArnott in #1429
  • Get !dumpasync ready for Azure Watson by @AArnott in #1380

Dependency updates

  • Update dependency System.Runtime.CompilerServices.Unsafe to 6.1.0 by @renovate in #1406
  • Update Included in .NET runtime to v8 (major) by @renovate in #1408
  • Update dependency System.Memory to 4.6.0 by @renovate in #1402
  • Update dependency System.Threading.Tasks.Extensions to 4.6.0 by @renovate in #1407
  • Update dotnet monorepo to 4.13.0 by @renovate in #1424
  • Update dependency Microsoft.Bcl.AsyncInterfaces to v9 by @renovate in #1438

Full Changelog: v17.13.2...v17.14.15

v17.13.61

18 Mar 03:18
8e16631

Choose a tag to compare

What's Changed

  • Get !dumpasync ready for Azure Watson by @AArnott in #1380
  • Fix VSTHRD110 false negative in local functions of async methods by @AArnott in #1385
  • Fix a race condition which leads product to hang by @lifengl in #1426
  • Create a NuGet package that offers the library without the analyzers by @AArnott in #1435

Full Changelog: v17.13.2...v17.13.61

v17.14.2-alpha

12 Mar 15:42
aab298c

Choose a tag to compare

v17.14.2-alpha Pre-release
Pre-release

What's Changed

  • Fix VSTHRD110 false negative in local functions of async methods by @AArnott in #1385
  • Fix a race condition which leads product to hang by @lifengl in #1426
  • Create a Microsoft.VisualStudio.Threading.Only package by @AArnott in #1429

Full Changelog: v17.13.2...v17.14.2-alpha

v17.13.2

12 Feb 21:47
132fc26

Choose a tag to compare

What's Changed

No functional changes in this version.

Full Changelog: v17.12.19...v17.13.2

v17.12.19

14 Jan 15:32
2ac34d4

Choose a tag to compare

Enhancements

  • Add AsyncBarrier.SignalAndWait(CancellationToken) overload by @AArnott in #1330
  • Add JoinableTaskContext.CreateNoOpContext() method by @AArnott in #1345

Fixes

  • Fix hang in AsyncLazy<T>.DisposeValueAsync by @AArnott in #1340
  • Fix JoinableTaskContext.serializedTasks memory leak by @AArnott in #1346
  • Fix an invalid operation exception when enumerating RarelyRemoveItemSet. by @lifengl in #1352
  • Raise VSTHRD002 on improper sync-blocking of configured awaiters by @AArnott in #1355

Other

Full Changelog: v17.11.20...v17.12.19

v17.11.20

15 Aug 12:23
2f713da

Choose a tag to compare

What's Changed

Full Changelog: v17.11.19-preview...v17.11.20

v17.11.19-preview

15 Aug 12:18
f60e988

Choose a tag to compare

v17.11.19-preview Pre-release
Pre-release

What's Changed

  • Bump System.Threading.Tasks.Dataflow from 7.0.0 to 8.0.0 by @dependabot in #1292
  • Bump Microsoft.Bcl.AsyncInterfaces from 7.0.0 to 8.0.0 by @dependabot in #1281
  • Skip sending ETW trace event for nested lock which is always granted automatically by @lifengl in #1301
  • Prevent creating two task waiting chains per AsyncLazy.GetValueAsync(CancellationToken) by @lifengl in #1296
  • Ensure unique requestId values in ETW events by @AArnott in #1304
  • Increase AsyncCrossProcessMutex stack size by @AArnott in #1310
  • Add System.Memory as package dependency by @AArnott in #1317
  • Fix documentation around AsyncQueue<T> completion
    by @AArnott in #1316

Full Changelog: v17.10.48...v17.11.19-preview

v17.10.48

01 May 17:48
1ec03f1

Choose a tag to compare

What's Changed

  • Don't package reference inbox assemblies on .NETCoreApp by @ViktorHofer in #1269
  • Use precise assembly version for analyzers project by @AArnott in #1266
  • Add AsyncLazy<T>.SuppressRecursiveFactoryDetection property by @AArnott in #1265
  • Fix hang in AsyncLazy<T>.DisposeValue() when T : IAsyncDisposable by @AArnott in #1271
  • Bring back LocBin artifact publishing by @AArnott in #1284
  • Fix missing LocBin artifact on non-Windows agents by @AArnott in #1285
  • Beef up VSTHRD003 documentation by @AArnott in #1283
  • Build stable 17.10 version by @AArnott in #1293
  • Rollback Microsoft.Bcl.AsyncInterfaces to 6.0.0 by @AArnott in #1307

New Contributors

Full Changelog: v17.9.28...v17.10.48

v17.10.12-preview

23 Apr 00:30
9065e6e

Choose a tag to compare

v17.10.12-preview Pre-release
Pre-release

What's Changed

  • Don't package reference inbox assemblies on .NETCoreApp by @ViktorHofer in #1269
  • Use precise assembly version for analyzers project by @AArnott in #1266
  • Add AsyncLazy<T>.SuppressRecursiveFactoryDetection property by @AArnott in #1265
  • Bump MicrosoftDiagnosticsRuntimeVersion from 2.4.416101 to 3.1.456501 by @dependabot in #1259
  • Fix hang in AsyncLazy<T>.DisposeValue() when T : IAsyncDisposable by @AArnott in #1271
  • Merge latest Library.Template by @AArnott in #1270

New Contributors

Full Changelog: v17.9.28...v17.10.12-preview