Repository navigation
chore(release): 2.2.0 - screenshare visibility, notifications enhancements, device selectors and reconnection bug fixes - #230
Conversation
Fixes: RTK-8767
…cies-typo build(core): correct peerDependencies typo in package.json
…n-reporting fix(sdk-version-reporting): report ui kit sdk name and versions
…n-reporting fix(logs): upgrading realtimekit for proper type
## [2.1.1-staging.1](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.1.0...@cloudflare/realtimekit-ui-v2.1.1-staging.1) (2026-11-19) ### Bug Fixes * **logs:** upgrading realtimekit for proper type ([d8fc02b](d8fc02b)) * **sdk-version-reporting:** report ui kit sdk name and versions ([8d87b6b](8d87b6b)) skip-checks: true
#213) * feat(pip): added screenshare support in PIP, fixed every known pip bug * chore(sdk-upgrade): upgraded realtimekit sdk * fix(screenshare-view): added null checks for video element * fix(peer-deps): remove peer to prevent staging web examples CI failures on SDK prereleases
# [2.2.0-staging.1](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.1.1-staging.1...@cloudflare/realtimekit-ui-v2.2.0-staging.1) (2026-11-23) ### Features * **pip:** added screenshare support in PIP, fixed every known pip bug ([#213](#213)) ([d7b28b4](d7b28b4)) skip-checks: true
…a-toggle now have device dropdowns and slots for noise cancellation and video effects (#214) * feat(pip): added screenshare support in PIP, fixed every known pip bug * feat(quick-device-selection): added device menu alongside rtk-mic-toggle and rtk-camera-toggle * fix(media-toggles): shifted menu position, added override to hide media selectors * fix(media-toggle): added docs, fixed device refreshes, fixed spec regex
# [2.2.0-staging.2](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.2.0-staging.1...@cloudflare/realtimekit-ui-v2.2.0-staging.2) (2026-11-23) ### Features * **device-list-alongside-media-toggles:** rtk-mic-toggle & rtk-camera-toggle now have device dropdowns and slots for noise cancellation and video effects ([#214](#214)) ([bb71819](bb71819)) skip-checks: true
…ipants (#218) * fix(notifications): do not emit notifications for reconnecting participants * fix(notifications): skipping notifications for reconnected participants * fix(notifications): added new line back, reworded comment
# [2.2.0-staging.3](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.2.0-staging.2...@cloudflare/realtimekit-ui-v2.2.0-staging.3) (2026-11-26) ### Bug Fixes * **notifications:** do not emit notifications for reconnecting participants ([#218](#218)) ([c77533b](c77533b)) skip-checks: true
…eting - can you see my screen (#217) * feat(screenshare): fixing the problem - can you see my screen * fix(ai-review): removed stale tests exclusion, fixed headers in skill * fix(screenshare): fixed security & speed concerns, updated agents skills path
# [2.2.0-staging.4](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.2.0-staging.3...@cloudflare/realtimekit-ui-v2.2.0-staging.4) (2026-11-26) ### Features * **screenshare:** answering the question that gets asked in every meeting - can you see my screen ([#217](#217)) ([33a08b4](33a08b4)) skip-checks: true
…n, and toggle (#220) * feat(notifications): ability to customize notification sound, duration, and toggle * fix(notifications): fixed partial configs, missing permission checks * style(notifications): fixed formatting of config spec * fix(notifications): only allowing absolute urls
# [2.2.0-staging.5](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.2.0-staging.4...@cloudflare/realtimekit-ui-v2.2.0-staging.5) (2026-11-27) ### Features * **notifications:** ability to customize notification sound, duration, and toggle ([#220](#220)) ([5869c2d](5869c2d)) skip-checks: true
…customers want to (#222)
# [2.2.0-staging.6](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.2.0-staging.5...@cloudflare/realtimekit-ui-v2.2.0-staging.6) (2026-11-30) ### Bug Fixes * **screenshare:** added override to disable screenshare tracking, if customers want to ([#222](#222)) ([c8bcf73](c8bcf73)) skip-checks: true
# [2.2.0-staging.7](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.2.0-staging.6...@cloudflare/realtimekit-ui-v2.2.0-staging.7) (2026-11-30) ### Bug Fixes * **firefox:** device list was not refreshed, speakers were never there ([#224](#224)) ([d9d0978](d9d0978)) skip-checks: true
# [2.2.0-staging.8](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.2.0-staging.7...@cloudflare/realtimekit-ui-v2.2.0-staging.8) (2026-11-30) ### Bug Fixes * **pip:** showing hls player for livestream viewer ([#225](#225)) ([fd117fb](fd117fb)) skip-checks: true
# [2.2.0-staging.9](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.2.0-staging.8...@cloudflare/realtimekit-ui-v2.2.0-staging.9) (2026-11-30) ### Bug Fixes * **notifications:** ensure backward compatibility for existing users ([#226](#226)) ([2857659](2857659)) skip-checks: true
…rm sharer of their state (#227)
# [2.2.0-staging.10](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.2.0-staging.9...@cloudflare/realtimekit-ui-v2.2.0-staging.10) (2026-11-30) ### Bug Fixes * **rtk-screenshare-view:** when a viewer reconnects, they do not inform sharer of their state ([#227](#227)) ([02996eb](02996eb)) skip-checks: true
# [2.2.0-staging.11](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.2.0-staging.10...@cloudflare/realtimekit-ui-v2.2.0-staging.11) (2026-12-01) ### Bug Fixes * **audio:** silence removed remote tracks in Chromium ([#228](#228)) ([ac8f737](ac8f737)) skip-checks: true
…d permission hints (#229) * fix(media-toggles): hiding speaker for camera, giving permission hints * test(media-toggles): added tests for permission hints * fix(media-toggles): restricting permission hints to just permission denied/not-asked states
# [2.2.0-staging.12](https://github.com/cloudflare/realtimekit-ui/compare/@cloudflare/realtimekit-ui-v2.2.0-staging.11...@cloudflare/realtimekit-ui-v2.2.0-staging.12) (2026-12-01) ### Bug Fixes * **media-toggles:** hiding speakers for safari to be consistent, added permission hints ([#229](#229)) ([27e3de9](27e3de9)) skip-checks: true
There was a problem hiding this comment.
💬 Approved with comments — No blocking or warning-level issues. There are only INFO notes: unhandled rejections from device refresh, an unguarded browserSpecs call in the Chromium audio fix, and no declared peer dependency for the Web Core 2.2.0 minimum.
Findings: 3 info (3 are inline comments on the diff)
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
🔧 Fix with your agent
Paste the following into your coding agent to investigate and fix these issues.
Fix the following code review issues found in pull request #230.
Before making changes, review each issue and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g., the fix would require disproportionate changes
for minimal ROI, or the finding is factually incorrect), explain why
- If you need to clarify something before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order
## INFO (3)
### [Code Quality] `refreshDevices()` has no error handling; SDK rejections become unhandled promise rejections (mic toggle; the camera toggle has the same pattern at rtk-camera-toggle.tsx:125-134).
- **File:** packages/core/src/components/rtk-mic-toggle/rtk-mic-toggle.tsx:128
### [Code Quality] Unguarded `browserSpecs.isChromiumBased()` call in `removeTrack` can throw midway and leave the physical track attached.
- **File:** packages/core/src/lib/audio.ts:97
### [Documentation] The misspelled peer dependency is removed rather than corrected, so the required Web Core 2.2.0 minimum is not declared.
- **File:** packages/core/package.json
📋 Code Quality: 💬 2 info
Two minor robustness notes in the new device menus and the Chromium audio fix.
Recommendation: 💬 Optional Nits
- [INFO]
refreshDevices()has no error handling; SDK rejections become unhandled promise rejections (mic toggle; the camera toggle has the same pattern at rtk-camera-toggle.tsx:125-134). (packages/core/src/components/rtk-mic-toggle/rtk-mic-toggle.tsx:128) - [INFO] Unguarded
browserSpecs.isChromiumBased()call inremoveTrackcan throw midway and leave the physical track attached. (packages/core/src/lib/audio.ts:97)
View full review
refreshDevices()inrtk-mic-toggleandrtk-camera-toggleis fired withvoidand has notry/catch. A rejected SDK device call becomes an unhandled promise rejection, and the menu keeps its old list.lib/audio.ts:97callsthis.meeting.__internals__.browserSpecs.isChromiumBased()with no guard. If an SDK build or mock lacks it,removeTrackthrows after the logical map is already updated, and the physical track is never removed.
I also checked these and they look correct:
- Notification legacy-key mapping, per-key show/sound/duration settings and the visible limit.
- Listener cleanup on meeting swap.
- Producer and sender checks on screen share visibility messages.
registerScreenshareVideoElementandderegisterScreenshareVideoElementare called in pairs.- Livestream PiP source cleanup.
prepublish.jsversion stamping.
📝 Documentation: 💬 1 info
The Web Core 2.2.0 minimum is not declared anywhere in the package.
Recommendation: 💬 Optional Nits
- [INFO] The misspelled peer dependency is removed rather than corrected, so the required Web Core 2.2.0 minimum is not declared. (
packages/core/package.json)
View full review
This release calls Web Core methods that 2.1.0 does not have, for example registerScreenshareVideoElement(). The misspelled peerDepdendencies block is removed, and no correct peerDependencies entry replaces it. Neither npm nor the setup docs tell consumers about the 2.2.0 minimum.
✅ All other checks passed
🚀 Release: ✅ LGTM
Overall risk: Medium. The release bundles public UI and notification behavior changes, and screen share features that need RealtimeKit Web Core 2.2.0 or later. The description documents the compatibility requirement, the release order, the legacy notification key mapping and the behavior changes.
🔒 Security: ✅ LGTM
- Sound URLs are limited to absolute
http:andhttps:URLs that end in an audio file extension, and they are checked again before playback. - Built-in sound names are checked with
hasOwnProperty. - The config merge only writes fixed legacy keys.
- Screen share visibility reports are accepted only for the current producer, from joined participants, with type-checked payloads.
- Participant names are rendered as escaped JSX text.
📖 AGENTS.md: ✅ LGTM
The new SKILLS pointer and the removal of the outdated peerDepdendencies note match the code changes.
Reviewed commit: 6973686b
|
🎉 This PR is included in version 2.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
Releases 2.2.0.
Compatibility
rtk-screenshare-viewandrtk-livestream-playercall Web Core methods that 2.1.0 does not have. Release Web Core 2.2.0 before this.Features
Notification customization (feat(notifications): ability to customize notification sound, duration, and toggle #220): every notification has its own key in
notifications,notification_sounds,notification_duration, and the newnotification_sound_urls. Addedvisible_notifications_limit(default 5).sendNotification()accepts an audio file URL as the sound and a thirdmeetingargument to target one meeting. Added chat edited/deleted notifications (off by default).Device menus on
rtk-mic-toggleandrtk-camera-toggle(feat(device-list-alongside-media-toggles): rtk-mic-toggle & rtk-camera-toggle now have device dropdowns and slots for noise cancellation and video effects #214, fix(firefox): device list was not refreshed, speakers were never there #224, fix(media-toggles): hiding speakers for safari to be consistent, added permission hints #229): microphone and speaker list on the mic toggle; camera list and a "Mirror my preview" switch on the camera toggle. The menu shows a hint if permission is missing or no device is found. The speaker list is hidden in browsers that cannot select a speaker. NewhideDeviceSelectionMenuprop andadditional-menu-itemsslot on both. NewhideMediaSelectorsInSetupScreenoverride forrtk-setup-screen.Screen share viewing status (feat(screenshare): answering the question that gets asked in every meeting - can you see my screen #217, fix(rtk-screenshare-view): when a viewer reconnects, they do not inform sharer of their state #227):
rtk-screenshare-viewshows the person sharing who is not viewing their screen. NewmaxVisibleViewerAvatarsprop. NewdisableScreenshareVisibilityTrackingoverride to turn it off (fix(screenshare): added override to disable screenshare viewing status, if customers want to #222).Screen share in Picture-in-Picture (feat(pip): added screenshare support in PIP, fixed every known pip bug #213):
rtk-screenshare-viewregisters its video element withregisterScreenshareVideoElement().Livestream in Picture-in-Picture (fix(pip): showing hls player for livestream viewer #225):
rtk-livestream-playeradds its video to Picture-in-Picture.rtk-pip-toggleis now available to livestream viewers.Backward compatibility
chat,polls,tab_sync,webinar. They are marked@deprecated. If a config sets an old key, its value overwrites the new keys that replace it:chat→chat_new_messagepolls→polls_new_polltab_sync→tab_sync_plugin_switched,tab_sync_screen_share_switchedwebinar→stage_requested_to_join,stage_joinedBehavior changes
participant_leftnotifications now show while the socket is connected. Before, they showed only when it was not connected, a bug.participant_joined_sound_notification_limitdefaults to 3 (based on kind of setup, it might have been 10 earlier), and a custom config without it had no limit.stage_requested_to_joinandstage_joinedare off by default, as before. If a config setswebinar: true, they now show. Before,rtk-notificationsnever showed them.Notifications sent with
sendNotification()now follownotifications.custom,notification_sounds.custom, and the "Notification sound" setting.rtk-mic-toggleandrtk-camera-toggleare wider because of the menu trigger. SethideDeviceSelectionMenuto disable new functionality and keep the old size.Viewers on older UI Kit versions do not report viewing status and show as "not viewing". Set
disableScreenshareVisibilityTrackingto hide the status, until every Web & Mobile SDK supports it.Fixes
peerDepdendenciesfield frompackages/core/package.json(build(core): correct peerDependencies typo in package.json #207, feat(pip): added screenshare support in PIP, fixed every known pip bug #213).New localization keys
New icons
mirror_on,mirror_off