-
Notifications
You must be signed in to change notification settings - Fork 112
4.89.0 Release #969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
4.89.0 Release #969
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add `AttachmentDownloadingStateView` similar to the uploading one * Add download and share button to `FileAttachmentView` * Add download and share button to the Files List view as well * Add feature flag to enable download of file attachments * Add test coverage * Update CHANGELOG.md * Simlify conflict resolution * Revise CHANGELOG format and add new entry Updated the changelog format and added a new entry for file attachment downloads. * Fix linting * Fix more linting
* Fix message list not scrolling to newest message with long text * Update CHANGELOG.md * Fix not scrolling to bottom when sending a new message * Improve name of the variable * Fix tests
β¦of online status (#962) * Change the gallery header view to show the message timestamp instead of online status * Update CHANGELOG with recent fixes and changes * [CI] Snapshots (#963) Co-authored-by: Stream Bot <[email protected]> --------- Co-authored-by: Stream SDK Bot <[email protected]> Co-authored-by: Stream Bot <[email protected]>
β¦964) * Fix draft attachments sent to the server with local file url * Add test coverage * Update CHANGELOG.md
Generated by π« Danger |
Public Interface+ public final class GalleryHeaderViewDateFormatter: DateFormatter, @unchecked Sendable
+
+ override public init()
+
+
+ override public func string(from date: Date)-> String
public struct MessageListConfig
-
+ public let downloadFileAttachmentsEnabled: Bool
-
+
- public init(messageListType: MessageListType = .messaging,typingIndicatorPlacement: TypingIndicatorPlacement = .bottomOverlay,groupMessages: Bool = true,messageDisplayOptions: MessageDisplayOptions = MessageDisplayOptions(),messagePaddings: MessagePaddings = MessagePaddings(),dateIndicatorPlacement: DateIndicatorPlacement = .overlay,pageSize: Int = 25,messagePopoverEnabled: Bool = true,doubleTapOverlayEnabled: Bool = false,becomesFirstResponderOnOpen: Bool = false,resignsFirstResponderOnScrollDown: Bool = true,updateChannelsFromMessageList: Bool = false,maxTimeIntervalBetweenMessagesInGroup: TimeInterval = 60,cacheSizeOnChatDismiss: Int = 1024 * 1024 * 100,iPadSplitViewEnabled: Bool = true,scrollingAnchor: UnitPoint = .center,showNewMessagesSeparator: Bool = true,handleTabBarVisibility: Bool = true,messageListAlignment: MessageListAlignment = .standard,uniqueReactionsEnabled: Bool = false,localLinkDetectionEnabled: Bool = true,isMessageEditedLabelEnabled: Bool = true,markdownSupportEnabled: Bool = true,userBlockingEnabled: Bool = false,bouncedMessagesAlertActionsEnabled: Bool = true,skipEditedMessageLabel: @escaping (ChatMessage) -> Bool = { _ in false },draftMessagesEnabled: Bool = false)
+
+ public init(messageListType: MessageListType = .messaging,typingIndicatorPlacement: TypingIndicatorPlacement = .bottomOverlay,groupMessages: Bool = true,messageDisplayOptions: MessageDisplayOptions = MessageDisplayOptions(),messagePaddings: MessagePaddings = MessagePaddings(),dateIndicatorPlacement: DateIndicatorPlacement = .overlay,pageSize: Int = 25,messagePopoverEnabled: Bool = true,doubleTapOverlayEnabled: Bool = false,becomesFirstResponderOnOpen: Bool = false,resignsFirstResponderOnScrollDown: Bool = true,updateChannelsFromMessageList: Bool = false,maxTimeIntervalBetweenMessagesInGroup: TimeInterval = 60,cacheSizeOnChatDismiss: Int = 1024 * 1024 * 100,iPadSplitViewEnabled: Bool = true,scrollingAnchor: UnitPoint = .center,showNewMessagesSeparator: Bool = true,handleTabBarVisibility: Bool = true,messageListAlignment: MessageListAlignment = .standard,uniqueReactionsEnabled: Bool = false,localLinkDetectionEnabled: Bool = true,isMessageEditedLabelEnabled: Bool = true,markdownSupportEnabled: Bool = true,userBlockingEnabled: Bool = false,bouncedMessagesAlertActionsEnabled: Bool = true,skipEditedMessageLabel: @escaping (ChatMessage) -> Bool = { _ in false },draftMessagesEnabled: Bool = false,downloadFileAttachmentsEnabled: Bool = false)
public struct GalleryView: View
- public init(viewFactory: Factory = DefaultViewFactory.shared,imageAttachments: [ChatMessageImageAttachment],author: ChatUser,isShown: Binding<Bool>,selected: Int)
+ public init(viewFactory: Factory = DefaultViewFactory.shared,imageAttachments: [ChatMessageImageAttachment],author: ChatUser,isShown: Binding<Bool>,selected: Int,message: ChatMessage? = nil)
- public init(viewFactory: Factory = DefaultViewFactory.shared,mediaAttachments: [MediaAttachment],author: ChatUser,isShown: Binding<Bool>,selected: Int)
+ public init(viewFactory: Factory = DefaultViewFactory.shared,mediaAttachments: [MediaAttachment],author: ChatUser,isShown: Binding<Bool>,selected: Int,message: ChatMessage? = nil)
- public struct MediaAttachment: Identifiable
+ public struct MediaAttachment: Identifiable, Equatable
+
+
+ public static func ==(lhs: MediaAttachment,rhs: MediaAttachment)-> Bool
public class Utils
- public var videoPreviewLoader: VideoPreviewLoader
+ public var galleryHeaderViewDateFormatter: DateFormatter
- public var imageLoader: ImageLoading
+ public var videoPreviewLoader: VideoPreviewLoader
- public var imageCDN: ImageCDN
+ public var imageLoader: ImageLoading
- public var imageProcessor: ImageProcessor
+ public var imageCDN: ImageCDN
- public var imageMerger: ImageMerging
+ public var imageProcessor: ImageProcessor
- public var fileCDN: FileCDN
+ public var imageMerger: ImageMerging
- public var channelNamer: ChatChannelNamer
+ public var fileCDN: FileCDN
- public var chatUserNamer: ChatUserNamer
+ public var channelNamer: ChatChannelNamer
- public var channelAvatarsMerger: ChannelAvatarsMerging
+ public var chatUserNamer: ChatUserNamer
- public var messageTypeResolver: MessageTypeResolving
+ public var channelAvatarsMerger: ChannelAvatarsMerging
- public var messageActionsResolver: MessageActionsResolving
+ public var messageTypeResolver: MessageTypeResolving
- public var messagePreviewFormatter: MessagePreviewFormatter
+ public var messageActionsResolver: MessageActionsResolving
- public var commandsConfig: CommandsConfig
+ public var messagePreviewFormatter: MessagePreviewFormatter
- public var channelListConfig: ChannelListConfig
+ public var commandsConfig: CommandsConfig
- public var messageListConfig: MessageListConfig
+ public var channelListConfig: ChannelListConfig
- public var composerConfig: ComposerConfig
+ public var messageListConfig: MessageListConfig
- public var pollsConfig: PollsConfig
+ public var composerConfig: ComposerConfig
- public var shouldSyncChannelControllerOnAppear: (ChatChannelController) -> Bool
+ public var pollsConfig: PollsConfig
- public var snapshotCreator: SnapshotCreator
+ public var shouldSyncChannelControllerOnAppear: (ChatChannelController) -> Bool
- public var messageIdBuilder: MessageIdBuilder
+ public var snapshotCreator: SnapshotCreator
- public var sortReactions: (MessageReactionType, MessageReactionType) -> Bool
+ public var messageIdBuilder: MessageIdBuilder
- public var channelHeaderLoader: ChannelHeaderLoader
+ public var sortReactions: (MessageReactionType, MessageReactionType) -> Bool
- public var videoDurationFormatter: VideoDurationFormatter
+ public var channelHeaderLoader: ChannelHeaderLoader
- public var audioRecordingNameFormatter: AudioRecordingNameFormatter
+ public var videoDurationFormatter: VideoDurationFormatter
- public var audioPlayerBuilder: () -> AudioPlaying
+ public var audioRecordingNameFormatter: AudioRecordingNameFormatter
- public var audioPlayer: AudioPlaying
+ public var audioPlayerBuilder: () -> AudioPlaying
- public var audioRecorderBuilder: () -> AudioRecording
+ public var audioPlayer: AudioPlaying
- public var audioRecorder: AudioRecording
+ public var audioRecorderBuilder: () -> AudioRecording
- public lazy var audioSessionFeedbackGenerator: AudioSessionFeedbackGenerator
+ public var audioRecorder: AudioRecording
- public var originalTranslationsStore
+ public lazy var audioSessionFeedbackGenerator: AudioSessionFeedbackGenerator
- public static var defaultSortReactions: (MessageReactionType, MessageReactionType) -> Bool
+ public var originalTranslationsStore
-
+ public static var defaultSortReactions: (MessageReactionType, MessageReactionType) -> Bool
-
+
- public init(dateFormatter: DateFormatter = .makeDefault(),messageRelativeDateFormatter: DateFormatter = MessageRelativeDateFormatter(),videoPreviewLoader: VideoPreviewLoader = DefaultVideoPreviewLoader(),imageLoader: ImageLoading = NukeImageLoader(),imageCDN: ImageCDN = StreamImageCDN(),imageProcessor: ImageProcessor = NukeImageProcessor(),imageMerger: ImageMerging = DefaultImageMerger(),fileCDN: FileCDN = DefaultFileCDN(),channelAvatarsMerger: ChannelAvatarsMerging = ChannelAvatarsMerger(),messageTypeResolver: MessageTypeResolving = MessageTypeResolver(),messageActionResolver: MessageActionsResolving = MessageActionsResolver(),messagePreviewFormatter: MessagePreviewFormatter = MessagePreviewFormatter(),commandsConfig: CommandsConfig = DefaultCommandsConfig(),channelListConfig: ChannelListConfig = ChannelListConfig(),messageListConfig: MessageListConfig = MessageListConfig(),composerConfig: ComposerConfig = ComposerConfig(),pollsConfig: PollsConfig = PollsConfig(),channelNamer: @escaping ChatChannelNamer = DefaultChatChannelNamer(),chatUserNamer: ChatUserNamer = DefaultChatUserNamer(),snapshotCreator: SnapshotCreator = DefaultSnapshotCreator(),messageIdBuilder: MessageIdBuilder = DefaultMessageIdBuilder(),channelHeaderLoader: ChannelHeaderLoader = ChannelHeaderLoader(),videoDurationFormatter: VideoDurationFormatter = DefaultVideoDurationFormatter(),audioRecordingNameFormatter: AudioRecordingNameFormatter = DefaultAudioRecordingNameFormatter(),sortReactions: @escaping (MessageReactionType, MessageReactionType) -> Bool = Utils.defaultSortReactions,shouldSyncChannelControllerOnAppear: @escaping (ChatChannelController) -> Bool = { _ in true })
+
+ public init(dateFormatter: DateFormatter = .makeDefault(),messageRelativeDateFormatter: DateFormatter = MessageRelativeDateFormatter(),galleryHeaderViewDateFormatter: DateFormatter = GalleryHeaderViewDateFormatter(),videoPreviewLoader: VideoPreviewLoader = DefaultVideoPreviewLoader(),imageLoader: ImageLoading = NukeImageLoader(),imageCDN: ImageCDN = StreamImageCDN(),imageProcessor: ImageProcessor = NukeImageProcessor(),imageMerger: ImageMerging = DefaultImageMerger(),fileCDN: FileCDN = DefaultFileCDN(),channelAvatarsMerger: ChannelAvatarsMerging = ChannelAvatarsMerger(),messageTypeResolver: MessageTypeResolving = MessageTypeResolver(),messageActionResolver: MessageActionsResolving = MessageActionsResolver(),messagePreviewFormatter: MessagePreviewFormatter = MessagePreviewFormatter(),commandsConfig: CommandsConfig = DefaultCommandsConfig(),channelListConfig: ChannelListConfig = ChannelListConfig(),messageListConfig: MessageListConfig = MessageListConfig(),composerConfig: ComposerConfig = ComposerConfig(),pollsConfig: PollsConfig = PollsConfig(),channelNamer: @escaping ChatChannelNamer = DefaultChatChannelNamer(),chatUserNamer: ChatUserNamer = DefaultChatUserNamer(),snapshotCreator: SnapshotCreator = DefaultSnapshotCreator(),messageIdBuilder: MessageIdBuilder = DefaultMessageIdBuilder(),channelHeaderLoader: ChannelHeaderLoader = ChannelHeaderLoader(),videoDurationFormatter: VideoDurationFormatter = DefaultVideoDurationFormatter(),audioRecordingNameFormatter: AudioRecordingNameFormatter = DefaultAudioRecordingNameFormatter(),sortReactions: @escaping (MessageReactionType, MessageReactionType) -> Bool = Utils.defaultSortReactions,shouldSyncChannelControllerOnAppear: @escaping (ChatChannelController) -> Bool = { _ in true }) |
Collaborator
Author
SDK Size
|
|
Build for regression testing β125 has been uploaded to TestFlight π |
|
nuno-vieira
approved these changes
Sep 22, 2025
Member
|
/merge release |
Contributor
|
Publication of the release has been launched π |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



β Added
toolbarThemed(content:)for creating custom views with themed navigation bar #953π Fixed
ColorPalette.navigationBarTintColor#953π Changed