github sendbird/sendbird-uikit-react v3.3.2
[v3.3.2] (Dec 8 2022)

latest releases: v3.15.8, v3.15.7, v3.15.6...
23 months ago

[v3.3.2] (Dec 8 2022)

Features:

  • Add props renderTitle to the component

    • renderHeader of will be deprecated
  • Add interface overrideInviteUser

    Add overrideInviteUser to ChannelList, CreateChannel and ChannelSettings

    This interface overrides InviteMember functionality. Customer has to create the channel
    and close the popup manually

    export type OverrideInviteUserType = {
        users: Array<string>;
        onClose: () => void;
        channelType: 'group' | 'supergroup' | 'broadcast';
    };
    export interface ChannelListProps {
      overrideInviteUser?(params: OverrideInviteUserType): void;
    }
    export interface CreateChannelProps {
      overrideInviteUser?(params: OverrideInviteUserType): void;
    }
    export type OverrideInviteMemberType = {
        users: Array<string>;
        onClose: () => void;
        channel: GroupChannel;
    };
    ChannelSettings.overrideInviteUser?(params: OverrideInviteMemberType): void;

    example:

    <ChannelList
      overrideInviteUser={({users, onClose, channelType}) => {
        createMyChannel(users, channelType).then(() => {
          onClose();
        })
      }}
    />

Fixes:

  • Allow to override entire message search query.
    Now message search query supports searching messages in multiple channels.
  • Modify type definitions for props ThreadUIProps.renderMessage.
  • Remove duplication of create channel button when using renderHeader of .
  • The online status should work even configureSession is provided.
    This was disabled because of a bug in sessionHandler in SDK now, we can re-enable this.
  • Create channel sometimes had empty operatorID.
    Use sendbird state to access currentUserID and use it incase prop value is empty.
    Also, remove legacy HOC pattern.
  • Add the props type isMentionEnabled of .
  • Change the props type messageSearchQuery of to MessageSearchQueryParams.

What's Changed

  • [v3.3.1] (Nov 23 2022) by @HoonBaek in #369
  • fix: Add types for renderMessage of ThreadUI by @HoonBaek in #371
  • fix: create channel sometimes had empty operatorID by @sravan-s in #372
  • fix: onlinestatus should work even configureSession is provided by @sravan-s in #366
  • Fix: Mark as read definitely when receiving message by @HoonBaek in #373
  • feat: add interface overrideInviteUser by @sravan-s in #370
  • fix: Allow overriding entire message search query by @HoonBaek in #374
  • fix: Include renderIconButton into the renderHeader range by @HoonBaek in #375
  • fix: Change the type definition of messageSearchQuery by @HoonBaek in #376
  • fix: Add props type isMentionEnabled to the App component by @HoonBaek in #377
  • Release v3.3.2 on Dec 8 by @HoonBaek in #378

Full Changelog: v3.3.0...v3.3.2

Don't miss a new sendbird-uikit-react release

NewReleases is sending notifications on new releases.