Releases: thomhurst/TUnit
Releases · thomhurst/TUnit
1.37.0
What's Changed
Other Changes
- fix: stabilize flaky tests across analyzer, OTel, and engine suites by @thomhurst in #5609
- perf: engine hot-path allocation wins (#5528 B) by @thomhurst in #5610
- feat(analyzers): detect collection IsEqualTo reference equality (TUnitAssertions0016) by @thomhurst in #5615
- perf: consolidate test dedup + hook register guards (#5528 A) by @thomhurst in #5612
- perf: engine discovery/init path cleanup (#5528 C) by @thomhurst in #5611
- fix(assertions): render collection contents in IsEqualTo failure messages (#5613 B) by @thomhurst in #5619
- feat(analyzers): code-fix for TUnit0015 to insert CancellationToken (#5613 D) by @thomhurst in #5621
- fix(assertions): add Task reference forwarders on AsyncDelegateAssertion by @thomhurst in #5618
- test(asp-net): fix race in FactoryMethodOrderTests by @thomhurst in #5623
- feat(analyzers): code-fix for TUnit0049 to insert [MatrixDataSource] (#5613 C) by @thomhurst in #5620
- fix(pipeline): isolate AOT publish outputs to stop clobbering pack DLLs (#5622) by @thomhurst in #5624
Dependencies
- chore(deps): update tunit to 1.36.0 by @thomhurst in #5608
- chore(deps): update modularpipelines to 3.2.8 by @thomhurst in #5614
Full Changelog: v1.36.0...v1.37.0
1.36.0
What's Changed
Other Changes
- fix: don't render test's own trace as Linked Trace in HTML report by @thomhurst in #5580
- fix(docs): benchmark index links 404 by @thomhurst in #5587
- docs: replace repeated benchmark link suffix with per-test descriptions by @thomhurst in #5588
- docs: clearer distributed tracing setup and troubleshooting by @thomhurst in #5597
- fix: auto-suppress ExecutionContext flow for hosted services (#5589) by @thomhurst in #5598
- feat: auto-align DistributedContextPropagator to W3C by @thomhurst in #5599
- feat: TUnit0064 analyzer + code fix for direct WebApplicationFactory inheritance by @thomhurst in #5601
- feat: auto-propagate test trace context through IHttpClientFactory by @thomhurst in #5603
- feat: TUnit.OpenTelemetry zero-config tracing package by @thomhurst in #5602
- fix: restore [Obsolete] members removed in v1.27 (#5539) by @thomhurst in #5605
- feat: generalize OTLP receiver for use outside TUnit.Aspire by @thomhurst in #5606
- feat: auto-configure OpenTelemetry in TestWebApplicationFactory SUT by @thomhurst in #5607
Dependencies
- chore(deps): update tunit to 1.35.2 by @thomhurst in #5581
- chore(deps): update dependency typescript to ~6.0.3 by @thomhurst in #5582
- chore(deps): update dependency coverlet.collector to v10 by @thomhurst in #5600
Full Changelog: v1.35.2...v1.36.0
1.35.2
What's Changed
Other Changes
- fix: restore SourceLink and deterministic builds in published packages by @thomhurst in #5579
Dependencies
- chore(deps): update tunit to 1.35.0 by @thomhurst in #5578
Full Changelog: v1.35.0...v1.35.2
1.35.0
What's Changed
Other Changes
- fix: support open generic transitive auto-mocks by @thomhurst in #5568
- refactor: separate test and lifecycle tracing by @thomhurst in #5572
- fix: expand nested And/Or expectations in failure messages (#5573) by @thomhurst in #5577
Dependencies
- chore(deps): update tunit to 1.34.5 by @thomhurst in #5566
- chore(deps): bump follow-redirects from 1.15.11 to 1.16.0 in /docs by @dependabot[bot] in #5538
- chore(deps): update verify to 31.16.0 by @thomhurst in #5570
- chore(deps): update verify to 31.16.1 by @thomhurst in #5574
- chore(deps): update gittools/actions action to v4 by @thomhurst in #5575
Full Changelog: v1.34.5...v1.35.0
1.34.5
What's Changed
Other Changes
- fix: cap test output at 1M chars to prevent OOM by @thomhurst in #5561
- fix: handle explicit interface impl with different return types in mock generator by @thomhurst in #5564
- fix: include XML documentation files in NuGet packages by @thomhurst in #5565
Dependencies
- chore(deps): update tunit to 1.34.0 by @thomhurst in #5562
Full Changelog: v1.34.0...v1.34.5
1.34.0
What's Changed
Other Changes
- refactor: move CorrelatedTUnitLogger to TUnit.Logging.Microsoft and auto-inject handlers by @thomhurst in #5532
- feat: add Dev Drive setup for Windows in CI workflow by @thomhurst in #5544
- fix: start session activity before discovery so discovery spans parent correctly by @thomhurst in #5534
- feat: cross-process test log correlation via OTLP receiver by @thomhurst in #5533
- refactor: use natural OTEL trace propagation instead of synthetic TraceIds by @thomhurst in #5557
- fix: route ITestOutput writes through synchronized ConcurrentStringWriter by @thomhurst in #5558
Dependencies
- chore(deps): update tunit to 1.33.0 by @thomhurst in #5527
- chore(deps): update dependency dompurify to v3.4.0 by @thomhurst in #5537
- chore(deps): update dependency docusaurus-plugin-llms to ^0.3.1 by @thomhurst in #5541
- chore(deps): update dependency microsoft.sourcelink.github to 10.0.202 by @thomhurst in #5543
- chore(deps): update dependency microsoft.entityframeworkcore to 10.0.6 by @thomhurst in #5542
- chore(deps): update dependency microsoft.templateengine.authoring.templateverifier to 10.0.202 by @thomhurst in #5546
- chore(deps): update dependency microsoft.templateengine.authoring.cli to v10.0.202 by @thomhurst in #5545
- chore(deps): update dependency system.commandline to 2.0.6 by @thomhurst in #5547
- chore(deps): update microsoft.aspnetcore to 10.0.6 by @thomhurst in #5548
- chore(deps): update dependency nuget.protocol to 7.3.1 by @thomhurst in #5549
- chore(deps): update microsoft.extensions to 10.0.6 by @thomhurst in #5550
- chore(deps): update dependency dotnet-sdk to v10.0.202 by @thomhurst in #5551
- chore(deps): update opentelemetry by @thomhurst in #5552
- chore(deps): update microsoft.extensions to 10.5.0 by @thomhurst in #5554
Full Changelog: v1.33.0...v1.34.0
1.33.0
What's Changed
Other Changes
- perf: engine-wide performance optimizations by @thomhurst in #5520
- feat: Add TUnitSettings static API for programmatic configuration by @thomhurst in #5522
- perf: reduce allocations and improve hot-path performance by @thomhurst in #5524
- fix: enforce ParallelLimiter semaphore in TestRunner to prevent DependsOn bypass by @thomhurst in #5526
Dependencies
- chore(deps): update tunit to 1.32.0 by @thomhurst in #5513
Full Changelog: v1.32.0...v1.33.0
1.32.0
What's Changed
Other Changes
- fix: auto-register correlated logging for minimal API hosts (#5503) by @thomhurst in #5511
- fix: cascade HookExecutorAttribute from class/assembly to hooks (#5462) by @thomhurst in #5512
Dependencies
- chore(deps): update dependency polyfill to 10.3.0 by @thomhurst in #5508
- chore(deps): update tunit to 1.31.0 by @thomhurst in #5510
- chore(deps): update dependency polyfill to 10.3.0 by @thomhurst in #5509
Full Changelog: v1.31.0...v1.32.0
1.31.0
What's Changed
Other Changes
- feat(reporters): overhaul GitHub Actions step summary by @thomhurst in #5483
- fix: truncate large stdout/stderr in HTML report to prevent JSON serialization failure by @thomhurst in #5485
- feat(html-report): add failure clustering to test report by @thomhurst in #5490
- feat(html-report): add chevron affordance to failure cluster headers by @thomhurst in #5492
- feat(reporters): group GitHub summary failures by exception type by @thomhurst in #5491
- feat(reporters): add minimap sidebar navigator to HTML report by @thomhurst in #5494
- feat(html-report): add category/tag filter pills to toolbar by @thomhurst in #5496
- feat(html-report): omit redundant test body span from trace timeline by @thomhurst in #5497
- fix(tests): clear reporter env vars before each GitHubReporterTest to fix flaky CI on macOS/Windows by @thomhurst in #5499
- feat: add TestContext.MakeCurrent() for console output correlation by @thomhurst in #5502
- feat(html-report): add flaky test detection and summary section by @thomhurst in #5498
- fix: smarter stack trace filtering that preserves TUnit-internal traces by @thomhurst in #5506
- feat: add Activity baggage-based test context correlation by @thomhurst in #5505
Dependencies
- chore(deps): update actions/github-script action to v9 by @thomhurst in #5476
- chore(deps): update tunit to 1.30.8 by @thomhurst in #5477
- chore(deps): update dependency polyfill to 10.2.0 by @thomhurst in #5482
- chore(deps): update dependency polyfill to 10.2.0 by @thomhurst in #5481
- chore(deps): update actions/upload-artifact action to v7.0.1 by @thomhurst in #5495
Full Changelog: v1.30.8...v1.31.0
1.30.8
What's Changed
Other Changes
- feat(mocks): migrate to T.Mock() extension syntax by @thomhurst in #5472
- feat: split TUnit.AspNetCore into Core + meta package by @thomhurst in #5474
- feat: add async Member() overloads for Task-returning member selectors by @thomhurst in #5475
Dependencies
- chore(deps): update aspire to 13.2.2 by @thomhurst in #5464
- chore(deps): update dependency polyfill to 10.1.1 by @thomhurst in #5468
- chore(deps): update dependency polyfill to 10.1.1 by @thomhurst in #5467
- chore(deps): update tunit to 1.30.0 by @thomhurst in #5469
- chore(deps): update dependency microsoft.playwright to 1.59.0 by @thomhurst in #5473
Full Changelog: v1.30.0...v1.30.8