Skip to content

Commit b4dbf07

Browse files
Merge pull request #332 from GetStream/file-upload-preview-changelog
Adding to CHANGELOG for recently merged FileUploadPreview PR
2 parents 55077fc + cffe721 commit b4dbf07

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## [1.3.0] 2020-09-11 (UNPUBLISHED)
3+
## [1.3.0] 2020-09-16 (UNPUBLISHED)
44

55
**BREAKING CHANGES**
66

@@ -74,6 +74,17 @@
7474

7575
- All contexts are exported and any values can be accessed through a higher order component (ex: `withMessagesContext`) or the `useContext` hook (ex: `const { messages } = useContext(MessagesContext);`)
7676

77+
*FileUploadPreview*
78+
79+
- We fixed a bug for being unable to remove a file from the `MessageInput` and made it consistent to `ImageUploadPreview`
80+
- We have removed support for the `fileUploadPreview.dismissText` theme value
81+
- We have added support for `fileUploadPreview.dismiss`, `fileUploadPreview.dismissImage`, and `fileUploadPreview.imageContainer` theme values
82+
83+
*MessageInput*
84+
85+
- We replaced the default image picker [react-native-image-picker](https://github.com/react-native-community/react-native-image-picker) for [react-native-image-crop-picker](https://github.com/ivpusic/react-native-image-crop-picker) and added `compressImageQuality` prop to support image compression out-of-the-box
86+
- Added `FileUploadPreview` and `ImageUploadPreview` props to support custom overrides to those components
87+
7788
*Deprecated Props*
7889

7990
- We have removed support for the `MessageList` component's `onMessageTouch` prop. Since this prop no longer exists, we have also removed `dismissKeyboardOnMessageTouch`. Please use the `onPress` prop on the `MessageSimple` component to perform an action on touch of a message.

0 commit comments

Comments
 (0)