Skip to content

Releases: sendbird/sendbird-uikit-ios

v3.3.2

05 Jan 08:40
Compare
Choose a tag to compare

v3.3.2 (Jan 5, 2023) with Chat SDK v4.2.2

  • Added enablesReaction in SBUParentMessageInfoView
  • Fixed contentMode issue while loading image
  • Improved stability

v2.2.12

05 Jan 08:17
Compare
Choose a tag to compare

v2.2.12 (Jan 5, 2023)

  • Updated chat SDK minor version to v3.1.39
  • Improved stability

v3.3.1

08 Dec 07:06
Compare
Choose a tag to compare

v3.3.1 (Dec 8, 2022)

  • Added isUserIdUsedForNickname in SBUGlobals
  • Improved image compression process
  • Improved date formats for past year's format
    • SBUGroupChannelCell
    • SBUMessageSearchResultCell
    • SBUMessageDateView
    • SBUParentMessageInfoView
  • Added formatted date getter functions in Date extension class
    • lastUpdatedTimeForChannelCell(baseTimestamp:)
    • lastUpdatedTimeForMessageSearchResultCell(baseTimestamp:)
    • messageCreatedTimeForParentInfo(baseTimestamp:)
    • dateSeparatedTime(baseTimestamp:)
  • Added static properties in SBUDateFormatSet
    • yyyyMMdd
    • MMMddhhmma
    • MMMddyyyyhhmma
    • Channel
      • lastUpdatedPastYearFormat
    • Message * dateSeparatorDateFormat * dateSeparatorPastYearFormat * dateSeparatorTimeFormat * dateSeparatorYesterdayFormat
    • MessageSearch
      • lastUpdatedDateFormat
      • lastUpdatedPastYearFormat * lastUpdatedTimeFormat
    • MessageThread * sentDateDateFormat * sentDatePastYearFormat * sentDateTimeFormat * sentDateYesterdayFormat

v3.3.0

24 Nov 05:10
Compare
Choose a tag to compare

v3.3.0 (Nov 23, 2022) with Chat SDK v4.1.6

  • Improved image caching and gif handling process
  • Improved file data handling process
    • File name and mime type will set based on original file if possible
  • Added classes
    • SBUMessageThreadModule
    • SBUMessageThreadModule.Header, SBUMessageThreadModuleHeaderDelegate
    • SBUMessageThreadModule.List, SBUMessageThreadModuleListDelegate, SBUMessageThreadModuleListDataSource
    • SBUMessageThreadModule.Input, SBUMessageThreadModuleInputDelegate, SBUMessageThreadModuleInputDataSource
    • SBUThreadInfoView, SBUThreadInfoViewDelegate
    • SBUParentMessageInfoReactionView
    • SBUMessageThreadTitleView, SBUMessageThreadTitleViewDelegate
    • SBUMessageThreadViewController, SBUMessageThreadViewControllerDelegate
    • SBUParentMessageInfoView, SBUParentMessageInfoViewDelegate
    • SBUMessageThreadViewModel, SBUMessageThreadViewModelDelegate, SBUMessageThreadViewModelDataSource
  • Added module SBUModuleSet
    • messageThreadModule
  • Added viewController in SBUViewControllerSet
    • MessageThreadViewController
  • Added properties
    • useQuotedMessage, useThreadInfo, joinedAt in SBUBaseMessageCellParams class
    • quotedMessageCreatedAt, messageCreatedAt, joinedAt in SBUQuotedBaseMessageViewParams class
    • useQuotedMessage, useThreadInfo, threadHStackView, threadInfoSpacing, threadInfoView in SBUContentBaseMessageCell class
    • emptyViewTopConstraint in SBUEmptyView
    • params property in SBUQuotedBaseMessageView class
    • sendFileMessageCompletionHandler, sendUserMessageCompletionHandler, pendingMessageManager in SBUBaseChannelViewModel
  • Added functions
    • setupThreadInfoView() function in SBUContentBaseMessageCell class
    • updatePlaceholderText() function in SBUMessageInputView class
    • showMessageThread(channelURL:parentMessageId:parentMessageCreatedAt:startingPoint:) function in SBUBaseChannelViewController class
    • updateTopAnchorConstraint(constant:) function in SBUEmptyView class
    • SBUMessageThreadViewControllerDelegate functions in SBUGroupChannelViewController class
    • groupChannelModuleDidTapThreadInfoView(_:) delegate function in SBUGroupChannelModuleListDelegate
    • baseChannelModule(_:didTapTitleView:) delegate function in SBUBaseChannelModuleHeaderDelegate
    • baseChannelModule(_:pendingMessageManagerForCell:) datasource function in SBUBaseChannelModuleListDataSource
    • MessageThread() class function in SBUDateFormatSet
    • needsToRemoveMargin() function in SBUUserMessageTextView class
    • setupSendUserMessageCompletionHandlers(), setupSendFileMessageCompletionHandlers() functions in SBUOpenChannelViewModel class
  • Added parameters in function
    • forMessageThread parameter in functions of SBUPendingMessageManager class
    • fileName and mimeType parameters in pickImageData function of SBUBaseChannelModule.Input class
    • fileName and mimeType parameters in didTapSendImageData function of SBUSelectablePhotoViewDelegate
    • imageSize parameter in configure function of SBUMessageProfileView class
    • removeMargin parameter in initialize function of SBUUserMessageTextView class
    • isThreadMessage and joinedAt parameters in initialize function of SBUBaseMessageCellParams, SBUUserMessageCellParams, SBUFileMessageCellParams, and SBUUnknownMessageCellParams classes
    • joinedAt parameter in initialize function of SBUQuotedBaseMessageViewParams class
    • joinedAt parameter in setupQuotedMessageView function of SBUContentBaseMessageCell class
    • completionHandler parameter in loadChannel function of SBUBaseChannelViewModel class
  • Added theme properties
    • in SBUChannelTheme
      • messageThreadTitleColor
      • messageThreadTitleFont
      • messageThreadTitleChannelNameColor
      • messageThreadTitleChannelNameFont
    • in SBUMessageCellTheme
      • repliedCountTextColor
      • repliedCountTextFont
      • repliedUsersMoreIconBackgroundColor
      • repliedUsersMoreIconTintColor
      • parentInfoBackgroundColor
      • parentInfoUserNameTextFont
      • parentInfoUserNameTextColor
      • parentInfoDateFont
      • parentInfoDateTextColor
      • parentInfoMoreButtonTintColor
      • parentInfoSeparateBarColor
      • parentInfoReplyCountTextColor
      • parentInfoReplyCountTextFont
  • Added strings in SBUStringSet
    • Message_Replied_Users_Count: (Int, Bool)
    • Message_Reply_Cannot_Found_Original
    • Message_Unavailable
    • MessageThread.Menu.replyInThread
    • MessageThread.MessageInput.replyInThread
    • MessageThread.MessageInput.replyToThread
    • MessageThread.Header.title
  • Added icons in SBUIconSet
    • iconEmpty
    • iconThread
  • Added SBUReplyConfiguration
  • Added thread type in SBUReplyType enumeration
  • Added SBUThreadReplySelectType enumeration
  • Added dismissHandler in SBUAlertView, SBUActionSheet
  • Modified caption3 font weight .medium to .bold
  • Renamed usingQuotedMessage to useQuotedMessage in SBUBaseMessageCellParams, SBUContentBaseMessageCell, and SBUQuotedBaseMessageViewParams classes
  • Deprecated
    • SBUGlobals class
      Deprecated replyType property, use reply.replyType instead
    • SBUQuotedBaseMessageViewParams class
      • Deprecated init(message:position:usingQuotedMessage:joinedAt:) function, use init(message:position:useQuotedMessage:joinedAt:) instead
      • Deprecated init(messageId:messagePosition:quotedMessageNickname:replierNickname:text:usingQuotedMessage:quotedMessageCreatedAt:) function, use init(messageId:messagePosition:quotedMessageNickname:replierNickname:text:useQuotedMessage:quotedMessageCreatedAt:) instead
      • Deprecated init(messageId:messagePosition:quotedMessageNickname:replierNickname:name:type:urlString:usingQuotedMessage:quotedMessageCreatedAt:) function, use init(messageId:messagePosition:quotedMessageNickname:replierNickname:name:type:urlString:useQuotedMessage:quotedMessageCreatedAt:) instead

v3.2.3

15 Nov 08:23
Compare
Choose a tag to compare

v3.2.3 (Nov 11, 2022)

IMPORTANT If you use Swift Package Manager, Please reset package cache before download the current version.

  • Opened keyboard events: keyboardWillShow(_:) and keyboardWillHide(_:)
  • Updated navigationBar shadowColor
  • Modified the type of class that includes the UIControl type object to NSObject
  • Improved logic to update the 'startPoint' in the channel
  • Improved logic moving to the original message of a quoted message
  • Improved channel initialization process.
  • Improved stability

v3.2.2

28 Oct 07:41
Compare
Choose a tag to compare

v3.2.2 (Oct 28, 2022) with Chat SDK v4.1.2

  • Fixed scrollToBottom button flickers when send a message
  • Improved fileMessage related processing
  • Added messageCellConfiguration in SBUGlobals
  • Modified fonts and colors in SBUTheme
    • Renamed ChannelListTheme to SBUGroupChannelListTheme (also SBUTheme.groupChannelListTheme)
    • Renamed ChannelCellTheme to SBUGroupChannelCellTheme (also SBUTheme.groupChannelCellTheme)
    • Renamed SBUTheme.setChannelList(channelListTheme:channelCellTheme:) to SBUTheme.setGroupChannelList(channelListTheme:channelCellTheme:)
    • SBUGroupChannelListTheme
      • notificationOnTintColor: light (SBUColorSet.background50 -> SBUColorSet.ondark01)
    • SBUGroupChannelCellTheme
      • Added fileIconBackgroundColor, fileIconTintColor
    • SBUOpenChannelCellTheme
      • participantCountFont: light(SBUColorSet.caption1 -> SBUColorSet.caption2)
    • SBUChannelTheme
      • Added openChannelOGTitleColor, buttonBackgroundColor, buttonTitleColor, sideButtonIconColor, newMessageBadgeColor
      • menuItemDisabledColor: light(SBUColorSet.ondark04 -> SBUColorSet.onlight04)
      • mentionLimitGuideTextFont: (SBUFontSet.body1 -> SBUFontSet.body3)
      • quotedMessageBackgroundColor: light(removed alpha value 0.5)
    • SBUMessageCellTheme
      • Renamed unknownMessageDescTextColor to unknownMessageDescLeftTextColor
      • Added unknownMessageDescRightTextColor
    • SBUChannelSettingsTheme
      • userNameFont (subtitle1 -> h1)
      • urlFont (body3 -> body1)
      • cellDescriptionTextFont (subtitle3 -> body3)
    • SBUCreateOpenChannelTheme
      • textFieldFont (body3 -> subtitle1)
  • Fixed bcsymbolmap issue for SPM

v2.2.11

28 Oct 08:17
Compare
Choose a tag to compare
  • Updated chat SDK minor version to v3.1.33
  • Fixed loadPrevMessages function in SBUOpenChannelViewController class not working issue

v3.2.1

14 Oct 03:12
Compare
Choose a tag to compare

v3.2.1 (Oct 13, 2022) with Chat SDK v4.0.15

  • Added contentMode parameter to setImage(withImage:backgroundColor:makeCircle:) in SBUCoverImageView
  • Modified SendbirdUIKit initializer to synchronously
  • Deprecated functions in SBUGroupChannelListViewModel
    • updateChannels(_:needReload:)
    • upsertChannels(_:needReload:)
    • deleteChannels(_:needReload:)
    • sortChannelList(needReload:)
  • Improved stability

v2.2.10

05 Oct 08:18
Compare
Choose a tag to compare
  • Updated chat SDK minor version to v3.1.28
  • Modified SendbirdUIKit initializer to synchronously

v3.2.0

28 Sep 08:27
Compare
Choose a tag to compare

v3.2.0 (Sep 21, 2022) with Chat SDK v4.0.13

IMPORTANT If you use Swift Package Manager, Please reset package cache before download the current version.

  • Support Open channel list features
    • Added classes
      • SBUOpenChannelListViewController
      • SBUOpenChannelCell
      • SBUOpenChannelListViewModel
      • SBUOpenChannelListModule, SBUOpenChannelListModule.Header and SBUOpenChannelListModule.List
    • Added OpenChannelListViewController in SBUViewControllerSet
    • Added openChannelListModule in SBUModuleSet
    • Added openChannelListTheme and openChannelCellTheme in SBUTheme
    • Added isPullToRefreshEnabled property in SBUBaseChannelListModule.List
    • Added pullToRefresh(_:) function in SBUBaseChannelListModule.List
    • Added baseChannelListModuleDidSelectRefresh(_:) protocol in SBUBaseChannelListModuleListDelegate
    • Added iconChannels in SBUIconSetType
    • Supported openChannelList feature on moveToChannel function in SendbirdUI
  • Support Create open channel features
    • Added classes
      • SBUCreateOpenChannelViewController
      • SBUCreateOpenChannelViewModel
      • SBUCreateOpenChannelModule, SBUCreateOpenChannelModule.Header and SBUCreateOpenChannelModule.ProfileInput
    • Added CreateOpenChannelViewController in SBUViewControllerSet
    • Added createOpenChannelModule in SBUModuleSet
    • Added createOpenChannelTheme in SBUTheme
    • Added openChannelParamsCreateBuilder in SBUGlobalCustomParams
    • Added create open channel related Strings in SBUStringSet
      • CreateOpenChannel_Create, CreateOpenChannel_Header_Title, CreateOpenChannel_ProfileInput_Placeholder
    • Added user object in SBUUser for accessing ChatSDK's user
  • Added openChannelModule(_:didTapMediaView:) in OpenChannelModuleMediaDelegate method.
  • Added UITextField related classes
    • UITextField+SBUIKit
    • SBUUnderLineTextField
  • Added tag parameter in SBUCommonItem
  • Added delete case in MediaResourceType
  • Added SBUBaseChannelListViewModel
  • Added SBUBaseChannelListModule, SBUBaseChannelListModule.Header, SBUBaseChannelListModule.List classes
  • Renamed SBUGroupChannelListModuleListDelegate functions
    • channelListModule(_:didSelectRowAt:) to groupChannelListModule(_:didSelectRowAt:)
    • channelListModule(_:didDetectPreloadingPosition:) to groupChannelListModule(_:didDetectPreloadingPosition:)
    • channelListModule(_:didSelectLeave:) to groupChannelListModule(_:didSelectLeave:)
    • channelListModule(_:didChangePushTriggerOption:channel:) to groupChannelListModule(_:didChangePushTriggerOption:channel:)
    • channelListModuleDidSelectRetry(_:) to groupChannelListModuleDidSelectRetry(_:)
  • Renamed SBUGroupChannelListModuleListDataSource function
    • channelListModule(_:channelsInTableView:) to groupChannelListModule(_:channelsInTableView:)
  • Renamed channelListModule in SBUModuleSet to groupChannelListModule
  • Renmaed defaultLeftButton, defaultRightButton to defaultLeftBarButton, defaultRightBarButton
  • Replaced setPlaceholderImage(iconSize:) to setPlaceholder(type:iconSize:) in SBUCoverImageView
    • Added setPlaceholder(type:iconSize:)
    • Deprecated setPlaceholderImage(iconSize:)