Skip to content

v2.0.0

Choose a tag to compare

@nissy nissy released this 01 Oct 14:30
· 279 commits to main since this release

v2.0.0 Release Notes

  • Actor-Based Clipboard Core
    Introduced a modern clipboard service that runs inside an async actor, continuously polls the pasteboard with adaptive intervals, and persists only the deltas. The adapter layer keeps
    the legacy ClipboardServiceProtocol intact, so UI components and tests continue to work with minimal change while benefiting from faster, more reliable history updates.
  • SwiftData Persistence by Default
    macOS 14 and newer now store clipboard history using SwiftData models and a dedicated repository. The repository falls back to Core Data automatically if SwiftData initialization
    fails, improving reliability across system versions while delivering noticeably quicker load times for large histories.
  • Simplified Global Hotkey Management
    A new SimplifiedHotkeyManager manages the primary global shortcut with automatic input-monitoring checks, unified local/global listeners, and persistent user defaults. Service
    providers resolve the correct manager for production and test contexts, making hotkey behavior both more robust and easier to verify.
  • UI & Category Enhancements
    Main window notifications now use cancellable work items to avoid overlapping animations, and the pinned/cleanup actions surface clearer feedback. Category filters gained “All,”
    “Numbers,” and “JSON,” plus aliases that preserve existing preferences, giving users more precise ways to sift through history.
  • ViewModel Refresh with Swift Macro Support
    The main view model family adopts Swift 5.9’s @observable macro, reducing manual Combine boilerplate. Dependency providers supply clipboard, repository, and view-model instances,
    which improves testability and keeps initialization logic centralized.
  • Expanded Test Coverage
    Added comprehensive integration, performance, and persistence suites covering the new actor service, SwiftData repository, and simplified hotkey manager. These tests exercise real
    save/restore flows, async shutdown flushing, and edge-case filtering, significantly lowering regression risk.