Skip to content

Commit cd1d63b

Browse files
committed
chore: resolve conflicts from develop
2 parents 0dd0fb5 + bb40124 commit cd1d63b

File tree

88 files changed

+4728
-3167
lines changed

Some content is hidden

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

88 files changed

+4728
-3167
lines changed

.github/workflows/changelog-preview.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@ on:
99
jobs:
1010
generate_changelog_preview:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node-version: [ 24.x ]
1215
steps:
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: ${{ matrix.node-version }}
1320
- uses: actions/checkout@v2
1421
with:
1522
ref: develop
@@ -45,7 +52,7 @@ jobs:
4552
4653
echo "Changelog file ready! Setting up outputs"
4754
CHANGELOG_PREVIEW=$(cat NEXT_RELEASE_CHANGELOG.md)
48-
55+
4956
CHANGELOG_PREVIEW_ESCAPED="${CHANGELOG_PREVIEW//'%'/'%25'}"
5057
CHANGELOG_PREVIEW_ESCAPED="${CHANGELOG_PREVIEW_ESCAPED//$'\n'/'%0A'}"
5158
CHANGELOG_PREVIEW_ESCAPED="${CHANGELOG_PREVIEW_ESCAPED//$'\r'/'%0D'}"

.github/workflows/check-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node-version: [22.x]
16+
node-version: [24.x]
1717
steps:
1818
- uses: actions/checkout@v3
1919
with:

.github/workflows/next-release.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,60 @@ on:
44
push:
55
branches:
66
- main
7+
- develop
8+
9+
permissions:
10+
id-token: write # for OIDC / npm provenance if you use it
11+
actions: write # if you dispatch other workflows
12+
contents: write # commits / tags / merge-back
713

814
jobs:
9-
publish-release:
15+
publish:
1016
runs-on: ubuntu-latest
1117
strategy:
1218
matrix:
13-
node-version: [22.x]
19+
node-version: [24.x]
20+
1421
steps:
1522
- uses: actions/checkout@v2
1623
with:
17-
# pulls all commits (needed for semantic release to correctly version)
18-
fetch-depth: '0'
19-
# pulls all tags (needed for semantic release to correctly version)
20-
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
24+
fetch-depth: "0"
25+
26+
- name: Fetch tags
27+
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
28+
2129
- name: Use Node.js ${{ matrix.node-version }}
2230
uses: actions/setup-node@v4
2331
with:
2432
node-version: ${{ matrix.node-version }}
25-
registry-url: 'https://registry.npmjs.org'
33+
registry-url: "https://registry.npmjs.org"
34+
2635
- name: Prepare git
2736
run: |
28-
git config --global user.name 'stream-ci-bot'
37+
git config --global user.name 'stream-ci-bot'
2938
git config --global user.email '[email protected]'
39+
3040
- name: Install && Build - SDK and Sample App
3141
uses: ./.github/actions/install-and-build-sdk
42+
3243
- name: Lint
3344
run: yarn lerna-workspaces run lint
34-
- name: Publish Release
45+
46+
- name: Test
47+
if: github.ref == 'refs/heads/develop'
48+
run: yarn test:coverage
49+
50+
- name: Publish Next Release (develop)
51+
if: github.ref == 'refs/heads/develop'
52+
run: |
53+
GITHUB_SHORT_SHA="$(git rev-parse --short $GITHUB_SHA)" yarn release-next
54+
55+
- name: Publish Release (main)
56+
if: github.ref == 'refs/heads/main'
3557
run: yarn release
36-
env:
37-
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
38-
- name: Merge back changes
58+
59+
- name: Merge back changes (main -> develop)
60+
if: github.ref == 'refs/heads/main'
3961
run: |
4062
git stash
4163
git checkout develop

.github/workflows/sample-distribution.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,18 @@ jobs:
1515
build_and_deploy_ios_testflight_qa:
1616
name: Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/develop' }}
1717
runs-on: [macos-15]
18+
strategy:
19+
matrix:
20+
node-version: [ 24.x ]
1821
steps:
1922
- name: Connect Bot
2023
uses: webfactory/[email protected]
2124
with:
2225
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
26+
- name: Use Node.js ${{ matrix.node-version }}
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: ${{ matrix.node-version }}
2330
- uses: actions/checkout@v3
2431
- uses: maxim-lobanov/setup-xcode@v1
2532
with:
@@ -53,7 +60,14 @@ jobs:
5360
build_and_deploy_android_s3:
5461
name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop' }}
5562
runs-on: ubuntu-latest
63+
strategy:
64+
matrix:
65+
node-version: [ 24.x ]
5666
steps:
67+
- name: Use Node.js ${{ matrix.node-version }}
68+
uses: actions/setup-node@v4
69+
with:
70+
node-version: ${{ matrix.node-version }}
5771
- uses: actions/checkout@v2
5872
- uses: actions/setup-java@v3
5973
with:

.github/workflows/sdk-size-metrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- uses: actions/setup-node@v4
3131
with:
32-
node-version: 22.x
32+
node-version: 24.x
3333
cache: 'yarn'
3434

3535
- name: Run SDK Size Metrics

.yarnrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ nmHoistingLimits: workspaces
22

33
nodeLinker: node-modules
44

5+
npmPublishProvenance: true
6+
57
yarnPath: .yarn/releases/yarn-1.22.22.cjs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![NPM](https://img.shields.io/npm/v/stream-chat-react-native.svg)](https://www.npmjs.com/package/stream-chat-react-native)
1111
[![Build Status](https://github.com/GetStream/stream-chat-react-native/actions/workflows/release.yml/badge.svg)](https://github.com/GetStream/stream-chat-react-native/actions)
1212
[![Component Reference](https://img.shields.io/badge/docs-component%20reference-blue.svg)](https://getstream.io/chat/docs/sdk/reactnative)
13-
![JS Bundle Size](https://img.shields.io/badge/js_bundle_size-292%20KB-blue)
13+
![JS Bundle Size](https://img.shields.io/badge/js_bundle_size-304%20KB-blue)
1414

1515
<img align="right" src="https://getstream.imgix.net/images/ios-chat-tutorial/[email protected]?auto=format,enhance" width="50%" />
1616

examples/ExpoMessaging/app.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
"updates": {
1616
"fallbackToCacheTimeout": 0
1717
},
18+
"experiments": {
19+
"reactCompiler": true
20+
},
1821
"assetBundlePatterns": ["**/*"],
1922
"ios": {
2023
"supportsTablet": true,

examples/ExpoMessaging/app/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
import { Alert, Image, Pressable, StyleSheet, View } from 'react-native';
23
import { ChannelList, SqliteClient } from 'stream-chat-expo';
34
import { useCallback, useContext, useMemo } from 'react';

0 commit comments

Comments
 (0)