Skip to content

Commit bfb20b7

Browse files
Bump build version
1 parent a2d3446 commit bfb20b7

File tree

8 files changed

+79
-13
lines changed

8 files changed

+79
-13
lines changed

CHANGELOG.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,71 @@
11
# Changelog
22

3+
## [3.3.0] (2021-04-07)
4+
5+
### New Additions
6+
7+
- Added inline date separators, which can be customized by adding your own UI component [#581](https://github.com/GetStream/stream-chat-react-native/pull/581/files)
8+
9+
```jsx
10+
<Channel
11+
InlineDateSeparator={({ date }) => { /** Your custom UI */ }}
12+
maxTimeBetweenGroupedMessages={40000} // number of ms, after which further messages will be considered part of new group.
13+
>
14+
```
15+
16+
- Added ability to override default onLongPress, onPress, onPressIn and onDoubleTap handlers using following props on Channel component:
17+
18+
- onLongPressMessage
19+
- onPressMessage
20+
- onPressInMessage
21+
- onDoubleTapMessage
22+
23+
You will have access to payload of that handler as param:
24+
25+
```jsx
26+
<Channel
27+
...
28+
onLongPressMessage={({
29+
actionHandlers: {
30+
deleteMessage, // () => Promise<void>;
31+
editMessage, // () => void;
32+
reply, // () => void;
33+
resendMessage, // () => Promise<void>;
34+
showMessageOverlay, // () => void;
35+
toggleBanUser, // () => Promise<void>;
36+
toggleMuteUser, // () => Promise<void>;
37+
toggleReaction, // (reactionType: string) => Promise<void>;
38+
},
39+
defaultHandler, // () => void
40+
event, // any event object corresponding to touchable feedback
41+
emitter, // which component trigged this touchable feedback e.g. card, fileAttachment, gallery, message ... etc
42+
message // message object on which longPress occured
43+
}) => {
44+
/** Your custom action */
45+
}}
46+
/>
47+
```
48+
49+
### **🛑 BREAKING**
50+
51+
- Following props are no longer accessible on `Input` component (which is used to customize underlying input box). They should be accessed from `MessageInputContext` (or corresponding hook - `useMessageInputContext`)
52+
53+
- openAttachmentPicker
54+
- closeAttachmentPicker
55+
- toggleAttachmentPicker
56+
- openCommandsPicker
57+
- openMentionsPicker
58+
- openFilePicker
59+
60+
- Value `typing` (which is list of users who are typing), has been moved from `ChannelContext` to its own separate context - `TypingContext` [c450719](https://github.com/GetStream/stream-chat-react-native/commit/c4507194956360ae27731fc81fed1d7dc1ed1861)
61+
62+
63+
### Fixes
64+
65+
- [#522](https://github.com/GetStream/stream-chat-react-native/issues/522) `initialValue` not being set for inputbox [63b3d79](https://github.com/GetStream/stream-chat-react-native/pull/572/commits/63b3d7995b30dccf23aece51cbc7479388890fd0)
66+
- Fixed goToMessage functionality (when you press on quotedMessage) in MessageList [#580](https://github.com/GetStream/stream-chat-react-native/pull/580)
67+
- Fixed image picker not loading when swapping from keyboard [a180ad4](https://github.com/GetStream/stream-chat-react-native/commit/a180ad43fb1766f0252467c4d6aec84ca7c9e26d)
68+
369
## [3.2.0] (2021-03-23)
470

571
### **🛑 BREAKING**

examples/SampleApp/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ android {
139139
targetSdkVersion rootProject.ext.targetSdkVersion
140140
multiDexEnabled true
141141
vectorDrawables.useSupportLibrary = true
142-
versionCode 20
143-
versionName "0.0.20"
142+
versionCode 21
143+
versionName "0.0.21"
144144
}
145145
splits {
146146
abi {

examples/SampleApp/ios/SampleApp-tvOS/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.0.20</string>
18+
<string>0.0.21</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>20</string>
22+
<string>21</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true />
2525
<key>NSAppTransportSecurity</key>

examples/SampleApp/ios/SampleApp-tvOSTests/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.0.20</string>
18+
<string>0.0.21</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>20</string>
22+
<string>21</string>
2323
</dict>
2424
</plist>

examples/SampleApp/ios/SampleApp.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@
672672
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
673673
CLANG_ENABLE_MODULES = YES;
674674
CODE_SIGN_IDENTITY = "iPhone Distribution";
675-
CURRENT_PROJECT_VERSION = 20;
675+
CURRENT_PROJECT_VERSION = 21;
676676
DEVELOPMENT_TEAM = EHV7XZLAHA;
677677
ENABLE_BITCODE = NO;
678678
INFOPLIST_FILE = SampleApp/Info.plist;
@@ -699,7 +699,7 @@
699699
CLANG_ENABLE_MODULES = YES;
700700
CODE_SIGN_IDENTITY = "iPhone Distribution";
701701
CODE_SIGN_STYLE = Manual;
702-
CURRENT_PROJECT_VERSION = 20;
702+
CURRENT_PROJECT_VERSION = 21;
703703
DEVELOPMENT_TEAM = EHV7XZLAHA;
704704
INFOPLIST_FILE = SampleApp/Info.plist;
705705
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

examples/SampleApp/ios/SampleApp/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>0.0.20</string>
20+
<string>0.0.21</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>20</string>
24+
<string>21</string>
2525
<key>LSRequiresIPhoneOS</key>
2626
<true />
2727
<key>NSAppTransportSecurity</key>

examples/SampleApp/ios/SampleAppTests/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.0.20</string>
18+
<string>0.0.21</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>20</string>
22+
<string>21</string>
2323
</dict>
2424
</plist>

examples/SampleApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SampleApp",
3-
"version": "0.0.20",
3+
"version": "0.0.21",
44
"private": true,
55
"scripts": {
66
"android": "npx react-native run-android",

0 commit comments

Comments
 (0)