Skip to content

chore(deps): pin @livekit/protocol to livekit-client's version - #1459

Merged
1egoman merged 1 commit into
mainfrom
pin-protocol-to-livekit-client
Sep 25, 2026
Merged

1egoman merged 1 commit into
mainfrom
pin-protocol-to-livekit-client

Conversation

@1egoman

@1egoman 1egoman commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This comment in pnpm-workspace.yaml says the catalog's @livekit/protocol version has to match the exact version livekit-client pins. That way the workspace and livekit-client share one copy of the protobuf types. With two copies, types like TrackInfo stop being structurally compatible and the build breaks.

Renovate has been bumping @livekit/protocol separately from livekit-client. #1429 moved it to 1.51.0, #1446 to 1.52.0, and #1458 to 1.52.1. Meanwhile the latest livekit-client (2.22.3) still pins 1.50.4. So main already breaks the rule and has several copies of protocol in the tree. Nothing has failed yet only because the types we use across the boundary (TrackInfo, ParticipantPermission) haven't changed between those versions. That will stop being true the next time protocol changes one of them.

Given this, livekit-client and @livekit/protocol need to be updated in sync. @livekit/protocol should only be bumped in the same change that bumps livekit-client, and it should be set to whatever version that release pins.

Changes

  • pnpm-workspace.yaml: set the catalog back to 1.50.4 to match livekit-client@2.22.3, and note in the comment that the bump is done by hand.
  • renovate.json: add a rule that turns off Renovate updates for @livekit/protocol, so it can't drift ahead of livekit-client again. livekit-client itself still gets Renovate PRs. Whoever lands one should update the catalog's protocol version to match in the same PR.
  • pnpm-lock.yaml: workspace importers now resolve @livekit/protocol@1.50.4, the same copy livekit-client uses.

@livekit/krisp-noise-filter still resolves its own ^1.45.4 range to 1.51.0 as a transitive dependency. It shares that copy with livekit-server-sdk. Its types don't reach our code, so that doesn't matter here.

Testing

  • pnpm build --force, pnpm test --force, pnpm api:check --force and pnpm format:check all pass locally.

@vercel

vercel Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
components-js-storybook-5kld Ready Ready Preview Sep 25, 2026 2:52pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c65140e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

livekit-client 2.22.3 pins @livekit/protocol to exactly 1.50.4, but
Renovate had bumped the workspace catalog ahead of it (1.51.0, 1.52.0,
then 1.52.1), leaving multiple protocol copies in the tree. Move the
catalog back to 1.50.4 and stop Renovate from bumping @livekit/protocol
on its own, so it only moves together with livekit-client.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
LiveKitRoom only 7.91 KB (0%)
LiveKitRoom with VideoConference 32.61 KB (0%)
All exports 44.57 KB (0%)

@1egoman
1egoman merged commit 6b9bc6e into main Sep 25, 2026
5 checks passed
@1egoman
1egoman deleted the pin-protocol-to-livekit-client branch September 25, 2026 15:17

This branch was successfully deployed

1 active deployment
Preview — c65140e4 Deployed Sep 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants