Releases: daily-co/daily-react
Releases · daily-co/daily-react
0.24.0
0.23.2
Maintenance
- Fixed rollup configuration to match build output previously generated (0.23.0 and below)
0.23.1
Fixes
- Fixed an issue which could lead to Safari not playing audio anymore after a participant left
Maintenance
- Switched from tsdx to rollup for bundling the package
0.23.0
Improvements
- Added an optional
intervalparameter touseAudioLevelObserver()to allow setting custom intervals for audio level events (Thanks @AlexHayton!) - Updated
useNetwork()to return the newnetworkStateandnetworkStateReasonsproperties.qualityandthresholdare now considered deprecated in favor of the new properties. - Added
user_nameandrawResponseproperties to theTranscriptiontype definition
0.22.0
Bugfixes
- Fixed return value from
useRoomExpwhen token and roomexpand eject were mixed - Added error handling around
startLocalAudioObserverinsideuseAudioLevelObserver
Maintenance
- Update React peer dependency
- Updated dependencies in minimal example
- Added Jotai debug labels
0.21.3
Improvements
- Added checks to fail gracefully when
MediaStreamandMediaStreamTrackAPIs are not available
0.21.2
Improvements
- Improved Jotai state atoms for reduced CPU and memory usage.
Maintenance
- Updated dependencies in minimal example.
0.21.1
0.21.0
Breaking changes
- Removed
recoilRootPropsfromDailyProvideras we've internally migrated from Recoil to Jotai. - Added
jotaiStoreprop toDailyProvider, which, when passed with a Jotai store, is equivalent to passingrecoilRootProps={{ override: false }}in previous versions.
Maintenance
- Replaced
fakerwith@faker-js/faker
Thanks to @TimHeckel for supporting the migration to Jotai!
0.20.0
Features
useAudioLevelObserver(): new hook to handle participant mic volume levels. This hook is based on audio level observers in daily-js.
Improvements
useParticipantIds(): the fix to avoid potential stale state introduced in 0.19.1 was reverted, due to negative performance impact. Instead stale state is now avoided by prioritizing internal event handlers in Daily React over application level event handlers.
Deprecations
useAudioLevel()is now deprecated. UseuseAudioLevelObserver()instead.