github GetStream/stream-chat-swift 2.2.1

latest releases: 4.88.0, 4.87.0, 4.86.0...
5 years ago

✅ Added

  • Added ClientLogger.iconEnabled, ClientLogger.dateEnabled, and ClientLogger.levelEnabled to control what will be shown in logs.
    These will only be valid when ClientLogger.logger block is not customized (overridden) #263
  • silent property added to messages, see docs here #264
  • Added option to show message replies also in channel, just like Slack #271.
  • A new view style for a reply in a channel ComposerViewStyle.ReplyInChannelViewStyle. You can set this style to nil for your composerViewStyle to disable this feature #271.

🔄 Changed

  • ClientLogger.logger is deprecated, please use ClientLogger.log block to customize your log output #263
  • Logs will now output log level, access it when overriding ClientLogger.log block #263
  • By default, logs will not output emoji icons anymore, but all logs will now output date #263

🐞 Fixed

  • set(user:) is not required for query (channels, users) unless presence: true or state: true is specified #269
  • Disabled context menu for deleted messages: #241.
  • Fix crash in iOS12 caused by abstract URLSession instance #272
  • Fix infinite loop when the web socket connection fails (iOS13 only) #273.
  • Direct message channels (1-by-1 channels) will correctly get their name and avatar image from other user #275.
let anotherUser = User(id: "second")
anotherUser.name = "John"
anotherUser.avatarURL = URL(string: "http://example.com/john")

let channel = client.channel(members: [client.user, anotherUser])
print(channel.name) // will print "John"
print(channel.imageURL) // will print "http://example.com/john"

Don't miss a new stream-chat-swift release

NewReleases is sending notifications on new releases.