Skip to content

Releases: GetStream/stream-chat-react-native

[2.1.1] 2020-12-21

21 Dec 12:29
Compare
Choose a tag to compare
  • Fixed broken mentions autocomplete feature for channels with more than 100 members. #457
  • Added a new prop autocompleteSuggestionsLimit on MessageInput - Max number of suggestions to display in list. Defaults to 10.

[2.1.0] 2020-12-07

07 Dec 17:36
Compare
Choose a tag to compare

Dependency changes

Fixes

  • Fixed plenty of issues around reload/refresh of channellist upon failures.
  • Fixing retry message functionality 7a423f7
  • #429

New Props:

[2.0.2] 2020-11-16

16 Nov 11:05
Compare
Choose a tag to compare
  • Fixing issue - when you cancel 'edit message' flow, input box attachments don't get cleared 425db22

  • Adding reload behaviour on error indicator on messagelist

[2.0.1] 2020-11-16

16 Nov 09:53
Compare
Choose a tag to compare
  • Fixed issue - When you edit a message which has image attachments, images disappear from message - 68c0acb
  • Fixed maxFiles param on image picker and file picker by taking into account already selected number of attachments - 176f675

[2.0.0] 2020-10-29

29 Oct 15:18
Compare
Choose a tag to compare

Please check Upgrade Docs for upgrading from 0.x.x to 2.x.x

BREAKING CHANGES

Typescript

This library has been moved to full typescript. Please check Typescript doc for details

Component prop changes

Channel

  • add additionalKeyboardAvoidingViewProps prop to allow custom keyboard props

ChannelListMessenger

  • remove setActiveChannel prop

ChannelPreviewMessenger

  • renamed the latestMessage prop to latestMessagePreview. This name change is more semantic to what the prop does and reduces confusion with the lastMessage prop

MessageContent

  • removed retrySendMessage prop in favor of retrySendMessage within MessagesContext

MessageInput

  • remove parent prop to parent_id as it needs to be just an id string instead of the entire parent object
  • add setInputRef prop to actually allow forwarding of the TextInput ref controls

MessageSystem

  • add formatDate prop to allow custom date formatting

ChannelContext

  • 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:

    • ChannelContext:

      • channel
      • disabled
      • EmptyStateIndicator
      • error
      • eventHistory
      • lastRead
      • loading
      • LoadingIndicator
      • markRead
      • members
      • read
      • setLastRead
      • typing
      • watcherCount
      • watchers
    • MessagesContext

      • Attachment
      • clearEditingState
      • editing
      • editMessage
      • emojiData
      • hasMore
      • loadingMore
      • loadMore
      • Message
      • messages
      • removeMessage
      • retrySendMessage
      • sendMessage
      • setEditingState
      • updateMessage
    • ThreadContext

      • closeThread
      • loadMoreThread
      • openThread
      • thread
      • threadHasMore
      • threadLoadingMore
      • threadMessages
  • 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();).

[1.3.5] 2020-10-27

27 Oct 08:58
Compare
Choose a tag to compare

[2.0.0-beta.0] 2020-10-14

15 Oct 11:33
Compare
Choose a tag to compare
Pre-release

Upgrade

Please check Upgrade Docs for complete summary of upgrading from 0.x.x to 2.x.x

Changelog

BREAKING CHANGES

Typescript

This library has been moved to full typescript. Please check Typescript doc for details

Component prop changes

Channel

  • add additionalKeyboardAvoidingViewProps prop to allow custom keyboard props

ChannelListMessenger

  • remove setActiveChannel prop

ChannelPreviewMessenger

  • renamed the latestMessage prop to latestMessagePreview. This name change is more semantic to what the prop does and reduces confusion with the lastMessage prop

MessageContent

  • removed retrySendMessage prop in favor of retrySendMessage within MessagesContext

MessageInput

  • remove parent prop to parent_id as it needs to be just an id string instead of the entire parent object
  • add setInputRef prop to actually allow forwarding of the TextInput ref controls

MessageSystem

  • add formatDate prop to allow custom date formatting

ChannelContext

  • 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:

    • ChannelContext:

      • channel
      • disabled
      • EmptyStateIndicator
      • error
      • eventHistory
      • lastRead
      • loading
      • LoadingIndicator
      • markRead
      • members
      • read
      • setLastRead
      • typing
      • watcherCount
      • watchers
    • MessagesContext

      • Attachment
      • clearEditingState
      • editing
      • editMessage
      • emojiData
      • hasMore
      • loadingMore
      • loadMore
      • Message
      • messages
      • removeMessage
      • retrySendMessage
      • sendMessage
      • setEditingState
      • updateMessage
    • ThreadContext

      • closeThread
      • loadMoreThread
      • openThread
      • thread
      • threadHasMore
      • threadLoadingMore
      • threadMessages
  • 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();).

[1.3.4] 2020-10-13

15 Oct 10:55
Compare
Choose a tag to compare
  • Fixing keyboard glitch functionality for android a7f94b9

[1.3.3] 2020-10-05

15 Oct 10:54
Compare
Choose a tag to compare
  • Fixing retry upload functionality e89b87f

[1.3.2] 2020-10-02

02 Oct 08:41
Compare
Choose a tag to compare
  • 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

  • Exported IconBadge and IconSquare components, to fix the tutorial f1b6a39

  • Added file size to file attachment 7e653a4