Upgrade to v2
v2 of the JavaScript client is in beta. This page tracks what you have to change when moving from v1, and it is deliberately short: at the time of writing, nothing in the client's public API has changed.
Install the beta
v2 publishes to the beta npm tag. v1 keeps latest, so an unpinned install stays on v1.
yarn add @stream-io/video-client@betaWhat has changed so far
Nothing that requires a code change. The 2.0 major was opened so the v2 line could release independently of v1, not because the API broke. Your v1 integration compiles and runs against the beta as-is.
What to expect during the beta
Breaking changes land incrementally rather than all at once, so treat this page as the running list and re-read it when you bump. Each entry will name the version it landed in and the change you have to make.
If you hit something that behaves differently and is not listed here, that is worth reporting: an unlisted break is a bug in this page as much as in the SDK.
Staying on v1
v1 is maintained on its own release line and stays on the latest tag. If you are not
ready to move, pin @stream-io/video-client@latest and switch this page to v1 with the
version picker above.