Skip to content

Commit b3d7e69

Browse files
authored
docs: sync react v14 channel-list tracker updates (#3041)
### 🎯 Goal Keep the internal React v14 migration trackers in sync with the latest confirmed SDK breaking changes and the follow-up docs work. ### 🛠 Implementation details - update `ai-docs/breaking-changes.md` to the new audited head `d2513383` - add `BC-052` for the `ChannelListMessenger` -> `ChannelListUI` rename and the removed direct `ChannelList` UI override props - update `ai-docs/docs-plan.md` with the reopened channel-list docs issue, then mark it resolved after the v14 docs were updated - record the current docs fallout and the secondary sweep fixes so the tracker matches the public docs state - docs-content companion update is already pushed on `docs/react-v14-latest-sync` and updates `docs-content#1104` ### 🎨 UI Changes None.
1 parent d251338 commit b3d7e69

2 files changed

Lines changed: 153 additions & 89 deletions

File tree

ai-docs/breaking-changes.md

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# React v14 Breaking Changes
22

3-
Last updated: 2026-03-20
3+
Last updated: 2026-03-23
44

55
## Scope
66

@@ -13,8 +13,8 @@ This file tracks confirmed v13 to v14 breaking changes for `stream-chat-react`.
1313
## Audit Reference
1414

1515
- Baseline tag: `v13.14.2`
16-
- Current audited SDK head: `7c978a9e559f2cb8581d65365a4eb5e932db573d` (`7c978a9e`, `2026-03-20`, `fix: change class names to reflect component renames (#3035)`)
17-
- Future mining starting point: diff `7c978a9e559f2cb8581d65365a4eb5e932db573d..HEAD` first, then compare any newly confirmed changes back to the original v13 baseline before adding them here
16+
- Current audited SDK head: `d251338327cdfe72042894c62c523bd9164c104f` (`d2513383`, `2026-03-23`, `fix: rename ChannelListMessenger to ChannelListUI (#3036)`)
17+
- Future mining starting point: diff `d251338327cdfe72042894c62c523bd9164c104f..HEAD` first, then compare any newly confirmed changes back to the original v13 baseline before adding them here
1818

1919
Only confirmed items should move from this file into the migration guide.
2020

@@ -1760,6 +1760,54 @@ Only confirmed items should move from this file into the migration guide.
17601760
- `docs/data/docs/chat-sdk/react/v14/02-ui-components/04-channel/05-component_context.md`
17611761
- Example needed: yes
17621762

1763+
### BC-052: `ChannelListMessenger` was renamed to `ChannelListUI`, and direct channel-list UI override props were removed
1764+
1765+
- Status: confirmed
1766+
- Area: channel-list container and row customization
1767+
- User impact:
1768+
- imports using `ChannelListMessenger` or `ChannelListMessengerProps` no longer compile
1769+
- `ChannelList` no longer accepts `Avatar`, `List`, `LoadingErrorIndicator`, `LoadingIndicator`, or `Preview`
1770+
- `ChannelListItem` no longer accepts `Avatar`
1771+
- custom CSS targeting `.str-chat__channel-list-messenger*` or `.str-chat__channel-list-react` no longer matches the default markup
1772+
- Old API:
1773+
- `v13.14.2:src/components/ChannelList/index.ts:2` exported `ChannelListMessenger`
1774+
- `v13.14.2:src/components/ChannelList/ChannelListMessenger.tsx:10` through `:22` defined `ChannelListMessengerProps`
1775+
- `v13.14.2:src/components/ChannelList/ChannelList.tsx:65` through `:66` exposed `Avatar?: React.ComponentType<ChannelAvatarProps>`
1776+
- `v13.14.2:src/components/ChannelList/ChannelList.tsx:87` through `:92` exposed `List`, `LoadingErrorIndicator`, and `LoadingIndicator`
1777+
- `v13.14.2:src/components/ChannelList/ChannelList.tsx:144` through `:145` exposed `Preview?: React.ComponentType<ChannelPreviewUIComponentProps>`
1778+
- `7c978a9e:src/components/ChannelListItem/ChannelListItem.tsx:43` through `:51` still exposed `Avatar?: React.ComponentType<ChannelAvatarProps>` on `ChannelListItemProps`
1779+
- `v13.14.2:src/components/ChannelList/ChannelListMessenger.tsx:49` through `:52` used `str-chat__channel-list-messenger`, `str-chat__channel-list-messenger-react`, and `str-chat__channel-list-messenger-react__main`
1780+
- `v13.14.2:src/components/ChannelList/ChannelList.tsx:367` through `:372` added `str-chat__channel-list-react` to the root class list
1781+
- New API:
1782+
- `src/components/ChannelList/index.ts:2` exports `ChannelListUI`
1783+
- `src/components/ChannelList/ChannelListUI.tsx:9` through `:17` define `ChannelListUIProps`
1784+
- `src/context/ComponentContext.tsx:106` through `:111` expose `ChannelListUI`, `ChannelListItemActionButtons`, and `ChannelListItemUI`
1785+
- `src/components/ChannelList/ChannelList.tsx:58` through `:67` and `:125` through `:149` no longer define `Avatar`, `List`, `LoadingErrorIndicator`, `LoadingIndicator`, or `Preview` on `ChannelListProps`
1786+
- `src/components/ChannelList/ChannelList.tsx:197` through `:200` source `ChannelListUI`, `NotificationList`, and `Search` from `ComponentContext`
1787+
- `src/components/ChannelList/ChannelList.tsx:352` through `:374` render `<ChannelListUI ...>` directly
1788+
- `src/components/ChannelListItem/ChannelListItem.tsx:42` through `:66` no longer define `Avatar` on `ChannelListItemProps`
1789+
- `src/components/ChannelList/ChannelListUI.tsx:34` through `:40` use `str-chat__channel-list-inner` and `str-chat__channel-list-inner__main`
1790+
- `src/components/ChannelList/ChannelList.tsx:330` through `:339` no longer append `str-chat__channel-list-react` to the root class list
1791+
- Replacement:
1792+
- rename `ChannelListMessenger` to `ChannelListUI`
1793+
- move list-container customization from `ChannelList List={...}` to `WithComponents` / `ComponentContext` via `ChannelListUI`
1794+
- move loading and error indicator customization to `WithComponents` / `ComponentContext` via `LoadingIndicator` and `LoadingErrorIndicator`
1795+
- move avatar and row customization to `WithComponents` / `ComponentContext` via `Avatar` and `ChannelListItemUI`
1796+
- update custom CSS selectors from `str-chat__channel-list-messenger*` to `str-chat__channel-list-inner*`, and stop relying on the removed `str-chat__channel-list-react` class
1797+
- Evidence:
1798+
- commit `d2513383 fix: rename ChannelListMessenger to ChannelListUI (#3036)` renamed the component and its props type, removed direct `ChannelList` override props, removed `ChannelListItem.Avatar`, added the `ComponentContext.ChannelListUI` slot, and changed the default class names
1799+
- current source no longer has `src/components/ChannelList/ChannelListMessenger.tsx`
1800+
- current `ChannelList` and `ChannelListItem` signatures no longer expose the removed override props
1801+
- Docs impact:
1802+
- migration guide
1803+
- `docs/data/docs/chat-sdk/react/v14/02-ui-components/05-channel-list/01-channel_list.md`
1804+
- `docs/data/docs/chat-sdk/react/v14/02-ui-components/05-channel-list/02-channel_list_context.md`
1805+
- `docs/data/docs/chat-sdk/react/v14/02-ui-components/05-channel-list/04-channel_preview_ui.md`
1806+
- `docs/data/docs/chat-sdk/react/v14/02-ui-components/05-channel-list/06-channel-list-infinite-scroll.md`
1807+
- `docs/data/docs/chat-sdk/react/v14/03-ui-cookbook/02-channel-list/01-channel_list_preview.md`
1808+
- `docs/data/docs/chat-sdk/react/v14/02-ui-components/04-channel/05-component_context.md`
1809+
- Example needed: yes
1810+
17631811
## Likely
17641812

17651813
- None yet

0 commit comments

Comments
 (0)