Skip to content

Latest commit

 

History

History
1254 lines (666 loc) · 61.5 KB

File metadata and controls

1254 lines (666 loc) · 61.5 KB

@livekit/components-react

2.9.0

Minor Changes

Patch Changes

2.8.1

Patch Changes

2.8.0

Minor Changes

Patch Changes

2.7.0

Minor Changes

Patch Changes

2.6.11

Patch Changes

2.6.10

Patch Changes

  • Make processor initialization work on track create - #1039 (@lukasIO)

2.6.9

Patch Changes

2.6.8

Patch Changes

  • Don't emit connection errors if connect is set to false - #1025 (@lukasIO)

2.6.7

Patch Changes

2.6.6

Patch Changes

  • Avoid logging activeDevice updates for undefined active devices - #1012 (@lukasIO)

2.6.5

Patch Changes

2.6.4

Patch Changes

  • Use vite for building react package, fixes useKrispNoiseFilter usage - #994 (@lukasIO)

2.6.3

Patch Changes

2.6.2

Patch Changes

2.6.1

Patch Changes

2.6.0

Minor Changes

  • Update agent state property name to lk.agent.state - #976 (@bcherry)

Patch Changes

2.5.4

Patch Changes

2.5.3

Patch Changes

2.5.2

Patch Changes

  • Don't override className on BarVisualizer - #963 (@lukasIO)

2.5.1

Patch Changes

  • Add css var fallbacks and fix className forwarding on BarVisualizer - #961 (@lukasIO)

  • Updated dependencies []:

    • @livekit/components-core@0.11.3

2.5.0

Minor Changes

  • Stateful BarVisualizer and VoiceAssistantControlBar - #954 (@lukasIO)

Patch Changes

2.4.3

Patch Changes

  • Expose useIsRecording hook with optional room param - #934 (@lukasIO)

2.4.2

Patch Changes

2.4.1

Patch Changes

2.4.0

Minor Changes

  • Add participant attribute hooks and update livekit client - #926 (@lukasIO)

Patch Changes

2.3.6

Patch Changes

  • Remove @react-hook dependency due to ESM conflicts - #919 (@lukasIO)

2.3.5

Patch Changes

2.3.4

Patch Changes

2.3.3

Patch Changes

2.3.2

Patch Changes

2.3.1

Patch Changes

2.3.0

Minor Changes

  • Reset useChat messages when room disconnects - #866 (@lukasIO)

Patch Changes

2.2.1

Patch Changes

  • Update docs for default connect value in LiveKitRoom - #840 (@davidliu)

  • Fix duplicated incoming audio when using AudioTrack renderer and its muted property - #855 (@lukasIO)

  • Updated dependencies []:

    • @livekit/components-core@0.10.0

2.2.0

Minor Changes

  • Don't auto subscribe to all audio tracks automatically in RoomAudioRenderer - #847 (@lukasIO)

Patch Changes

  • Fix docs for TrackMutedIndicator accepting track references - #846 (@lukasIO)

  • Fix releasing of local tracks in prejoin - #844 (@lukasIO)

2.1.3

Patch Changes

2.1.2

Patch Changes

  • Forward AudioTrack ref via imperative handle (fixes audio rendering) - #835 (@lukasIO)

2.1.1

Patch Changes

  • Fix video rendering, use imperative handle to forward ref - #831 (@lukasIO)

2.1.0

Minor Changes

  • Require livekit-client ^2.1.0 peer dependency - #830 (@lukasIO)

  • Support referencing components via refs - #827 (@lukasIO)

Patch Changes

2.0.6

Patch Changes

2.0.5

Patch Changes

  • Revert "Request device permissions when opening menu" due to change in behavior - #810 (@davidzhao)

2.0.4

Patch Changes

2.0.3

Patch Changes

  • Stop propagation of key events on chat input element - #798 (@lukasIO)

  • Update docs for useDisconnectButton - #796 (@lukasIO)

2.0.2

Patch Changes

  • Remove unintended character in video conference view - #794 (@lukasIO)

2.0.1

Patch Changes

2.0.0

Major Changes

Patch Changes

1.5.3

Patch Changes

  • Add possibility to edit/update chat messages - #757 (@lukasIO)

  • Use room as dependency to recreate localParticipant observable - #753 (@lukasIO)

  • Updated dependencies []:

    • @livekit/components-core@0.8.3

1.5.2

Patch Changes

  • Added close button in chat screen - #740 (@govind-io)

  • Add useTrackVolume hooks - #735 (@lukasIO)

  • Log error on non-ok http statuses of useToken - #739 (@lukasIO)

  • Pin all direct dependencies (Fixes an dependency resolve issue with a broken usehooks-ts release) - #751 (@lukasIO)

  • Updated dependencies [e805d41b, 3e15bde4]:

    • @livekit/components-core@0.8.3

1.5.1

Patch Changes

1.5.0

Minor Changes

  • Add an isUserInitiated argument to the onChange callback on the TrackToggle component. - #732 (@Ocupe)

Patch Changes

  • Emit missing style warning on VideoConference when in development mode - #720 (@lukasIO)

  • Updated dependencies []:

    • @livekit/components-core@0.8.2

1.4.2

Patch Changes

  • Updated dependencies [7017b588]:
    • @livekit/components-core@0.8.2

1.4.1

Patch Changes

1.4.0

Minor Changes

  • Add usePersistentUserChoices hook to save user choices saving functionality. - #683 (@Ocupe)

  • Deprecate showE2EE options on PreJoin - #693 (@lukasIO)

Patch Changes

  • Use more specific prop types for audio and video track - #681 (@lukasIO)

  • Update PreJoin description and update docs. - #682 (@Ocupe)

  • Fix useTrackRef for certain cases. - #692 (@Ocupe)

  • Fix chat messages are not scrollable. - #662 (@Ocupe)

  • Export isTrackReference - #696 (@lukasIO)

  • Allow track placeholders to be pinned - #666 (@lukasIO)

  • Remove non-exposed orphaned icons QualityUnknownIcon.tsx and UserSilhouetteIcon.tsx. - #647 (@hehehai)

  • Updated dependencies [01611f5d, 946d2b06]:

    • @livekit/components-core@0.8.0

1.3.0

Minor Changes

  • Add volume and muted control to RoomAudioRenderer and AudioTrack. Include to render Track.Source.Unknown in RoomAudioRenderer as long as they are of king Track.Kind.Audio. - #648 (@Ocupe)

1.2.2

Patch Changes

1.2.1

Patch Changes

  • Set the default value for canPlayAudio returned by the useStartAudio hook to true to avoid flashing issues. - #641 (@harrisonlo)

1.2.0

Minor Changes

  • fix handling of multiple tracks of the same source from the same participant - #627 (@lukasIO)

  • Update more hooks and components to use trackRef and deprecate participant/source property pairs - #629 (@lukasIO)

  • refactor ParticipantTile and useParticipantTile to trackRef and rename TrackContext to TrackRefContext. - #627 (@lukasIO)

  • Update AudioTrack and VideoTrack components to accept track references. - #627 (@lukasIO)

Patch Changes

  • Make source and participant props optional for UseParticipantTileProps. - #632 (@Ocupe)

  • Add internal feature flag support - #637 (@lukasIO)

  • fix handling of multiple tracks of the same source from the same participant - #627 (@lukasIO)

  • Update and add doc strings for all components. - #633 (@Ocupe)

  • Updated dependencies [999eb2ca, 71690916, 999eb2ca, d5b2093b]:

    • @livekit/components-core@0.7.0

1.1.8

Patch Changes

  • Add e2ee user choices to PreJoin component - #624 (@lukasIO)

  • Apply default passphrase in PreJoin - #625 (@lukasIO)

  • Fix: media tracks were memoized on participant identity - #620 (@dbkr)

1.1.7

Patch Changes

  • Fix occasional black tiles, unsusbscribe if intersection entry is still not intersecting - #619 (@lukasIO)

1.1.6

Patch Changes

  • Pass participant explicitly to useIsEncrypted - #607 (@lukasIO)

1.1.5

Patch Changes

  • Update dependency livekit-client to v1.13.1 - #606 (@renovate)

  • Add useIsEncrypted hooks and display to tile - #600 (@lukasIO)

  • Make sure pinning is only attempted when screen share track is subscribed - #604 (@lukasIO)

  • Updated dependencies [d5dadd2, 49de8d7, 915b371]:

    • @livekit/components-core@0.6.15

1.1.4

Patch Changes

  • Automatically generate doc meta-data.json file - #601 (@Ocupe)

1.1.3

Patch Changes

  • Use different import scheme for usehooks - #595 (@lukasIO)

1.1.2

Patch Changes

  • Make sure dependencies arent bundled for esm builds - #594 (@lukasIO)

  • Updated dependencies [ca225fa]:

    • @livekit/components-core@0.6.14

1.1.1

Patch Changes

  • Expose custom message encoder/decoder from video conference - #581 (@jmoguilevsky)

  • Fix loop component docs - #584 (@lukasIO)

  • Enable auto managed subscriptions for ParticipantTile - #590 (@lukasIO)

  • Updated dependencies [f1ed9cf]:

    • @livekit/components-core@0.6.13

1.1.0

Minor Changes

  • Codebase consistency: Consistently use named functions instead of arrow functions for exported top-level elements. Consistently use interface instead of type for component properties. - #564 (@Ocupe)

Patch Changes

  • Remove unnecessary props from audio and video elements - #569 (@mpnri)

  • Move Hooks into hook dir. Expose useFocusToggle and useToggleChat hooks. - #565 (@Ocupe)

  • Merge control bar classname with passed props - #582 (@lukasIO)

  • Add unread chat message badge - #563 (@lukasIO)

  • Add MediaDevicesError event for use local participant - #566 (@mpnri)

  • Rename GridLayout to GridLayoutDefinition in core to resolve name overlap. - #567 (@Ocupe) Switch to the vertical 2x1 layout a bit earlier if reducing the width of the viewport.

  • Make touch events passive - #561 (@lukasIO)

  • Updated dependencies [5f018d5, 8a1964a, 95f48c0, 1a9851b]:

    • @livekit/components-core@0.6.12

1.0.8

Patch Changes

  • Added facingMode detection to minimize unwanted local participant video track mirroring. - #527 (@Ocupe)

  • Add overload for defaulting to undefined topic - #552 (@lukasIO)

  • Add data-lk-orientation for all video tracks - #559 (@nwang92)

  • Only render layout components in browser (no SSR) in order to avoid useLayoutEffect warnings - #553 (@lukasIO)

  • Display active state of chat toggle - #549 (@lukasIO)

  • Updated dependencies [64a95f0, e82e88b, 05c7a70]:

    • @livekit/components-core@0.6.11

1.0.7

Patch Changes

1.0.6

Patch Changes

  • Fix autofocus logic in the VideoConference component that prevented screen sharing from being removed from focus. Fix usePinnedTracks not returning undefined state. - #519 (@Ocupe)

  • Update active device selection. Require "livekit-client": "1.11.2" - #529 (@Ocupe)

  • Add screen share feature detection to hide screen share button in control bar. - #525 (@Ocupe)

  • Updated dependencies [7c7cc55, fdab2db, 28ac866]:

    • @livekit/components-core@0.6.9

1.0.5

Patch Changes

  • Updated dependencies [d71f8fa]:
    • @livekit/components-core@0.6.8

1.0.4

Patch Changes

  • Improve carousel view stability on overflow - #499 (@lukasIO)

  • Set correct starting value for useAudioPlayback hook - #514 (@lukasIO)

  • Fix participant tile always rendering camera track - #498 (@lukasIO)

  • Catch publish promises when first connecting room - #501 (@lukasIO)

  • Correct export of LayoutContextType #491 - #495 (@Ocupe)

  • Stringify room options - #489 (@lukasIO)

  • Fix default values in docs - #502 (@lukasIO)

1.0.3

Patch Changes

  • Remove unneeded console.log - #485 (@davidzhao)

  • Add usePreviewDevice, useStartAudio and newly created useAudioPlayback hooks to public API. - #487 (@Ocupe)

  • Updated dependencies [a63d293]:

    • @livekit/components-core@0.6.7

1.0.2

Patch Changes

  • Updated dependencies [73df060]:
    • @livekit/components-core@0.6.6

1.0.1

Patch Changes

  • Fix audio volume set to 0 and prevent false warning when setting volume on AudioTrack. - #471 (@Ocupe)

1.0.0

Major Changes

  • Bump to 1.0 - #444 (@lukasIO)

    We adapted tsdoc release tags to signal stability of API methods following this spec

0.8.2

Patch Changes

  • Remove deprecated components MediaTrack and ScreenShareRenderer - #465 (@Ocupe)

  • Fix sourcemaps by not invoking rollup in tsup build - #464 (@lukasIO)

  • Fix some imports - #461 (@lukasIO)

  • Updated dependencies [0bbacce]:

    • @livekit/components-core@0.6.5

0.8.1

Patch Changes

0.8.0

Minor Changes

Patch Changes

  • fix: remove pin when screen share ended - #440 (@Ocupe)

  • Updated dependencies [f61f2b2]:

    • @livekit/components-core@0.6.4

0.7.3

Patch Changes

  • Remove filter from ParticipantLoop and add option to pass room to useParticipants, useLocalParticipant and useRemoteParticipants. - #435 (@Ocupe)

  • Updated dependencies [fe92d54]:

    • @livekit/components-core@0.6.3

0.7.2

Patch Changes

  • Add swipe detection to switch pages in the GridLayout. - #423 (@Ocupe)

  • add pagination indicator to GridLayout component - #431 (@Ocupe)

  • Fix the carousel component for iOS and fix a possible unstable UI condition. - #422 (@Ocupe)

  • Updated dependencies [1f14b38]:

    • @livekit/components-core@0.6.2

0.7.1

Patch Changes

  • Export usePinnedTracks - #413 (@lukasIO)

  • Surface media device failure - #398 (@lukasIO)

  • Add data callback to useDataChannel - #417 (@lukasIO)

  • Move track filter logic into pagination hook - #392 (@lukasIO)

  • Fix chat toggle not working - #395 (@lukasIO)

  • Chat revision: add property to hide chat metadata in a ChatEntry and update ChatEntry styling. - #397 (@Ocupe)

  • Updated dependencies [e786dc9, 5992c42]:

    • @livekit/components-core@0.6.1

0.7.0

Minor Changes

  • Make trackReferences required for layout comps - #383 (@lukasIO)

Patch Changes

  • Remove rxjs imports to keep bundle size down - #379 (@lukasIO)

  • Add prop to disable speaking indicator on tile - #387 (@lukasIO)

  • Fix: Prevent pagination from getting stuck on a page that no longer exists #385 - #385 (@Ocupe)

  • Updated dependencies [f0602fc]:

    • @livekit/components-core@0.6.0

0.6.2

Patch Changes

  • Use trackReference.participant as fallback for rendering track - #377 (@lukasIO)

0.6.1

Patch Changes

  • Enable trackReferences to be used on audio/video track - #374 (@lukasIO)

  • Updated dependencies [a423d48]:

    • @livekit/components-core@0.5.1

0.6.0

Minor Changes

  • Rename TrackBundle to TrackReference. - #365 (@Ocupe)

  • Exclude unknown and screenShareAudio from toggle sources - #370 (@lukasIO)

Patch Changes

0.5.0

Minor Changes

  • Deprecate MediaTrack and split into AudioTrack and VideoTrack #336 - #337 (@lukasIO)

  • Remove TileLoop in favor of TrackLoop. Simplify the TrackLoop component by removing the filter functionality. - #327 (@Ocupe)

Patch Changes

  • GridLayout Revision. - #326 (@Ocupe)

    Renaming:

    • sortParticipantsByVolume -> sortParticipants
  • Include room in dependency array in order to disconnect on room unmount - #332 (@lukasIO)

  • CraouselView revision: Add a visually stable update to the carousel component. Limit the maximum visible tiles. Add snap scrolling to better align the tiles. - #346 (@Ocupe)

  • Use stringify array effect deps - #338 (@lukasIO)

  • Rework useDataChannel API - #340 (@lukasIO)

  • Updated dependencies [2ff6f78, 53aafaa, bed7516]:

    • @livekit/components-core@0.4.0

0.4.1

Patch Changes

  • Updated dependencies [369db26, 50edb66]:
    • @livekit/components-core@0.3.1

0.4.0

Minor Changes

  • apply updateOnlyOn logic for remote participant hook - #308 (@lukasIO)

Patch Changes

  • Export ChatMessage type from package/react. - #319 (@Ocupe)

  • Add option to get mediatrack by name - #317 (@lukasIO)

  • Fix TileLoop child (template) not used for main source. - #320 (@Ocupe)

  • Remove useTrack in favor of focusing on useMediaTrack - #313 (@lukasIO)

  • Remove the excludePinnedTracks property from the useTracks hook. PinState handling must be accomplished outside the hook. - #311 (@Ocupe)

  • Fix infinite render loop in custom participant hooks. - #315 (@Ocupe)

  • Updated dependencies [08b6b6a, dc65553, 37eff03]:

    • @livekit/components-core@0.3.0

0.3.0

Minor Changes

  • Use consistent parameters style for hooks - #298 (@lukasIO)

  • Replace showMutedOnly with show={'muted' | 'unmuted' | 'always'} - #305 (@lukasIO)

0.2.7

Patch Changes

  • Add useRemoteParticipant hook - #295 (@lukasIO)

  • Updated dependencies [56ee42f]:

    • @livekit/components-core@0.2.7

0.2.6

Patch Changes

  • Specify livekit-client as peer dependency in react package - #287 (@lukasIO)

  • Add button label props for PreJoin component - #289 (@lukasIO)

  • Simplify data channel usage, only allow one channelId - #290 (@lukasIO)

  • Show/hide controls based on participant permissions by default - #285 (@lukasIO)

  • Add useParticipantPermissions hook additionally to useLocalParticipantPermissions - #292 (@lukasIO)

  • Updated dependencies [77f2b34, 317d50d, c5b0aca]:

    • @livekit/components-core@0.2.6

0.2.5

Patch Changes

  • Make ParticipantInfoProps optional in useParticipantInfo hook - #276 (@lukasIO)

  • Add useDataChannelMessages hook and generalise core data channel usage - #277 (@lukasIO)

  • Updated dependencies [c023b8a, 7e13007]:

    • @livekit/components-core@0.2.5

0.2.4

Patch Changes

  • Updated dependencies [480808a, cb9e2b6]:
    • @livekit/components-core@0.2.4

0.2.3

Patch Changes

  • Mark packages as side-effect free - #268 (@lukasIO)

  • Updated dependencies [4d742bf]:

    • @livekit/components-core@0.2.3

0.2.2

Patch Changes

  • Move link regex into core - #265 (@lukasIO)

  • Make tokenizer typesafe and move to separate file - #267 (@lukasIO)

  • Only populate room in useEffect to avoid strict mode disconnecting - #264 (@lukasIO)

  • Replace floating-ui/react with floating-ui/dom and fix the position problem with the MediaDeviceMenu component. - #266 (@Ocupe)

  • Updated dependencies [8b1e826, 39be24c]:

    • @livekit/components-core@0.2.2

0.2.1

Patch Changes

  • Refactor loop filter into core and rename TracksFilter to TrackFilter. - #257 (@Ocupe)

  • Remove ResizeObserver polyfill dependency - #254 (@lukasIO)

  • Updated dependencies [1144b2c]:

    • @livekit/components-core@0.2.1

0.2.0

Minor Changes

Patch Changes

0.1.20

Patch Changes

0.1.19

Patch Changes

  • Internal revisions of the component and prefab structure. - #241 (@Ocupe)

  • Monorepo-wide package updates and cleanups. - #235 (@Ocupe)

  • Updated dependencies [1e53f58, 6a13879]:

    • @livekit/components-core@0.1.13

0.1.18

Patch Changes

0.1.17

Patch Changes

0.1.16

Patch Changes

  • Updated dependencies [5977a9c]:
    • @livekit/components-core@0.1.12

0.1.15

Patch Changes

  • Updated dependencies [f5984ef]:
    • @livekit/components-core@0.1.11

0.1.14

Patch Changes

  • Remove the unused showIcon prop from the usTrackToggle hook. - #220 (@Ocupe)

  • Update participant screen share with icon - #206 (@Ocupe)

  • Make Chat component scrollable. - f0ff603 (@Ocupe)

  • Fix wrong overlay on screen share when muting camera. - #217 (@Ocupe)

  • Better auto-grid layout - #203 (@lukasIO)

0.1.13

Patch Changes

0.1.12

Patch Changes

  • Updated dependencies [fa3cf1c]:
    • @livekit/components-core@0.1.9

0.1.11

Patch Changes

0.1.10

Patch Changes

0.1.9

Patch Changes

0.1.8

Patch Changes

0.1.7

Patch Changes

  • Better Bundling - #76 (@lukasIO)

  • Updated dependencies [fb22bc8]:

    • @livekit/components-core@0.1.6

0.1.6

Patch Changes

  • remove type module

  • dont use nested folder exports

  • Updated dependencies []:

    • @livekit/components-core@0.1.5

0.1.5

Patch Changes

  • Updated dependencies [5d2bd45]:
    • @livekit/components-core@0.1.4

0.1.4

Patch Changes

  • Bundle packages (8339933)

  • Updated dependencies [8339933]:

    • @livekit/components-core@0.1.3

0.1.3

Patch Changes

  • bundle react components package with tsup (#72)

0.1.2

Patch Changes

  • update libs (e2c731d)

  • Updated dependencies [e2c731d]:

    • @livekit/components-core@0.1.2

0.1.1

Patch Changes

  • Add a basic chat component (#45)

  • Updated dependencies [08857da, 4c67a8c]:

    • @livekit/components-core@0.1.1