Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(SDKRLSD-1055): release 3.3.0 #152

Merged
merged 2 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)

### Features

- add bottomSheetItem to props of renderMessage ([83f8710](https://github.com/sendbird/sendbird-uikit-react-native/commit/83f87108321a8c6a532afa5f24e40d95a6552a36))
- add typing indicator bubble ui and logic ([9223b43](https://github.com/sendbird/sendbird-uikit-react-native/commit/9223b438f78d8b63da778c3c74329bdb383ba997))

### Bug Fixes

- add promise polyfills for hermes ([2f31a45](https://github.com/sendbird/sendbird-uikit-react-native/commit/2f31a4562aefcfb26e81d2525340857e9456ab4c))
- adjust lineHeight of iOS TextInput ([c9c253e](https://github.com/sendbird/sendbird-uikit-react-native/commit/c9c253e5d2b863c87c22f4439e0bac6e9a9187de))
- if the bubble renders and the scroll reaches the bottom, it should scroll to bottom on android ([a866422](https://github.com/sendbird/sendbird-uikit-react-native/commit/a866422b715b179337b11a6e8079c7c765a03a9d))

## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)

### Features
Expand Down
67 changes: 45 additions & 22 deletions CHANGELOG_DRAFT.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,62 @@
## v3.2.0
## v3.3.0

- Add chat init params to `chatOptions` in `SendbirdUIKitContainer` props.
- Add `reaction.onPressUserProfile` to `SendbirdUIKitContainer` props.
- Add `scrollToMessage` to `GroupChannelContexts.MessageList`.
- Add Voice message
- Add typing indicator bubble feature.

`TypingIndicatorBubble` is a new typing indicator UI that can be turned on through `typingIndicatorTypes` option.
When turned on, it will be displayed in `GroupChannelMessageList` upon receiving typing event in real time.

```tsx
import { SendbirdUIKitContainer, TypingIndicatorType } from '@sendbird/uikit-react-native';

const App = () => {
return (
<SendbirdUIKitContainer
uikitOptions={{
groupChannel: {
enableVoiceMessage: true,
typingIndicatorTypes: new Set([TypingIndicatorType.Bubble]),
},
}}
platformServices={{
recorder: RecorderService,
player: PlayerService,
}}
/>
);
};
```

Before using it, you should implement the `RecorderService` and `PlayerService` platform services.<br/>
You can implement this easily by using helper functions.
- Add `bottomSheetItem` to the props of renderMessage.

`bottomSheetItem` is a new prop for `renderMessage` that can be utilized to add a custom item to the bottom sheet of a message.
It can be used to add a custom menu item to the bottom sheet of a message.

```tsx
import { GroupChannelMessageRenderer } from '@sendbird/uikit-react-native';
import { useBottomSheet } from '@sendbird/uikit-react-native-foundation';

const GroupChannelScreen = () => {
const { openSheet } = useBottomSheet();

const onOpenMessageMenu = () => {
if (!props.bottomSheetItem) return;

> - CLI
> - Install `react-native-permissions` and `react-native-audio-recorder-player`.
> - Create platform services using `createNativeRecorderService` and `createNativePlayerService`.
> - Expo:
> - Install `expo-av`
> - Create platform services using `createExpoRecorderService` and `createExpoPlayerService`.
openSheet({
...props.bottomSheetItem,
sheetItems: [
// Update bottomSheetItem.sheetItems or append your custom menu item
...props.bottomSheetItem.sheetItems,
{ icon: 'search', title: 'Search', onPress: () => console.log('Search') },
],
});
};

return (
<GroupChannelFragment
renderMessage={(props) => {
return (
<GroupChannelMessageRenderer {...props} onLongPress={() => onOpenMessageMenu(props.bottomSheetItem)} />
);
}}
/>
);
};
```

- Fix the display of a message unavailable text if the message is not accessible.
- Fix the search for messages within an accessible range.
- Fix the usage of color variants in unknown group channel messages.
- Fix the ensure that the UIKit configuration is always initialized, even in offline mode.
- Fix the not found `Promise.allSettled` error in Hermes.
- Fix the vertical alignment of iOS TextInput.
4 changes: 4 additions & 0 deletions docs-validation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)

**Note:** Version bump only for package @sendbird/docs-validation

## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)

### Features
Expand Down
2 changes: 1 addition & 1 deletion docs-validation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sendbird/docs-validation",
"version": "3.2.0",
"version": "3.3.0",
"private": true,
"scripts": {
"test": "tsc --project tsconfig.build.json",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": ["packages/*", "sample", "docs-validation"],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "3.2.0",
"version": "3.3.0",
"command": {
"publish": {
"conventionalCommits": true,
Expand Down
4 changes: 4 additions & 0 deletions packages/uikit-chat-hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)

**Note:** Version bump only for package @sendbird/uikit-chat-hooks

## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)

### Features
Expand Down
6 changes: 3 additions & 3 deletions packages/uikit-chat-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sendbird/uikit-chat-hooks",
"version": "3.2.0",
"version": "3.3.0",
"description": "A set of React hooks for integrating Sendbird chat functionality into your React app.",
"keywords": [
"sendbird",
Expand Down Expand Up @@ -45,10 +45,10 @@
"access": "public"
},
"dependencies": {
"@sendbird/uikit-utils": "3.2.0"
"@sendbird/uikit-utils": "3.3.0"
},
"devDependencies": {
"@sendbird/uikit-testing-tools": "3.2.0",
"@sendbird/uikit-testing-tools": "3.3.0",
"@types/react": "*",
"react": "17.0.2",
"react-native-builder-bob": "^0.18.0",
Expand Down
10 changes: 10 additions & 0 deletions packages/uikit-react-native-foundation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)

### Features

- add typing indicator bubble ui and logic ([9223b43](https://github.com/sendbird/sendbird-uikit-react-native/commit/9223b438f78d8b63da778c3c74329bdb383ba997))

### Bug Fixes

- adjust lineHeight of iOS TextInput ([c9c253e](https://github.com/sendbird/sendbird-uikit-react-native/commit/c9c253e5d2b863c87c22f4439e0bac6e9a9187de))

## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/uikit-react-native-foundation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sendbird/uikit-react-native-foundation",
"version": "3.2.0",
"version": "3.3.0",
"description": "A foundational UI kit for building chat-enabled React Native apps.",
"keywords": [
"sendbird",
Expand Down Expand Up @@ -48,7 +48,7 @@
"access": "public"
},
"dependencies": {
"@sendbird/uikit-utils": "3.2.0"
"@sendbird/uikit-utils": "3.3.0"
},
"devDependencies": {
"@types/react": "*",
Expand Down
13 changes: 13 additions & 0 deletions packages/uikit-react-native/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)

### Features

- add bottomSheetItem to props of renderMessage ([83f8710](https://github.com/sendbird/sendbird-uikit-react-native/commit/83f87108321a8c6a532afa5f24e40d95a6552a36))
- add typing indicator bubble ui and logic ([9223b43](https://github.com/sendbird/sendbird-uikit-react-native/commit/9223b438f78d8b63da778c3c74329bdb383ba997))

### Bug Fixes

- add promise polyfills for hermes ([2f31a45](https://github.com/sendbird/sendbird-uikit-react-native/commit/2f31a4562aefcfb26e81d2525340857e9456ab4c))
- adjust lineHeight of iOS TextInput ([c9c253e](https://github.com/sendbird/sendbird-uikit-react-native/commit/c9c253e5d2b863c87c22f4439e0bac6e9a9187de))
- if the bubble renders and the scroll reaches the bottom, it should scroll to bottom on android ([a866422](https://github.com/sendbird/sendbird-uikit-react-native/commit/a866422b715b179337b11a6e8079c7c765a03a9d))

## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)

### Features
Expand Down
8 changes: 4 additions & 4 deletions packages/uikit-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sendbird/uikit-react-native",
"version": "3.2.0",
"version": "3.3.0",
"description": "Sendbird UIKit for React Native: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.",
"keywords": [
"sendbird",
Expand Down Expand Up @@ -59,10 +59,10 @@
"access": "public"
},
"dependencies": {
"@sendbird/uikit-chat-hooks": "3.2.0",
"@sendbird/uikit-react-native-foundation": "3.2.0",
"@sendbird/uikit-chat-hooks": "3.3.0",
"@sendbird/uikit-react-native-foundation": "3.3.0",
"@sendbird/uikit-tools": "0.0.1-alpha.42",
"@sendbird/uikit-utils": "3.2.0"
"@sendbird/uikit-utils": "3.3.0"
},
"devDependencies": {
"@bam.tech/react-native-image-resizer": "^3.0.4",
Expand Down
4 changes: 4 additions & 0 deletions packages/uikit-testing-tools/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)

**Note:** Version bump only for package @sendbird/uikit-testing-tools

## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)

**Note:** Version bump only for package @sendbird/uikit-testing-tools
Expand Down
4 changes: 2 additions & 2 deletions packages/uikit-testing-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sendbird/uikit-testing-tools",
"version": "3.2.0",
"version": "3.3.0",
"private": true,
"description": "UIKit testing tools",
"keywords": [
Expand Down Expand Up @@ -40,7 +40,7 @@
},
"devDependencies": {
"@sendbird/chat": "^4.9.8",
"@sendbird/uikit-utils": "3.2.0",
"@sendbird/uikit-utils": "3.3.0",
"@types/jest": "^29.4.0",
"@types/react": "*",
"@types/react-native": "*",
Expand Down
6 changes: 6 additions & 0 deletions packages/uikit-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)

### Features

- add typing indicator bubble ui and logic ([9223b43](https://github.com/sendbird/sendbird-uikit-react-native/commit/9223b438f78d8b63da778c3c74329bdb383ba997))

## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)

### Features
Expand Down
2 changes: 1 addition & 1 deletion packages/uikit-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sendbird/uikit-utils",
"version": "3.2.0",
"version": "3.3.0",
"description": "A collection of utility functions and constants for building chat UI components with Sendbird UIKit.",
"keywords": [
"sendbird",
Expand Down
10 changes: 10 additions & 0 deletions sample/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)

### Features

- add typing indicator bubble ui and logic ([9223b43](https://github.com/sendbird/sendbird-uikit-react-native/commit/9223b438f78d8b63da778c3c74329bdb383ba997))

### Bug Fixes

- adjust lineHeight of iOS TextInput ([c9c253e](https://github.com/sendbird/sendbird-uikit-react-native/commit/c9c253e5d2b863c87c22f4439e0bac6e9a9187de))

## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sendbird/uikit-sample-cli",
"version": "3.2.0",
"version": "3.3.0",
"private": true,
"scripts": {
"android": "concurrently 'yarn start' 'react-native run-android'",
Expand Down