Releases: thomhurst/TUnit
Releases · thomhurst/TUnit
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
1.30.0
What's Changed
Other Changes
- perf: eliminate locks from mock invocation and verification hot paths by @thomhurst in #5422
- feat: TUnit0074 analyzer for redundant hook attributes on overrides by @thomhurst in #5459
- fix(mocks): respect generic type argument accessibility (#5453) by @thomhurst in #5460
- fix(mocks): skip inaccessible internal accessors when mocking Azure.Response by @thomhurst in #5461
- fix: apply CultureAttribute and STAThreadExecutorAttribute to hooks (#5452) by @thomhurst in #5463
Dependencies
- chore(deps): update tunit to 1.29.0 by @thomhurst in #5446
- chore(deps): update react to ^19.2.5 by @thomhurst in #5457
- chore(deps): update opentelemetry to 1.15.2 by @thomhurst in #5456
- chore(deps): update dependency qs to v6.15.1 by @thomhurst in #5458
Full Changelog: v1.29.0...v1.30.0
1.29.0
What's Changed
Other Changes
- 🤖 Update Mock Benchmark Results by @thomhurst in #5420
- fix(mocks): resolve build errors when mocking Azure SDK clients by @thomhurst in #5440
- fix: deduplicate virtual hook overrides across class hierarchy (#5428) by @thomhurst in #5441
- fix(mocks): unique __argArray locals per event in RaiseEvent dispatch (#5423) by @thomhurst in #5442
- refactor(mocks): extract MockTypeModel.Visibility helper by @thomhurst in #5443
- fix(mocks): preserve nullable annotations on generated event implementations by @thomhurst in #5444
- fix(mocks): preserve nullability on event handler types (#5425) by @thomhurst in #5445
Dependencies
- chore(deps): update tunit to 1.28.7 by @thomhurst in #5416
- chore(deps): update dependency polyfill to v10 by @thomhurst in #5417
- chore(deps): update dependency polyfill to v10 by @thomhurst in #5418
- chore(deps): update dependency mockolate to 2.4.0 by @thomhurst in #5431
- chore(deps): update mstest to 4.2.1 by @thomhurst in #5433
- chore(deps): update dependency microsoft.net.test.sdk to 18.4.0 by @thomhurst in #5435
- chore(deps): update microsoft.testing to 2.2.1 by @thomhurst in #5432
- chore(deps): update dependency microsoft.testing.extensions.codecoverage to 18.6.2 by @thomhurst in #5437
- chore(deps): update dependency @docusaurus/theme-mermaid to ^3.10.0 by @thomhurst in #5438
- chore(deps): update docusaurus to v3.10.0 by @thomhurst in #5439
Full Changelog: v1.28.7...v1.29.0
1.28.7
What's Changed
Other Changes
- fix: prevent StringBuilder race in console interceptor during parallel tests by @thomhurst in #5414
Dependencies
- chore(deps): update tunit to 1.28.5 by @thomhurst in #5415
Full Changelog: v1.28.5...v1.28.7
1.28.5
What's Changed
Other Changes
- perf: eliminate redundant builds in CI pipeline by @thomhurst in #5405
- perf: eliminate store.ToArray() allocation on mock behavior execution hot path by @thomhurst in #5409
- fix: omit non-class/struct constraints on explicit interface mock implementations by @thomhurst in #5413
Dependencies
- chore(deps): update tunit to 1.28.0 by @thomhurst in #5406
Full Changelog: v1.28.0...v1.28.5
1.28.0
What's Changed
Other Changes
- fix: resolve build warnings in solution by @thomhurst in #5386
- Perf: Optimize MockEngine hot paths (~30-42% faster) by @thomhurst in #5391
- Move Playwright install into pipeline module by @thomhurst in #5390
- perf: optimize solution build performance by @thomhurst in #5393
- perf: defer per-class JIT via lazy test registration + parallel resolution by @thomhurst in #5395
- Perf: Generate typed HandleCall<T1,...> overloads to eliminate argument boxing by @thomhurst in #5399
- perf: filter generated attributes to TUnit-related types only by @thomhurst in #5402
- fix: generate valid mock class names for generic interfaces with non-built-in type args by @thomhurst in #5404
Dependencies
- chore(deps): update tunit to 1.27.0 by @thomhurst in #5392
- chore(deps): update dependency path-to-regexp to v8 by @thomhurst in #5378
Full Changelog: v1.27.0...v1.28.0
1.27.0
What's Changed
Other Changes
- Fix Dependabot security vulnerabilities in docs site by @thomhurst in #5372
- fix: use 0.0.0-scrubbed sentinel version in snapshot scrubber to avoid false Dependabot alerts by @thomhurst in #5374
- Speed up Engine.Tests by removing ProcessorCount parallelism cap by @thomhurst in #5379
- ci: add concurrency groups to cancel redundant workflow runs by @thomhurst in #5373
- Add scope-aware initialization and disposal OpenTelemetry spans to trace timeline and HTML report by @Copilot in #5339
- Add WithInnerExceptions() for fluent AggregateException assertion chaining by @thomhurst in #5380
- Drop net6.0 and net7.0 TFMs, keep net8.0+ and netstandard2.x by @thomhurst in #5387
- Remove all [Obsolete] members and migrate callers by @thomhurst in #5384
- Add AssertionResult.Failed overload that accepts an Exception by @thomhurst in #5388
Dependencies
- chore(deps): update dependency mockolate to 2.3.0 by @thomhurst in #5370
- chore(deps): update tunit to 1.25.0 by @thomhurst in #5371
- chore(deps): update dependency minimatch to v9.0.9 by @thomhurst in #5375
- chore(deps): update dependency path-to-regexp to v0.2.5 by @thomhurst in #5376
- chore(deps): update dependency minimatch to v10 by @thomhurst in #5377
- chore(deps): update dependency picomatch to v4 by @thomhurst in #5382
- chore(deps): update dependency svgo to v4 by @thomhurst in #5383
- chore(deps): update dependency path-to-regexp to v1 [security] by @thomhurst in #5385
Full Changelog: v1.25.0...v1.27.0
1.25.0
What's Changed
Other Changes
- Fix missing
defaultconstraint on explicit interface implementations with unconstrained generics by @thomhurst in #5363 - feat(mocks): add ReturnsAsync typed factory overload with method parameters by @thomhurst in #5367
- Fix Arg.IsNull and Arg.IsNotNull to support nullable value types by @thomhurst in #5366
- refactor(mocks): use file-scoped types for generated implementation details by @thomhurst in #5369
- Compress HTML report JSON data and minify CSS by @thomhurst in #5368
Dependencies
- chore(deps): update tunit to 1.24.31 by @thomhurst in #5356
- chore(deps): update dependency mockolate to 2.2.0 by @thomhurst in #5357
- chore(deps): update dependency polyfill to 9.24.1 by @thomhurst in #5365
- chore(deps): update dependency polyfill to 9.24.1 by @thomhurst in #5364
Full Changelog: v1.24.31...v1.25.0