diff --git a/CHANGELOG.md b/CHANGELOG.md index 08f50bbb..1fa85286 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,88 @@ # Change Log All notable changes to this project will be documented in this file. +## 10.0.1 + +## Features + +* #523 Add a `priority` configuration option. +* #548 Adds 'TopBottomPresentable' protocol to allow animators implementation to reuse 'top/bottom' integration in presentation +* #543 Make the `SwiftMessages` initializer `nonisolated` to improve interoperability with dependency injection frameworks like Factory. +* #560 Add a new `swiftMessage` modifier variation that provides a ` MessageGeometryProxy` type to the message view builder—this works around an inssue with `GeometryReader` not working in `UIHostingController`. + +Fixes +* Fix broken touch handling in iOS 18. + +## 10.0.0 + +### Features + +* Add a variation on the `.swiftMessage()` modifier that takes a view builder instead of requiring that the bound value conform to `MessageViewConvertible`. This syntax is more similar to the familiar `sheet()` modifier syntax and provides more flexibility for constructing message views. +* #207 Add optional haptic feedback + +### Changes + +* Use `@MainActor` to ensure that SwiftMessages is not called from a background queue. +* Bump minimum deployment target to iOS 13. + +### Fixes + +* #535 window being accessed from background thread when dequeueNext is called +* #534 Xcode warnings in two swift files +* #533 How do I show a message that appears above the keyboard, when the keyboard is already visible? + +## 9.0.9 + +### Fixes + +* Fix hit testing on SwiftUI views to allow touches around the view's margins to pass through to the underlying view. +* Update `KeyboardTrackingView` to continue tracking the keyboard even when not installed in the view hierarchy. + +## 9.0.8 + +### Changes + +* #529 Update readme and SwiftUI demo to demostrate how to mask edges. + +## 9.0.7 + +### Features + +* Added support for SwiftUI + +### Fixes + +* #527 Crash while clicking two times to hide the presenting controller +* #517 Prevent orphaned views from blocking the queue +* Prevent orphaned `SwiftMessagesSeque`s from retaining the presenting view controller + +## 9.0.6 + +### Features + +* Add `UIView` associated type to `Event`, e.g. `willShow(UIView)` so that event listeners can inspect the view. +* Add `Event.id: String?` property so that event listeners can reason about the view's ID. + +## 9.0.5 + +### Fixes + +* #482 Fix timing of `KeyboardTrackingView` callbacks. +* #483 KeyboardTrackingView causes a small space under bottom-style view + +## 9.0.4 + +* #471 Xcode 13 issue - Enum cases with associated values cannot be marked potentially unavailable with '@available' +* Improve colors for dark mode. + +## 9.0.3 + +### Fixes + +* #467 Lower or equal level window's views disappear upon hide +* #466 Alert not shown after Biometry check +* #465 Fix broken Carthage build. The Carthage build was broken due to the `iMessageDemo` project's use of CocoaPods and the automatically generated `SwiftMessages` framework scheme created by CocoaPods. The podfile was modified to delete this scheme, but Carthage users may need to run `pod install` on the `iMessagesDemo` project, if they have CocoaPods installed, or manually delete the `iMessageDemo/Pods/Pods.xcodeproj/xcuserdata` folder. + ## 9.0.2 ### Fixes diff --git a/Demo/Demo.xcodeproj/project.pbxproj b/Demo/Demo.xcodeproj/project.pbxproj index e7d3b1e6..57a9b7a5 100644 --- a/Demo/Demo.xcodeproj/project.pbxproj +++ b/Demo/Demo.xcodeproj/project.pbxproj @@ -200,7 +200,6 @@ TargetAttributes = { 86AEDCE11D5D1DB70030232E = { CreatedOnToolsVersion = 7.3.1; - DevelopmentTeam = 38R82CD868; LastSwiftMigration = 1020; }; }; @@ -427,11 +426,11 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; - DEVELOPMENT_TEAM = 38R82CD868; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = Demo/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = it.swiftkick.Demo; + PRODUCT_BUNDLE_IDENTIFIER = it.swiftkick.SwiftMessages.Demo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -444,11 +443,11 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; - DEVELOPMENT_TEAM = 38R82CD868; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = Demo/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = it.swiftkick.Demo; + PRODUCT_BUNDLE_IDENTIFIER = it.swiftkick.SwiftMessages.Demo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme b/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme index 847d6292..db82f1fa 100644 --- a/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme +++ b/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme @@ -50,13 +50,6 @@ ReferencedContainer = "container:Demo.xcodeproj"> - - - - - - - - + + - - + @@ -22,14 +19,14 @@ - diff --git a/Demo/Demo/Base.lproj/Main.storyboard b/Demo/Demo/Base.lproj/Main.storyboard index 08ab75d2..c38d6707 100644 --- a/Demo/Demo/Base.lproj/Main.storyboard +++ b/Demo/Demo/Base.lproj/Main.storyboard @@ -1,8 +1,10 @@ - + - + + + @@ -30,10 +32,10 @@ - + - + @@ -47,7 +49,7 @@ @@ -67,21 +69,21 @@ - + - + @@ -102,21 +104,21 @@ - + - + @@ -137,21 +139,21 @@ - + - + @@ -171,21 +173,21 @@ - + - + @@ -223,25 +225,25 @@ - + - + - + - + @@ -260,21 +262,21 @@ - - + + - + - + @@ -293,11 +295,11 @@ - - + + - + - + @@ -326,11 +328,11 @@ - - + + - + - + @@ -360,19 +362,19 @@ - + - + - + @@ -391,20 +393,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + @@ -427,20 +461,20 @@ - - + + - + - + @@ -460,11 +494,11 @@ - - + + - + - + @@ -494,20 +528,20 @@ - - + + - + - + @@ -527,19 +561,19 @@ - + - + - + @@ -556,20 +590,20 @@ - - + + - + - + @@ -585,20 +619,20 @@ - - + + - + - + @@ -614,48 +648,48 @@ - - + + - + - + - + - + - + - + - + @@ -663,32 +697,32 @@ - + - + - + - + - + @@ -780,6 +814,7 @@ + @@ -810,10 +845,10 @@ - +