Skip to content

v1.0.1: Refactored API, Fluent Syntax & Cross-Platform Fixes

Choose a tag to compare

@gomez1112 gomez1112 released this 14 Dec 19:16
· 9 commits to main since this release

πŸš€ Enhancements
New Fluent API: configure notification content using modifiers (e.g., .sound(.default), .badge(1), .category("INVITE")).

Result Builders: You can now define Categories and Actions using a clean, SwiftUI-like DSL.

Better Naming: Renamed verbose types for clarity (GNNotificationActionDescriptor β†’ GNAction, GNNotificationCategoryDescriptor β†’ GNCategory).

Strict Concurrency: Full Swift 6 concurrency compliance (Sendable types and Actors).

πŸ› Bug Fixes
Platform Compatibility: Fixed compilation errors regarding hiddenPreviewsBodyPlaceholder on Mac Catalyst, tvOS, and watchOS.

Icon Handling: Fixed an issue where Action Icons (SF Symbols) were defined but not applied to the underlying UNNotificationAction.

πŸ›  Internal Changes
Removed duplicate type declarations.

Added strict availability checks for platform-specific features.