Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .changeset/agent-job-webhooks.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/egress-passthrough.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/list-unowned-node-noops.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/promise-then.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/psrpc-error-code-label.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/realtime-gateway-obs.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/room-end-reason.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/run-metrics-quality-members.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/simulate-audio-impairments.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/sip-to-user-override.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/sip-transfer-outcome-status.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/slimy-cows-shake.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/small-eggs-itch.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/spotty-jokes-shake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tough-locks-talk.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/wise-horses-visit.md

This file was deleted.

38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# github.com/livekit/protocol

## 1.51.0

### Minor Changes

- egress v2: add `passthrough` to the `encoding` oneof on `StartEgressRequest` and `ExportReplayRequest`; remove the unused `EgressHandler.UpdateEgress` RPC and the `livekit.UpdateEgressRequest` message - [#1716](https://github.com/livekit/protocol/pull/1716) ([@frostbyte73](https://github.com/frostbyte73))

- add `RoomEndReason` enum and report it on room-ended telemetry: `AnalyticsEvent.room_end_reason` and `WebhookEvent.room_end_reason` now say why a room ended (`ROOM_END_API_DELETE`, `ROOM_END_IDLE_TIMEOUT`, `ROOM_END_SERVER_SHUTDOWN`, `ROOM_END_SUPERSEDED`, `ROOM_END_OPEN_FAILED`), so room-end volume can be broken down by cause the way participant disconnects already are - [#1748](https://github.com/livekit/protocol/pull/1748) ([@paulwe](https://github.com/paulwe))

- `TransferSIPParticipant` now returns `TransferSIPParticipantResponse` instead of `google.protobuf.Empty`, carrying the transfer id, status, a new `SIPTransferReason` and the SIP status when the outcome came from a SIP response. `SIPTransferInfo` gains the same `reason`. This changes the generated method signature: a transfer that reports a non-successful status without an error means the transfer did not complete. - [#1730](https://github.com/livekit/protocol/pull/1730) ([@genseric-ghiro](https://github.com/genseric-ghiro))

- Moved egress passthrough option to an encoding preset. - [#1718](https://github.com/livekit/protocol/pull/1718) ([@frostbyte73](https://github.com/frostbyte73))

### Patch Changes

- Add `agent_job_started` / `agent_job_ended` webhook events and a `job` field on `WebhookEvent` - [#1711](https://github.com/livekit/protocol/pull/1711) ([@erikhortsch](https://github.com/erikhortsch))

- `utils/list`: mutations involving a node the list does not own — removing or moving an unlinked node, inserting an already-linked node, or inserting relative to an unlinked mark — are now no-ops, as in `container/list`. Previously an unlinked node's zeroed hook made `Remove`/`MoveToFront`/`MoveToBack` clear the list's head and tail, silently stranding every remaining element, and re-inserting a linked node forked the list. - [#1753](https://github.com/livekit/protocol/pull/1753) ([@paulwe](https://github.com/paulwe))

- `utils.Promise` gains `Then(func(T, error))`, registering a callback to run when the promise resolves. Callbacks run on the goroutine that calls `Resolve`, in registration order; registering on an already-resolved promise runs the callback inline on the caller. `NewPromise` no longer allocates the done channel up front — `Done()` already created it lazily. - [#1747](https://github.com/livekit/protocol/pull/1747) ([@paulwe](https://github.com/paulwe))

- Add an `error_code` label to the `livekit_psrpc_error_total` metric. - [#1699](https://github.com/livekit/protocol/pull/1699) ([@paulwe](https://github.com/paulwe))

- Add realtime (speech-to-speech) reporter methods to gatewayobs, regenerated from cloud-observability schema/gateway.yaml realtime billing columns (#502). - [#1663](https://github.com/livekit/protocol/pull/1663) ([@russellmartin-livekit](https://github.com/russellmartin-livekit))

- agent simulation: add `conciseness` and `conversation_progression` to `SimulationRun.RunMetrics` - [#1742](https://github.com/livekit/protocol/pull/1742) ([@u9g](https://github.com/u9g))

- Add `background_noise`, `low_quality_microphone`, and `packet_loss` to `SimulationRun.Create.Request`, so an audio simulation run can impair the simulated user's audio. - [#1723](https://github.com/livekit/protocol/pull/1723) ([@u9g](https://github.com/u9g))

- Add `to_user_override` to `CreateSIPParticipantRequest` to override the user part of the `To` header, and warn when `To`/`Via` are set in the SIP headers map. - [#1717](https://github.com/livekit/protocol/pull/1717) ([@genseric-ghiro](https://github.com/genseric-ghiro))

- Remove extraneous format specifier from log string. - [#1682](https://github.com/livekit/protocol/pull/1682) ([@alexfish8](https://github.com/alexfish8))

- Move the config observer into utils/configutil and drop the stuttering Config prefix. utils.ConfigObserver, utils.ConfigBuilder, utils.ConfigDefaulter and utils.NewConfigObserver remain as aliases. - [#1712](https://github.com/livekit/protocol/pull/1712) ([@paulwe](https://github.com/paulwe))

- Track holder goroutines of stuck locks (all RWMutex readers up to 8) and resolve their current stacks - [#1701](https://github.com/livekit/protocol/pull/1701) ([@erikhortsch](https://github.com/erikhortsch))

- Add data track subscription to sync state - [#1703](https://github.com/livekit/protocol/pull/1703) ([@boks1971](https://github.com/boks1971))

## 1.50.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "github.com/livekit/protocol",
"private": true,
"version": "1.50.4",
"version": "1.51.0",
"scripts": {
"changeset": "changeset",
"ci:publish": "pnpm --filter @livekit/protocol run build && changeset publish"
Expand Down
28 changes: 28 additions & 0 deletions packages/javascript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @livekit/protocol

## 1.51.0

### Minor Changes

- egress v2: add `passthrough` to the `encoding` oneof on `StartEgressRequest` and `ExportReplayRequest`; remove the unused `EgressHandler.UpdateEgress` RPC and the `livekit.UpdateEgressRequest` message - [#1716](https://github.com/livekit/protocol/pull/1716) ([@frostbyte73](https://github.com/frostbyte73))

- add `RoomEndReason` enum and report it on room-ended telemetry: `AnalyticsEvent.room_end_reason` and `WebhookEvent.room_end_reason` now say why a room ended (`ROOM_END_API_DELETE`, `ROOM_END_IDLE_TIMEOUT`, `ROOM_END_SERVER_SHUTDOWN`, `ROOM_END_SUPERSEDED`, `ROOM_END_OPEN_FAILED`), so room-end volume can be broken down by cause the way participant disconnects already are - [#1748](https://github.com/livekit/protocol/pull/1748) ([@paulwe](https://github.com/paulwe))

- `TransferSIPParticipant` now returns `TransferSIPParticipantResponse` instead of `google.protobuf.Empty`, carrying the transfer id, status, a new `SIPTransferReason` and the SIP status when the outcome came from a SIP response. `SIPTransferInfo` gains the same `reason`. This changes the generated method signature: a transfer that reports a non-successful status without an error means the transfer did not complete. - [#1730](https://github.com/livekit/protocol/pull/1730) ([@genseric-ghiro](https://github.com/genseric-ghiro))

- Moved egress passthrough option to an encoding preset. - [#1718](https://github.com/livekit/protocol/pull/1718) ([@frostbyte73](https://github.com/frostbyte73))

### Patch Changes

- Add `agent_job_started` / `agent_job_ended` webhook events and a `job` field on `WebhookEvent` - [#1711](https://github.com/livekit/protocol/pull/1711) ([@erikhortsch](https://github.com/erikhortsch))

- agent simulation: add `conciseness` and `conversation_progression` to `SimulationRun.RunMetrics` - [#1742](https://github.com/livekit/protocol/pull/1742) ([@u9g](https://github.com/u9g))

- Add `background_noise`, `low_quality_microphone`, and `packet_loss` to `SimulationRun.Create.Request`, so an audio simulation run can impair the simulated user's audio. - [#1723](https://github.com/livekit/protocol/pull/1723) ([@u9g](https://github.com/u9g))

- Add `to_user_override` to `CreateSIPParticipantRequest` to override the user part of the `To` header, and warn when `To`/`Via` are set in the SIP headers map. - [#1717](https://github.com/livekit/protocol/pull/1717) ([@genseric-ghiro](https://github.com/genseric-ghiro))

- Remove extraneous format specifier from log string. - [#1682](https://github.com/livekit/protocol/pull/1682) ([@alexfish8](https://github.com/alexfish8))

- Move the config observer into utils/configutil and drop the stuttering Config prefix. utils.ConfigObserver, utils.ConfigBuilder, utils.ConfigDefaulter and utils.NewConfigObserver remain as aliases. - [#1712](https://github.com/livekit/protocol/pull/1712) ([@paulwe](https://github.com/paulwe))

- Add data track subscription to sync state - [#1703](https://github.com/livekit/protocol/pull/1703) ([@boks1971](https://github.com/boks1971))

## 1.50.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@livekit/protocol",
"version": "1.50.4",
"version": "1.51.0",
"description": "",
"type": "module",
"require": "dist/index.cjs",
Expand Down