Releases: danielsaidi/SystemNotification
1.2.0
1.1.2
Thanks to @martindufort there's now an AppKit-specific overlay.
✨ New features
SystemNotificationAppKitOverlay
is a new AppKit-specific overlay view.
1.1.1
This version adds support for strict concurrency.
1.1.0
This version adds predefined system notification messages and styles and makes it easier to present a message.
✨ New features
SystemNotificationContext
has a newpresentMessage
function.SystemNotificationMessage
has new, predefinederror
,success
,warning
andsilentMode
messages.SystemNotificationMessageStyle
has new, predefinedprominent
,error
,success
andwarning
styles.
1.0.0
This version bumps the deployment targets and moves styling and configuration to view modifiers.
🚨 Important Information
- All previous style- and config-based initializers have been removed.
📱 New Deployment Targets
- .iOS(.v15)
- .macOS(.v12)
- .tvOS(.v15)
- .watchOS(.v8)
- .visionOS(.v1)
✨ New features
SystemNotification
is more self-managed than before.SystemNotificationConfiguration
can now be used as an environment value.SystemNotificationStyle
now supports background materials.SystemNotificationStyle
can now be used as an environment value.SystemNotificationMessageStyle
can now be used as an environment value.SystemNotificationMessageStyle
now supports specifying a foreground color.SystemNotificationMessageStyle
now supports specifying a background color.View
has new system notification-related style- and config view modifiers.
🐛 Bug fixes
SystemNotification
now correctly applies the configuration animation.
0.8.0
0.8
✨ New features
- SystemNotification now supports visionOS.
💥 Breaking changes
- SystemNotification now requires Swift 5.9.
0.7.2
✨ New features
SystemNotificationPresenter
is a new convenience protocol.
0.7.1
This version rolls back the UIKit support deprecation.
🗑 Deprecations
SystemNotificationUIKitOverlay
is no longer deprecated.
0.7.0
This version splits up SystemNotificationConfiguration
in a configuration and style type.
Due to changes in the SystemNotificationMessage
capabilities, the LocalizedStringKey
support has been deprecated.
Also, since SystemNotification aims to be a pure SwiftUI project, the SystemNotificationUIKitOverlay
has been deprecated. Please let me know if you really need it, and I'll re-add it to the library.
✨ New features
SystemNotificationMessage
now supports a custom icon view.SystemNotificationStyle
is a new type that's extracted fromSystemNotificationConfiguration
.
💡 Behavior changes
SystemNotification
no longer uses async size bindings to apply the corner radius.
🗑 Deprecated
SystemNotificationConfiguration
moves all styles toSystemNotificationStyle
.SystemNotificationMessage
has deprecated itsLocalizedString
initializer.SystemNotificationMessageConfiguration
is renamed toSystemNotificationMessageStyle
.
0.6.0
✨ New features
SystemNotificationConfiguration
has a newpadding
parameter.SystemNotificationConfiguration
has a newstandardBackgroundColor
function.SystemNotificationConfiguration
has a newstandardPadding
property.
💡 Behavior changes
SystemNotificationContext
handles custom presentation configurations better.
💥 Breaking changes
- All deprecated code has been removed.