Skip to content

Commit deb31a7

Browse files
committed
Merge branch 'develop'
2 parents c781627 + 1382c42 commit deb31a7

File tree

22 files changed

+950
-685
lines changed

22 files changed

+950
-685
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ build
1818

1919
env.ts
2020
*.app.dSYM.zip
21+
lerna-debug.log

CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
## 0.1.1 (2022-04-26)
7+
8+
9+
### Bug Fixes
10+
11+
* added ios env checker ([d42d0ac](https://github.com/sendbird/sendbird-uikit-react-native/commit/d42d0acf4b1d9e26044ea5e0d1db3c722ef700fb))
12+
* android build command typo ([2f81938](https://github.com/sendbird/sendbird-uikit-react-native/commit/2f819387417f2dfe1f0d17e398c87d68dfa6775a))
13+
* android service account path ([dfec8fc](https://github.com/sendbird/sendbird-uikit-react-native/commit/dfec8fc45a2db02e822f74cabd95d8f6a23b9e7f))
14+
* changed ios match git authorization method to ssh ([a293a75](https://github.com/sendbird/sendbird-uikit-react-native/commit/a293a75345fc23f8cc06e2c6a0f040df657eb64a))
15+
* **chat-hooks:** added guard to useGroupChannelListWithQuery init ([5ec16d9](https://github.com/sendbird/sendbird-uikit-react-native/commit/5ec16d927dd1381bb9c2c8cdafc8f7b614cdded5))
16+
* **chat-react-hooks:** wrong if condition ([4f93e6c](https://github.com/sendbird/sendbird-uikit-react-native/commit/4f93e6c5fde4e4e3c26b214934d9c115f3ce452b))
17+
* **core:** added performance warning and create patch to sample ([c366f28](https://github.com/sendbird/sendbird-uikit-react-native/commit/c366f28a1aea06d896a753a47df88c67e81e5bdc))
18+
* **core:** exports expo platform service creators ([c98f776](https://github.com/sendbird/sendbird-uikit-react-native/commit/c98f776d41040cdd11cc159dcdb2e7449b91106c))
19+
* **core:** fixed landscape layout ([3d2ce2d](https://github.com/sendbird/sendbird-uikit-react-native/commit/3d2ce2d4249b197d81e4bb241b63e9014a5654fc))
20+
* fixed channel preview update properly ([b8b3d53](https://github.com/sendbird/sendbird-uikit-react-native/commit/b8b3d536d80b1f15b39e47e428d648da4f513831))
21+
* fixed pod version ([944253e](https://github.com/sendbird/sendbird-uikit-react-native/commit/944253e3958734bf307e12f9278e2ed31f2aa67d))
22+
* **foundation:** added max-width to toast ([740a16b](https://github.com/sendbird/sendbird-uikit-react-native/commit/740a16b0efe58b2804c0f81f49f3b146824d9732))
23+
* **foundation:** export Switch component ([1af53a6](https://github.com/sendbird/sendbird-uikit-react-native/commit/1af53a64b728469b232727e67cd38b070fe9fe7b))
24+
* **foundation:** implement android modal onDismiss ([0c82d60](https://github.com/sendbird/sendbird-uikit-react-native/commit/0c82d60c8429ec35b8bde13a9caf1ffc8fbdff66))
25+
* **foundation:** position of keyboard avoided modal is incorrect when orientation is changed on android ([b63ce2c](https://github.com/sendbird/sendbird-uikit-react-native/commit/b63ce2c69eb36d3b8207009d83794d1912badfe2))
26+
* **foundation:** relocation files ([b0d7426](https://github.com/sendbird/sendbird-uikit-react-native/commit/b0d7426d00153d2dcb136ae9bef5de2bb34ddbe2))
27+
* ios fastlane env ([09f042c](https://github.com/sendbird/sendbird-uikit-react-native/commit/09f042c84e6cb42ec1c0366c3c0942f0defddadd))
28+
* ios pods cache dir path ([841f5b3](https://github.com/sendbird/sendbird-uikit-react-native/commit/841f5b3c98177c5f8d05de281dc59aa74445bffb))
29+
* lint warnings ([caeff54](https://github.com/sendbird/sendbird-uikit-react-native/commit/caeff5405451745466d87546b104a84848ff3a7e))
30+
* nvm error on ios build phase ([5d724aa](https://github.com/sendbird/sendbird-uikit-react-native/commit/5d724aa58cd185528aefba7b1cb7a5d29acf1b36))
31+
* oom on android build ([15c2f4b](https://github.com/sendbird/sendbird-uikit-react-native/commit/15c2f4b96a72cc747cc6276f32012d717f3def98))
32+
* remove default storybook components ([e6eca26](https://github.com/sendbird/sendbird-uikit-react-native/commit/e6eca269df4641faf5ebb8a0f91be2e0aa000324))
33+
* **sample:** fix storybook path ([91c0d4f](https://github.com/sendbird/sendbird-uikit-react-native/commit/91c0d4f4ea250986ab6e3eacb49f7006d41e32c0))
34+
* **sample:** grouping stories ([513ca25](https://github.com/sendbird/sendbird-uikit-react-native/commit/513ca25a5e3e3072a312b37194c53ec89c1a82c8))
35+
* update ruby ([fcd85f0](https://github.com/sendbird/sendbird-uikit-react-native/commit/fcd85f0bfca02228a0b928ce034c6270e4311d89))
36+
* **utils:** added react-native dependency ([d6ccf01](https://github.com/sendbird/sendbird-uikit-react-native/commit/d6ccf019f9722c664d2ba00befe53c455466d244))
37+
* **utils:** pubsub enhancement ([2006249](https://github.com/sendbird/sendbird-uikit-react-native/commit/2006249e34777293b04dd06f9186cf1436298c6e))
38+
39+
40+
### Features
41+
42+
* added android ([ec60009](https://github.com/sendbird/sendbird-uikit-react-native/commit/ec60009f6e6d72451ab4add3bf0bda96c9bf4211))
43+
* added default locale string set ([1c66add](https://github.com/sendbird/sendbird-uikit-react-native/commit/1c66add5f1afc4986b13c4783c738c713136a753))
44+
* added ESBuild to sample metro bundler minifier ([a54de63](https://github.com/sendbird/sendbird-uikit-react-native/commit/a54de63f51f05026c4eb91c3e435c040ee8dcb56))
45+
* added ios ([520d769](https://github.com/sendbird/sendbird-uikit-react-native/commit/520d769490e0388a32a1a2e8f816b3eb52bd61fa))
46+
* added message components ([682cdb4](https://github.com/sendbird/sendbird-uikit-react-native/commit/682cdb433e316f03797b2021c0eba8a313b7cf8e))
47+
* added sample project for real-time development ([e6a9e25](https://github.com/sendbird/sendbird-uikit-react-native/commit/e6a9e25f59368d7f5ea74422fc637e4a354e30e7))
48+
* added storybook ([eddf162](https://github.com/sendbird/sendbird-uikit-react-native/commit/eddf162029268390233d2a2de23fb6f081e3c432))
49+
* added theme typography ([6405333](https://github.com/sendbird/sendbird-uikit-react-native/commit/640533395f0de32cf41bd5330924a3c0a9e38bae))
50+
* added toast ([ddd8de6](https://github.com/sendbird/sendbird-uikit-react-native/commit/ddd8de642cfc911f3c1931edfc6ed94b8dd88b45))
51+
* **chat-hooks:** added channel list local cache hook ([77685bc](https://github.com/sendbird/sendbird-uikit-react-native/commit/77685bcd88b8442b13b7d48cde89960442162be6))
52+
* **chat-hooks:** added enableCollection options to groupChannel hooks ([8fc2454](https://github.com/sendbird/sendbird-uikit-react-native/commit/8fc245485f51feceb2ae7cb0a32ca5cbb9f372d7))
53+
* **core:** added group channel members fragment ([815278d](https://github.com/sendbird/sendbird-uikit-react-native/commit/815278dc4a0a2b679dbcf1992342d9d1756f7453))
54+
* **core:** added message handlers ([2d9f1c4](https://github.com/sendbird/sendbird-uikit-react-native/commit/2d9f1c40d273df9c73b0ad4d8b9d6794af73a576))
55+
* **core:** added typing indicator to group channel ([86d835d](https://github.com/sendbird/sendbird-uikit-react-native/commit/86d835d95034ce20b4471689c603a4f7a7d5a648))
56+
* **core:** implement channel menu to groupChannelList ([debb6d8](https://github.com/sendbird/sendbird-uikit-react-native/commit/debb6d8144c598eb50a124daa5d49641d4bbf1f1))
57+
* **core:** implement send message and file pick flow ([2cc40f8](https://github.com/sendbird/sendbird-uikit-react-native/commit/2cc40f895b59764bd74e8f27513ebb7131721ca1))
58+
* create modularization template script ([ccf022d](https://github.com/sendbird/sendbird-uikit-react-native/commit/ccf022d1da90a88573a1c64c508ad93e22a816d8))
59+
* create type selector ([6139231](https://github.com/sendbird/sendbird-uikit-react-native/commit/6139231e16dc1d78336fb8a1ce0677c43eaf6c30))
60+
* extract foundation package ([41245cc](https://github.com/sendbird/sendbird-uikit-react-native/commit/41245ccff4f76efee2e18e76f34517eb93050798))
61+
* **foundation:** added Avatar component ([0e451c3](https://github.com/sendbird/sendbird-uikit-react-native/commit/0e451c301ba51ae0bff7bb8cb576dbda79dcaeed))
62+
* **foundation:** added Badge component ([7b63d90](https://github.com/sendbird/sendbird-uikit-react-native/commit/7b63d90912ce90dbdc7a5cea580f37b4e711d501))
63+
* **foundation:** added BottomSheet component ([c208710](https://github.com/sendbird/sendbird-uikit-react-native/commit/c208710eea9f8a7c165fa7af820a1972965cb75e))
64+
* **foundation:** added dialogue ([e2c4abc](https://github.com/sendbird/sendbird-uikit-react-native/commit/e2c4abc6bb56aecebefbc11a041539707eb48a83))
65+
* **foundation:** added Placeholder component ([e68d9a6](https://github.com/sendbird/sendbird-uikit-react-native/commit/e68d9a6f3747930c18b7cb5d8c4c8ec7c7915f47))
66+
* **foundation:** added Prompt and Input component ([1bc173a](https://github.com/sendbird/sendbird-uikit-react-native/commit/1bc173af436782a3e6fd34b0d67665d2c44f25ad))
67+
* **foundation:** implement gesture to slide type modal ([cc5af93](https://github.com/sendbird/sendbird-uikit-react-native/commit/cc5af93279bd6f13569daac5f9d83c4ef8c0e419))
68+
* **foundation:** implement queued dialogs (action menu, alert) ([e5e7b24](https://github.com/sendbird/sendbird-uikit-react-native/commit/e5e7b2485c1e50391db602e05b35cabe282c7982))
69+
* **sample:** added change nickname ([0eceb48](https://github.com/sendbird/sendbird-uikit-react-native/commit/0eceb48b4e365219906a101e7eaa167e498a87ee))
70+
* **sample:** added change profile photo ([74ea450](https://github.com/sendbird/sendbird-uikit-react-native/commit/74ea450fc061212e3ba9d43910dbfcac96e98c89))
71+
* **sample:** added create channel ([66e7ae9](https://github.com/sendbird/sendbird-uikit-react-native/commit/66e7ae9a035b3b46e58032ba8336bc93fe04131c))
72+
* **sample:** added ios notification ([44ef9f7](https://github.com/sendbird/sendbird-uikit-react-native/commit/44ef9f70cd2bc38ba605c5fd8bf4e1d70cfe03d2))
73+
* **sample:** added settings ui ([bb81801](https://github.com/sendbird/sendbird-uikit-react-native/commit/bb818015db8aaafa5ca3b0761b20bf4f1bf1c9fc))
74+
* show palette and theme colors to sample app ([1b0cd55](https://github.com/sendbird/sendbird-uikit-react-native/commit/1b0cd5525e8f5716c52fa088a0aa38db36115ced))
75+
* **uikit:** added message receipt ([9cafe11](https://github.com/sendbird/sendbird-uikit-react-native/commit/9cafe11c499196851dea1861eb29bf533737261b))

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ uikit
2222

2323
- add: `yarn workspace @sendbird/package add some-package`
2424
- remove: `yarn workspace @sendbird/package remove some-package`
25+
26+
### Publish
27+
28+
- bump: `lerna version {major|minor|patch} [--no-git-tag-version] [--no-private]`

lerna.json

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,35 @@
11
{
2-
"packages": ["packages/*", "sample"],
2+
"packages": [
3+
"packages/*",
4+
"sample"
5+
],
36
"npmClient": "yarn",
47
"useWorkspaces": true,
5-
"version": "independent",
8+
"version": "0.1.1",
69
"command": {
710
"publish": {
811
"allowBranch": "main",
912
"conventionalCommits": true,
1013
"createRelease": "github",
11-
"message": "chore: publish",
12-
"ignoreChanges": ["**/__tests__/**", "**/*.md"]
14+
"message": "chore(release): publish %v"
15+
},
16+
"version": {
17+
"allowBranch": [
18+
"main",
19+
"*/lerna"
20+
],
21+
"conventionalCommits": true,
22+
"exact": true,
23+
"gitRemote": "origin",
24+
"message": "chore(release): release packages %s"
1325
}
14-
}
26+
},
27+
"ignoreChanges": [
28+
"**/__template__/**",
29+
"**/__tests__/**",
30+
"**/*.md",
31+
".circleci",
32+
".github",
33+
"sample/**"
34+
]
1535
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@
5555
"react-test-renderer": "^17.0.2",
5656
"typescript": "^4.5.4"
5757
},
58-
"dependencies": {},
58+
"resolutions": {
59+
"@types/react": "^17"
60+
},
5961
"jest": {
6062
"testEnvironment": "node",
6163
"moduleFileExtensions": [
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
## 0.1.1 (2022-04-26)
7+
8+
9+
### Bug Fixes
10+
11+
* **chat-hooks:** added guard to useGroupChannelListWithQuery init ([5ec16d9](https://github.com/sendbird/sendbird-uikit-react-native/commit/5ec16d927dd1381bb9c2c8cdafc8f7b614cdded5))
12+
* **chat-react-hooks:** wrong if condition ([4f93e6c](https://github.com/sendbird/sendbird-uikit-react-native/commit/4f93e6c5fde4e4e3c26b214934d9c115f3ce452b))
13+
* fixed channel preview update properly ([b8b3d53](https://github.com/sendbird/sendbird-uikit-react-native/commit/b8b3d536d80b1f15b39e47e428d648da4f513831))
14+
* **utils:** pubsub enhancement ([2006249](https://github.com/sendbird/sendbird-uikit-react-native/commit/2006249e34777293b04dd06f9186cf1436298c6e))
15+
16+
17+
### Features
18+
19+
* added sample project for real-time development ([e6a9e25](https://github.com/sendbird/sendbird-uikit-react-native/commit/e6a9e25f59368d7f5ea74422fc637e4a354e30e7))
20+
* added toast ([ddd8de6](https://github.com/sendbird/sendbird-uikit-react-native/commit/ddd8de642cfc911f3c1931edfc6ed94b8dd88b45))
21+
* **chat-hooks:** added channel list local cache hook ([77685bc](https://github.com/sendbird/sendbird-uikit-react-native/commit/77685bcd88b8442b13b7d48cde89960442162be6))
22+
* **chat-hooks:** added enableCollection options to groupChannel hooks ([8fc2454](https://github.com/sendbird/sendbird-uikit-react-native/commit/8fc245485f51feceb2ae7cb0a32ca5cbb9f372d7))
23+
* **core:** added group channel members fragment ([815278d](https://github.com/sendbird/sendbird-uikit-react-native/commit/815278dc4a0a2b679dbcf1992342d9d1756f7453))
24+
* **core:** added message handlers ([2d9f1c4](https://github.com/sendbird/sendbird-uikit-react-native/commit/2d9f1c40d273df9c73b0ad4d8b9d6794af73a576))
25+
* **core:** added typing indicator to group channel ([86d835d](https://github.com/sendbird/sendbird-uikit-react-native/commit/86d835d95034ce20b4471689c603a4f7a7d5a648))
26+
* **core:** implement channel menu to groupChannelList ([debb6d8](https://github.com/sendbird/sendbird-uikit-react-native/commit/debb6d8144c598eb50a124daa5d49641d4bbf1f1))
27+
* **core:** implement send message and file pick flow ([2cc40f8](https://github.com/sendbird/sendbird-uikit-react-native/commit/2cc40f895b59764bd74e8f27513ebb7131721ca1))
28+
* create modularization template script ([ccf022d](https://github.com/sendbird/sendbird-uikit-react-native/commit/ccf022d1da90a88573a1c64c508ad93e22a816d8))
29+
* create type selector ([6139231](https://github.com/sendbird/sendbird-uikit-react-native/commit/6139231e16dc1d78336fb8a1ce0677c43eaf6c30))
30+
* extract foundation package ([41245cc](https://github.com/sendbird/sendbird-uikit-react-native/commit/41245ccff4f76efee2e18e76f34517eb93050798))
31+
* **foundation:** added Prompt and Input component ([1bc173a](https://github.com/sendbird/sendbird-uikit-react-native/commit/1bc173af436782a3e6fd34b0d67665d2c44f25ad))
32+
* **sample:** added create channel ([66e7ae9](https://github.com/sendbird/sendbird-uikit-react-native/commit/66e7ae9a035b3b46e58032ba8336bc93fe04131c))
33+
* **sample:** added settings ui ([bb81801](https://github.com/sendbird/sendbird-uikit-react-native/commit/bb818015db8aaafa5ca3b0761b20bf4f1bf1c9fc))
34+
* **uikit:** added message receipt ([9cafe11](https://github.com/sendbird/sendbird-uikit-react-native/commit/9cafe11c499196851dea1861eb29bf533737261b))

packages/chat-react-hooks/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/chat-react-hooks",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "React hooks that built with SendbirdChat SDK",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
@@ -37,10 +37,10 @@
3737
"registry": "https://registry.npmjs.org/"
3838
},
3939
"dependencies": {
40-
"@sendbird/uikit-utils": "^0.1.0"
40+
"@sendbird/uikit-utils": "0.1.1"
4141
},
4242
"devDependencies": {
43-
"@types/react": "^16.9.19",
43+
"@types/react": "17.0.2",
4444
"react": "^16.13.1",
4545
"react-native-builder-bob": "^0.18.0",
4646
"sendbird": "^3.1.9",

packages/chat-react-hooks/src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export { useUserList } from './common/useUserList';
55
export { usePushTrigger } from './common/usePushTrigger';
66
export { useTotalUnreadMessageCount } from './common/useTotalUnreadMessageCount';
77
export { useTotalUnreadChannelCount } from './common/useTotalUnreadChannelCount';
8+
export { default as useInternalPubSub } from './common/useInternalPubSub';
89

910
export { useChannelHandler } from './handler/useChannelHandler';
1011
export { useConnectionHandler } from './handler/useConnectionHandler';

0 commit comments

Comments
 (0)