Skip to content

2.0.6

Compare
Choose a tag to compare
@calimarkus calimarkus released this 29 Jun 03:27
· 193 commits to main since this release

This release note includes all changes from 2.0.0 to 2.0.6.

2.0.6 - 2022-06-27

Added

  • Subtitle support (customizable)
  • Generic left view support (think icons, profile pictures, etc.), customizable layout
  • Explicitly customizable ActivityIndicator color
  • Prevent dismissal during user interaction (hold or pan), configurable.
  • Ability to disable Tap-To-Hold behavior
  • Added rubber-banding effect when panning down on notification (.pill style only)
  • Use pill height as minimum pill width.
  • Overhauled all public API documentation & converted it to the docc syntax

Changed

  • Renamed: JDStatusBarStyle -> JDStatusBarNotificationStyle & sub-style classes.
    (Note: If you initalize styles in your codebase this is a breaking change. The current API design doesn't expect users to initialize styles, but it is possible to do so.)
  • Renamed private classes and enums and their swift naming for more consistency.
  • Remove .centerWithTextUnlessSubtitleExists, default to .centerWithText.
  • Changed Swift Package swift-tools-version to 5.3
  • Added .spi.yml for better Swift Package Index integration

Fixed

  • WindowScene inferred automatically (no need to set it explicitly anymore)
  • Disable drag-to-dismiss during dismiss animation
  • Tweaked default style pill size & positioning
  • Don't clip text to bounds
  • Fix failing animation on presentation calls during ongoing presentation
  • Fix progress bar sometimes not showing up

(Click the 2.0.6 version number for a full diff compared to the major release of 2.0.0.)