-
Adding following theme keys 7ae43d4
- messageInput.suggestions.command.args
- messageInput.suggestions.command.description
-
Handling
channel.hidden
event inChannelList
component -
Adding support for function prop
onChannelHidde
onChannelList
-
Avoid breaking markRead api call if channel is disconnected a1cfd96
-
Updating
stream-chat
version to1.7.3
-
Fixing the error:
[Unhandled promise rejection: TypeError: mimeType.startsWith is not a function. (In 'mimeType.startsWith('image/')', 'mimeType.startsWith' is undefined)]
451b2a4
All the changes are non-breaking
-
Adding support for custom UI component prop -
Input
toMessageInput
. It allows shuffling of UI inside MessageInput -
Adding support for following UI component props to
MessageSimple
- UrlPreview
- Giphy
- FileAttachment
- FileAttachmentGroup
- Card
- CardHeader
- CardCover
- CardFooter
-
Adding support for following UI component props to
Attachment
- UrlPreview
- Giphy
- FileAttachment
- FileAttachmentGroup
- Card
- CardHeader
- CardCover
- CardFooter
-
Adding support for following UI component props to
Card
- Header
- Cover
- Footer
-
Adding following theme keys:
message.card.footer.title
(Text)message.card.footer.description
(Text)message.card.footer.link
(Text)message.card.footer.logo
(Image)iconSquare.container
(TouchableOpacity or View)
-
Fixing typos in docs
-
Updating format of message date time to
LT
fromhh:ssA
, to allow i18n -
Fixing pagination logic for ChannelList in case of duplicates
NOTE Please make sure to use stream-chat@^1.7.0
- Fixing moderator, owner, admin checks for message actions 80dfb86
-
Adding support for following props on MessageInput component c5ada59
- onChangeText
- initialValue
- Disabling (disabling
TouchableOpacity
wrapper)SendButton
if message is not valid (empty text and no attachments) - Syncing this
rc
with latest master (0.8.1) - Moving external expo dependencies to peerDependencies
- Fixing issue with MessageStatus not showing up on mount 61388c3
-
MessageSimple
new props
MessageReplies
UI component to override default2 replies
text/componentMessageHeader
UI component to add some content on top of message content (text, attachments)ReactionList
UI component to override default ReactionList componentsupportedReactions
Array of reactions which should be available or supported in reaction picker. Example
deprecated props
emojiDate
Please use supportedReactions instead
-
MessageAvatar
new props
alignment
('right' | 'left')
-
MessageContent
new props
- All the new props to MessageSimple are available in MessageContent
alignment
('right' | 'left')
-
ReactionPickerWrapper
In previous version, you could open reaction picker only after clicking/pressing
ReactionList
, which made it hard to change the functionality ofReactionList
without copy pasting lots of code regarding opening ofReactionPicker
. And also ReactionPicker logic was tightly coupled with MessageContent component (which meant added complexity) With ReactionPickerWrapper, we are taking out all the ReactionPicker related logic (setting the position of reaction picker at message which was touched) from MessageContent. So you can now add open reaction picker on press functionality on any component that you wish. You just need to wrap your component withReactionPickerWrapper
component.You can also adjust the relative position at which ReactionPicker opens up or shows up by altering
offset
prop on ReactionPickerWrapper.Default value is:
{ top: 40, left: 30, right: 10, }
NOTE: This component was present in repository in previous versions as well, but it was super buggy.
TL;DR Enables you to build custom ReactionList, on touch of which, ReactionPicker will open up
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
-
Channel
- Update the component, when
channel
prop changes.
- Update the component, when
- Fixing issue with MessageStatus not showing up on mount 61388c3
- Moving external expo dependencies to peerDependencies
- Disabling (disabling
TouchableOpacity
wrapper)SendButton
if message is not valid (empty text and no attachments) - Syncing this
rc
with latest master (0.8.1)
- Disabling interactions with MessageList and MessageInput if channel is frozen. 2c4e1a2
- Adding missing
style
to all our component in typescript a2ac0b4
-
MessageSimple
new props
MessageReplies
UI component to override default2 replies
text/componentMessageHeader
UI component to add some content on top of message content (text, attachments)ReactionList
UI component to override default ReactionList componentsupportedReactions
Array of reactions which should be available or supported in reaction picker. Example
deprecated props
emojiDate
Please use supportedReactions instead
-
MessageAvatar
new props
alignment
('right' | 'left')
-
MessageContent
new props
- All the new props to MessageSimple are available in MessageContent
alignment
('right' | 'left')
-
ReactionPickerWrapper
In previous version, you could open reaction picker only after clicking/pressing
ReactionList
, which made it hard to change the functionality ofReactionList
without copy pasting lots of code regarding opening ofReactionPicker
. And also ReactionPicker logic was tightly coupled with MessageContent component (which meant added complexity) With ReactionPickerWrapper, we are taking out all the ReactionPicker related logic (setting the position of reaction picker at message which was touched) from MessageContent. So you can now add open reaction picker on press functionality on any component that you wish. You just need to wrap your component withReactionPickerWrapper
component.You can also adjust the relative position at which ReactionPicker opens up or shows up by altering
offset
prop on ReactionPickerWrapper.Default value is:
{ top: 40, left: 30, right: 10, }
NOTE: This component was present in repository in previous versions as well, but it was super buggy.
TL;DR Enables you to build custom ReactionList, on touch of which, ReactionPicker will open up
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
-
Channel
- Update the component, when
channel
prop changes.
- Update the component, when
- Replacing momentjs with dayjs
- Changes to
Streami18n
constructor options:- Breaking change: replacing
momentLocaleConfigForLanguage
withdayjsLocaleConfigForLanguage
- deprecating
Moment
. Instead useDateTimeParser
- Breaking change: replacing
- Updating
stream-chat
to1.6.0
b62fa95 - Avoid showing empty cover if image url is empty ddbbadb
- Subscribing ChannelList to
user.updated
event 7ea6110 - Fixing channel.updated and channel.deleted event handler to not break if channel is not in list 1404860
- Extending style support for
TypingIndicator
component, 5874b73 - Added styling support for editing box of
MessageInput
. 2968684 - Adding prop
doMarkReadRequest
to Channel component, to override markRead api call. 1afda94 - Adding boolean prop
hideReactionCount
andhideReactionOwners
inMessageSimple
component. 3814266 MessageInput
andMessageList
component as prop inThread
component. db97289- Disabling keyboard listeners when app goes to background 8a372e6
- Dismiss keyboard when opening actionsheet. bb12a55
- Disable escaping in translator function. a5118dc
- Allow moderator to edit/delete message. 44165f6
- Adding support for custom moment object in Streami18n class 7557c70
- Introducing internationalisation (i18n) support for the sdk https://github.com/GetStream/stream-chat-react-native/blob/master/src/components/docs/Streami18n.md
-
Adding following props to KeyboardCompatibleView component 6650109
- keyboardDismissAnimationDuration
- keyboardOpenAnimationDuration
- enabled
-
Adding following props to Channel component 6650109
- KeyboardCompatibleView
- disableKeyboardCompatibleView
-
Fixing title of send button 0990cb5
-
Fixing channel preview avatar for one-on-one conversation 790b0b9
-
Fixing types for context providers - dc40c8a
- Adding a simple check to see if lastReceivedId has changed, before updating the state - to avoid infinite loop 3da5e4a
-
Fixing image index for Image viewer (d16e86c)
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.
- Adding support for prop
formatLatestMessageDate
inChannelPreviewMessenger
component (9a8d9a3) - Adding support for prop
latestMessageLength
inChannelPreviewMessenger
component (ef5b887) - Adding types for
SendButton
to typescript file (ad5c728) - Fixing date issue in
MessageSystem
component. (35c18e3) - Adding prop for AttachButton to MessageInput (600b1d2)
- Adding prop
formatDate
toMessageSimple
component (c3cfdf6) - Adding style and text customizability to LoadingIndicator (232241c)
- Added support for following props to
Channel
component:
- When you change the filters prop on the ChannelList component this now we will refresh the channels with the new query
- Exporting all the missing components and utils
- AutoCompleteInput
- Card
- CommandsItem
- DateSeparator
- EmptyStateIndicator
- EventIndicator
- FileAttachmentGroup
- FileUploadPreview
- Gallery
- IconSquare
- ImageUploadPreview
- KeyboardCompatibleView
- LoadingErrorIndicator
- LoadingIndicator
- MentionsItem
- Message
- MessageNotification
- MessageSystem
- ReactionList
- Spinner
- SuggestionsProvider
- UploadProgressIndicator
- Refining prop-types and typescript types for components.
- Fixed issue about app crash when document picker is cancelled - #110
- Adding
onPress
andonLongPress
props onMessageSimple
component - Fixing theme paths for MessageNotification component.
- Replacing theme path
messageList.messageNotificationText
withmessageList.messageNotification.text
(#3593dfb) - Replacing theme path
messageList.messageNotification
withmessageList.messageNotification.container
(#3593dfb)
- Adding support for following props
additionalParentMessageProps
additionalMessageListProps
additionalMessageInputProps
- Adding missing types for prop
additionalFlatListProps
in MessageList and ChannelList
- Adding support for following props
additionalParentMessageProps
additionalMessageListProps
additionalMessageInputProps
- Adding missing types for prop
additionalFlatListProps
in MessageList and ChannelList
- Changes to add compatibility for Expo 36. Adding netinfo as peer dependency - GetStream#97
- Disabling the longpress on image viewer (in Attachment) - GetStream#100 to avoid freezing of UI.
- Fixing broken threads issue
- Support for
additionalFlatListProps
prop inMessageList
andChannelList
component - Changing proptype for component type props to
elementType
instead offunc
- Disabling the longpress on image viewer (in Attachment) - GetStream#100 to avoid freezing of UI.
- Fixing broken threads issue
- Support for
additionalFlatListProps
prop inMessageList
andChannelList
component - Changing proptype for component type props to
elementType
instead offunc
- Adding support for customizing markdown styles - https://github.com/GetStream/stream-chat-react-native/pull/99/files#diff-ede54911d9164ea37e65e92f2e18cb91R56
- Removing
text
property theme withtextContainer
.
- Adding support for
onChannelTruncated
prop to ChannelList - Updating channel from channel list once
channel.truncated
event is received - Fixed image picker for native package and examples
- Adding support for
onChannelDeleted
prop to ChannelList - Removing channel from channel list once
channel.deleted
event is received
- Adding strict string type check for channel name
- Updated example apps
- Updated readme doc
- Showing TypingIndicatorContainer only when necessary
- Adding logs to Chat, ChannelList and Channel component
- Optimizing MessageList and ChannelList component - GetStream#84
- Adding support for
AttachmentFileIcon
prop.
- Adding support for
actionSheetStyles
prop, so as to add more customizability for styles of actionsheet.
- Fixing some styles for actionsheet in MessageSimple component.
- Avoiding query channel api call when there are no more messages to render
- Making markRead api call only if unread count is > 0
- Making empty value of
typing
object - immutable - Adding support for
SendButton
UI component prop
- Fixing bug in themed HOC
- Adding typescript declaration file for expo and native package
- Adding typescript declaration file
- Adding style customization support for actionsheet
- Fixing expo package for NetInfo changes
- Fixing deprecated warnings coming from NetInfo library
- Adding onMessageTouch and dismissKeyboardOnMessageTouch prop for MessageList component
- Fixing style issue (background color) of MessageText component, introduced in 0.2.4
- Fixing bug in theme logic
- Adding ability to customize more the MessageSimple component
- Fixing pagination issue when oldest message is not received yet
- Updated example two to react native 0.60
- Fixing UX for image/file picker - closing keyboard when you open file/image picker actionsheet
- Making sdk compatible with Expo 33 and 34
- Making sdk compatible with react native 0.60
- Updating ChannelPreviewMessenger component to show other member's name as channel title if channel has no explicate name in channel.data
- Fixing keyboard compatible view for android. Status bar height was not taken into account while calculating the height of channel after opening keyboard.
- Fixing prop to override Attachment UI component
- Attachment for URL preview were broken. Fixed.
- Adding prop function
onChannelUpdated
as callback for eventchannel.updated
- Bug fix - Channel list component doesn't update when custom data on channel is updated.