Skip to content

Latest commit

 

History

History
682 lines (464 loc) · 58.7 KB

CHANGELOG.md

File metadata and controls

682 lines (464 loc) · 58.7 KB

Changelog

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.7.6 (2024-11-05)

Bug Fixes

  • revert android camera permission (c5db2a2)

3.7.5 (2024-10-29)

Features

  • add scrolling for streaming message update (c4924bc)

Bug Fixes

  • ensure image visibility in file viewer on new architecture (ec6834b)
  • remove non-required permissions from android (4646e34)
  • resolve this binding issues (c4561a0)

3.7.4 (2024-10-22)

Bug Fixes

  • added try/catch to unhandled errors (5df59ce)
  • remove default onOpenFileURL handler (2ad2275)

3.7.3 (2024-10-15)

Bug Fixes

3.7.2 (2024-09-25)

Features

  • add sbu handlers interface (0e75d81)

3.7.1 (2024-09-10)

Bug Fixes

  • disconnect ws only on unmounted (5f09729)

3.7.0 (2024-08-08)

Features

  • support mmkv storage and deprecate a async storage (ffbb8fc)
  • updated sample React version to 0.74.3 (0e32587)

3.6.0 (2024-07-09)

Features

  • added thread type in GroupChannel (5e815ea)

3.5.4 (2024-06-13)

Features

  • deprecated enableReactionsSupergroup in SendbirdUIKitContainerProps (b90d2e2)

3.5.3 (2024-05-28)

Bug Fixes

  • handle image/jpg mime type to determine image compress properly (37f346d)
  • when frozen or muted, input should be disabled (712ae97)

3.5.2 (2024-04-23)

Features

  • inputDisabled prop opened as public (6eb4ad0)

3.5.1 (2024-04-08)

Bug Fixes

  • remove unused ios media library permission (0a65f4f)

3.5.0 (2024-03-26)

Features

  • support reactions for super group channel (8ab0720)

3.4.3 (2024-03-20)

Features

  • foundation: add disableFastImage prop to Image component (538cabb)

3.4.2 (2024-03-06)

Bug Fixes

  • remove conditional hooks even if they depend on an unchanging value. (d61e137)

3.4.1 (2024-02-06)

Bug Fixes

  • use ComponentType instead of function structure in CommonComponent type (2cf00e9)

3.4.0 (2024-01-30)

Features

  • implement zoomable image viewer to FileViewer (06a4f95)

Bug Fixes

  • replace padding horizontal and vertical (24f49b4)

3.3.0 (2023-11-23)

Features

  • add bottomSheetItem to props of renderMessage (83f8710)
  • add typing indicator bubble ui and logic (9223b43)

Bug Fixes

  • add promise polyfills for hermes (2f31a45)
  • adjust lineHeight of iOS TextInput (c9c253e)
  • if the bubble renders and the scroll reaches the bottom, it should scroll to bottom on android (a866422)

3.2.0 (2023-11-03)

Features

  • add chat init params to chatOptions (7742853)
  • add createRecordFilePath method to FileServiceInterface (0b7fd40)
  • add reaction.onPressUserProfile to SendbirdUIKitContainer props (379bcce)
  • add scrollToMessage to group channel contexts (df48e2c)
  • add string set for microphone permission (9e9c2e1)
  • add string set for muted and frozen when sending a voice message (0c8d1f5)
  • add voice message config to uikit container (6f5de2c)
  • add yalc for local deployment (7778d67)
  • foundation: add audio icon (366d6af)
  • foundation: add progress bar component (af6a2fb)
  • foundation: add voice message input color set (b94d230)
  • foundation: implement voice file message component (f6d90db)
  • foundation: update icons (85d7d58)
  • implement cli player service (b136de4)
  • implement cli recorder service (e05cf93)
  • implement recorder and player service for expo (851ec0e)
  • implement voice message input (9e6bc75)
  • implement voice message logic (337d022)

Bug Fixes

  • await onClose for voice message input before displaying permission alert (62ef277)
  • CLNP-983: display a message unavailable text if the message is not accessible (e38512a)
  • CLNP-983: search for messages from an accessible range (b025f7f)
  • foundation: fixed to use color variant in unknown group channel message (1b8576a)
  • reset player and recorder if input closed with back button press (e8e43ec)
  • UIKIT-4452: uikit configuration should always be initialized (1e539bb)

Improvements

  • lift up the flatListRef to the provider and created MessageList context (4a6efdc)

3.1.2 (2023-10-04)

Features

  • add localCacheEncryption interface to container prop (3341992)

Bug Fixes

  • filter deactivated users when making mention suggestions (ee1e9c2)

3.1.1 (2023-08-23)

Features

  • use thumbnails if available (62f3ca0)

3.1.0 (2023-08-11)

Features

  • add video thumbnail component (e702155)
  • UIKIT-4240: implement basic quote reply logic (#103) (b4add0e)
  • UIKIT-4240: implement basic quote reply logic (#103) (2202e3b)

Bug Fixes

  • add exception handling for unreachable parent message (9df42be)
  • add exception handling for unreachable parent message (e1b5330)
  • unsent messages should be shown first of the message list (3a4544e)

3.0.4 (2023-07-13)

Features

  • update expo-document-picker and support backward compatibility (364f805)

Bug Fixes

  • utils: extension should not contain dot in getMimeFromFileExtension (7be3d0c)
  • utils: getFileExtensionFromUri should return extension not a mime-type (e2df878)
  • utils: return extension of getFileExtensionFromMime should contain dot (85b6d18)

3.0.3 (2023-07-11)

Bug Fixes

  • utils: wrong mime type check condition in normalizeFile (1ca3789)

3.0.2 (2023-07-10)

Bug Fixes

  • revert "fix: do not use scrollview enhancer if the platform is not android (ff48e36)" (907b09e)

3.0.1 (2023-07-04)

Bug Fixes

  • do not use scrollview enhancer if the platform is not android (ff48e36)
  • update expo modules and support backward compatibility (5c45ee6)

3.0.0 (2023-06-28)

⚠ BREAKING CHANGES

  • update signature of channel preview prop in group channel list and open channel list
  • removed queryCreator from the group channel and group channel list
  • update minimum chat sdk version
  • bumped peer dependency version of chat sdk
  • react-native minimum version changed to 0.65.0 from 0.63.3
  • made chatOptions.localCacheStorage of SendbirdUIKitContainer required
  • deprecated item removal in foundation package
  • deprecated item removal in ChannelInput
  • deprecated MessageRenderer removal (replaced to GroupChannelMessageRenderer)
  • deprecated item removal in ChannelMessageList
  • deprecated item removal in uikit-chat-hooks package
  • deprecated item removal in StringSet

Features

  • added AttachmentsButton to ChannelInput component (687f3a0)
  • bumped peer dependency version of chat sdk (a57aff0)
  • deprecated item removal in ChannelInput (6a326ca)
  • deprecated item removal in ChannelMessageList (3a68a33)
  • deprecated item removal in foundation package (96f9717)
  • deprecated item removal in StringSet (956236b)
  • deprecated item removal in uikit-chat-hooks package (48fabfe)
  • deprecated MessageRenderer removal (replaced to GroupChannelMessageRenderer) (488e0b6)
  • hide ui elements when the channel is ephemeral (eacc2da)
  • made chatOptions.localCacheStorage of SendbirdUIKitContainer required (2f07d0d)
  • react-native minimum version changed to 0.65.0 from 0.63.3 (39a9852)
  • support options for default user profile(default: false) (6671a61)
  • support options for ogtag in channel (d80b8a0)
  • update minimum chat sdk version (5330d1f)
  • use uikitWithAppInfo internally (a182ead)

Bug Fixes

  • ensure correct display of reply messages when replyType is configured in uikit configs (a00b089)
  • fixed config linking in mention manager (6e8ba6c)
  • fixed menuItemsCreator timing (279fd98)
  • fixed onPress related handlers in message renderer for proper functionality (6da20db)
  • focusing animation of message search results has been modified to apply only to the message component (c5d22a2)
  • foundation: fixed slight cropping at the bottom of images in AvatarGroup (76ccadf)
  • replaced unsupported Object.hasOwn (f165273)

Miscellaneous Chores

  • removed queryCreator from the group channel and group channel list (ca3bc98)
  • update signature of channel preview prop in group channel list and open channel list (d3e8afa)

Improvements

  • defensively modify reducer logic to prevent duplicate objects (bc3cfb1)
  • modify useGroupChannel and useOpenChannel hooks to refetch the channel when the url has changed (5b8e105)
  • react-native-scrollview-enhancer handle as a optional (d570851)

2.5.0 (2023-05-04)

Features

  • added message search fragment (a6342c0)
  • implement focus animation on search item (7fe38e8)
  • implemented scroll-view enhancer (1dca4a0)

Bug Fixes

  • chat-hooks: fixed adding, updating, and deleting messages properly when returning from background to foreground in the open channel (50b2f23)
  • uikit: do not handle onUserBanned in open channel list (8ba9daa)
  • uikit: fixed mention suggestion properly based on updated members (fb50bbd)

2.4.2 (2023-04-28)

Features

  • uikit: added queryCreator prop to GroupChannelBannedUsersFragment (dd682e8)
  • uikit: added queryCreator prop to GroupChannelMembersFragment (38eb2fe)
  • uikit: added queryCreator prop to GroupChannelMutedMembersFragment (37e6be7)
  • uikit: added queryCreator prop to GroupChannelOperatorsFragment (63d08e8)
  • uikit: added queryCreator prop to GroupChannelRegisterOperatorFragment (7e1485a)
  • uikit: added queryCreator prop to OpenChannelBannedUsersFragment (16e1e4c)
  • uikit: added queryCreator prop to OpenChannelMutedParticipantsFragment (0e7c462)
  • uikit: added queryCreator prop to OpenChannelOperatorsFragment (d7746f5)
  • uikit: added queryCreator prop to OpenChannelParticipantsFragment (01f82da)
  • uikit: added queryCreator prop to OpenChannelRegisterOperatorFragment (3693856)

Improvements

  • chat-hooks: removed deps from useConnectionHandler (6acf65c)

2.4.1 (2023-03-24)

Bug Fixes

  • uikit: fixed connection failure due to duplicate network listener invocation on v4.6.0+ session token connection. (ff761f3)
  • utils: properly retrieve file extensions from URLs that contain query parameters (7401d55)

Improvements

  • refactored createFileService functions and utils structure (5e44d4f)

2.4.0 (2023-03-15)

Features

  • added open channel message components (2cbdcba)
  • foundation: added OpenChannelPreview component (6a6503d)
  • hooks: added useGroupChannel hook (9a6b996)
  • hooks: added useOpenChannelList and useOpenChannelMessages hooks (e41e076)
  • hooks: useChannelHandler supports open channel handler (3d95e7b)
  • uikit: added open channel banned users fragment. (391a871)
  • uikit: added open channel create fragment (21d4bb5)
  • uikit: added open channel fragment (6250770)
  • uikit: added open channel list fragment (61fff68)
  • uikit: added open channel moderation fragment (539b3d2)
  • uikit: added open channel muted participants fragment (f876ba7)
  • uikit: added open channel operators fragment (aea29af)
  • uikit: added open channel participants fragment (c4dd37f)
  • uikit: added open channel register operator fragment (be883c9)
  • uikit: added open channel settings fragment (48ebf2a)
  • utils: added useDebounceEffect hook (dc90bb4)
  • utils: added usePartialState hook (f76fe69)

Bug Fixes

  • chat-hooks: modified to manually update failed messages when using query in useChannelMessages hook (0f7b0ce)
  • uikit: added missing onLoadNext call to user list components (6592e11)

Improvements

  • replaced useUniqId to useUniqHandlerId (543e149)
  • uikit: added disabled option to errorBoundary in SendbirdUIKitContainer props (6070d54)
  • uikit: expanded interfaces for channel input to make customization implementation easier (4d3f183)
  • uikit: extract base channel input component from group channel module (462291e)

2.3.0 (2023-02-09)

Features

  • added image compression feature (568b5bb)
  • utils: added useSafeAreaPadding hook (80cd9ab)

Bug Fixes

  • added missing labels for permissions (89186bd)
  • chat-hooks: do not clear next message when loading prev message (6508144)
  • uikit: fixed to useContext type compiles the correct package path (d17ccb0)
  • uikit: support compatibility for removing AppState listener under 0.65 (b122691)

2.2.0 (2023-01-03)

Features

  • added group channel notifications fragment (dfb891d)
  • foundation: added dynamic header to bottom sheet (850cb68)
  • foundation: added mention related props to group channel preview (507a1af)
  • foundation: added reaction ui color (5b272e5)
  • uikit: added emoji manager (1cad175)
  • uikit: added reaction addons (1a0db30)
  • uikit: added reaction bottom sheets (07ae1ad)
  • uikit: added reaction user list bottom sheet (e9ef7e9)

Bug Fixes

  • added missing keyExtractor to list components of modules (4ee1108)
  • android selection bug (d2b4c8c)
  • chat-hooks: admin message is not added via onMessagesAdded handler (0bbb499)
  • chat-hooks: fixed wrong error variable name in the useUserList query catch (82c6f6f)

Improvements

2.1.0 (2022-12-06)

⚠ BREAKING CHANGES

  • uikit: update camera roll module

Features

  • added group channel type selector (9fb7a19)
  • chat-hooks: added useGroupChannel hook (9392dea)
  • foundation: added profile card ui (472f02f)
  • support broadcast and supergroup channel (895fa3b)
  • uikit: added enableUseUserIdForNickname option (5d3cfd8)
  • uikit: added group channel banned users fragment (80e1a5e)
  • uikit: added group channel moderations fragment (4213e6d)
  • uikit: added group channel muted members fragment (3784b73)
  • uikit: added group channel operators add fragment (4ac84ee)
  • uikit: added group channel operators fragment (c7f6626)
  • uikit: added mini profile card (0877463)
  • uikit: added moderation in group channel members (9b25059)
  • utils: added buffered request function (d3e375c)

Bug Fixes

  • chat-hooks: prevent MESSAGE_RECEIVED handler called twice when receiving new message. (ab988c6)

Improvements

  • chat-hooks: removed activeChannel from useGroupChannelMessages for normalizing (70fb1c7)
  • uikit: update camera roll module (5ddb5d3)

Documentation

  • added list banned users in group channel (4f60dfb)
  • added list muted members (877d7d8)
  • added list operators in group channel (a4afbf7)
  • added moderating channels and members page (aad20af)
  • added register member as operators (7dde222)
  • update docs validation snippet (4aaeb89)

2.0.3 (2022-12-01)

Improvements

2.0.1 (2022-10-26)

Bug Fixes

  • foundation: position of toast when keyboard is up on iOS (bc98b4f)
  • uikit: call setBackgroundState only on background status (ca89ecc)

2.0.0 (2022-10-11)

Documentation

  • resources: added missing import desc (1824b65)

2.0.0-rc.0 (2022-10-11)

⚠ BREAKING CHANGES

  • migrated to Chat SDK v4

Features

  • migrated to Chat SDK v4 (5ce9e4f)

Bug Fixes

  • utils: remove useLayoutEffect sync from useFreshCallback (d5656be)

Documentation

1.1.2 (2022-09-28)

Features

  • added an alert to go to app settings when permission is not granted (QM-1799) (dfb9322)

Bug Fixes

  • changed default limit in useGroupChannelListWithCollection hook (260fa6c)
  • ellipsis name in the message (QM-1788, QM-1790) (cf39461)
  • fixed createFileService.native to save media files properly on Android (QM-1766) (939d2b4)
  • fixed createFileService.native to save video files properly on iOS13 (QM-1765) (811039b)
  • truncate file viewer header title(QM-1798) (6c34292)

1.1.1 (2022-09-14)

Features

  • chat-hooks: added useMessageOutgoingStatus hook (f3af2a7)

Bug Fixes

  • added missing collectionCreator prop to GroupChannelListFragment (d06d60e)
  • chat-hooks: respect the order of group channel collection and query. (913875d)

1.1.0 (2022-08-31)

Features

  • uikit: added file viewer component (9b9d52b)
  • uikit: added TypingIndicator and MessageReceiptStatus in Channel List (39c54fc)
  • uikit: added video message component and media service (15713e5)

Bug Fixes

  • uikit: changed type of createExpoNotificationService param (e030128)

Documentation

Improvements

  • chat-hooks: remove deps from useChannelHandler (fe4ec27)

1.0.2 (2022-08-09)

Bug Fixes

  • uikit: fixed createFileService.expo to work as expected (876d72c)

Improvements

1.0.1 (2022-08-09)

Bug Fixes

  • uikit: fixed createFileService.expo to work as expected (876d72c)

Improvements

1.0.0 (2022-07-26)

Note: Version bump only for package sendbird-uikit-react-native

1.0.0-rc.4 (2022-07-26)

Note: Version bump only for package sendbird-uikit-react-native

1.0.0-rc.3 (2022-07-26)

Note: Version bump only for package sendbird-uikit-react-native

1.0.0-rc.2 (2022-07-26)

Note: Version bump only for package sendbird-uikit-react-native

1.0.0-rc.1 (2022-07-26)

Note: Version bump only for package sendbird-uikit-react-native

1.0.0-rc.0 (2022-07-26)

Bug Fixes

  • apply strings review (a4c94e3)
  • chat-hooks: do not check isResendable before resend message (6d3f8a3)
  • chat-hooks: rename module (7a2c30c)
  • core: added keyboard-avoid-offset prop to group channel (bd1c905)
  • core: changed label keys (106843f)
  • core: changed label keys, inject one-source user no name label (003d46d)
  • core: conditional rendering for typings indicator string (64908b9)
  • core: GroupChannelSettings component segmentation (4bfdfde)
  • core: iOS media library save type (55eb549)
  • core: NativeFileService error (ebc71d5)
  • core: NativeFileService, should check file type on iOS (d07c568)
  • core: re-naming GroupChannelInfo to GroupChannelSettings (afc6e23)
  • core: renamed ignoreActiveOnly prop of UserListHeader (89e80d9)
  • core: renamed onLeaveChannel prop of GroupChannelFragment (d5aa8f7)
  • improve stability (1698bc1)
  • improve stability (72648d1)
  • renamed Context to Contexts (41bae55)
  • sample: badge clear (df069b0)
  • sample: push handler (6505495)
  • sample: revert gradle settings (c29a87f)
  • sample: underscore numeral throw error on android build (ff3b6da)
  • sample: update notifee (a54048c)
  • uikit: display username as single line (fad080b)
  • uikit: fragment creator params should be partial (c53ba95)
  • uikit: prevent crash on open graph (a5663ca)
  • uikit: remove sdk injection, support better locale type infer (13dfe9d)
  • uikit: set keyboardAvoidOffset as a prop (7679e2f)
  • update sdk, fix locale injection (a86ad81)
  • util: url replacer (07753b1)

Features

  • added status component to GroupChannelList (8ee6ae5)
  • foundation: added typography option to themeFactory (28b47d5)
  • uikit: added error boundary (952cf9c)
  • uikit: added extension (52de301)
  • uikit: added internal local cache storage (f78a492)

0.1.2 (2022-04-26)

Bug Fixes

  • added ios env checker (d42d0ac)
  • android build command typo (2f81938)
  • android service account path (dfec8fc)
  • changed ios match git authorization method to ssh (a293a75)
  • chat-hooks: added guard to useGroupChannelListWithQuery init (5ec16d9)
  • chat-hooks: wrong if condition (4f93e6c)
  • core: added performance warning and create patch to sample (c366f28)
  • core: exports expo platform service creators (c98f776)
  • core: fixed landscape layout (3d2ce2d)
  • fixed channel preview update properly (b8b3d53)
  • fixed pod version (944253e)
  • foundation: added max-width to toast (740a16b)
  • foundation: export Switch component (1af53a6)
  • foundation: implement android modal onDismiss (0c82d60)
  • foundation: position of keyboard avoided modal is incorrect when orientation is changed on android (b63ce2c)
  • foundation: relocation files (b0d7426)
  • ios fastlane env (09f042c)
  • ios pods cache dir path (841f5b3)
  • lint warnings (caeff54)
  • nvm error on ios build phase (5d724aa)
  • oom on android build (15c2f4b)
  • remove default storybook components (e6eca26)
  • sample: fix storybook path (91c0d4f)
  • sample: grouping stories (513ca25)
  • update ruby (fcd85f0)
  • utils: added react-native dependency (d6ccf01)
  • utils: pubsub enhancement (2006249)

Features

  • added android (ec60009)
  • added default locale string set (1c66add)
  • added ESBuild to sample metro bundler minifier (a54de63)
  • added ios (520d769)
  • added message components (682cdb4)
  • added sample project for real-time development (e6a9e25)
  • added storybook (eddf162)
  • added theme typography (6405333)
  • added toast (ddd8de6)
  • chat-hooks: added channel list local cache hook (77685bc)
  • chat-hooks: added enableCollection options to groupChannel hooks (8fc2454)
  • core: added group channel members fragment (815278d)
  • core: added message handlers (2d9f1c4)
  • core: added typing indicator to group channel (86d835d)
  • core: implement channel menu to groupChannelList (debb6d8)
  • core: implement send message and file pick flow (2cc40f8)
  • create modularization template script (ccf022d)
  • create type selector (6139231)
  • extract foundation package (41245cc)
  • foundation: added Avatar component (0e451c3)
  • foundation: added Badge component (7b63d90)
  • foundation: added BottomSheet component (c208710)
  • foundation: added dialogue (e2c4abc)
  • foundation: added Placeholder component (e68d9a6)
  • foundation: added Prompt and Input component (1bc173a)
  • foundation: implement gesture to slide type modal (cc5af93)
  • foundation: implement queued dialogs (action menu, alert) (e5e7b24)
  • sample: added change nickname (0eceb48)
  • sample: added change profile photo (74ea450)
  • sample: added create channel (66e7ae9)
  • sample: added ios notification (44ef9f7)
  • sample: added settings ui (bb81801)
  • setup lerna (#21) (1382c42)
  • show palette and theme colors to sample app (1b0cd55)
  • uikit: added message receipt (9cafe11)