From aee41fac5bc0cbf97dca1682acd50d1d9120b91f Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 18 Jan 2026 07:21:15 +0000 Subject: [PATCH] chore: add 0.1.0 changelog --- CHANGELOG.md | 10 ++++++++++ Sources/AXorcist/Core/Element+UIAutomation.swift | 2 +- Tests/AXorcistTests/ClickEventGenerationTests.swift | 1 - 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..05bbd11 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +All notable changes to AXorcist will be documented in this file. + +## [0.1.0] - 2026-01-18 + +### Added +- Initial release of AXorcist, a Swift wrapper over macOS Accessibility with async/await-friendly APIs. +- Type-safe element querying and attribute access, plus action execution helpers. +- Permission helpers for checking/requesting Accessibility access and monitoring changes. diff --git a/Sources/AXorcist/Core/Element+UIAutomation.swift b/Sources/AXorcist/Core/Element+UIAutomation.swift index d2e6f11..5a518d2 100644 --- a/Sources/AXorcist/Core/Element+UIAutomation.swift +++ b/Sources/AXorcist/Core/Element+UIAutomation.swift @@ -50,7 +50,7 @@ extension Element { } @MainActor - internal static func buildClickEventPairs( + static func buildClickEventPairs( at point: CGPoint, button: MouseButton, clickCount: Int) throws -> [(down: CGEvent, up: CGEvent)] diff --git a/Tests/AXorcistTests/ClickEventGenerationTests.swift b/Tests/AXorcistTests/ClickEventGenerationTests.swift index 2dacdd3..225f923 100644 --- a/Tests/AXorcistTests/ClickEventGenerationTests.swift +++ b/Tests/AXorcistTests/ClickEventGenerationTests.swift @@ -39,4 +39,3 @@ struct ClickEventGenerationTests { #expect(pairs[1].up.getIntegerValueField(.mouseEventClickState) == 2) } } -