Releases: microsoft/vs-threading
Releases · microsoft/vs-threading
v18.7.23
What's Changed
Fixes
- Fix
CancellationToken.Combinewith 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
IPendingExecutionRequestStateinterface to expose completion state ofSingleExecuteProtectorby @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
- @jgrosic made their first contribution in #1485
- @AbhitejJohn made their first contribution in #1533
- @ArturDorochowicz made their first contribution in #1562
- @microsoft-github-policy-service[bot] made their first contribution in #1587
Full Changelog: v17.14.15...v18.7.23
v17.14.15
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
buildtobuildTransitivefor analyzer package by @AArnott in #1434
Enhancements
- Create a
Microsoft.VisualStudio.Threading.Onlypackage 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
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
v17.13.2
What's Changed
- Set version to 17.13 by @matteo-prosperi in #1360
No functional changes in this version.
Full Changelog: v17.12.19...v17.13.2
v17.12.19
Enhancements
- Add
AsyncBarrier.SignalAndWait(CancellationToken)overload by @AArnott in #1330 - Add
JoinableTaskContext.CreateNoOpContext()method by @AArnott in #1345
Fixes
- Fix hang in
AsyncLazy<T>.DisposeValueAsyncby @AArnott in #1340 - Fix
JoinableTaskContext.serializedTasksmemory 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
- Update sos-threading tool to use NET 8 runtime by @lifengl in #1353
- Sign native dll and exclude test exe from sign check by @AArnott in #1334
- Document Join APIs that may propagate exceptions by @AArnott in #1332
- Update AsyncQueue.Enqueue doc by @AArnott in #1341
- Sign the
GalleryManifest.xmlfile by @AArnott in #1336
Full Changelog: v17.11.20...v17.12.19
v17.11.20
What's Changed
- Stabilize package version by @matteo-prosperi in #1326
Full Changelog: v17.11.19-preview...v17.11.20
v17.11.19-preview
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
requestIdvalues in ETW events by @AArnott in #1304 - Increase
AsyncCrossProcessMutexstack 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
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>.SuppressRecursiveFactoryDetectionproperty by @AArnott in #1265 - Fix hang in
AsyncLazy<T>.DisposeValue()whenT : IAsyncDisposableby @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
- @ViktorHofer made their first contribution in #1269
Full Changelog: v17.9.28...v17.10.48
v17.10.12-preview
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>.SuppressRecursiveFactoryDetectionproperty by @AArnott in #1265 - Bump MicrosoftDiagnosticsRuntimeVersion from 2.4.416101 to 3.1.456501 by @dependabot in #1259
- Fix hang in
AsyncLazy<T>.DisposeValue()whenT : IAsyncDisposableby @AArnott in #1271 - Merge latest Library.Template by @AArnott in #1270
New Contributors
- @ViktorHofer made their first contribution in #1269
Full Changelog: v17.9.28...v17.10.12-preview