Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ local.properties
android.iml

.claude/worktrees/
.claude/launch.json

# transient release notes written by the enrich-changelog release postTarget
packages/*/.release-notes.md
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"@eslint/js": "^9.39.5",
"@jscutlery/semver": "^6.2.0",
"@nx/devkit": "^22.7.8",
"babel-preset-expo": "57.0.5",
"eslint": "^9.39.5",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-react": "^7.37.5",
Expand All @@ -84,6 +85,8 @@
"lint-staged": "^16.4.0",
"nx": "^22.7.8",
"prettier": "^3.9.6",
"react": "19.2.8",
"react-dom": "19.2.8",
"typescript": "^6.0.3",
"typescript-eslint": "^8.65.0",
"vite": "^8.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@rollup/plugin-typescript": "^12.3.0",
"@stream-io/typescript-config": "workspace:^",
"@types/react": "~19.2.18",
"react": "19.2.3",
"react": "19.2.8",
"rimraf": "^6.1.3",
"rollup": "^4.62.4",
"typescript": "^6.0.3"
Expand Down
15 changes: 12 additions & 3 deletions packages/react-native-sdk/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
/** @typedef {import('jest').Config} */
const config = {
preset: 'react-native',
// referenced directly rather than via the deprecated 'react-native' preset
// shim, which only resolves while react-native is hoisted to the root
preset: '@react-native/jest-preset',
setupFilesAfterEnv: [
'<rootDir>/jest-setup.ts',
// this package is hoisted to the root node_modules
'<rootDir>/../../node_modules/react-native-gesture-handler/jestSetup.js',
require.resolve('react-native-gesture-handler/jestSetup'),
],
testPathIgnorePatterns: [
'<rootDir>/__tests__/mocks/',
'<rootDir>/__tests__/utils/',
'<rootDir>/expo-config-plugin/__tests__',
],
modulePathIgnorePatterns: ['<rootDir>/dist/'],
// the workspace-linked bindings resolve react from the repo root, which the
// web side pins to a newer version; force everything onto this package's copy
// so the tests do not load two react instances
moduleNameMapper: {
'^react$': require.resolve('react'),
'^react/jsx-runtime$': require.resolve('react/jsx-runtime'),
'^react/jsx-dev-runtime$': require.resolve('react/jsx-dev-runtime'),
},
transformIgnorePatterns: [
// added as per the README in https://github.com/invertase/notifee/tree/main/packages/react-native
'node_modules/(?!(jest-)?react-native|@react-native|@notifee)',
Expand Down
1 change: 1 addition & 0 deletions packages/react-native-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
"@react-native-firebase/app": "^24.1.1",
"@react-native-firebase/messaging": "^24.1.1",
"@react-native/babel-preset": "0.86.2",
"@react-native/jest-preset": "0.86.2",
"@react-native/metro-config": "0.86.2",
"@stream-io/noise-cancellation-react-native": "workspace:^",
"@stream-io/react-native-callingx": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
"@types/node": "^25.9.5",
"@types/react": "~19.2.18",
"@types/react-dom": "~19.2.4",
"react": "19.2.3",
"react-dom": "19.2.3",
"react": "19.2.8",
"react-dom": "19.2.8",
"rimraf": "^6.1.3",
"rollup": "^4.62.4",
"typescript": "^6.0.3"
Expand Down
6 changes: 3 additions & 3 deletions sample-apps/react/audio-rooms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
},
"dependencies": {
"@stream-io/video-react-sdk": "workspace:^",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-router-dom": "^6.30.4"
"react": "19.2.8",
"react-dom": "19.2.8",
"react-router": "^8.3.0"
},
"devDependencies": {
"@stream-io/typescript-config": "workspace:^",
Expand Down
9 changes: 2 additions & 7 deletions sample-apps/react/audio-rooms/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import {
createBrowserRouter,
Navigate,
Outlet,
redirect,
RouterProvider,
} from 'react-router-dom';
import { createBrowserRouter, Navigate, Outlet, redirect } from 'react-router';
import { RouterProvider } from 'react-router/dom';

import { Login, Room, RoomList } from './pages';
import { AppShell } from './components/AppShell';
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/audio-rooms/src/components/AppShell.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Outlet } from 'react-router-dom';
import { Outlet } from 'react-router';
import Sidebar from './Sidebar';
import { JoinedCallProvider, VideoClientProvider } from '../contexts';
import { CreateRoom } from './CreateRoom/CreateRoom';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MouseEventHandler, useCallback, useState } from 'react';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { useStreamVideoClient } from '@stream-io/video-react-sdk';
import { CloseIcon } from '../icons';
import { useUserContext } from '../../contexts';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
useCall,
useCallStateHooks,
} from '@stream-io/video-react-sdk';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { useJoinedCall } from '../../contexts';
import { PropsWithChildren } from 'react';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useCallback, useEffect, useRef, useState } from 'react';
import { Link } from 'react-router-dom';
import { Link } from 'react-router';
import {
Call,
QueryCallsRequest,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RoomLiveState, roomStates } from '../../utils/roomLiveState';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';

type RoomListingTabsProps = {
activeLiveState: RoomLiveState;
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/audio-rooms/src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { Avatar, useStreamVideoClient } from '@stream-io/video-react-sdk';
import { useUserContext } from '../contexts';
import { LeaveIcon } from './icons';
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/audio-rooms/src/pages/Login.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import icon from '../assets/icon.png';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { JSX } from 'react';
import { useUserContext } from '../contexts';
import users from '../data/users';
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/audio-rooms/src/pages/Room.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useCallback, useEffect, useState } from 'react';
import { Link, useParams, useSearchParams } from 'react-router-dom';
import { Link, useParams, useSearchParams } from 'react-router';
import {
Call,
StreamCall,
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/audio-rooms/src/pages/RoomList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useParams } from 'react-router-dom';
import { useParams } from 'react-router';
import { RoomListing } from '../components/RoomList';
import { RoomListingTabs } from '../components/RoomList/RoomListingTabs';
import { RoomLiveState, roomStates } from '../utils/roomLiveState';
Expand Down
4 changes: 2 additions & 2 deletions sample-apps/react/cookbook-participant-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@mui/material": "^6.5.0",
"@stream-io/video-react-sdk": "workspace:^",
"@stream-io/video-styling": "workspace:^",
"react": "19.2.3",
"react-dom": "19.2.3"
"react": "19.2.8",
"react-dom": "19.2.8"
},
"devDependencies": {
"@stream-io/typescript-config": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions sample-apps/react/egress-composite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"@sentry/react": "^10.69.0",
"@skooldev/skool-stream-layout": "1.0.22",
"@stream-io/video-react-sdk": "workspace:^",
"react": "19.2.3",
"react-dom": "19.2.3"
"react": "19.2.8",
"react-dom": "19.2.8"
},
"devDependencies": {
"@playwright/test": "^1.62.1",
Expand Down
6 changes: 3 additions & 3 deletions sample-apps/react/livestream-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"@stream-io/video-react-sdk": "workspace:^",
"clsx": "^2.1.1",
"hls.js": "^1.6.16",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-router-dom": "^6.30.4"
"react": "19.2.8",
"react-dom": "19.2.8",
"react-router": "^8.3.0"
},
"devDependencies": {
"@stream-io/typescript-config": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/livestream-app/src/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Button, Stack, Typography } from '@mui/material';
import { Link } from 'react-router-dom';
import { Link } from 'react-router';

export const Home = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/livestream-app/src/LoadingState.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button, Stack } from '@mui/material';
import { LoadingIndicator } from '@stream-io/video-react-sdk';
import { Link } from 'react-router-dom';
import { Link } from 'react-router';

type ErrorPanelProps = {
error: Error;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { StreamVideoClient, User } from '@stream-io/video-react-sdk';
import { PropsWithChildren, useEffect, useMemo, useState } from 'react';
import { getUser } from '../utils/getUser';
import { getURLCredentials } from '../utils/getURLCredentials';
import { useParams } from 'react-router-dom';
import { useParams } from 'react-router';
import { DEFAULT_CALL_TYPE } from '../utils/constants';

const envApiKey =
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/livestream-app/src/hooks/useSetCall.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useParams } from 'react-router-dom';
import { useParams } from 'react-router';
import { useEffect, useState } from 'react';
import {
Call,
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/livestream-app/src/hosts/Backstage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect } from 'react';
import { useParams } from 'react-router-dom';
import { useParams } from 'react-router';
import {
PaginatedGridLayout,
StreamCall,
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/livestream-app/src/hosts/Hosts.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { StreamVideo } from '@stream-io/video-react-sdk';
import { Outlet } from 'react-router-dom';
import { Outlet } from 'react-router';
import { useInitVideoClient } from '../hooks/useInitVideoClient';

export const Hosts = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button, Input, Stack, Typography } from '@mui/material';
import { useState } from 'react';
import { Link } from 'react-router-dom';
import { Link } from 'react-router';

export const SetupLivestream = () => {
const [callId, setCallId] = useState<string>(() =>
Expand Down
3 changes: 2 additions & 1 deletion sample-apps/react/livestream-app/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import '@stream-io/video-react-sdk/dist/css/styles.css';
import './main.scss';

import ReactDOM from 'react-dom/client';
import { createBrowserRouter, RouterProvider } from 'react-router-dom';
import { createBrowserRouter } from 'react-router';
import { RouterProvider } from 'react-router/dom';
import { StreamTheme } from '@stream-io/video-react-sdk';
import { createTheme, ThemeProvider } from '@mui/material';
import { SetupLivestream } from './hosts/SetupLivestream';
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/livestream-app/src/viewers/Viewers.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Link, Outlet, useParams } from 'react-router-dom';
import { Link, Outlet, useParams } from 'react-router';
import { useEffect, useState } from 'react';
import {
StreamCall,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { LeaveBadge } from '../../components';

import './ViewerControls.scss';
Expand Down
6 changes: 3 additions & 3 deletions sample-apps/react/messenger-clone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"dayjs": "^1.11.21",
"immer": "^9.0.21",
"nanoid": "^5.1.16",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-router-dom": "^6.30.4",
"react": "19.2.8",
"react-dom": "19.2.8",
"react-router": "^8.3.0",
"stream-chat": "^9.50.2",
"stream-chat-react": "^14.10.0"
},
Expand Down
8 changes: 2 additions & 6 deletions sample-apps/react/messenger-clone/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import {
createBrowserRouter,
Outlet,
redirect,
RouterProvider,
} from 'react-router-dom';
import { createBrowserRouter, Outlet, redirect } from 'react-router';
import { RouterProvider } from 'react-router/dom';
import { AppShell } from './components/AppShell';
import { UserList } from './components/UserList';
import { UserContextProvider } from './contexts/UserContext';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logout } from '@mui/icons-material';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { useStreamVideoClient } from '@stream-io/video-react-sdk';
import { useChatContext } from 'stream-chat-react';
import { useUserContext } from '../../contexts/UserContext';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { Avatar } from 'stream-chat-react';
import { useUserContext } from '../../contexts/UserContext';
import users from '../../../data/users.json';
Expand Down
4 changes: 2 additions & 2 deletions sample-apps/react/react-dogfood/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"next-auth": "^4.24.15",
"qrcode.react": "^4.2.0",
"raw-body": "^3.0.2",
"react": "19.2.3",
"react-dom": "19.2.3",
"react": "19.2.8",
"react-dom": "19.2.8",
"stream-chat": "^9.50.2",
"stream-chat-react": "^14.10.0",
"swr": "^2.4.2",
Expand Down
4 changes: 2 additions & 2 deletions sample-apps/react/stream-video-react-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@stream-io/video-react-sdk": "workspace:^",
"react": "19.2.3",
"react-dom": "19.2.3"
"react": "19.2.8",
"react-dom": "19.2.8"
},
"devDependencies": {
"@stream-io/typescript-config": "workspace:^",
Expand Down
6 changes: 3 additions & 3 deletions sample-apps/react/zoom-clone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"@stream-io/video-react-sdk": "workspace:^",
"clsx": "^2.1.1",
"nanoid": "^5.1.16",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-router-dom": "^6.30.4",
"react": "19.2.8",
"react-dom": "19.2.8",
"react-router": "^8.3.0",
"stream-chat": "^9.50.2",
"stream-chat-react": "^14.10.0"
},
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/zoom-clone/src/Root.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { StreamTheme } from '@stream-io/video-react-sdk';
import { Outlet } from 'react-router-dom';
import { Outlet } from 'react-router';

export const Root = () => (
<StreamTheme
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/zoom-clone/src/components/CallLobby.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useLocation, useNavigate, useParams } from 'react-router-dom';
import { useLocation, useNavigate, useParams } from 'react-router';
import { useChatContext } from 'stream-chat-react';
import { StreamCall } from '@stream-io/video-react-sdk';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
useChatContext,
Window,
} from 'stream-chat-react';
import { useParams } from 'react-router-dom';
import { useParams } from 'react-router';

import { DEFAULT_CHANNEL_TYPE } from '../utils';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Outlet } from 'react-router-dom';
import { Outlet } from 'react-router';
import { ClientProviders } from '../contexts/ClientProviders';
import { useUserContext } from '../contexts/UserContext';
import { JoinedCallProvider } from '../contexts/JoinedCallProvider';
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/zoom-clone/src/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { useStreamVideoClient } from '@stream-io/video-react-sdk';
import { useChatContext } from 'stream-chat-react';

Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/zoom-clone/src/components/MeetingUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
SpeakerLayout,
useCall,
} from '@stream-io/video-react-sdk';
import { useLocation, useNavigate } from 'react-router-dom';
import { useLocation, useNavigate } from 'react-router';
import { PropsWithChildren } from 'react';
import { useJoinedCall } from '../contexts/JoinedCallProvider';

Expand Down
Loading
Loading