Skip to content

v1.4.0

Choose a tag to compare

@nikolainobadi nikolainobadi released this 23 Sep 18:58
· 31 commits to main since this release

NnTestKit 1.4.0 Release Notes

New Features

@LeakTracked Macro

  • Introduces memory leak detection without inheritance requirements
  • Provides better Swift 6 Sendable conformance
  • Includes comprehensive migration guide from deprecated TrackingMemoryLeaks

Swift 6 Compatibility

  • Fixed concurrency warnings with @MainActor and @preconcurrency annotations
  • Ensures compatibility with Swift 6's strict concurrency checking

Migration

Replace inheritance-based memory leak tracking:

// Old
class MyTests: TrackingMemoryLeaks { }

// New
@LeakTracked
struct MyTests { }