Skip to content

Commit 9dfb3d4

Browse files
authored
Merge pull request #1534 from GetStream/develop
Next Release
2 parents e706862 + 8ba5395 commit 9dfb3d4

File tree

63 files changed

+2820
-332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+2820
-332
lines changed

.github/workflows/check-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Lint
2828
run: yarn lerna-workspaces run lint && cd docusaurus && npx prettier --check '**/*.mdx'
2929
- name: Test
30-
run: yarn test:unit
30+
run: yarn test:coverage
3131
- name: SonarCloud Scan
3232
uses: sonarsource/sonarcloud-github-action@master
3333
with:

.github/workflows/next-release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@ jobs:
3131
run: yarn --frozen-lockfile && yarn bootstrap-ci
3232
- name: Lint
3333
run: yarn lerna-workspaces run lint && (cd docusaurus; npx prettier --check '**/*.mdx')
34+
- name: Test
35+
run: yarn test:coverage
36+
- name: SonarCloud Scan
37+
uses: sonarsource/sonarcloud-github-action@master
38+
with:
39+
args: >
40+
-Dsonar.organization=getstream
41+
-Dsonar.projectKey=GetStream_stream-chat-react-native
42+
-Dsonar.javascript.lcov.reportPaths=./package/coverage/lcov.info
43+
-Dsonar.sources=package/src/
44+
-Dsonar.test.exclusions=**/__tests__/**
45+
-Dsonar.verbose=true
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3449
- name: Publish Next Release
3550
run: GITHUB_SHORT_SHA="$(git rev-parse --short $GITHUB_SHA)" yarn release-next
3651
env:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Component to render when image fails to load in `Gallery`.
2+
3+
| Type | Default |
4+
| --------- | ----------------------------- |
5+
| component | `ImageLoadingFailedIndicator` |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Component to render when image is loading in `Gallery`.
2+
3+
| Type | Default |
4+
| --------- | ----------------------- |
5+
| component | `ImageLoadingIndicator` |

docusaurus/docs/reactnative/core-components/channel.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ import HasFilePicker from '../common-content/core-components/channel/props/has_f
6666
import HasImagePicker from '../common-content/core-components/channel/props/has_image_picker.mdx';
6767
import HideDateSeparators from '../common-content/core-components/channel/props/hide_date_separators.mdx';
6868
import HideStickyDateHeader from '../common-content/core-components/channel/props/hide_sticky_date_header.mdx';
69+
import ImageLoadingFailedIndicator from '../common-content/core-components/channel/props/image_loading_failed_indicator.mdx';
70+
import ImageLoadingIndicator from '../common-content/core-components/channel/props/image_loading_indicator.mdx';
6971
import ImageUploadPreview from '../common-content/core-components/channel/props/image_upload_preview.mdx';
7072
import InitialValue from '../common-content/core-components/channel/props/initial_value.mdx';
7173
import InitialScrollToFirstUnreadMessage from '../common-content/core-components/channel/props/initial_scroll_to_first_unread_message.mdx';
@@ -742,6 +744,14 @@ Callback function to set the [ref](https://reactjs.org/docs/refs-and-the-dom.htm
742744

743745
<Giphy />
744746

747+
### ImageLoadingFailedIndicator
748+
749+
<ImageLoadingFailedIndicator />
750+
751+
### ImageLoadingIndicator
752+
753+
<ImageLoadingIndicator />
754+
745755
### ImageUploadPreview
746756

747757
<ImageUploadPreview />

docusaurus/docs/reactnative/ui-components/video_thumbnail.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,14 @@ id: video-thumbnail
33
title: Video Thumbnail
44
---
55

6-
`VideoThumbnail` is a default UI component for rendering video thumbnail for video attachments within `MessageList`. This component doesn't accept any props.
6+
`VideoThumbnail` is a default UI component for rendering video thumbnail for video attachments within `MessageList`.
7+
8+
## Props
9+
10+
### thumb_url
11+
12+
The thumbnail URL to be displayed for the video.
13+
14+
| Type |
15+
| ------ |
16+
| string |

examples/ExpoMessaging/yarn.lock

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,6 +1682,27 @@
16821682
xcode "^3.0.1"
16831683
xml2js "0.4.23"
16841684

1685+
"@expo/config-plugins@^4.0.14":
1686+
version "4.1.5"
1687+
resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-4.1.5.tgz#9d357d2cda9c095e511b51583ede8a3b76174068"
1688+
integrity sha512-RVvU40RtZt12HavuDAe+LDIq9lHj7sheOfMEHdmpJ/uTA8pgvkbc56XF6JHQD+yRr6+uhhb+JnAasGq49dsQbw==
1689+
dependencies:
1690+
"@expo/config-types" "^45.0.0"
1691+
"@expo/json-file" "8.2.36"
1692+
"@expo/plist" "0.0.18"
1693+
"@expo/sdk-runtime-versions" "^1.0.0"
1694+
"@react-native/normalize-color" "^2.0.0"
1695+
chalk "^4.1.2"
1696+
debug "^4.3.1"
1697+
find-up "~5.0.0"
1698+
getenv "^1.0.0"
1699+
glob "7.1.6"
1700+
resolve-from "^5.0.0"
1701+
semver "^7.3.5"
1702+
slash "^3.0.0"
1703+
xcode "^3.0.1"
1704+
xml2js "0.4.23"
1705+
16851706
"@expo/config-types@^43.0.1":
16861707
version "43.0.1"
16871708
resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-43.0.1.tgz#3e047dccb371741a540980eaff26fb0c95039c30"
@@ -1692,6 +1713,11 @@
16921713
resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-44.0.0.tgz#d3480fe2c99f9e895dae4ebba58b74ed72d03e26"
16931714
integrity sha512-d+gpdKOAhqaD5RmcMzGgKzNtvE1w+GCqpFQNSXLliYlXjj+Tv0eL8EPeAdPtvke0vowpPFwd5McXLA90dgY6Jg==
16941715

1716+
"@expo/config-types@^45.0.0":
1717+
version "45.0.0"
1718+
resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-45.0.0.tgz#963c2fdce8fbcbd003758b92ed8a25375f437ef6"
1719+
integrity sha512-/QGhhLWyaGautgEyU50UJr5YqKJix5t77ePTwreOVAhmZH+ff3nrrtYTTnccx+qF08ZNQmfAyYMCD3rQfzpiJA==
1720+
16951721
"@expo/[email protected]", "@expo/config@^6.0.6":
16961722
version "6.0.19"
16971723
resolved "https://registry.yarnpkg.com/@expo/config/-/config-6.0.19.tgz#26a7f7ffb6419cc6e6d4205b3c7764aa9ecb551a"
@@ -1775,6 +1801,15 @@
17751801
json5 "^1.0.1"
17761802
write-file-atomic "^2.3.0"
17771803

1804+
1805+
version "8.2.36"
1806+
resolved "https://registry.yarnpkg.com/@expo/json-file/-/json-file-8.2.36.tgz#62a505cb7f30a34d097386476794680a3f7385ff"
1807+
integrity sha512-tOZfTiIFA5KmMpdW9KF7bc6CFiGjb0xnbieJhTGlHrLL+ps2G0OkqmuZ3pFEXBOMnJYUVpnSy++52LFxvpa5ZQ==
1808+
dependencies:
1809+
"@babel/code-frame" "~7.10.4"
1810+
json5 "^1.0.1"
1811+
write-file-atomic "^2.3.0"
1812+
17781813
"@expo/metro-config@~0.2.6":
17791814
version "0.2.8"
17801815
resolved "https://registry.yarnpkg.com/@expo/metro-config/-/metro-config-0.2.8.tgz#c0fd56723e2fb9bb352e788e8f8fe0e218aaf663"
@@ -1804,6 +1839,15 @@
18041839
base64-js "^1.2.3"
18051840
xmlbuilder "^14.0.0"
18061841

1842+
1843+
version "0.0.18"
1844+
resolved "https://registry.yarnpkg.com/@expo/plist/-/plist-0.0.18.tgz#9abcde78df703a88f6d9fa1a557ee2f045d178b0"
1845+
integrity sha512-+48gRqUiz65R21CZ/IXa7RNBXgAI/uPSdvJqoN9x1hfL44DNbUoWHgHiEXTx7XelcATpDwNTz6sHLfy0iNqf+w==
1846+
dependencies:
1847+
"@xmldom/xmldom" "~0.7.0"
1848+
base64-js "^1.2.3"
1849+
xmlbuilder "^14.0.0"
1850+
18071851
"@expo/prebuild-config@^3.0.15":
18081852
version "3.1.0"
18091853
resolved "https://registry.yarnpkg.com/@expo/prebuild-config/-/prebuild-config-3.1.0.tgz#9fa10f12745ecaa6d3d4957ba97142edb8747a85"
@@ -3478,6 +3522,13 @@ expo-asset@~8.4.6:
34783522
path-browserify "^1.0.0"
34793523
url-parse "^1.4.4"
34803524

3525+
expo-av@~10.2.0:
3526+
version "10.2.1"
3527+
resolved "https://registry.yarnpkg.com/expo-av/-/expo-av-10.2.1.tgz#c08bce464d673d0e90c68cac082bfb75a9437f25"
3528+
integrity sha512-thrkHVg4HVn8L+jHKVnXYd4TLkJQblFE8QXd3d1hwrYG63gehQT2nK4DM0Frl50EcdV8YN9XjhwHobtK5oMc9A==
3529+
dependencies:
3530+
"@expo/config-plugins" "^4.0.2"
3531+
34813532
expo-blur@~11.0.0:
34823533
version "11.0.0"
34833534
resolved "https://registry.yarnpkg.com/expo-blur/-/expo-blur-11.0.0.tgz#3542afed5c0037554657d98c31a5933dd78098dd"
@@ -6660,6 +6711,21 @@ [email protected]:
66606711
jsonwebtoken "^8.5.1"
66616712
ws "^7.4.4"
66626713

6714+
6715+
version "6.7.0"
6716+
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-6.7.0.tgz#1add1e612f0009f9e7a69d35f2a2fae1296d85ef"
6717+
integrity sha512-usH/kh0ZjbjOP8TTlsbXS53UZRUmwP0r1dOYf0jrQg3HPfwG51iTkrXGNlzPF9ueNXkPB8ObSm7bcdVRoo+4bg==
6718+
dependencies:
6719+
"@babel/runtime" "^7.16.3"
6720+
"@types/jsonwebtoken" "^8.5.6"
6721+
"@types/ws" "^7.4.0"
6722+
axios "^0.22.0"
6723+
base64-js "^1.5.1"
6724+
form-data "^4.0.0"
6725+
isomorphic-ws "^4.0.1"
6726+
jsonwebtoken "^8.5.1"
6727+
ws "^7.4.4"
6728+
66636729
strict-uri-encode@^2.0.0:
66646730
version "2.0.0"
66656731
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@
514514
CLANG_ENABLE_MODULES = YES;
515515
CODE_SIGN_ENTITLEMENTS = SampleApp/SampleAppDebug.entitlements;
516516
CODE_SIGN_IDENTITY = "iPhone Developer";
517-
CURRENT_PROJECT_VERSION = 128;
517+
CURRENT_PROJECT_VERSION = 136;
518518
DEVELOPMENT_TEAM = EHV7XZLAHA;
519519
ENABLE_BITCODE = NO;
520520
INFOPLIST_FILE = SampleApp/Info.plist;
@@ -545,7 +545,7 @@
545545
CODE_SIGN_ENTITLEMENTS = SampleApp/SampleAppRelease.entitlements;
546546
CODE_SIGN_IDENTITY = "iPhone Distribution";
547547
CODE_SIGN_STYLE = Manual;
548-
CURRENT_PROJECT_VERSION = 128;
548+
CURRENT_PROJECT_VERSION = 136;
549549
DEVELOPMENT_TEAM = EHV7XZLAHA;
550550
INFOPLIST_FILE = SampleApp/Info.plist;
551551
LD_RUNPATH_SEARCH_PATHS = (

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>1.7.3</string>
20+
<string>1.7.4</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>128</string>
24+
<string>136</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>1.7.3</string>
18+
<string>1.7.4</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>128</string>
22+
<string>136</string>
2323
</dict>
2424
</plist>

0 commit comments

Comments
 (0)