Skip to content

Releases: daily-co/daily-react

0.24.0

29 Oct 13:47

Choose a tag to compare

Maintenance

  • useCallObject() and useCallFrame() will now throw an error when in strict mode and a call object cannot be created in unsupported browsers

Fixes

  • Fixed a race condition where useDevices() could unintentionally reset selected devices after joining a call

0.23.2

19 Aug 13:40

Choose a tag to compare

Maintenance

  • Fixed rollup configuration to match build output previously generated (0.23.0 and below)

0.23.1

15 Jul 15:39

Choose a tag to compare

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

09 Jul 14:23

Choose a tag to compare

Improvements

  • Added an optional interval parameter to useAudioLevelObserver() to allow setting custom intervals for audio level events (Thanks @AlexHayton!)
  • Updated useNetwork() to return the new networkState and networkStateReasons properties. quality and threshold are now considered deprecated in favor of the new properties.
  • Added user_name and rawResponse properties to the Transcription type definition

0.22.0

14 Nov 14:18

Choose a tag to compare

Bugfixes

  • Fixed return value from useRoomExp when token and room exp and eject were mixed
  • Added error handling around startLocalAudioObserver inside useAudioLevelObserver

Maintenance

  • Update React peer dependency
  • Updated dependencies in minimal example
  • Added Jotai debug labels

0.21.3

24 Oct 12:47

Choose a tag to compare

Improvements

  • Added checks to fail gracefully when MediaStream and MediaStreamTrack APIs are not available

0.21.2

15 Oct 07:15

Choose a tag to compare

Improvements

  • Improved Jotai state atoms for reduced CPU and memory usage.

Maintenance

  • Updated dependencies in minimal example.

0.21.1

08 Oct 09:07

Choose a tag to compare

Maintenance

  • Added jotai as peer dependency (Thanks @byarmis)

0.21.0

01 Oct 07:25

Choose a tag to compare

Breaking changes

  • Removed recoilRootProps from DailyProvider as we've internally migrated from Recoil to Jotai.
  • Added jotaiStore prop to DailyProvider, which, when passed with a Jotai store, is equivalent to passing recoilRootProps={{ override: false }} in previous versions.

Maintenance

  • Replaced faker with @faker-js/faker

Thanks to @TimHeckel for supporting the migration to Jotai!

0.20.0

18 Jul 13:38

Choose a tag to compare

⚠️ This release requires @daily-co/daily-js@>=0.68.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