@stream-io/video-react-sdk 1.31.5 → 1.31.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.31.7](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.31.6...@stream-io/video-react-sdk-1.31.7) (2026-01-28)
6
+
7
+ ### Dependency Updates
8
+
9
+ - `@stream-io/video-client` updated to version `1.41.2`
10
+ - `@stream-io/video-react-bindings` updated to version `1.13.2`
11
+
12
+ ### Bug Fixes
13
+
14
+ - **react:** normalize participant names for accent-insensitive matching ([#2102](https://github.com/GetStream/stream-video-js/issues/2102)) ([723c486](https://github.com/GetStream/stream-video-js/commit/723c48681ace8dd37804fe3f35974cf62043b7f8))
15
+
16
+ ## [1.31.6](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.31.5...@stream-io/video-react-sdk-1.31.6) (2026-01-27)
17
+
18
+ ### Dependency Updates
19
+
20
+ - `@stream-io/video-filters-web` updated to version `0.7.1`
21
+
5
22
  ## [1.31.5](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.31.4...@stream-io/video-react-sdk-1.31.5) (2026-01-26)
6
23
 
7
24
  ### Dependency Updates
package/dist/index.cjs.js CHANGED
@@ -849,6 +849,15 @@ const applyElementToRef = (ref, element) => {
849
849
  ref.current = element;
850
850
  };
851
851
 
852
+ /**
853
+ * Normalizes a string for diacritic-insensitive comparison.
854
+ * E.g., "Éva" becomes "eva", allowing "eva" to match "Éva".
855
+ */
856
+ const normalizeString = (value) => value
857
+ .normalize('NFD')
858
+ .replace(/\p{Diacritic}/gu, '')
859
+ .toLowerCase();
860
+
852
861
  /**
853
862
  * @description Extends video element with `stream` property
854
863
  * (`srcObject`) to reactively handle stream changes
@@ -1501,7 +1510,7 @@ const SpeakerTest = (props) => {
1501
1510
  const audioElementRef = react.useRef(null);
1502
1511
  const [isPlaying, setIsPlaying] = react.useState(false);
1503
1512
  const { t } = videoReactBindings.useI18n();
1504
- const { audioUrl = `https://unpkg.com/${"@stream-io/video-react-sdk"}@${"1.31.5"}/assets/piano.mp3`, } = props;
1513
+ const { audioUrl = `https://unpkg.com/${"@stream-io/video-react-sdk"}@${"1.31.7"}/assets/piano.mp3`, } = props;
1505
1514
  // Update audio output device when selection changes
1506
1515
  react.useEffect(() => {
1507
1516
  const audio = audioElementRef.current;
@@ -2053,8 +2062,9 @@ const ActiveUsersSearchResults = ({ searchQuery, activeUsersSearchFn: activeUser
2053
2062
  const { useParticipants } = videoReactBindings.useCallStateHooks();
2054
2063
  const participants = useParticipants({ sortBy: videoClient.name });
2055
2064
  const activeUsersSearchFn = react.useCallback(async (queryString) => {
2056
- const queryRegExp = new RegExp(queryString, 'i');
2057
- return participants.filter((p) => p.name.match(queryRegExp));
2065
+ const normalizedQuery = normalizeString(queryString);
2066
+ const queryRegExp = new RegExp(normalizedQuery, 'i');
2067
+ return participants.filter((p) => normalizeString(p.name).match(queryRegExp));
2058
2068
  }, [participants]);
2059
2069
  const { searchQueryInProgress, searchResults } = useSearch({
2060
2070
  searchFn: activeUsersSearchFnFromProps ?? activeUsersSearchFn,
@@ -3218,7 +3228,7 @@ const checkCanJoinEarly = (startsAt, joinAheadTimeSeconds) => {
3218
3228
  return Date.now() >= +startsAt - (joinAheadTimeSeconds ?? 0) * 1000;
3219
3229
  };
3220
3230
 
3221
- const [major, minor, patch] = ("1.31.5").split('.');
3231
+ const [major, minor, patch] = ("1.31.7").split('.');
3222
3232
  videoClient.setSdkInfo({
3223
3233
  type: videoClient.SfuModels.SdkType.REACT,
3224
3234
  major,