Skip to content

Releases: danielsaidi/SystemNotification

1.1.1

07 Jun 07:36
Compare
Choose a tag to compare

This version adds support for strict concurrency.

1.1.0

24 Apr 11:22
Compare
Choose a tag to compare

This version adds predefined system notification messages and styles and makes it easier to present a message.

✨ New features

  • SystemNotificationContext has a new presentMessage function.
  • SystemNotificationMessage has new, predefined error, success, warning and silentMode messages.
  • SystemNotificationMessageStyle has new, predefined prominent, error, success and warning styles.

1.0.0

23 Apr 17:36
Compare
Choose a tag to compare

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

06 Mar 20:14
Compare
Choose a tag to compare

0.8

✨ New features

  • SystemNotification now supports visionOS.

💥 Breaking changes

  • SystemNotification now requires Swift 5.9.

0.7.2

26 Jun 14:48
Compare
Choose a tag to compare

✨ New features

  • SystemNotificationPresenter is a new convenience protocol.

0.7.1

26 Jun 14:47
Compare
Choose a tag to compare

This version rolls back the UIKit support deprecation.

🗑 Deprecations

  • SystemNotificationUIKitOverlay is no longer deprecated.

0.7.0

17 Jan 12:14
Compare
Choose a tag to compare

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 from SystemNotificationConfiguration.

💡 Behavior changes

  • SystemNotification no longer uses async size bindings to apply the corner radius.

🗑 Deprecated

  • SystemNotificationConfiguration moves all styles to SystemNotificationStyle.
  • SystemNotificationMessage has deprecated its LocalizedString initializer.
  • SystemNotificationMessageConfiguration is renamed to SystemNotificationMessageStyle.

0.6.0

16 Jan 12:18
Compare
Choose a tag to compare

✨ New features

  • SystemNotificationConfiguration has a new padding parameter.
  • SystemNotificationConfiguration has a new standardBackgroundColor function.
  • SystemNotificationConfiguration has a new standardPadding property.

💡 Behavior changes

  • SystemNotificationContext handles custom presentation configurations better.

💥 Breaking changes

  • All deprecated code has been removed.

0.5.3

07 Sep 08:39
Compare
Choose a tag to compare

💡 Behavior changes

  • SystemNotificationContext present now has an optional configuration.
  • SystemNotificationContext now uses its own configuration if none is provided.

0.5.2

06 Jul 10:37
Compare
Choose a tag to compare

This release fixes compile errors on tvOS and watchOS.