stream-chat-react-native-core 4.4.0-beta.2 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (446) hide show
  1. package/CHANGELOG.md +1519 -0
  2. package/lib/commonjs/components/Attachment/Attachment.js +1 -1
  3. package/lib/commonjs/components/Attachment/AttachmentActions.js +1 -1
  4. package/lib/commonjs/components/Attachment/Card.js +29 -26
  5. package/lib/commonjs/components/Attachment/Card.js.map +1 -1
  6. package/lib/commonjs/components/Attachment/FileAttachment.js +25 -20
  7. package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
  8. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +1 -1
  9. package/lib/commonjs/components/Attachment/FileIcon.js +1 -1
  10. package/lib/commonjs/components/Attachment/Gallery.js +1 -1
  11. package/lib/commonjs/components/Attachment/Giphy.js +1 -1
  12. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +1 -1
  13. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +1 -1
  14. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js +1 -1
  15. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +1 -1
  16. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js +1 -1
  17. package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js +1 -1
  18. package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js +1 -1
  19. package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +1 -1
  20. package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js +1 -1
  21. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +1 -1
  22. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +1 -1
  23. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +1 -1
  24. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +1 -1
  25. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +1 -1
  26. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  27. package/lib/commonjs/components/Avatar/GroupAvatar.js +1 -1
  28. package/lib/commonjs/components/Channel/Channel.js +1 -1
  29. package/lib/commonjs/components/ChannelList/ChannelList.js +1 -1
  30. package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js +1 -1
  31. package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js +1 -1
  32. package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +1 -1
  33. package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js +1 -1
  34. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js +1 -1
  35. package/lib/commonjs/components/ChannelList/Skeleton.js +1 -1
  36. package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js +1 -1
  37. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +1 -1
  38. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +1 -1
  39. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +1 -1
  40. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js +1 -1
  41. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +1 -1
  42. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js +1 -1
  43. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +1 -1
  44. package/lib/commonjs/components/Chat/Chat.js +1 -1
  45. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  46. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js +1 -1
  47. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +1 -1
  48. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
  49. package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js +1 -1
  50. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +1 -1
  51. package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js +1 -1
  52. package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +1 -1
  53. package/lib/commonjs/components/Indicators/LoadingDot.js +1 -1
  54. package/lib/commonjs/components/Indicators/LoadingDots.js +1 -1
  55. package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js +1 -1
  56. package/lib/commonjs/components/Indicators/LoadingIndicator.js +1 -1
  57. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js +1 -1
  58. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +1 -1
  59. package/lib/commonjs/components/Message/Message.js +1 -1
  60. package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js +1 -1
  61. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +1 -1
  62. package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js +1 -1
  63. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js +1 -1
  64. package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js +1 -1
  65. package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js +1 -1
  66. package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js +1 -1
  67. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +1 -1
  68. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +1 -1
  69. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +1 -1
  70. package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +1 -1
  71. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +15 -21
  72. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  73. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js +1 -1
  74. package/lib/commonjs/components/Message/hooks/useMessageActions.js +1 -1
  75. package/lib/commonjs/components/MessageInput/AttachButton.js +1 -1
  76. package/lib/commonjs/components/MessageInput/CommandsButton.js +1 -1
  77. package/lib/commonjs/components/MessageInput/CooldownTimer.js +1 -1
  78. package/lib/commonjs/components/MessageInput/FileUploadPreview.js +1 -1
  79. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js +1 -1
  80. package/lib/commonjs/components/MessageInput/InputButtons.js +1 -1
  81. package/lib/commonjs/components/MessageInput/MessageInput.js +1 -1
  82. package/lib/commonjs/components/MessageInput/MoreOptionsButton.js +1 -1
  83. package/lib/commonjs/components/MessageInput/SendButton.js +1 -1
  84. package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js +1 -1
  85. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js +1 -1
  86. package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js +1 -1
  87. package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js +1 -1
  88. package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js +1 -1
  89. package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js +1 -1
  90. package/lib/commonjs/components/MessageList/DateHeader.js +1 -1
  91. package/lib/commonjs/components/MessageList/InlineDateSeparator.js +1 -1
  92. package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js +1 -1
  93. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js +1 -1
  94. package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js +1 -1
  95. package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js +1 -1
  96. package/lib/commonjs/components/MessageList/MessageList.js +1 -1
  97. package/lib/commonjs/components/MessageList/MessageSystem.js +1 -1
  98. package/lib/commonjs/components/MessageList/NetworkDownIndicator.js +1 -1
  99. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +1 -1
  100. package/lib/commonjs/components/MessageList/TypingIndicator.js +1 -1
  101. package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js +1 -1
  102. package/lib/commonjs/components/MessageOverlay/MessageActionList.js +1 -1
  103. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +1 -1
  104. package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +1 -1
  105. package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js +1 -1
  106. package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js +1 -1
  107. package/lib/commonjs/components/MessageOverlay/OverlayReactions.js +1 -1
  108. package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js +1 -1
  109. package/lib/commonjs/components/Reply/Reply.js +1 -1
  110. package/lib/commonjs/components/Spinner/Spinner.js +1 -1
  111. package/lib/commonjs/components/Thread/Thread.js +1 -1
  112. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +1 -1
  113. package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +1 -1
  114. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -1
  115. package/lib/commonjs/contexts/channelContext/ChannelContext.js +1 -1
  116. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js +1 -1
  117. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js +1 -1
  118. package/lib/commonjs/contexts/chatContext/ChatContext.js +1 -1
  119. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +1 -1
  120. package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js +1 -1
  121. package/lib/commonjs/contexts/messageContext/MessageContext.js +1 -1
  122. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +1 -1
  123. package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js +1 -1
  124. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js +1 -1
  125. package/lib/commonjs/contexts/messagesContext/MessagesContext.js +1 -1
  126. package/lib/commonjs/contexts/overlayContext/OverlayContext.js +1 -1
  127. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +1 -1
  128. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -1
  129. package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +1 -1
  130. package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js +1 -1
  131. package/lib/commonjs/contexts/themeContext/ThemeContext.js +1 -1
  132. package/lib/commonjs/contexts/threadContext/ThreadContext.js +1 -1
  133. package/lib/commonjs/contexts/translationContext/TranslationContext.js +1 -1
  134. package/lib/commonjs/contexts/typingContext/TypingContext.js +1 -1
  135. package/lib/commonjs/icons/ArrowRight.js +1 -1
  136. package/lib/commonjs/icons/AtMentions.js +1 -1
  137. package/lib/commonjs/icons/Attach.js +1 -1
  138. package/lib/commonjs/icons/Audio.js +1 -1
  139. package/lib/commonjs/icons/CSV.js +1 -1
  140. package/lib/commonjs/icons/Camera.js +1 -1
  141. package/lib/commonjs/icons/Check.js +1 -1
  142. package/lib/commonjs/icons/CheckAll.js +1 -1
  143. package/lib/commonjs/icons/CheckSend.js +1 -1
  144. package/lib/commonjs/icons/CircleClose.js +1 -1
  145. package/lib/commonjs/icons/CirclePlus.js +1 -1
  146. package/lib/commonjs/icons/CircleRight.js +1 -1
  147. package/lib/commonjs/icons/Close.js +1 -1
  148. package/lib/commonjs/icons/Copy.js +1 -1
  149. package/lib/commonjs/icons/CurveLineLeftUp.js +1 -1
  150. package/lib/commonjs/icons/DOC.js +1 -1
  151. package/lib/commonjs/icons/DOCX.js +1 -1
  152. package/lib/commonjs/icons/Delete.js +1 -1
  153. package/lib/commonjs/icons/Down.js +1 -1
  154. package/lib/commonjs/icons/DownloadArrow.js +1 -1
  155. package/lib/commonjs/icons/DownloadCloud.js +1 -1
  156. package/lib/commonjs/icons/Edit.js +1 -1
  157. package/lib/commonjs/icons/Error.js +1 -1
  158. package/lib/commonjs/icons/Eye.js +1 -1
  159. package/lib/commonjs/icons/Flag.js +1 -1
  160. package/lib/commonjs/icons/Folder.js +1 -1
  161. package/lib/commonjs/icons/GenericFile.js +1 -1
  162. package/lib/commonjs/icons/GiphyIcon.js +1 -1
  163. package/lib/commonjs/icons/Grid.js +1 -1
  164. package/lib/commonjs/icons/Group.js +1 -1
  165. package/lib/commonjs/icons/HTML.js +1 -1
  166. package/lib/commonjs/icons/Imgur.js +1 -1
  167. package/lib/commonjs/icons/LOLReaction.js +1 -1
  168. package/lib/commonjs/icons/Lightning.js +1 -1
  169. package/lib/commonjs/icons/Link.js +1 -1
  170. package/lib/commonjs/icons/Loading.js +1 -1
  171. package/lib/commonjs/icons/Logo.js +1 -1
  172. package/lib/commonjs/icons/LoveReaction.js +1 -1
  173. package/lib/commonjs/icons/MD.js +1 -1
  174. package/lib/commonjs/icons/MailOpen.js +1 -1
  175. package/lib/commonjs/icons/MenuPointHorizontal.js +1 -1
  176. package/lib/commonjs/icons/MenuPointVertical.js +1 -1
  177. package/lib/commonjs/icons/MessageFlag.js +1 -1
  178. package/lib/commonjs/icons/MessageIcon.js +1 -1
  179. package/lib/commonjs/icons/Mute.js +1 -1
  180. package/lib/commonjs/icons/Notification.js +1 -1
  181. package/lib/commonjs/icons/ODT.js +1 -1
  182. package/lib/commonjs/icons/PDF.js +1 -1
  183. package/lib/commonjs/icons/PPT.js +1 -1
  184. package/lib/commonjs/icons/PPTX.js +1 -1
  185. package/lib/commonjs/icons/Picture.js +1 -1
  186. package/lib/commonjs/icons/Pin.js +1 -1
  187. package/lib/commonjs/icons/PinHeader.js +1 -1
  188. package/lib/commonjs/icons/RAR.js +1 -1
  189. package/lib/commonjs/icons/RTF.js +1 -1
  190. package/lib/commonjs/icons/Refresh.js +1 -1
  191. package/lib/commonjs/icons/SEVEN_Z.js +1 -1
  192. package/lib/commonjs/icons/Search.js +1 -1
  193. package/lib/commonjs/icons/SendRight.js +1 -1
  194. package/lib/commonjs/icons/SendUp.js +1 -1
  195. package/lib/commonjs/icons/Share.js +1 -1
  196. package/lib/commonjs/icons/ShareRightArrow.js +1 -1
  197. package/lib/commonjs/icons/Smile.js +1 -1
  198. package/lib/commonjs/icons/Sound.js +1 -1
  199. package/lib/commonjs/icons/TAR.js +1 -1
  200. package/lib/commonjs/icons/TXT.js +1 -1
  201. package/lib/commonjs/icons/ThreadReply.js +1 -1
  202. package/lib/commonjs/icons/ThumbsDownReaction.js +1 -1
  203. package/lib/commonjs/icons/ThumbsUpReaction.js +1 -1
  204. package/lib/commonjs/icons/Time.js +1 -1
  205. package/lib/commonjs/icons/Unknown.js +1 -1
  206. package/lib/commonjs/icons/Unpin.js +1 -1
  207. package/lib/commonjs/icons/User.js +1 -1
  208. package/lib/commonjs/icons/UserAdd.js +1 -1
  209. package/lib/commonjs/icons/UserAdmin.js +1 -1
  210. package/lib/commonjs/icons/UserDelete.js +1 -1
  211. package/lib/commonjs/icons/UserMinus.js +1 -1
  212. package/lib/commonjs/icons/WutReaction.js +1 -1
  213. package/lib/commonjs/icons/XLS.js +1 -1
  214. package/lib/commonjs/icons/XLSX.js +1 -1
  215. package/lib/commonjs/icons/ZIP.js +1 -1
  216. package/lib/commonjs/icons/utils/base.js +1 -1
  217. package/lib/commonjs/version.json +1 -1
  218. package/lib/module/components/Attachment/Attachment.js +1 -1
  219. package/lib/module/components/Attachment/AttachmentActions.js +1 -1
  220. package/lib/module/components/Attachment/Card.js +29 -26
  221. package/lib/module/components/Attachment/Card.js.map +1 -1
  222. package/lib/module/components/Attachment/FileAttachment.js +25 -20
  223. package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
  224. package/lib/module/components/Attachment/FileAttachmentGroup.js +1 -1
  225. package/lib/module/components/Attachment/FileIcon.js +1 -1
  226. package/lib/module/components/Attachment/Gallery.js +1 -1
  227. package/lib/module/components/Attachment/Giphy.js +1 -1
  228. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +1 -1
  229. package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +1 -1
  230. package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js +1 -1
  231. package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +1 -1
  232. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js +1 -1
  233. package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js +1 -1
  234. package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js +1 -1
  235. package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +1 -1
  236. package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js +1 -1
  237. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +1 -1
  238. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +1 -1
  239. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +1 -1
  240. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +1 -1
  241. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +1 -1
  242. package/lib/module/components/Avatar/Avatar.js +1 -1
  243. package/lib/module/components/Avatar/GroupAvatar.js +1 -1
  244. package/lib/module/components/Channel/Channel.js +1 -1
  245. package/lib/module/components/ChannelList/ChannelList.js +1 -1
  246. package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js +1 -1
  247. package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js +1 -1
  248. package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +1 -1
  249. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js +1 -1
  250. package/lib/module/components/ChannelList/ChannelListMessenger.js +1 -1
  251. package/lib/module/components/ChannelList/Skeleton.js +1 -1
  252. package/lib/module/components/ChannelPreview/ChannelAvatar.js +1 -1
  253. package/lib/module/components/ChannelPreview/ChannelPreview.js +1 -1
  254. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +1 -1
  255. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +1 -1
  256. package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js +1 -1
  257. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +1 -1
  258. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js +1 -1
  259. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +1 -1
  260. package/lib/module/components/Chat/Chat.js +1 -1
  261. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  262. package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js +1 -1
  263. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +1 -1
  264. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
  265. package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js +1 -1
  266. package/lib/module/components/ImageGallery/components/ImageGrid.js +1 -1
  267. package/lib/module/components/ImageGallery/components/ImageGridHandle.js +1 -1
  268. package/lib/module/components/Indicators/EmptyStateIndicator.js +1 -1
  269. package/lib/module/components/Indicators/LoadingDot.js +1 -1
  270. package/lib/module/components/Indicators/LoadingDots.js +1 -1
  271. package/lib/module/components/Indicators/LoadingErrorIndicator.js +1 -1
  272. package/lib/module/components/Indicators/LoadingIndicator.js +1 -1
  273. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js +1 -1
  274. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +1 -1
  275. package/lib/module/components/Message/Message.js +1 -1
  276. package/lib/module/components/Message/MessageSimple/MessageAvatar.js +1 -1
  277. package/lib/module/components/Message/MessageSimple/MessageContent.js +1 -1
  278. package/lib/module/components/Message/MessageSimple/MessageDeleted.js +1 -1
  279. package/lib/module/components/Message/MessageSimple/MessageFooter.js +1 -1
  280. package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js +1 -1
  281. package/lib/module/components/Message/MessageSimple/MessageReplies.js +1 -1
  282. package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js +1 -1
  283. package/lib/module/components/Message/MessageSimple/MessageSimple.js +1 -1
  284. package/lib/module/components/Message/MessageSimple/MessageStatus.js +1 -1
  285. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +1 -1
  286. package/lib/module/components/Message/MessageSimple/ReactionList.js +1 -1
  287. package/lib/module/components/Message/MessageSimple/utils/renderText.js +15 -21
  288. package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  289. package/lib/module/components/Message/MessageSimple/utils/renderText.test.js +1 -1
  290. package/lib/module/components/Message/hooks/useMessageActions.js +1 -1
  291. package/lib/module/components/MessageInput/AttachButton.js +1 -1
  292. package/lib/module/components/MessageInput/CommandsButton.js +1 -1
  293. package/lib/module/components/MessageInput/CooldownTimer.js +1 -1
  294. package/lib/module/components/MessageInput/FileUploadPreview.js +1 -1
  295. package/lib/module/components/MessageInput/ImageUploadPreview.js +1 -1
  296. package/lib/module/components/MessageInput/InputButtons.js +1 -1
  297. package/lib/module/components/MessageInput/MessageInput.js +1 -1
  298. package/lib/module/components/MessageInput/MoreOptionsButton.js +1 -1
  299. package/lib/module/components/MessageInput/SendButton.js +1 -1
  300. package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js +1 -1
  301. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js +1 -1
  302. package/lib/module/components/MessageInput/UploadProgressIndicator.js +1 -1
  303. package/lib/module/components/MessageInput/components/InputEditingStateHeader.js +1 -1
  304. package/lib/module/components/MessageInput/components/InputGiphySearch.js +1 -1
  305. package/lib/module/components/MessageInput/components/InputReplyStateHeader.js +1 -1
  306. package/lib/module/components/MessageList/DateHeader.js +1 -1
  307. package/lib/module/components/MessageList/InlineDateSeparator.js +1 -1
  308. package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js +1 -1
  309. package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js +1 -1
  310. package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js +1 -1
  311. package/lib/module/components/MessageList/InlineUnreadIndicator.js +1 -1
  312. package/lib/module/components/MessageList/MessageList.js +1 -1
  313. package/lib/module/components/MessageList/MessageSystem.js +1 -1
  314. package/lib/module/components/MessageList/NetworkDownIndicator.js +1 -1
  315. package/lib/module/components/MessageList/ScrollToBottomButton.js +1 -1
  316. package/lib/module/components/MessageList/TypingIndicator.js +1 -1
  317. package/lib/module/components/MessageList/TypingIndicatorContainer.js +1 -1
  318. package/lib/module/components/MessageOverlay/MessageActionList.js +1 -1
  319. package/lib/module/components/MessageOverlay/MessageActionListItem.js +1 -1
  320. package/lib/module/components/MessageOverlay/MessageOverlay.js +1 -1
  321. package/lib/module/components/MessageOverlay/OverlayBackdrop.js +1 -1
  322. package/lib/module/components/MessageOverlay/OverlayReactionList.js +1 -1
  323. package/lib/module/components/MessageOverlay/OverlayReactions.js +1 -1
  324. package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js +1 -1
  325. package/lib/module/components/Reply/Reply.js +1 -1
  326. package/lib/module/components/Spinner/Spinner.js +1 -1
  327. package/lib/module/components/Thread/Thread.js +1 -1
  328. package/lib/module/components/Thread/components/ThreadFooterComponent.js +1 -1
  329. package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +1 -1
  330. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -1
  331. package/lib/module/contexts/channelContext/ChannelContext.js +1 -1
  332. package/lib/module/contexts/channelsContext/ChannelsContext.js +1 -1
  333. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +1 -1
  334. package/lib/module/contexts/chatContext/ChatContext.js +1 -1
  335. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +1 -1
  336. package/lib/module/contexts/keyboardContext/KeyboardContext.js +1 -1
  337. package/lib/module/contexts/messageContext/MessageContext.js +1 -1
  338. package/lib/module/contexts/messageInputContext/MessageInputContext.js +1 -1
  339. package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js +1 -1
  340. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js +1 -1
  341. package/lib/module/contexts/messagesContext/MessagesContext.js +1 -1
  342. package/lib/module/contexts/overlayContext/OverlayContext.js +1 -1
  343. package/lib/module/contexts/overlayContext/OverlayProvider.js +1 -1
  344. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -1
  345. package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +1 -1
  346. package/lib/module/contexts/suggestionsContext/SuggestionsContext.js +1 -1
  347. package/lib/module/contexts/themeContext/ThemeContext.js +1 -1
  348. package/lib/module/contexts/threadContext/ThreadContext.js +1 -1
  349. package/lib/module/contexts/translationContext/TranslationContext.js +1 -1
  350. package/lib/module/contexts/typingContext/TypingContext.js +1 -1
  351. package/lib/module/icons/ArrowRight.js +1 -1
  352. package/lib/module/icons/AtMentions.js +1 -1
  353. package/lib/module/icons/Attach.js +1 -1
  354. package/lib/module/icons/Audio.js +1 -1
  355. package/lib/module/icons/CSV.js +1 -1
  356. package/lib/module/icons/Camera.js +1 -1
  357. package/lib/module/icons/Check.js +1 -1
  358. package/lib/module/icons/CheckAll.js +1 -1
  359. package/lib/module/icons/CheckSend.js +1 -1
  360. package/lib/module/icons/CircleClose.js +1 -1
  361. package/lib/module/icons/CirclePlus.js +1 -1
  362. package/lib/module/icons/CircleRight.js +1 -1
  363. package/lib/module/icons/Close.js +1 -1
  364. package/lib/module/icons/Copy.js +1 -1
  365. package/lib/module/icons/CurveLineLeftUp.js +1 -1
  366. package/lib/module/icons/DOC.js +1 -1
  367. package/lib/module/icons/DOCX.js +1 -1
  368. package/lib/module/icons/Delete.js +1 -1
  369. package/lib/module/icons/Down.js +1 -1
  370. package/lib/module/icons/DownloadArrow.js +1 -1
  371. package/lib/module/icons/DownloadCloud.js +1 -1
  372. package/lib/module/icons/Edit.js +1 -1
  373. package/lib/module/icons/Error.js +1 -1
  374. package/lib/module/icons/Eye.js +1 -1
  375. package/lib/module/icons/Flag.js +1 -1
  376. package/lib/module/icons/Folder.js +1 -1
  377. package/lib/module/icons/GenericFile.js +1 -1
  378. package/lib/module/icons/GiphyIcon.js +1 -1
  379. package/lib/module/icons/Grid.js +1 -1
  380. package/lib/module/icons/Group.js +1 -1
  381. package/lib/module/icons/HTML.js +1 -1
  382. package/lib/module/icons/Imgur.js +1 -1
  383. package/lib/module/icons/LOLReaction.js +1 -1
  384. package/lib/module/icons/Lightning.js +1 -1
  385. package/lib/module/icons/Link.js +1 -1
  386. package/lib/module/icons/Loading.js +1 -1
  387. package/lib/module/icons/Logo.js +1 -1
  388. package/lib/module/icons/LoveReaction.js +1 -1
  389. package/lib/module/icons/MD.js +1 -1
  390. package/lib/module/icons/MailOpen.js +1 -1
  391. package/lib/module/icons/MenuPointHorizontal.js +1 -1
  392. package/lib/module/icons/MenuPointVertical.js +1 -1
  393. package/lib/module/icons/MessageFlag.js +1 -1
  394. package/lib/module/icons/MessageIcon.js +1 -1
  395. package/lib/module/icons/Mute.js +1 -1
  396. package/lib/module/icons/Notification.js +1 -1
  397. package/lib/module/icons/ODT.js +1 -1
  398. package/lib/module/icons/PDF.js +1 -1
  399. package/lib/module/icons/PPT.js +1 -1
  400. package/lib/module/icons/PPTX.js +1 -1
  401. package/lib/module/icons/Picture.js +1 -1
  402. package/lib/module/icons/Pin.js +1 -1
  403. package/lib/module/icons/PinHeader.js +1 -1
  404. package/lib/module/icons/RAR.js +1 -1
  405. package/lib/module/icons/RTF.js +1 -1
  406. package/lib/module/icons/Refresh.js +1 -1
  407. package/lib/module/icons/SEVEN_Z.js +1 -1
  408. package/lib/module/icons/Search.js +1 -1
  409. package/lib/module/icons/SendRight.js +1 -1
  410. package/lib/module/icons/SendUp.js +1 -1
  411. package/lib/module/icons/Share.js +1 -1
  412. package/lib/module/icons/ShareRightArrow.js +1 -1
  413. package/lib/module/icons/Smile.js +1 -1
  414. package/lib/module/icons/Sound.js +1 -1
  415. package/lib/module/icons/TAR.js +1 -1
  416. package/lib/module/icons/TXT.js +1 -1
  417. package/lib/module/icons/ThreadReply.js +1 -1
  418. package/lib/module/icons/ThumbsDownReaction.js +1 -1
  419. package/lib/module/icons/ThumbsUpReaction.js +1 -1
  420. package/lib/module/icons/Time.js +1 -1
  421. package/lib/module/icons/Unknown.js +1 -1
  422. package/lib/module/icons/Unpin.js +1 -1
  423. package/lib/module/icons/User.js +1 -1
  424. package/lib/module/icons/UserAdd.js +1 -1
  425. package/lib/module/icons/UserAdmin.js +1 -1
  426. package/lib/module/icons/UserDelete.js +1 -1
  427. package/lib/module/icons/UserMinus.js +1 -1
  428. package/lib/module/icons/WutReaction.js +1 -1
  429. package/lib/module/icons/XLS.js +1 -1
  430. package/lib/module/icons/XLSX.js +1 -1
  431. package/lib/module/icons/ZIP.js +1 -1
  432. package/lib/module/icons/utils/base.js +1 -1
  433. package/lib/module/version.json +1 -1
  434. package/lib/typescript/components/Attachment/FileAttachment.d.ts +1 -0
  435. package/package.json +1 -1
  436. package/src/components/Attachment/Card.tsx +13 -5
  437. package/src/components/Attachment/FileAttachment.tsx +13 -5
  438. package/src/components/Attachment/__tests__/Attachment.test.js +0 -39
  439. package/src/components/Message/MessageSimple/utils/renderText.tsx +2 -8
  440. package/src/version.json +1 -1
  441. package/lib/commonjs/components/Attachment/hooks/useGoToURL.js +0 -42
  442. package/lib/commonjs/components/Attachment/hooks/useGoToURL.js.map +0 -1
  443. package/lib/module/components/Attachment/hooks/useGoToURL.js +0 -42
  444. package/lib/module/components/Attachment/hooks/useGoToURL.js.map +0 -1
  445. package/lib/typescript/components/Attachment/hooks/useGoToURL.d.ts +0 -2
  446. package/src/components/Attachment/hooks/useGoToURL.ts +0 -27
package/CHANGELOG.md ADDED
@@ -0,0 +1,1519 @@
1
+ # Change Log
2
+
3
+ ### [4.3.1](https://github.com/GetStream/stream-chat-react-native/compare/v4.3.0...v4.3.1) (2022-04-12)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * fixes the broken giphy "shuffle" behaviour ([16f139a](https://github.com/GetStream/stream-chat-react-native/commit/16f139ab609304193d3d19488bd5227d0078e17d))
9
+ * typescript for "giphyVersion" prop on `OverlayProvider` component ([35c1c10](https://github.com/GetStream/stream-chat-react-native/commit/35c1c10889d30106002bcd0b7b2e55ca27fbcbcb))
10
+
11
+
12
+ ### Reverts
13
+
14
+ * "feat: add appSettings to ChatContext" ([5d947a3](https://github.com/GetStream/stream-chat-react-native/commit/5d947a30222ef99c50d6568cff4f8770bf16a237))
15
+
16
+ ## [4.3.0](https://github.com/GetStream/stream-chat-react-native/compare/v4.2.0...v4.3.0) (2022-04-04)
17
+
18
+
19
+ ### Features
20
+
21
+ * add isAttachmentEqual props around memoization of custom properties [CRNS - 290] ([cd51ee8](https://github.com/GetStream/stream-chat-react-native/commit/cd51ee89ab959cd3e38bbdbd5e949bc401b40ec4))
22
+ * editing state header, reply state header and giphy input customization [CRNS - 535] ([4c1d67d](https://github.com/GetStream/stream-chat-react-native/commit/4c1d67d9a4e45050a45a402a53c2cf9b6fbc39b8))
23
+ * open giphy in image viewer when pressed [CRNS - 540] ([3cc2e93](https://github.com/GetStream/stream-chat-react-native/commit/3cc2e939bb4f935e245e46006d4fb607f4cde47c))
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * handling the case of undefined updated_at on message ([bad1f45](https://github.com/GetStream/stream-chat-react-native/commit/bad1f45d1d6466532d8b5cbc4d2806221b639f03))
29
+ * issues with opening old Giphy on ImageGallery ([7f21b6c](https://github.com/GetStream/stream-chat-react-native/commit/7f21b6c5c98dca210d8b77030c4442c644bb86a1))
30
+ * re-render ownCapabilitiesContext when channel capabilities are u… ([9bbf25e](https://github.com/GetStream/stream-chat-react-native/commit/9bbf25e9237c1a0bf770bd194b67e0737046def8))
31
+
32
+ ## [4.2.0](https://github.com/GetStream/stream-chat-react-native/compare/v4.1.4...v4.2.0) (2022-03-17)
33
+
34
+
35
+ ### Features
36
+
37
+ * add giphy size customisation [CRNS-514] ([90c87da](https://github.com/GetStream/stream-chat-react-native/commit/90c87da095bd6f243613853091f11a9b6564632e))
38
+ * update core to rn 0.67 [CRNS-539] ([46e9b37](https://github.com/GetStream/stream-chat-react-native/commit/46e9b3761021c0f6ddbe03f5afb81e3426877625))
39
+ * upgrade react native gesture handler version to 2.3.1 ([f9eba70](https://github.com/GetStream/stream-chat-react-native/commit/f9eba70d5f961f2aed7f52eeb458b4ea6f18678e))
40
+
41
+
42
+ ### Bug Fixes
43
+
44
+ * show background for Giphy on long press ([459a595](https://github.com/GetStream/stream-chat-react-native/commit/459a59522c7acb9d20b5e78809efc31084201257))
45
+
46
+ ### [4.1.4](https://github.com/GetStream/stream-chat-react-native/compare/v4.1.3...v4.1.4) (2022-03-13)
47
+
48
+
49
+ ### Bug Fixes
50
+
51
+ * overrideOwnCapabilities typescript issue ([a8010ef](https://github.com/GetStream/stream-chat-react-native/commit/a8010efe6d841d447c32bf7f1fe0e3ecab2761c3))
52
+
53
+ ### [4.1.3](https://github.com/GetStream/stream-chat-react-native/compare/v4.1.2...v4.1.3) (2022-03-10)
54
+
55
+
56
+ ### Bug Fixes
57
+
58
+ * add missing own_capabilities field after channel.updated event [CRNS-537] ([0a27963](https://github.com/GetStream/stream-chat-react-native/commit/0a279637dbf0cc4474b0ffc3052f6df6cdbfacf1))
59
+ * cleanup of keyboard listeners ([7f4d6f2](https://github.com/GetStream/stream-chat-react-native/commit/7f4d6f27e061c66a8f6631a3840a7a911650c423))
60
+ * pull to refresh functionality [CRNS-536] ([df6e6df](https://github.com/GetStream/stream-chat-react-native/commit/df6e6df3b70a6c9f986723b9328c8a99def67511))
61
+
62
+ ### [4.1.2](https://github.com/GetStream/stream-chat-react-native/compare/v4.1.1...v4.1.2) (2022-03-07)
63
+
64
+
65
+ ### Bug Fixes
66
+
67
+ * export ownCapabilitiesContext from SDK ([e0a9f75](https://github.com/GetStream/stream-chat-react-native/commit/e0a9f757e431bd29310e8bfc16f4abf5fdca0ae2))
68
+
69
+ ### [4.1.1](https://github.com/GetStream/stream-chat-react-native/compare/v4.1.0...v4.1.1) (2022-03-03)
70
+
71
+
72
+ ### Bug Fixes
73
+
74
+ * image gallery cleanup and fixing race condition ([4c53f33](https://github.com/GetStream/stream-chat-react-native/commit/4c53f3374a7ebe7e42f61473480acd7642de489d))
75
+ * mark channel as read when messages length is less than visible screen ([2dd87b3](https://github.com/GetStream/stream-chat-react-native/commit/2dd87b340d4d5d66911c9306b58d8307e089ed33))
76
+
77
+ ### [3.10.2](https://github.com/GetStream/stream-chat-react-native/compare/v3.10.1...v3.10.2) (2021-11-23)
78
+
79
+
80
+ ### Bug Fixes
81
+
82
+ * 'Block User' message action ([9959955](https://github.com/GetStream/stream-chat-react-native/commit/9959955fd665b708172d27fc0bbeb4cee4d104eb))
83
+
84
+ ### [3.10.1](https://github.com/GetStream/stream-chat-react-native/compare/v3.10.0...v3.10.1) (2021-11-15)
85
+
86
+
87
+ ### Bug Fixes
88
+
89
+ * render attachment type video in FileAttachment view [CRNS-480] ([1649ee3](https://github.com/GetStream/stream-chat-react-native/commit/1649ee3bee43b3062ed1998d7683025429aad5a9))
90
+
91
+ ## [3.10.0](https://github.com/GetStream/stream-chat-react-native/compare/v3.9.2...v3.10.0) (2021-11-11)
92
+
93
+
94
+ ### Features
95
+
96
+ * added support for channelListSkeleton.maskFillColor theme property [CRNS-471] ([e20e6c7](https://github.com/GetStream/stream-chat-react-native/commit/e20e6c7d3bbc34e9e9ce8f5c912236005c1e9aed))
97
+
98
+ ### [3.9.2](https://github.com/GetStream/stream-chat-react-native/compare/v3.9.1...v3.9.2) (2021-11-02)
99
+
100
+
101
+ ### Bug Fixes
102
+
103
+ * handling the errors when channel which is open gets deleted [CRNS-468] ([2598091](https://github.com/GetStream/stream-chat-react-native/commit/25980911841c8dc213a0b799036eca6e3638d588))
104
+ * update message text when theme changes [CRNS-467] ([17ad925](https://github.com/GetStream/stream-chat-react-native/commit/17ad92519e328b0453f1c1d760ed5b3883978c71))
105
+
106
+ ### [3.9.1](https://github.com/GetStream/stream-chat-react-native/compare/v3.9.0...v3.9.1) (2021-10-22)
107
+
108
+
109
+ ### Bug Fixes
110
+
111
+ * fixed react warnings - Can not perform a React state update on an unmounted component [CRNS-444] ([6240948](https://github.com/GetStream/stream-chat-react-native/commit/6240948d731ea8a6d98c3aa9c8896344392d1a40))
112
+
113
+ ## [3.9.0](https://github.com/GetStream/stream-chat-react-native/compare/v3.8.3...v3.9.0) (2021-10-12)
114
+
115
+
116
+ ### Features
117
+
118
+ * added 'stateUpdateThrottleInterval' prop on Channel component ([ce471fc](https://github.com/GetStream/stream-chat-react-native/commit/ce471fcf14fcedbb307fdc7fb9d3adbc6c7fab19))
119
+ * added a support for prop 'newMessageStateUpdateThrottleInterval' ([04b0b83](https://github.com/GetStream/stream-chat-react-native/commit/04b0b83ac5e6876f054400c8eed7dac121c47f2d))
120
+ * added support for 'enableMessageGroupingByUser' prop ([e704519](https://github.com/GetStream/stream-chat-react-native/commit/e704519c8755ac65908f83864f0bf7ca2cbba123))
121
+ * added support for 'hideStickyDateHeader' prop ([969575e](https://github.com/GetStream/stream-chat-react-native/commit/969575e00e78775648890d7b1daffb8d5592eb45))
122
+ * added support for prop 'legacyImageViewerSwipeBehaviour' ([95d15e0](https://github.com/GetStream/stream-chat-react-native/commit/95d15e08f9d6f43f1d9e314fc200d60e1ce04413))
123
+
124
+
125
+ ### Bug Fixes
126
+
127
+ * avoid unnecessary gallery image re-rendering upon message update ([198c437](https://github.com/GetStream/stream-chat-react-native/commit/198c437dafd1d531f7c9cd537bfaebaa46406f52))
128
+ * fixed AppState subscription logic to support RN 0.65 ([8a1ec82](https://github.com/GetStream/stream-chat-react-native/commit/8a1ec82b306542d931056932defaea779af61c57))
129
+ * fixed markRead() logic when Channel is mounted ([53e495e](https://github.com/GetStream/stream-chat-react-native/commit/53e495e9fd1d7d2a1becd5fc65b2e100632f9fd4))
130
+ * fixed offset-limit logic for channel list pagination ([cd77227](https://github.com/GetStream/stream-chat-react-native/commit/cd77227fb321d67617c00f86d78e972f00418fc9))
131
+ * fixed UX of removing of failed attachment ([ef91d30](https://github.com/GetStream/stream-chat-react-native/commit/ef91d3065e67758aea6030658e8e465c129577cc))
132
+ * fixing deprecated warning around AppState for RN 0.65 compatibility ([08679d5](https://github.com/GetStream/stream-chat-react-native/commit/08679d593064c80a252adb86c1376dbc2edb2dc8))
133
+ * issue with autocomplete suggestions for channel with more than 100 members ([f91b4be](https://github.com/GetStream/stream-chat-react-native/commit/f91b4befbf359c8ce07feae6c0b18848784d62b7))
134
+ * **Channel:** Copy channel state on leading edge of throttling ([56a47d4](https://github.com/GetStream/stream-chat-react-native/commit/56a47d4f3fa5e67ef84f9ed5d000edc595e03145))
135
+
136
+ ### [3.8.3](https://github.com/GetStream/stream-chat-react-native/compare/v3.8.2...v3.8.3) (2021-09-16)
137
+
138
+
139
+ ### Bug Fixes
140
+
141
+ * type definition directory structure ([9a4d2c3](https://github.com/GetStream/stream-chat-react-native/commit/9a4d2c30fef18222f25396e7453686d503a69462))
142
+
143
+ ### [3.8.2](https://github.com/GetStream/stream-chat-react-native/compare/v3.8.1...v3.8.2) (2021-09-14)
144
+
145
+
146
+ ### Bug Fixes
147
+
148
+ * fixed markdown issues with lists ([e40777a](https://github.com/GetStream/stream-chat-react-native/commit/e40777a7dedeb8f89ba8f03e295d06b9c7df610f))
149
+
150
+ ### [3.8.1](https://github.com/GetStream/stream-chat-react-native/compare/v3.8.0...v3.8.1) (2021-09-13)
151
+
152
+
153
+ ### Bug Fixes
154
+
155
+ * allow images attached through file picker to display in gallery view ([afd84a9](https://github.com/GetStream/stream-chat-react-native/commit/afd84a9d7536f2e47ce1e7888ca29c46a9f81e32))
156
+ * delegate content type detection to backend for image/file uploads ([8de7d8d](https://github.com/GetStream/stream-chat-react-native/commit/8de7d8d22a3e6152185db3f86ce705af904e75c6))
157
+ * share photo functionality ([41231a0](https://github.com/GetStream/stream-chat-react-native/commit/41231a0eee5e74a7063bdc6f901862c028e55880))
158
+
159
+ ## [3.8.0](https://github.com/GetStream/stream-chat-react-native/compare/v3.7.3...v3.8.0) (2021-08-30)
160
+
161
+
162
+ ### Features
163
+
164
+ * added support for japanese and korean language ([5708201](https://github.com/GetStream/stream-chat-react-native/commit/5708201c43b7e12c4cb96879527ccd59026b73a8))
165
+ * added support for props - `autoCompleteSuggestionsLimit`, `mentionAllAppUsersEnabled` and `mentionAllAppUsersQuery` on Channel component ([ff15650](https://github.com/GetStream/stream-chat-react-native/commit/ff1565085182516fb02c8699c198332b71a2cc35))
166
+
167
+ ## [4.0.0](https://github.com/GetStream/stream-chat-react-native/compare/v3.7.3...v4.0.0) (2021-08-22)
168
+
169
+
170
+ ### ⚠ BREAKING CHANGES
171
+
172
+ * Parent channels rendering threads should add a threadList prop if thread is active
173
+
174
+ ### Features
175
+
176
+ * added support for props - `autoCompleteSuggestionsLimit`, `mentionAllAppUsersEnabled` and `mentionAllAppUsersQuery` on Channel component ([ff15650](https://github.com/GetStream/stream-chat-react-native/commit/ff1565085182516fb02c8699c198332b71a2cc35))
177
+
178
+
179
+ ### Bug Fixes
180
+
181
+ * **concurrency:** Channels concurrency general improvements ([bfb9f66](https://github.com/GetStream/stream-chat-react-native/commit/bfb9f66f309bbfaf6b96e9b0afbfca6601cf1143))
182
+ * Channel concurrency fixes ([eab95f0](https://github.com/GetStream/stream-chat-react-native/commit/eab95f0be97226793f9bc8bc2bc2ad4cfe2c93aa))
183
+ * move channel states to parent level & filter out active channels on channel list refresh ([7c7b714](https://github.com/GetStream/stream-chat-react-native/commit/7c7b71426fd3bacf029f1af68dc894fc01e7348d))
184
+
185
+ ### [3.7.3](https://github.com/GetStream/stream-chat-react-native/compare/v3.7.2...v3.7.3) (2021-08-20)
186
+
187
+
188
+ ### Bug Fixes
189
+
190
+ * Hotfix for peer deps collision ([83cf002](https://github.com/GetStream/stream-chat-react-native/commit/83cf002a86c3ccd683b2ad7440388f8e781baa11))
191
+
192
+ ### [3.7.2](https://github.com/GetStream/stream-chat-react-native/compare/v3.7.1...v3.7.2) (2021-08-04)
193
+
194
+
195
+ ### Bug Fixes
196
+
197
+ * **attachment-picker:** fixing sync logic between `imageUploads` and `selectedImages` ([46de905](https://github.com/GetStream/stream-chat-react-native/commit/46de9055b1df3e0a9cedbe2018628f7025f5cb27))
198
+ * Fix infinite loop in bottom sheet or image gallery on notched iOS phones ([1bc81f0](https://github.com/GetStream/stream-chat-react-native/commit/1bc81f0aabedbd42d70624d4b3a13abe2e77d826))
199
+
200
+ ### [3.7.1](https://github.com/GetStream/stream-chat-react-native/compare/v3.7.0...v3.7.1) (2021-07-30)
201
+
202
+
203
+ ### Bug Fixes
204
+
205
+ * Fix giphy and attachment icon hiding issue ([1b1f8fe](https://github.com/GetStream/stream-chat-react-native/commit/1b1f8fef5a263a735922cd2dc2057b384676866c))
206
+
207
+ ## [3.7.0](https://github.com/GetStream/stream-chat-react-native/compare/v3.6.7...v3.7.0) (2021-07-29)
208
+
209
+
210
+ ### Features
211
+
212
+ * added mutesEnabled prop on Channel component, to toggle "Mute User" action ([b5c1f38](https://github.com/GetStream/stream-chat-react-native/commit/b5c1f38cf5a4510283a2ff30c2884eaf73662577))
213
+ * Allow images and attachments on the same message ([9a36352](https://github.com/GetStream/stream-chat-react-native/commit/9a36352cd34c36b0dcf0552fe5dc50c5ebc9f513))
214
+
215
+
216
+ ### Bug Fixes
217
+
218
+ * Fix messages disappearing on reconnect ([dc0fc3d](https://github.com/GetStream/stream-chat-react-native/commit/dc0fc3d21cbb38d3442f8f94d30bd1f795fb2ba8))
219
+ * Fix quoted images/attachments ([2bb1f14](https://github.com/GetStream/stream-chat-react-native/commit/2bb1f14ce60d7455c4ff7272440965be0a7e32c8))
220
+
221
+
222
+ ### [3.6.7](https://github.com/GetStream/stream-chat-react-native/compare/v3.6.6...v3.6.7) (2021-07-20)
223
+
224
+
225
+ ### Bug Fixes
226
+
227
+ * Clean user's typing state when app goes to background ([d4b9f3e](https://github.com/GetStream/stream-chat-react-native/commit/d4b9f3e1b18af62b02620f68eb341624ebcfa5d3))
228
+
229
+
230
+ ### [3.6.6](https://github.com/GetStream/stream-chat-react-native/compare/v3.6.5...v3.6.6) (2021-07-19)
231
+
232
+
233
+ ### Bug Fixes
234
+
235
+ * Fix missing translations for message deleted ([7e7f653](https://github.com/GetStream/stream-chat-react-native/commit/7e7f6533904510fa0f02a22f5c7b45d4171cdefc))
236
+
237
+
238
+ ### [3.6.5](https://github.com/GetStream/stream-chat-react-native/compare/v3.6.4...v3.6.5) (2021-07-15)
239
+
240
+
241
+ ### Bug Fixes
242
+
243
+ * **reactions:** Fix overflowing reactions list and double scroll on Android ([04dbc9b](https://github.com/GetStream/stream-chat-react-native/commit/04dbc9bf3e0f334215b6bac3221a8963951e97e2))
244
+
245
+
246
+
247
+ ## [3.6.4](https://github.com/GetStream/stream-chat-react-native/compare/stream-chat-react-native-core@3.6.3...stream-chat-react-native-core@3.6.4) (2021-07-13)
248
+
249
+ **Note:** Version bump only for package stream-chat-react-native-core
250
+
251
+
252
+
253
+
254
+
255
+ ## [3.6.3](https://github.com/GetStream/stream-chat-react-native/compare/stream-chat-react-native-core@3.6.2...stream-chat-react-native-core@3.6.3) (2021-07-13)
256
+
257
+ **Note:** Version bump only for package stream-chat-react-native-core
258
+
259
+
260
+
261
+
262
+
263
+ ## 3.6.2 (2021-07-13)
264
+
265
+
266
+ ### Bug Fixes
267
+
268
+ * **android:** use react native FlatList instead of RNGH's on ChannelListMessenger ([1267f64](https://github.com/GetStream/stream-chat-react-native/commit/1267f64d2f003477e12edbb8b1e833872416510d))
269
+
270
+
271
+
272
+
273
+
274
+ ## 3.6.2-rc.0 (2021-07-13)
275
+
276
+
277
+ ### Bug Fixes
278
+
279
+ * **android:** use react native FlatList instead of RNGH's on ChannelListMessenger ([1267f64](https://github.com/GetStream/stream-chat-react-native/commit/1267f64d2f003477e12edbb8b1e833872416510d))
280
+
281
+
282
+
283
+
284
+
285
+ ## [3.6.1] (2021-07-07)
286
+
287
+ - Fixed problem where it wasn't possible to clear giphy messages inside of a thread [6d8977d](https://github.com/GetStream/stream-chat-react-native/commit/6d8977d43e804db95c44d95b7a546f6534d0f5c7)
288
+
289
+ ## [3.6.0] (2021-06-22)
290
+
291
+ This release provides full support for Expo 41 and React Native 0.64
292
+
293
+ Please make sure to upgrade following packages to specified versions:
294
+
295
+ - `react-native-reanimated@2.1.0`
296
+ - `react-native-share@6.0.1`
297
+
298
+ ## [3.5.0] (2021-05-28)
299
+
300
+ ### **🛑 BREAKING**
301
+
302
+ Following props have been renamed:
303
+
304
+ - `reply` -> `quotedReply`
305
+ - `handleReply` -> `handleQuotedReply`
306
+ - `handleReplyMessage` -> `handleQuotedReplyMessage`
307
+ ### Features
308
+
309
+ - Added new props to Channel component [219b307](https://github.com/GetStream/stream-chat-react-native/commit/219b307e3d2db36a6974e4870dc0eb00213bcca2)
310
+
311
+ - maxMessageLength (number)
312
+ - reactionsEnabled (boolean)
313
+ - readEventsEnabled (boolean)
314
+ - repliesEnabled (boolean)
315
+ - typingEventsEnabled (boolean)
316
+ - uploadsEnabled (boolean)
317
+ - quoteRepliesEnabled (boolean)
318
+ - threadRepliesEnabled (boolean)
319
+
320
+ ### Bug fixes
321
+ - Update messages when mute status updates [885f8c2](https://github.com/GetStream/stream-chat-react-native/commit/885f8c20306ef46eb6ad20cd2942618acf967741)
322
+ - Fixed broken "Resend message" functionality for failed messages [359c192](https://github.com/GetStream/stream-chat-react-native/commit/359c192903b3e34836ffadcca55f2a4e0a7fc509)
323
+ - Fixed read receipts [f7510e8](https://github.com/GetStream/stream-chat-react-native/commit/f7510e8134ad14fbfa1d920e68267d3080d2b1ba)
324
+ - Fixed images as attachment from File Picker [5ca1a25](https://github.com/GetStream/stream-chat-react-native/commit/5ca1a250a9d1c75c86e9c89dda1c116dd77bb1b3)
325
+
326
+ ## [3.4.0] (2021-05-14)
327
+
328
+ ### Features
329
+ - Updated implementation around network recovery for smooth UX [#658](https://github.com/GetStream/stream-chat-react-native/pull/658)
330
+ - Added support for `MessageDeleted` prop on Channel component, for overriding default deleted message component [65861d9](https://github.com/GetStream/stream-chat-react-native/commit/65861d9a52e8d289d6e66bbc63d2814aa6f87c9e)
331
+ - Refresh channel list when `sort` prop updates, on ChannelList [42450fa](https://github.com/GetStream/stream-chat-react-native/commit/42450fa23d6221931b0b14d5f39fba2484b7dadf)
332
+ - Added support for typing indicator in threads [6f518ca](https://github.com/GetStream/stream-chat-react-native/commit/6f518ca1879943edaa6606209c2f63672df1dd75)
333
+ - Added handler for `channel.visible` event [476c36e](https://github.com/GetStream/stream-chat-react-native/commit/476c36e30eb41ca5843c0f679c18880e46d7564e)
334
+
335
+ ### Bug fixes
336
+
337
+ - Added default sizes to Icons in `OverlayReactionList` component. [6b4db5f](https://github.com/GetStream/stream-chat-react-native/commit/6b4db5fd1ad4816506a2f567409201374d6d3f3c)
338
+ - Miscellaneous fixes around image picker opening and closing [950f746](https://github.com/GetStream/stream-chat-react-native/commit/950f746412422cdb2fb6b358a24a3bc694a9032a) [4845e4e](https://github.com/GetStream/stream-chat-react-native/commit/4845e4e08e6725b612f17360d1fe031c0acf6578)
339
+
340
+ ## [3.3.2] (2021-04-13)
341
+
342
+ - Allow re-rerendering of MessageInput component, on changes to `additionalTextInputProps` [1b95a64](https://github.com/GetStream/stream-chat-react-native/commit/1b95a64f15642829d2b4296615c2d8572065f213)
343
+ - Fixed Android camera permissions check [5b77516](https://github.com/GetStream/stream-chat-react-native/commit/5b775160b814c9d69fdb5f9879662c76064581af)
344
+
345
+ ## [3.3.1] (2021-04-09)
346
+
347
+ - Fixed `supportedReactions` prop support on `OverlayReactions` [#594](https://github.com/GetStream/stream-chat-react-native/pull/594/files)
348
+ - Fixed mentions autocomplete functionality for channels with > 100 members [e8c93d3](https://github.com/GetStream/stream-chat-react-native/commit/e8c93d39825ecf7e3fb01dc6da8a1096cef50bf3)
349
+ - Fixed theming issue on overlay for sent message (or my message) [7f11364](https://github.com/GetStream/stream-chat-react-native/commit/7f113649975620391dca1ff447e70ae89c08b5bb)
350
+ - Exporting following components and hooks from SDK
351
+ - ChannelListLoadingIndicator
352
+ - ChannelPreviewMessage
353
+ - ChannelPreviewStatus
354
+ - ChannelPreviewTitle
355
+ - ChannelPreviewUnreadCount
356
+ - InputButtons
357
+ - useAppStateListener
358
+
359
+ ## [3.3.0] (2021-04-07)
360
+
361
+ ### New Features 🎉
362
+
363
+ - Added inline date separators, which can be customized by adding your own UI component [#581](https://github.com/GetStream/stream-chat-react-native/pull/581/files)
364
+
365
+ ```jsx
366
+ <Channel
367
+ InlineDateSeparator={({ date }) => { /** Your custom UI */ }}
368
+ maxTimeBetweenGroupedMessages={40000} // number of ms, after which further messages will be considered part of new group.
369
+ >
370
+ ```
371
+
372
+ - Added ability to override default onLongPress, onPress, onPressIn and onDoubleTap handlers using following props on Channel component:
373
+
374
+ - onLongPressMessage
375
+ - onPressMessage
376
+ - onPressInMessage
377
+ - onDoubleTapMessage
378
+
379
+ You will have access to payload of that handler as param:
380
+
381
+ ```jsx
382
+ <Channel
383
+ ...
384
+ onLongPressMessage={({
385
+ actionHandlers: {
386
+ deleteMessage, // () => Promise<void>;
387
+ editMessage, // () => void;
388
+ reply, // () => void;
389
+ resendMessage, // () => Promise<void>;
390
+ showMessageOverlay, // () => void;
391
+ toggleBanUser, // () => Promise<void>;
392
+ toggleMuteUser, // () => Promise<void>;
393
+ toggleReaction, // (reactionType: string) => Promise<void>;
394
+ },
395
+ defaultHandler, // () => void
396
+ event, // any event object corresponding to touchable feedback
397
+ emitter, // which component trigged this touchable feedback e.g. card, fileAttachment, gallery, message ... etc
398
+ message // message object on which longPress occured
399
+ }) => {
400
+ /** Your custom action */
401
+ }}
402
+ />
403
+ ```
404
+
405
+ ### **🛑 BREAKING**
406
+
407
+ - Following props are no longer accessible on `Input` component (which is used to customize underlying input box). They should be accessed from `MessageInputContext` (or corresponding hook - `useMessageInputContext`)
408
+
409
+ - openAttachmentPicker
410
+ - closeAttachmentPicker
411
+ - toggleAttachmentPicker
412
+ - openCommandsPicker
413
+ - openMentionsPicker
414
+ - openFilePicker
415
+
416
+ - Value `typing` (which is list of users who are typing), has been moved from `ChannelContext` to its own separate context - `TypingContext` [c450719](https://github.com/GetStream/stream-chat-react-native/commit/c4507194956360ae27731fc81fed1d7dc1ed1861)
417
+
418
+
419
+ ### Fixes
420
+
421
+ - [#522](https://github.com/GetStream/stream-chat-react-native/issues/522) `initialValue` not being set for inputbox [63b3d79](https://github.com/GetStream/stream-chat-react-native/pull/572/commits/63b3d7995b30dccf23aece51cbc7479388890fd0)
422
+ - Fixed goToMessage functionality (when you press on quotedMessage) in MessageList [#580](https://github.com/GetStream/stream-chat-react-native/pull/580)
423
+ - Fixed image picker not loading when swapping from keyboard [a180ad4](https://github.com/GetStream/stream-chat-react-native/commit/a180ad43fb1766f0252467c4d6aec84ca7c9e26d)
424
+
425
+ ## [3.2.0] (2021-03-23)
426
+
427
+ ### **🛑 BREAKING**
428
+
429
+ - Minimum required `stream-chat` version is `3.5.1`.
430
+ - Following values have been moved from `MessagesContext` a separate context - `PaginatedMessageListContext`
431
+ - hasMore
432
+ - messages
433
+ - loadMore
434
+ - loadMoreRecent
435
+ - loadMoreThread
436
+ - loadingMore
437
+ - loadingMoreRecent
438
+
439
+ ### Non breaking:
440
+
441
+ #### Websocket and Push
442
+
443
+ From this release when app goes to background, websocket connection will be dropped by default.
444
+ This is necessary to allow push notifications.
445
+
446
+ We only send push notification, when user doesn't have any active websocket connection (which is established when you call `client.connectUser`). When your app goes to background, your device will keep the ws connection alive for around 15-20 seconds, and so within this period you won't receive any push notification. Until now, it was upto end user to drop the connection by explicitly calling `client.closeConnection()` or `client.wsConnection.disconnect()`, when app goes to background.
447
+ But from this release, we have moved this functionality to OOTB.
448
+
449
+ - If you don't have push system configured for your application, you can disable this functionality by adding a prop on Chat component - `closeConnectionOnBackground={false}`
450
+ - As described earlier, please make sure you are on `stream-chat >= 3.5.1`
451
+
452
+ #### Other
453
+
454
+ - Allow use of Channel component with uninitialized channel
455
+ - Allow custom config of i18next config
456
+ - UI fixes and animation improvements for reactions
457
+
458
+ ## [3.1.2] (2021-03-17)
459
+
460
+ **NO CODE CHANGE**
461
+
462
+ Fixed version.json during package publishing, which we use to track the version of RN sdk through
463
+ `client.setUserAgent` call
464
+
465
+ ## [3.1.1] (2021-03-17)
466
+
467
+ Fixed type definition pointers in package.json
468
+
469
+ - [Issue #560](https://github.com/GetStream/stream-chat-react-native/issues/560)
470
+
471
+ ## [3.1.0] (2021-03-15)
472
+
473
+ - **🛑 BREAKING**: Removed a prop `handleOnPress` on `Input` component.
474
+ - Added support for new props on `Input` component, which can be used on Channel component as prop to replace undelying input component ([reference](https://github.com/GetStream/stream-chat-react-native/wiki/Cookbook-v3.0#how-to-change-the-layout-of-messageinput-component))
475
+ - closeAttachmentPicker (function)
476
+ - openAttachmentPicker (function)
477
+ - openCommandsPicker (function)
478
+ - toggleAttachmentPicker (function)
479
+
480
+ - Added support for new prop on `Channel` component - `InputButtons`, to replace the extra buttons on the left on input box [#536](https://github.com/GetStream/stream-chat-react-native/pull/536)
481
+
482
+ - Added support for `messageActions` prop as callback. Also added support for prop `messageActions` on Channel component [#548](https://github.com/GetStream/stream-chat-react-native/pull/548)
483
+ Earlier you could override messageActions prop as following:
484
+
485
+ ```jsx
486
+ <Channel
487
+ messageActions=[
488
+ {
489
+ action: () => { /** Some message action logic */ };
490
+ title: "Pin Message";
491
+ icon: PinIcon;
492
+ titleStyle: {};
493
+ },
494
+ {
495
+ action: () => { /** Some message action logic */ };
496
+ title: "Delete Message";
497
+ icon: PinIcon;
498
+ titleStyle: {};
499
+ }
500
+ ]
501
+ >
502
+ {/** MessageList and MessageInput component here */}
503
+ </Channel>
504
+ ```
505
+
506
+ But now, you can selectly keep certain action and remove some:
507
+
508
+ ```jsx
509
+ /** Lets say you only want to keep threadReply and copyMessage actions */
510
+ <Channel
511
+ messageActions={({
512
+ blockUser,
513
+ copyMessage,
514
+ deleteMessage,
515
+ editMessage,
516
+ flagMessage,
517
+ muteUser,
518
+ reply,
519
+ retry,
520
+ threadReply,
521
+ }) => ([
522
+ threadReply, copyMessage
523
+ ])}
524
+ >
525
+ {/** MessageList and MessageInput component here */}
526
+ </Channel>
527
+ ```
528
+
529
+ - Issue fix: make OverlayReactions customizable through props. [c7a83b8](https://github.com/GetStream/stream-chat-react-native/commit/c7a83b87804d9492ce01ef0dfa63fe9b6cc203ad)
530
+ - Issue fix: Image upload for expo and assets-library [5a2d0e8](https://github.com/GetStream/stream-chat-react-native/commit/5a2d0e827dd4a4067058787b49b07c584f3e370c)
531
+ - Issue fix: Compatibility with jest as described in [#508](https://github.com/GetStream/stream-chat-react-native/issues/508) [a172c15](https://github.com/GetStream/stream-chat-react-native/commit/a172c15b1304932051f0f699daf47981e488fde4)
532
+
533
+
534
+ ## [3.0.0] (2021-02-23)
535
+
536
+ Version 3.x is a major revamp of the SDK and comes with **many breaking changes**. The new implementation takes advantage of React Context along with many popular community libraries such as Reanimated V2 to deliver a superior chat experience. **Upgrading will require re-implementing** your integration but will yield performance and functional benefits. It is highly recommended you read the Cookbook and examine the SampleApp / TypeScriptMessaging apps before upgrading to understand what is required.
537
+
538
+ ### New features
539
+
540
+ - Modern UX around reaction picker functionality, similar to iMessage
541
+ - Inline replies
542
+ - "Also send to channel" option on Threads
543
+ - In app attachment picker
544
+ - Improved avatars for grouped channels.
545
+ - Rich image viewers with options to share the image outside the app, or view the image in gallery view.
546
+ - "Copy Message" action as part of message actions.
547
+
548
+ ### Improvements
549
+
550
+ - In previous versions, we did a lot of prop drilling throughout component trees, which makes it quite hard for end user to decide exactly where to set a particular prop. We have tried to centralize component customization on following three higher order components:
551
+
552
+ - OverlayProvider
553
+ - ChannelList
554
+ - Channel
555
+
556
+ We have prepared a visual guide to help you with component customizations - [Guide](https://github.com/GetStream/stream-chat-react-native/wiki/Cookbook-v3.0#custom-components)
557
+
558
+ - In v2.x.x, we decided to move away from class based components, towards functional components along with react hooks. React hooks are definitely a big addition to react eco-system, but when not careful it has potential to hammer the performance. We have handled all these issues as part of v3.0.0 using careful revamp around all the contexts and memoizations, which improves the app performance by a great margin.
559
+
560
+ - We have decided to abondon styled-components, are decided to have our own implementation
561
+
562
+ - Removed dot notation for theming applications
563
+ - Removed css string notation for styles on theme
564
+ - Added displayName to components with bracket notation denoting the theme path e.g. `MessageStatus.displayName = 'MessageStatus{message{status}}';` indicates the theme path would be modified via `const customTheme: DeepPartial<Theme> = { message: { status: { ...customizations } } }`. Please check our [theme docs](https://github.com/GetStream/stream-chat-react-native/wiki/Cookbook-v3.0#theme) for more details.
565
+
566
+ ### Dependency changes:
567
+
568
+ - Added peer dependencies for:
569
+ - BlurView using one of these
570
+ - Expo: [expo-blur](https://docs.expo.io/versions/latest/sdk/blur-view/#installation)
571
+ - React Native: [@react-native-community/blur](https://github.com/Kureev/react-native-blur#installation)
572
+ - Image Compression using one of these
573
+ - Expo: [expo-image-manipulator](https://docs.expo.io/versions/latest/sdk/imagemanipulator/#installation)
574
+ - React Native: [react-native-image-resizer](https://github.com/bamlab/react-native-image-resizer#setup)
575
+ - FileSystem using one of these
576
+ - Expo: [expo-file-system](https://docs.expo.io/versions/latest/sdk/filesystem/#installation)
577
+ - React Native: [react-native-fs](https://github.com/itinance/react-native-fs/)
578
+ - Share using one of these
579
+ - Expo [expo-sharing](https://docs.expo.io/versions/latest/sdk/sharing/#installation)
580
+ - React Native: [react-native-share](https://github.com/react-native-share/react-native-share#getting-started)
581
+ - Image Picking using one of these
582
+ - Expo [expo-media-library](https://docs.expo.io/versions/latest/sdk/media-library/#installation)
583
+ - React Native: [react-native-cameraroll](https://github.com/react-native-cameraroll/react-native-cameraroll#getting-started)
584
+ - [react-native-gesture-handler](https://docs.swmansion.com/react-native-gesture-handler/docs/#installation)
585
+ - [react-native-reanimated v2](https://docs.swmansion.com/react-native-reanimated/docs/installation)
586
+ - [react-native-svg](https://github.com/react-native-svg/react-native-svg#installation)
587
+
588
+ - Removed peer dependencies for:
589
+ - [react-native-get-random-values](https://github.com/LinusU/react-native-get-random-values)
590
+
591
+ - Removed seamless-immutable
592
+ - Removed styled-components:
593
+
594
+ Please find detailed docs about this release in our [wiki](https://github.com/GetStream/stream-chat-react-native/wiki#v300)
595
+
596
+
597
+ ### Note for Expo
598
+
599
+ - As of this release, expo is on version 40 which uses a version of React Native with a bug in the Dimensions API that occurs upon reloading an app in the simulator. Version 3.x uses relative sizing widely and depends on this API so issues will be visible in Expo until they update the custom React Native version they ship.
600
+
601
+ - [Android] As part of this release, we implemented a new feature - inline replies, similar to whatsapp. Bi-directional scrolling/pagination was necessary for this feature. To keep smooth scrolling experience, we implemented our [own solution](https://github.com/GetStream/flat-list-mvcp#maintainvisiblecontentposition-prop-support-for-android-react-native) for react-native. Although, Expo being close-source project, we can't do any such thing for Expo. So inline reply feature is not recommended to use in Expo, since you will not have a good scroll experience on Android, while scrolling down in message list.
602
+
603
+
604
+ ## [2.2.2] 2021-02-07
605
+
606
+ Handling the case of standlone Channel component (without ChannelList) on top of fix in [v2.2.1](https://github.com/GetStream/stream-chat-react-native/releases/tag/v2.2.1) - [ba7d744](https://github.com/GetStream/stream-chat-react-native/commit/ba7d744dcdf76e16bcee29a9daa6f8879ef0ec79)
607
+
608
+ ## [2.2.1] 2021-02-03
609
+
610
+ For push notifications, we usually recommend users to disconnect websocket when app goes to background and reconnect when app comes to foreground. But channel list UI doesn't update properly once the ws is re-connected. This issue has been fixed in this commit [8a35e50](https://github.com/GetStream/stream-chat-react-native/commit/8a35e505fadb059b0a3b48fdc33a3a72021bd158)
611
+
612
+ ## [2.2.0] 2021-02-02
613
+
614
+ - Switched to `react-native-markdown-package` for markdown of message text [#505](https://github.com/GetStream/stream-chat-react-native/pull/505/files)
615
+
616
+ ## [2.1.4] 2021-01-29
617
+
618
+ Fixed broken re-send message functionality, upon failure [b3c028f](https://github.com/GetStream/stream-chat-react-native/commit/b3c028f7bb91d00286717564764cb0fcf42b75b3)
619
+
620
+ ## [2.1.3] 2021-01-26
621
+
622
+ - Fix markdown on message
623
+ - fixes [#498](https://github.com/GetStream/stream-chat-react-native/issues/498)
624
+ - commit [d4713aa](https://github.com/GetStream/stream-chat-react-native/commit/d4713aa32515df8c4726860508661645ade13598)
625
+ - Fixes issue with un-necessary queryChannels api call, when filters are provided as inline object [9f4528b](https://github.com/GetStream/stream-chat-react-native/commit/9f4528b0035cbcc5898f5da88109e703413b2f4f)
626
+ ## [2.1.2] 2021-01-09
627
+
628
+ - Fixed infinite re-rendering issue on mentions suggestion box [5fd521a](https://github.com/GetStream/stream-chat-react-native/commit/5fd521a075170004fe551dd3ffbac111256274fe)
629
+
630
+ ## [2.1.1] 2020-12-21
631
+
632
+ - Fixed broken mentions autocomplete feature for channels with more than 100 members. #457
633
+ - Added a new prop autocompleteSuggestionsLimit on MessageInput - Max number of suggestions to display in list. Defaults to 10.
634
+
635
+ ## [2.1.0] 2020-12-07
636
+
637
+ ### Dependency changes
638
+ - Bumping dependency to stream-chat@2.9.0
639
+
640
+ ### Fixes
641
+ - Fixed plenty of issues around reload/refresh of channellist upon failures.
642
+ - Fixing retry message functionality [7a423f7](https://github.com/GetStream/stream-chat-react-native/commit/7a423f7c059336f770fd107ff8cc6f2bd6e4a939)
643
+
644
+ ### New Props:
645
+ - MessageList component
646
+ - MessageNotification [5b5c2ac](https://github.com/GetStream/stream-chat-react-native/commit/5b5c2ac1a021018834696b57c4dfb030635c9cb8)
647
+ - onListScroll [5b5c2ac](https://github.com/GetStream/stream-chat-react-native/commit/5b5c2ac1a021018834696b57c4dfb030635c9cb8)
648
+ - FooterComponent [d803bab](https://github.com/GetStream/stream-chat-react-native/commit/d803bab3d25a4e34bb8192e06fd41db5bfd07ea7)
649
+ - inverted [d803bab](https://github.com/GetStream/stream-chat-react-native/commit/d803bab3d25a4e34bb8192e06fd41db5bfd07ea7)
650
+ - NetworkDownIndicator [e09b9fc](https://github.com/GetStream/stream-chat-react-native/commit/e09b9fc93fb5064efe16b1c6c7572116d8f2ee69)
651
+
652
+ ## [2.0.2] 2020-11-16
653
+
654
+ - Fixing issue - when you cancel 'edit message' flow, input box attachments don't get cleared [425db22](https://github.com/GetStream/stream-chat-react-native/commit/425db22cc1ad51be651e61e64af92128763f51ca)
655
+
656
+ - Adding reload behaviour on error indicator on messagelist [6047671](https://github.com/GetStream/stream-chat-react-native/commit/604767192daeb1c621b3763d4a56be95688bff12)
657
+
658
+ ## [2.0.1] 2020-11-16
659
+
660
+ - Fixed issue - When you edit a message which has image attachments, images disappear from message - [68c0acb](https://github.com/GetStream/stream-chat-react-native/commit/68c0acbbb66e2f116db84be503054c8d2046778f)
661
+ - Fixed maxFiles value on image picker and file picker taking into account already selected number of attachments - [176f675](https://github.com/GetStream/stream-chat-react-native/commit/176f6751d2240cd502d1d84b91fa07b849c943ea)
662
+
663
+ ## [2.0.0] 2020-10-29
664
+
665
+ Please check [Upgrade Docs](https://github.com/GetStream/stream-chat-react-native/wiki/Upgrade-helper#upgrade-from-0xx-to-2xx) for upgrading from 0.x.x to 2.x.x
666
+
667
+ **BREAKING CHANGES**
668
+
669
+ - You will need to install https://github.com/LinusU/react-native-get-random-values and add this line `import 'react-native-get-random-values';` to your `index.js`
670
+ - Expo 39 is now the lowest supported version
671
+
672
+ ### Typescript
673
+
674
+ This library has been moved to full typescript. Please check [Typescript doc](https://github.com/GetStream/stream-chat-react-native/wiki/Typescript-support) for details
675
+
676
+ ### Component prop changes
677
+
678
+ *Channel*
679
+ - add `additionalKeyboardAvoidingViewProps` prop to allow custom keyboard props
680
+
681
+ *ChannelListMessenger*
682
+ - remove `setActiveChannel` prop
683
+
684
+ *ChannelPreviewMessenger*
685
+ - renamed the `latestMessage` prop to `latestMessagePreview`. This name change is more semantic to what the prop does and reduces confusion with the `lastMessage` prop
686
+
687
+ *MessageContent*
688
+ - removed `retrySendMessage` prop in favor of `retrySendMessage` within `MessagesContext`
689
+
690
+ *MessageInput*
691
+ - remove `parent` prop to `parent_id` as it needs to be just an id string instead of the entire parent object
692
+ - add `setInputRef` prop to actually allow forwarding of the TextInput ref controls
693
+
694
+ *MessageSystem*
695
+ - add `formatDate` prop to allow custom date formatting
696
+
697
+ *ChannelContext*
698
+
699
+ - We have split the `ChannelContext` into three separate contexts to further modularize the code and reduce renders as items in context change. The following contexts now contain the following values, previously all held within the `ChannelContext`:
700
+
701
+ - `ChannelContext`:
702
+
703
+ - `channel`
704
+ - `disabled`
705
+ - `EmptyStateIndicator`
706
+ - `error`
707
+ - `eventHistory`
708
+ - `lastRead`
709
+ - `loading`
710
+ - `LoadingIndicator`
711
+ - `markRead`
712
+ - `members`
713
+ - `read`
714
+ - `setLastRead`
715
+ - `typing`
716
+ - `watcherCount`
717
+ - `watchers`
718
+
719
+ - `MessagesContext`
720
+
721
+ - `Attachment`
722
+ - `clearEditingState`
723
+ - `editing`
724
+ - `editMessage`
725
+ - `emojiData`
726
+ - `hasMore`
727
+ - `loadingMore`
728
+ - `loadMore`
729
+ - `Message`
730
+ - `messages`
731
+ - `removeMessage`
732
+ - `retrySendMessage`
733
+ - `sendMessage`
734
+ - `setEditingState`
735
+ - `updateMessage`
736
+
737
+ - `ThreadContext`
738
+
739
+ - `closeThread`
740
+ - `loadMoreThread`
741
+ - `openThread`
742
+ - `thread`
743
+ - `threadHasMore`
744
+ - `threadLoadingMore`
745
+ - `threadMessages`
746
+
747
+ - All contexts are exported and any values can be accessed through a higher order component (ex: `withMessagesContext`) or with one of our custom context hooks (ex: access `MessagesContext` by `const { messages } = useMessagesContext();`).
748
+
749
+ ## [1.3.5] 2020-10-27
750
+
751
+ - Fixing [keyboard issue](https://github.com/GetStream/stream-chat-react-native/issues/397) during app state change [a8aa4ed](https://github.com/GetStream/stream-chat-react-native/commit/a8aa4edebd723120ea41d88b2f9d45df5a75f848)
752
+
753
+ ## [1.3.4] 2020-10-13
754
+
755
+ - Fixing keyboard glitch functionality for android [a7f94b9](https://github.com/GetStream/stream-chat-react-native/commit/a7f94b93a12c997055a706316902aafbd256f29b)
756
+
757
+ ## [1.3.3] 2020-10-05
758
+
759
+ - Fixing retry upload functionality [e89b87f](https://github.com/GetStream/stream-chat-react-native/commit/e89b87fb6b519d5433717d14ba12591236459586)
760
+
761
+ ## [1.3.2] 2020-10-02
762
+
763
+ - SuggestionsList (for user-mentions feature in MessageInput) doesn't update the position as per keyboard position. For the time being, we have fixed this by dismissing the suggestions list when keyboard gets dismissed - [0fdff4f](https://github.com/GetStream/stream-chat-react-native/commit/0fdff4f327908d4b554b8d4172028e666df65242)
764
+
765
+ - Exported IconBadge and IconSquare components, to fix the tutorial [f1b6a39](https://github.com/GetStream/stream-chat-react-native/commit/f1b6a393930e7fcd1571d7d80b56937154454b47)
766
+
767
+ - Added file size to file attachment [7e653a4](https://github.com/GetStream/stream-chat-react-native/commit/7e653a4a302ba24e5f9b664d2fccba778084ed0b)
768
+
769
+ ## [1.3.1] 2020-09-29
770
+
771
+ **No changes**
772
+
773
+ ## [1.3.0] 2020-09-25
774
+
775
+ **BREAKING CHANGES**
776
+
777
+ ## MessageInput
778
+
779
+ - Replaced the default image picker [react-native-image-picker](https://github.com/react-native-community/react-native-image-picker) for [react-native-image-crop-picker](https://github.com/ivpusic/react-native-image-crop-picker) and added `compressImageQuality` prop to support image compression out-of-the-box
780
+ - Added `FileUploadPreview` and `ImageUploadPreview` props to support custom overrides to those components
781
+
782
+ ## KeyboardCompatibleView and Channel component
783
+
784
+ Implementation of internal KeyboardCompatibleView has been changed so as to make animations smoother and fix existing issues with keyboard behavior.
785
+ Support for following props have been dropped from Channel and KeyboardCompatibleView
786
+
787
+ - keyboardDismissAnimationDuration
788
+ - keyboardOpenAnimationDuration
789
+
790
+ Following new props have been introduced on `Channel` component. They are the same props accepted by KeyboardAvoidingView of react-native.
791
+
792
+ - keyboardBehavior ['height' | 'position' | 'padding']
793
+ - keyboardVerticalOffset
794
+
795
+
796
+ ## ChannelList
797
+
798
+ - We converted the ChannelList component from a class to a function and abstracted the event listener logic into custom hooks. The default event handlers can still be overridden by providing custom prop functions to the ChannelList component. Custom logic can be provided for the following events:
799
+
800
+ - `onAddedToChannel` overrides `notification.added_to_channel` default
801
+ - `onChannelDeleted` overrides `channel.deleted` default
802
+ - `onChannelHidden` overrides `channel.hidden` default
803
+ - `onChannelTruncated` overrides `channel.truncated` default
804
+ - `onChannelUpdated` overrides `channel.updated` default
805
+ - `onMessageNew` overrides `notification.message_new` default
806
+ - `onRemovedFromChannel` overrides `notification.removed_from_channel` default
807
+
808
+ - All custom event handlers now accept two arguments, with the `this` reference no longer needed in the functional component.
809
+
810
+ - 1st argument: `setChannels` reference to the `useState` hook that sets the `channels` in the React Native FlatList
811
+ - 2nd argument: `event` object returned by the StreamChat instance
812
+
813
+ e.g.,
814
+
815
+ ```js
816
+ // In following example we will override the default handler for notification.added_to_channel
817
+ <ChannelList
818
+ filters={}
819
+ onAddedToChannel={(setChannels, event) => {
820
+ setChannels(channels => {
821
+ // Do additional actions on channels array.
822
+ return channels;
823
+ })
824
+ }}
825
+ >
826
+ ```
827
+ - On upgrading to this release, ensure events and any custom handling functions (ex: `onAddedToChannel` or `onMessageNew`) are properly processed and update the list UI as expected.
828
+
829
+ ## FileUploadPreview
830
+
831
+ - We fixed a bug for being unable to remove a file from the `MessageInput` and made it consistent to `ImageUploadPreview`
832
+ - We have removed support for the `fileUploadPreview.dismissText` theme value
833
+ - We have added support for `fileUploadPreview.dismiss`, `fileUploadPreview.dismissImage`, and `fileUploadPreview.imageContainer` theme values
834
+
835
+ ## MessageInput
836
+
837
+ - We replaced the default image picker [react-native-image-picker](https://github.com/react-native-community/react-native-image-picker) for [react-native-image-crop-picker](https://github.com/ivpusic/react-native-image-crop-picker) and added `compressImageQuality` prop to support image compression out-of-the-box
838
+ - Added `FileUploadPreview` and `ImageUploadPreview` props to support custom overrides to those components
839
+
840
+ ## MessageSystem
841
+
842
+ - Added `formatDate` prop to support custom date formatting
843
+
844
+ ## Deprecated Props
845
+
846
+ - We have removed support for the `MessageList` component's `onMessageTouch` prop. Please use the `onPress` prop on the `MessageSimple` component to perform an action on touch of a message.
847
+
848
+ - We have removed support for the `Message` component's `readOnly` prop. Please use the `disabled` value from the `ChannelContext` instead.
849
+
850
+ - We renamed the `latestMessage` prop on the `ChannelPreviewMessenger` component to `latestMessagePreview`. This name change is more semantic to what the prop does and reduces confusion with the `lastMessage` prop.
851
+
852
+ - We have also dropped support for the following `MessageList` props:
853
+ - `dateSeparator` (use DateSeparator instead)
854
+ - `headerComponent` (use HeaderComponent instead)
855
+
856
+ ## this Reference Removal
857
+
858
+ - We have removed the `this` class component reference from the prop functions in `MessageSimple`. For example, if you wish to override the SDK's standard long press behavior on a message, the `onLongPress` function passed in to `MessageSimple` no longer takes the `this` component reference as it's first argument. The message and the event object become the first and second arguments, respectively.
859
+
860
+ ## renderText Function
861
+
862
+ - The `renderText` function utilized in the `MessageTextContainer` component now accepts a single object containing `markdownRules`, `markdownStyles`, and `message`. Previously each value was a separate function parameter.
863
+
864
+ ## [1.2.0] 2020-08-21
865
+
866
+ **NO BREAKING CHANGES**
867
+
868
+ - Following components have been converted to functional component from class based component.
869
+
870
+ - Chat
871
+ - KeyboardCompatibleView
872
+ - SuggestionsProvider
873
+ - AutoCompleteInput
874
+ - Spinner
875
+
876
+ - So far we exported bundled/transpiled version of components from package as single file - dist/index.js, dist/index.es using rollup. But now we are moving away from this approach and instead distributing original source of components since react-native handles bundling/transpiling part anyways. This also makes it easy for end-users to debug components exported from stream-chat-react-native.
877
+
878
+ ## [1.1.1] 2020-08-03
879
+
880
+ - Fixed [#270](https://github.com/GetStream/stream-chat-react-native/issues/270) - [8ec70bd](https://github.com/GetStream/stream-chat-react-native/pull/273/commits/8ec70bdd2bae4f03c595466ba60d247c44f4c474)
881
+
882
+ - Upgraded `@testing-library/react-native` to v7 [4c687b4](https://github.com/GetStream/stream-chat-react-native/commit/4c687b48d689abb97ba00228224169d70c245076)
883
+
884
+ ## [1.1.0] 2020-07-31
885
+
886
+ - Fixed exports of MessageStatus, MessageContent, MessageAvatar, MessageTextContainer components [#268](https://github.com/GetStream/stream-chat-react-native/pull/268)
887
+
888
+ - Moving following components to functional components
889
+
890
+ - ChannelPreview
891
+ - ChannelPreviewMessenger
892
+ - Attachment
893
+ - Card
894
+ - FileAttachment
895
+ - EmptyStateIndicator, LoadingIndicator, LoadingErrorIndicator
896
+
897
+ - Decoupled actionsheet from MessageInput component [59618ad](https://github.com/GetStream/stream-chat-react-native/commit/59618adbc238763cf7fd3d5ba3dd0304012877de)
898
+
899
+ ## [1.0.0] 2020-07-29
900
+
901
+ We've already been on a v1 release for a while but never updated our versioning. Right now we're in the process of rewriting our components to be more future proof and we started using hooks, hence the v1.0.0 today.
902
+
903
+ Breaking change: stream-chat-react-native now relies on hooks and will need react-native >= 0.59.0 to work
904
+
905
+ Rewrite will involve following changes:
906
+
907
+ 1. Functional components instead of class based components
908
+ 2. Static typing using typescript
909
+ 3. UI tests
910
+
911
+ We are going to incrementally implement these changes and will try to keep everything backwards compatible unless really necessary.
912
+
913
+ ## [0.15.2] 2020-07-29
914
+
915
+ - Exporting `AutoCompleteInput` component [d41d0d5](https://github.com/GetStream/stream-chat-react-native/commit/d41d0d58ce02556cedf1825a2adb6a5c366a770c)
916
+
917
+ ## [0.15.1] 2020-07-29 (Bad release)
918
+
919
+ ## [0.15.0] 2020-07-27
920
+
921
+ - Upgrading @stream-io/react-native-simple-markdown to 1.2.1 [d89f012](https://github.com/GetStream/react-native-simple-markdown/commit/d89f0128e6c4f179f2afe9f9a896b289288e2afd)
922
+
923
+ It fixes the issue with markdown where text like "#stream" was treated as heading, thus disallowing anyone to use hashtags in chat.
924
+
925
+ - Internal directory restructuring of components
926
+
927
+ ## [0.14.0] 2020-07-16
928
+
929
+ - Fixing compatibility issues with react-native 0.63 [88721a0](https://github.com/GetStream/stream-chat-react-native/commit/88721a077b3bb3369c3d8dbde9451d84f6761d87)
930
+ - Updating stream-chat to 0.13.x [4af1b1d](https://github.com/GetStream/stream-chat-react-native/commit/4af1b1d63a3c7dec662f8c75426ea7a7082f26a4)
931
+
932
+ ## [0.13.1] 2020-07-14
933
+
934
+ - [84ded29](https://github.com/GetStream/stream-chat-react-native/commit/84ded29bf7afd9e9e5178e76e79953d8b27dc77c) Bug fix - **Only** set active channel in ChannelList component on complete reload, which happens in following cases:
935
+
936
+ - first load on chat
937
+ - changes in filters
938
+
939
+ ## [0.13.0] 2020-07-08
940
+
941
+ - Upgrading `@stream-io/react-native-simple-markdown` to 1.2.0. It fixes markdown related issues regarding line breaks
942
+ - Added a new prop to the MessageInput component - `sendImageAsync`. It’s value defaults to false, but when set to true, if the user hits send on a message before an attached image has finished uploading, the message text will be sent immediately and the image will be sent as a follow-up message as soon as a successful response has been received by the CDN [455571d](https://github.com/GetStream/stream-chat-react-native/commit/455571d68db5e617882b59a81e15f934f0365952)
943
+ - Fixed typescript for isMyMessage function [7d55134](https://github.com/GetStream/stream-chat-react-native/commit/7d5513479e55b014562b7d07082628f4215e4a92)
944
+
945
+ ## [0.12.4] 2020-06-30
946
+
947
+ - Improving MessageInput component, to better handle the case of rapid typing [3fddf06](https://github.com/GetStream/stream-chat-react-native/commit/3fddf06426cce5a9cc8dad1e80f9dec1efb4751d)
948
+ - Fixing fallback avatar for MentionsItem component [159fcb8](https://github.com/GetStream/stream-chat-react-native/commit/159fcb856171eaa1f0e2f57f5e9442177eb10b88)
949
+
950
+ ## [0.12.3 2020-06-17
951
+
952
+ - Fixing `enabled` prop on KeyboardCompatibleView
953
+
954
+ ## [0.12.2] 2020-06-17
955
+
956
+ - Fixing broken file upload functionality on android [2cb26e7](https://github.com/GetStream/stream-chat-react-native/commit/2cb26e7951e2030f1c319ad82c55bf0273ef6532)
957
+
958
+ ## [0.12.1] 2020-06-16
959
+
960
+ - Allow search for special characters in mentions autocomplete [a2cb083](https://github.com/GetStream/stream-chat-react-native/commit/a2cb083a3d6657b5c3a122fcd5843d0c9f51a5a6)
961
+
962
+ ## [0.12.0] 2020-06-15
963
+
964
+ - **Improvements to autocomplete feature in MessageInput component**.
965
+
966
+ Until now if your channel had more than 100 members, then you couldn't see members (besides first 100) in mentions popup box. This was because queryChannels api only populates 100 members in channel state and mentions feature was based on searching for members in channel state.
967
+
968
+ From now on, autocomplete input (specifically mentions autocomplete) will be api based search. So that mentions feature will work even for the channels with more than 100 members.
969
+
970
+ ## [0.11.0] 2020-06-01
971
+
972
+ **Non breaking changes**
973
+
974
+ ### UX improvements of ChannelList component
975
+
976
+ <div style="display: inline">
977
+ <img src="./screenshots/7.png" alt="IMAGE ALT TEXT HERE" width="250" border="1" style="margin-right: 30px" />
978
+ <img src="./screenshots/8.png" alt="IMAGE ALT TEXT HERE" width="250" border="1" style="margin-right: 30px" />
979
+ <img src="./screenshots/9.png" alt="IMAGE ALT TEXT HERE" width="250" border="1" />
980
+ </div>
981
+
982
+ - So far we only had `LoadingErrorIndicator` (which can be customized using prop `LoadingErrorIndicator`). This error indicator replaces the entire channel
983
+ list on screen. So if your 2nd page of list results in error, we used to remove all the already fetched channels and show this full screen error indicator.
984
+ Instead we have introduced following error indicators, which will be displayed at top of the list in case or error. Please note that if first page of
985
+ queryChannels api results in error, we will display LoadingErrorIndicator
986
+
987
+ - HeaderErrorIndicator
988
+ - HeaderNetworkDownIndicator
989
+
990
+ - Introducing following new props to ChannelList component
991
+
992
+ - `FooterLoadingIndicator` {UI Component} To override default spinner at footer of channel list (introduced in this release)
993
+ - `HeaderErrorIndicator` {UI Component} To override default HeaderErrorIndicator
994
+ - `HeaderNetworkDownIndicator`{UI Component} To override default HeaderNetworkDownIndicator
995
+
996
+ - Introduced pull to refresh functionality, to refresh the ChannelList in case of failure.
997
+ - Adding following prop to `LoadingErrorIndicator`
998
+
999
+ - `retry` {func} If you are using custom `LoadingErrorIndicator` for your ChannelList component, you can attach this function to CTA button
1000
+ to reload the ChannelList.
1001
+
1002
+ - Added retry mechanism to ChannelList's queryChannels api call. In case of failure, api will be retried 3 times (max) at the interval of 2 seconds.
1003
+
1004
+ ## [0.10.3] 2020-05-15
1005
+
1006
+ - Updating `stream-chat` to `1.10.1` in add [token refresh functionality](https://github.com/GetStream/stream-chat-js/blob/master/docs/userToken.md)
1007
+ - Disable longPress on Image gallery [f7aacb5](https://github.com/GetStream/stream-chat-react-native/commit/f7aacb5741e85811de37d5e3b550d2be539b89a4)
1008
+ - Fixing markdown issue [ac621f0](https://github.com/GetStream/stream-chat-react-native/commit/ac621f0eb1f6be7f0496b82ee425f3bc90c10839)
1009
+
1010
+ ## [0.10.2] 2020-04-29
1011
+
1012
+ - Fixing crashes in KeyboardCompatibleView and better handling of AppState changes
1013
+ - https://github.com/GetStream/stream-chat-react-native/pull/193
1014
+ - [84cf8f7](https://github.com/GetStream/stream-chat-react-native/commit/84cf8f772d454b471c0e9ad81a10acd219ba6be2)
1015
+
1016
+ - Fixes with message component [2d21b19](https://github.com/GetStream/stream-chat-react-native/commit/2d21b19ad3856f516efcc3c0a19c52f145f7fcec)
1017
+
1018
+ - Adding support for prop `additionalTouchableProps` in `MessageSimple` to allow adding additional prop to inner TouchableOpacity components
1019
+ - Same (additionalTouchableProps) prop gets forwarded to all inner components which has some touchable feedback attached such as Gallery, FileAttachment, etc
1020
+
1021
+ - Adding `setFlatListRef` function prop to ChannelList and MessageList to get access to ref to inner FlatList component [4c49373](https://github.com/GetStream/stream-chat-react-native/commit/4c4937334c10e71a918d360bf6c95daf74222b5b)
1022
+ - Fix for threadMessages in event handler for Channel component - [17f32df](https://github.com/GetStream/stream-chat-react-native/commit/17f32df69cb06237e9c5590a3745a3d557c56b1b)
1023
+ - Adding margin for very last MessageSystem [f4661d6](https://github.com/GetStream/stream-chat-react-native/commit/f4661d6ec842d6a1a797d01a5953125a7fb1f863)
1024
+ - Hiding AttachButton if both `hasImagePicker` and `hasFilePicker` props are false [7de46b5](https://github.com/GetStream/stream-chat-react-native/commit/7de46b55b7f431df4d957bf9502af370c6221782)
1025
+ - Fixing custom reactions [5deea55](https://github.com/GetStream/stream-chat-react-native/commit/5deea5529a0647f42e259185b547b24effc9c15f)
1026
+
1027
+
1028
+ ## [0.10.1] 2020-04-15
1029
+
1030
+ - Adding following theme keys [7ae43d4](https://github.com/GetStream/stream-chat-react-native/commit/7ae43d4d1788b14ee9cd7c6d0f3d6d49ac5ebdf5)
1031
+ - messageInput.suggestions.command.args
1032
+ - messageInput.suggestions.command.description
1033
+
1034
+ - Handling `channel.hidden` event in `ChannelList` component
1035
+ - Adding support for function prop `onChannelHide` on `ChannelList`
1036
+ - Avoid breaking markRead api call if channel is disconnected [a1cfd96](https://github.com/GetStream/stream-chat-react-native/commit/a1cfd96ebfcd2859164c60a0535abe8791f826ac)
1037
+ - Updating `stream-chat` version to `1.7.3`
1038
+ - Fixing the error: `[Unhandled promise rejection: TypeError: mimeType.startsWith is not a function. (In 'mimeType.startsWith('image/')', 'mimeType.startsWith' is undefined)]` [451b2a4](https://github.com/GetStream/stream-chat-react-native/commit/451b2a4e19ad202f5c5f428b369301ee312e0c3f)
1039
+
1040
+ ## [0.10.0] 2020-04-09
1041
+
1042
+ **All the changes are non-breaking**
1043
+
1044
+ - Adding support for custom UI component prop - `Input` to `MessageInput`. It allows shuffling of UI inside MessageInput
1045
+
1046
+ - Adding support for following UI component props to `MessageSimple`
1047
+
1048
+ - UrlPreview
1049
+ - Giphy
1050
+ - FileAttachment
1051
+ - FileAttachmentGroup
1052
+ - Card
1053
+ - CardHeader
1054
+ - CardCover
1055
+ - CardFooter
1056
+
1057
+ - Adding support for following UI component props to `Attachment`
1058
+
1059
+ - UrlPreview
1060
+ - Giphy
1061
+ - FileAttachment
1062
+ - FileAttachmentGroup
1063
+ - Card
1064
+ - CardHeader
1065
+ - CardCover
1066
+ - CardFooter
1067
+
1068
+ - Adding support for following UI component props to `Card`
1069
+
1070
+ - Header
1071
+ - Cover
1072
+ - Footer
1073
+
1074
+ - Adding following theme keys:
1075
+
1076
+ - `message.card.footer.title` (Text)
1077
+ - `message.card.footer.description` (Text)
1078
+ - `message.card.footer.link` (Text)
1079
+ - `message.card.footer.logo` (Image)
1080
+ - `iconSquare.container` (TouchableOpacity or View)
1081
+
1082
+ - Fixing typos in docs
1083
+ - Updating format of message date time to `LT` from `hh:ssA`, to allow i18n
1084
+ - Fixing pagination logic for ChannelList in case of duplicates
1085
+
1086
+ ## [0.9.2] 2020-04-04
1087
+
1088
+ **NOTE** Please make sure to use `stream-chat@^1.7.0`
1089
+
1090
+ - Fixing moderator, owner, admin checks for message actions [80dfb86](https://github.com/GetStream/stream-chat-react-native/commit/80dfb86ff7f07d1eb223be0c766eef991fb438db)
1091
+
1092
+ ## [0.9.1] 2020-04-02
1093
+
1094
+ - Adding support for following props on MessageInput component [c5ada59](https://github.com/GetStream/stream-chat-react-native/commit/c5ada5951a9528eaab7945bf4ed2e74b4c9724f2)
1095
+
1096
+ - onChangeText
1097
+ - initialValue
1098
+
1099
+ ## [0.9.0] 2020-04-02
1100
+
1101
+ - Disabling (disabling `TouchableOpacity` wrapper) `SendButton` if message is not valid (empty text and no attachments)
1102
+ - Syncing this `rc` with latest master (0.8.1)
1103
+ - Moving external expo dependencies to peerDependencies
1104
+ - Fixing issue with MessageStatus not showing up on mount [61388c3](https://github.com/GetStream/stream-chat-react-native/commit/61388c3ac4f80cf264bda3fc3a5fed2f7ede9761)
1105
+
1106
+ ### Prop changes to components (non-breaking)
1107
+
1108
+ - MessageSimple
1109
+
1110
+ **new props**
1111
+
1112
+ - `MessageReplies` UI component to override default `2 replies` text/component
1113
+ - `MessageHeader` UI component to add some content on top of message content (text, attachments)
1114
+ - `ReactionList` UI component to override default ReactionList component
1115
+ - `supportedReactions` Array of reactions which should be available or supported in reaction picker. [Example](https://github.com/GetStream/stream-chat-react-native/blob/vishal/docs-improvement/docs/cookbook.md#message-with-custom-reactions)
1116
+
1117
+ **deprecated props**
1118
+
1119
+ - `emojiDate` Please use supportedReactions instead
1120
+
1121
+ - MessageAvatar
1122
+
1123
+ **new props**
1124
+
1125
+ - `alignment` ('right' | 'left')
1126
+
1127
+ - MessageContent
1128
+
1129
+ **new props**
1130
+
1131
+ - All the new props to MessageSimple are available in MessageContent
1132
+ - `alignment` ('right' | 'left')
1133
+
1134
+ - ReactionPickerWrapper
1135
+
1136
+ In previous version, you could open reaction picker only after clicking/pressing `ReactionList`, which made it hard to change the
1137
+ functionality of `ReactionList` without copy pasting lots of code regarding opening of `ReactionPicker`. And also ReactionPicker
1138
+ logic was tightly coupled with MessageContent component (which meant added complexity)
1139
+ With ReactionPickerWrapper, we are taking out all the ReactionPicker related logic (setting the position of reaction picker
1140
+ at message which was touched) from MessageContent. So you can now add _open reaction picker on press_ functionality
1141
+ on any component that you wish. You just need to wrap your component with `ReactionPickerWrapper` component.
1142
+
1143
+ You can also adjust the relative position at which ReactionPicker opens up or shows up by altering `offset`
1144
+ prop on ReactionPickerWrapper.
1145
+
1146
+ Default value is:
1147
+
1148
+ ```
1149
+ {
1150
+ top: 40,
1151
+ left: 30,
1152
+ right: 10,
1153
+ }
1154
+ ```
1155
+
1156
+ NOTE: This component was present in repository in previous versions as well, but it was super buggy.
1157
+
1158
+ **TL;DR** Enables you to build custom ReactionList, on touch of which, ReactionPicker will open up
1159
+
1160
+ Please check this example from cookbook for details - https://github.com/GetStream/stream-chat-react-native/blob/vishal/docs-improvement/docs/cookbook.md#message-bubble-with-reactions-at-bottom-of-message
1161
+
1162
+ - Channel
1163
+
1164
+ - Update the component, when `channel` prop changes.
1165
+
1166
+
1167
+ ## [0.9.0-rc.3] 2020-04-02
1168
+
1169
+ - Fixing issue with MessageStatus not showing up on mount [61388c3](https://github.com/GetStream/stream-chat-react-native/commit/61388c3ac4f80cf264bda3fc3a5fed2f7ede9761)
1170
+
1171
+ ## [0.9.0-rc.2] 2020-04-02
1172
+
1173
+ - Moving external expo dependencies to peerDependencies
1174
+
1175
+ ## [0.9.0-rc.1] 2020-04-02
1176
+
1177
+ - Disabling (disabling `TouchableOpacity` wrapper) `SendButton` if message is not valid (empty text and no attachments)
1178
+ - Syncing this `rc` with latest master (0.8.1)
1179
+
1180
+ ## [0.8.1] 2020-04-01
1181
+
1182
+ - Disabling interactions with MessageList and MessageInput if channel is frozen. [2c4e1a2](https://github.com/GetStream/stream-chat-react-native/commit/2c4e1a2713825b861717e002da483c182e80213c)
1183
+ - Adding missing `style` to all our component in typescript [a2ac0b4](https://github.com/GetStream/stream-chat-react-native/commit/a2ac0b44882913db065e8099bd03a7b286255d47)
1184
+
1185
+ ## [0.9.0-rc.0] 2020-03-31
1186
+
1187
+ ### Non-breaking changes
1188
+
1189
+ - MessageSimple
1190
+
1191
+ **new props**
1192
+
1193
+ - `MessageReplies` UI component to override default `2 replies` text/component
1194
+ - `MessageHeader` UI component to add some content on top of message content (text, attachments)
1195
+ - `ReactionList` UI component to override default ReactionList component
1196
+ - `supportedReactions` Array of reactions which should be available or supported in reaction picker. [Example](https://github.com/GetStream/stream-chat-react-native/blob/vishal/docs-improvement/docs/cookbook.md#message-with-custom-reactions)
1197
+
1198
+ **deprecated props**
1199
+
1200
+ - `emojiDate` Please use supportedReactions instead
1201
+
1202
+ - MessageAvatar
1203
+
1204
+ **new props**
1205
+
1206
+ - `alignment` ('right' | 'left')
1207
+
1208
+ - MessageContent
1209
+
1210
+ **new props**
1211
+
1212
+ - All the new props to MessageSimple are available in MessageContent
1213
+ - `alignment` ('right' | 'left')
1214
+
1215
+ - ReactionPickerWrapper
1216
+
1217
+ In previous version, you could open reaction picker only after clicking/pressing `ReactionList`, which made it hard to change the
1218
+ functionality of `ReactionList` without copy pasting lots of code regarding opening of `ReactionPicker`. And also ReactionPicker
1219
+ logic was tightly coupled with MessageContent component (which meant added complexity)
1220
+ With ReactionPickerWrapper, we are taking out all the ReactionPicker related logic (setting the position of reaction picker
1221
+ at message which was touched) from MessageContent. So you can now add _open reaction picker on press_ functionality
1222
+ on any component that you wish. You just need to wrap your component with `ReactionPickerWrapper` component.
1223
+
1224
+ You can also adjust the relative position at which ReactionPicker opens up or shows up by altering `offset`
1225
+ prop on ReactionPickerWrapper.
1226
+
1227
+ Default value is:
1228
+
1229
+ ```
1230
+ {
1231
+ top: 40,
1232
+ left: 30,
1233
+ right: 10,
1234
+ }
1235
+ ```
1236
+
1237
+ NOTE: This component was present in repository in previous versions as well, but it was super buggy.
1238
+
1239
+ **TL;DR** Enables you to build custom ReactionList, on touch of which, ReactionPicker will open up
1240
+
1241
+ Please check this example from cookbook for details - https://github.com/GetStream/stream-chat-react-native/blob/vishal/docs-improvement/docs/cookbook.md#message-bubble-with-reactions-at-bottom-of-message
1242
+
1243
+ - Channel
1244
+
1245
+ - Update the component, when `channel` prop changes.
1246
+
1247
+ ## [0.8.0] 2020-03-30
1248
+
1249
+ - Replacing momentjs with dayjs
1250
+ - [8294baf](https://github.com/GetStream/stream-chat-react-native/commit/8294bafcdfcb6078cd8f3a18690da70aa5b93539)
1251
+ - [a81e69e](https://github.com/GetStream/stream-chat-react-native/commit/a81e69ef18d0ad8c2257a52ca3c14fb168fdc577)
1252
+ - [0a119bd](https://github.com/GetStream/stream-chat-react-native/commit/0a119bde5b9105448aa1fadc605e778099fa02ce)
1253
+ - Changes to `Streami18n` constructor options:
1254
+ - **Breaking change:** replacing `momentLocaleConfigForLanguage` with `dayjsLocaleConfigForLanguage`
1255
+ - deprecating `Moment`. Instead use `DateTimeParser`
1256
+ - Updating `stream-chat` to `1.6.0` [b62fa95](https://github.com/GetStream/stream-chat-react-native/commit/b62fa9542bc82192a4ffc7a9e9bf61b52155c932)
1257
+ - Avoid showing empty cover if image url is empty [ddbbadb](https://github.com/GetStream/stream-chat-react-native/commit/ddbbadba8f125cca6196495ceaf5d9442afb4fdb)
1258
+ - Subscribing ChannelList to `user.updated` event [7ea6110](https://github.com/GetStream/stream-chat-react-native/commit/7ea6110c0238319833033e39356b7b2055164ea2)
1259
+ - Fixing channel.updated and channel.deleted event handler to not break if channel is not in list [1404860](https://github.com/GetStream/stream-chat-react-native/commit/140486018f8eecf17d2bea27bdc65f26360aa016)
1260
+
1261
+ ## [0.7.2] 2020-03-20
1262
+
1263
+ - Extending style support for `TypingIndicator` component, [5874b73](https://github.com/GetStream/stream-chat-react-native/commit/5874b7368890fd1de5247b521381f3e076201fec)
1264
+ - Added styling support for editing box of `MessageInput`. [2968684](https://github.com/GetStream/stream-chat-react-native/commit/2968684d459bbeeb16bf836c0de731eda5807aaf)
1265
+ - Adding prop `doMarkReadRequest` to Channel component, to override markRead api call. [1afda94](https://github.com/GetStream/stream-chat-react-native/commit/1afda948360eb80a4af763111b5bb4de86744f25)
1266
+ - Adding boolean prop `hideReactionCount` and `hideReactionOwners` in `MessageSimple` component. [3814266](https://github.com/GetStream/stream-chat-react-native/commit/38142667fb3290b4c81495a5a92fbfda7856bfe4)
1267
+ - `MessageInput` and `MessageList` component as prop in `Thread` component. [db97289](https://github.com/GetStream/stream-chat-react-native/commit/db97289f7f79c055816cfdc6377b590076e178ee)
1268
+ - Disabling keyboard listeners when app goes to background [8a372e6](https://github.com/GetStream/stream-chat-react-native/commit/8a372e62f56cdd9389d73dfc4ab5ba8d5077a37e)
1269
+ - Dismiss keyboard when opening action sheet. [bb12a55](https://github.com/GetStream/stream-chat-react-native/commit/bb12a55c9125c6168289f642f10d0340ea3b3abe)
1270
+ - Disable escaping in translator function. [a5118dc](https://github.com/GetStream/stream-chat-react-native/commit/a5118dc9606878242de3a2c9015a88fc6ccd7021)
1271
+ - Allow moderator to edit/delete message. [44165f6](https://github.com/GetStream/stream-chat-react-native/commit/44165f677d5883ab53c908a615bbd914ccb9401b)
1272
+
1273
+ ## [0.7.1] 2020-03-18
1274
+
1275
+ - Adding support for custom moment object in Streami18n class [7557c70](https://github.com/GetStream/stream-chat-react-native/commit/7557c70687181d40db3f6f0dda7ddf86c063abd5)
1276
+
1277
+ ## [0.7.0] 2020-03-17
1278
+
1279
+ - Introducing internationalization (i18n) support for the sdk https://github.com/GetStream/stream-chat-react-native/blob/master/package/src/components/docs/Streami18n.md
1280
+
1281
+ ## [0.6.6] 2020-02-20
1282
+
1283
+ - Adding following props to KeyboardCompatibleView component [6650109](https://github.com/GetStream/stream-chat-react-native/commit/6650109669cdd13c3b2a5bc59cc235d7a2796b3e)
1284
+
1285
+ - keyboardDismissAnimationDuration
1286
+ - keyboardOpenAnimationDuration
1287
+ - enabled
1288
+
1289
+ - Adding following props to Channel component [6650109](https://github.com/GetStream/stream-chat-react-native/commit/6650109669cdd13c3b2a5bc59cc235d7a2796b3e)
1290
+
1291
+ - KeyboardCompatibleView
1292
+ - disableKeyboardCompatibleView
1293
+
1294
+ - Fixing title of send button [0990cb5](https://github.com/GetStream/stream-chat-react-native/commit/0990cb55982d7233d617950c5d6a679f9c13f133)
1295
+
1296
+ - Fixing channel preview avatar for one-on-one conversation [790b0b9](https://github.com/GetStream/stream-chat-react-native/commit/790b0b91b6cbb9d4d16bfa15b5b3fa42015381bc)
1297
+
1298
+ - Fixing types for context providers - [dc40c8a](https://github.com/GetStream/stream-chat-react-native/commit/dc40c8a92d0f9bc8244d5c211afdbf3064521a68)
1299
+
1300
+ ## [0.6.5] 2020-02-04
1301
+
1302
+ - Adding a simple check to see if lastReceivedId has changed, before updating the state - to avoid infinite loop [3da5e4a](https://github.com/GetStream/stream-chat-react-native/commit/3da5e4a2a8fb6db0f86a031102e0d5b6cd5197cc)
1303
+
1304
+ ## [0.6.4] 2020-02-04
1305
+
1306
+ - Fixing image index for Image viewer ([d16e86c](https://github.com/GetStream/stream-chat-react-native/commit/d16e86c555e2fb0d65a882fa7434b24a22e50d70))
1307
+
1308
+ Issue - if attachment gallery, when you click/touch on 1st photo, it opens image viewer at 1st photo. But if you touch 2nd photo, it still opens image viewer at first photo.
1309
+
1310
+ ## [0.6.3] 2020-01-29
1311
+
1312
+ - Adding support for prop `formatLatestMessageDate` in `ChannelPreviewMessenger` component ([9a8d9a3](https://github.com/GetStream/stream-chat-react-native/commit/9a8d9a3ca57fbc9474e24d60928fe92d377cb728))
1313
+ - Adding support for prop `latestMessageLength` in `ChannelPreviewMessenger` component ([ef5b887](https://github.com/GetStream/stream-chat-react-native/commit/ef5b887b075d0a7dba60772dbffa95303a96193f))
1314
+ - Adding types for `SendButton` to typescript file ([ad5c728](https://github.com/GetStream/stream-chat-react-native/commit/ad5c728bdea1929d0d6d39802efdf94a41eb4b0d))
1315
+ - Fixing date issue in `MessageSystem` component. ([35c18e3](https://github.com/GetStream/stream-chat-react-native/commit/35c18e3da0503f152d8caec9011d9d2132529661))
1316
+ - Adding prop for AttachButton to MessageInput ([600b1d2](https://github.com/GetStream/stream-chat-react-native/commit/600b1d28d87e837de7f1249880bb436065277e0f))
1317
+ - Adding prop `formatDate` to `MessageSimple` component ([c3cfdf6](https://github.com/GetStream/stream-chat-react-native/commit/c3cfdf67b7887f7bb171f21daf1ed980da21f44b))
1318
+ - Adding style and text customization to LoadingIndicator ([232241c](https://github.com/GetStream/stream-chat-react-native/commit/232241c1b84a7cf9f6729039e8e1a404e092818e))
1319
+
1320
+ ## [0.6.2] 2020-01-20
1321
+
1322
+ - Added support for following props to `Channel` component:
1323
+ 1. doSendMessageRequest [c75be29](https://github.com/GetStream/stream-chat-react-native/commit/c75be290cbe4a44e84b10652615e3c21215353e6)
1324
+ 2. doUpdateMessageRequest [7227c19](https://github.com/GetStream/stream-chat-react-native/commit/7227c1992148f8bf4cfd2871a09a8aa4acf889bb)
1325
+
1326
+ ## [0.6.1] 2020-01-14
1327
+
1328
+ - When you change the filters prop on the ChannelList component this now we will refresh the channels with the new query
1329
+
1330
+ ## [0.6.0] 2020-01-07
1331
+
1332
+ - Exporting all the missing components and utils
1333
+ - AutoCompleteInput
1334
+ - Card
1335
+ - CommandsItem
1336
+ - DateSeparator
1337
+ - EmptyStateIndicator
1338
+ - EventIndicator
1339
+ - FileAttachmentGroup
1340
+ - FileUploadPreview
1341
+ - Gallery
1342
+ - IconSquare
1343
+ - ImageUploadPreview
1344
+ - KeyboardCompatibleView
1345
+ - LoadingErrorIndicator
1346
+ - LoadingIndicator
1347
+ - MentionsItem
1348
+ - Message
1349
+ - MessageNotification
1350
+ - MessageSystem
1351
+ - ReactionList
1352
+ - Spinner
1353
+ - SuggestionsProvider
1354
+ - UploadProgressIndicator
1355
+ - Refining prop-types and typescript types for components.
1356
+ - Fixed issue about app crash when document picker is cancelled - [#110](https://github.com/GetStream/stream-chat-react-native/issues/110)
1357
+ - Adding `onPress` and `onLongPress` props on `MessageSimple` component
1358
+ - Fixes issue [#108](https://github.com/GetStream/stream-chat-react-native/issues/108)
1359
+ - commit [9e3064d](https://github.com/GetStream/stream-chat-react-native/commit/8ffde0010a6e8a4a61c47063570350849fd995f4)
1360
+ - Fixing theme paths for MessageNotification component.
1361
+
1362
+ #### Breaking Change
1363
+
1364
+ - Replacing theme path `messageList.messageNotificationText` with `messageList.messageNotification.text` ([#3593dfb](https://github.com/GetStream/stream-chat-react-native/commit/9ad366562996edaef09b66bbee4eb657a99fb89e#diff-bff2172a77e0b6357dc54230974c9a61))
1365
+ - Replacing theme path `messageList.messageNotification` with `messageList.messageNotification.container` ([#3593dfb](https://github.com/GetStream/stream-chat-react-native/commit/9ad366562996edaef09b66bbee4eb657a99fb89e#diff-bff2172a77e0b6357dc54230974c9a61))
1366
+
1367
+ ## [0.5.1] 2019-12-23
1368
+
1369
+ #### stream-chat-expo (Expo package)
1370
+
1371
+ - Adding support for following props
1372
+ - `additionalParentMessageProps`
1373
+ - `additionalMessageListProps`
1374
+ - `additionalMessageInputProps`
1375
+ - Adding missing types for prop `additionalFlatListProps` in MessageList and ChannelList
1376
+
1377
+ #### stream-chat-react-native (Native package)
1378
+
1379
+ - Adding support for following props
1380
+ - `additionalParentMessageProps`
1381
+ - `additionalMessageListProps`
1382
+ - `additionalMessageInputProps`
1383
+ - Adding missing types for prop `additionalFlatListProps` in MessageList and ChannelList
1384
+
1385
+ ## [0.5.0] 2019-12-23
1386
+
1387
+ #### stream-chat-expo (Expo package)
1388
+
1389
+ - Changes to add compatibility for Expo 36. Adding [netinfo](https://github.com/react-native-community/react-native-netinfo) as peer dependency - https://github.com/GetStream/stream-chat-react-native/issues/97
1390
+ - Disabling the long press on image viewer (in Attachment) - https://github.com/GetStream/stream-chat-react-native/issues/100 to avoid freezing of UI.
1391
+ - Fixing broken threads issue
1392
+ - Support for `additionalFlatListProps` prop in `MessageList` and `ChannelList` component
1393
+ - Changing prop-type for component type props to `elementType` instead of `func`
1394
+
1395
+ #### stream-chat-react-native (Native package)
1396
+
1397
+ - Disabling the long press on image viewer (in Attachment) - https://github.com/GetStream/stream-chat-react-native/issues/100 to avoid freezing of UI.
1398
+ - Fixing broken threads issue
1399
+ - Support for `additionalFlatListProps` prop in `MessageList` and `ChannelList` component
1400
+ - Changing prop-type for component type props to `elementType` instead of `func`
1401
+
1402
+ ## [0.4.0] 2019-12-16
1403
+
1404
+ - Adding support for customizing markdown styles - https://github.com/GetStream/stream-chat-react-native/pull/99/files#diff-ede54911d9164ea37e65e92f2e18cb91R56
1405
+ - Removing `text` property theme with `textContainer`.
1406
+
1407
+ ## [0.3.12] 2019-12-03
1408
+
1409
+ - Adding support for `onChannelTruncated` prop to ChannelList
1410
+ - Updating channel from channel list once `channel.truncated` event is received
1411
+ - Fixed image picker for native package and examples
1412
+
1413
+ ## [0.3.11] 2019-12-02
1414
+
1415
+ - Adding support for `onChannelDeleted` prop to ChannelList
1416
+ - Removing channel from channel list once `channel.deleted` event is received
1417
+
1418
+ ## [0.3.10] 2019-11-28
1419
+
1420
+ - Adding strict string type check for channel name
1421
+ - Updated example apps
1422
+ - Updated readme doc
1423
+
1424
+ ## [0.3.9] 2019-11-20
1425
+
1426
+ - Showing TypingIndicatorContainer only when necessary
1427
+
1428
+ ## [0.3.8] 2019-11-06
1429
+
1430
+ - Adding logs to Chat, ChannelList and Channel component
1431
+ - Optimizing MessageList and ChannelList component - https://github.com/GetStream/stream-chat-react-native/pull/84
1432
+
1433
+ ## [0.3.7] 2019-11-04
1434
+
1435
+ - Adding support for `AttachmentFileIcon` prop.
1436
+
1437
+ ## [0.3.6] 2019-11-04
1438
+
1439
+ - Adding support for `actionSheetStyles` prop, so as to add more customization for styles of action sheet.
1440
+
1441
+ ## [0.3.5] 2019-10-28
1442
+
1443
+ - Fixing some styles for action sheet in MessageSimple component.
1444
+
1445
+ ## [0.3.4] 2019-10-03
1446
+
1447
+ - Avoiding query channel api call when there are no more messages to render
1448
+ - Making markRead api call only if unread count is > 0
1449
+
1450
+ ## [0.3.3] 2019-10-02
1451
+
1452
+ - Making empty value of `typing` object - immutable
1453
+ - Adding support for `SendButton` UI component prop
1454
+
1455
+ ## [0.3.2] 2019-10-01
1456
+
1457
+ - Fixing bug in themed HOC
1458
+
1459
+ ## [0.3.1] 2019-09-30
1460
+
1461
+ - Adding typescript declaration file for expo and native package
1462
+
1463
+ ## [0.3.0] 2019-09-30
1464
+
1465
+ - Adding typescript declaration file
1466
+ - Adding style customization support for action sheet
1467
+
1468
+ ## [0.2.6] 2019-09-23
1469
+
1470
+ - Fixing expo package for NetInfo changes
1471
+
1472
+ ## [0.2.5] 2019-09-23
1473
+
1474
+ - Fixing deprecated warnings coming from NetInfo library
1475
+ - Adding onMessageTouch and dismissKeyboardOnMessageTouch prop for MessageList component
1476
+ - Fixing style issue (background color) of MessageText component, introduced in 0.2.4
1477
+
1478
+ ## [0.2.4] 2019-09-13
1479
+
1480
+ - Fixing bug in theme logic
1481
+ - Adding ability to customize more the MessageSimple component
1482
+
1483
+ ## [0.2.3] 2019-09-09
1484
+
1485
+ - Fixing pagination issue when oldest message is not received yet
1486
+
1487
+ ## [0.2.2] 2019-09-06
1488
+
1489
+ - Updated example two to react native 0.60
1490
+ - Fixing UX for image/file picker - closing keyboard when you open file/image picker action sheet
1491
+
1492
+ ## [0.2.1] 2019-09-02
1493
+
1494
+ - Making sdk compatible with Expo 33 and 34
1495
+
1496
+ ## [0.2.0] 2019-08-26
1497
+
1498
+ - Making sdk compatible with react native 0.60
1499
+
1500
+ ## [0.1.19] 2019-08-26
1501
+
1502
+ - Updating ChannelPreviewMessenger component to show other member's name as channel title if channel has no explicate name in channel.data
1503
+
1504
+ ## [0.1.18] 2019-08-12
1505
+
1506
+ - Fixing keyboard compatible view for android. Status bar height was not taken into account while calculating the height of channel after opening keyboard.
1507
+
1508
+ ## [0.1.17] 2019-08-08
1509
+
1510
+ - Fixing prop to override Attachment UI component
1511
+
1512
+ ## [0.1.16] 2019-08-07
1513
+
1514
+ - Attachment for URL preview were broken. Fixed.
1515
+
1516
+ ## [0.1.15] 2019-07-18
1517
+
1518
+ - Adding prop function `onChannelUpdated` as callback for event `channel.updated`
1519
+ - Bug fix - Channel list component doesn't update when custom data on channel is updated.