Packages

@elevenlabs/react

1.19.1 · 21 Oct 2026MIT449.8k / weekRepositoryHomepagenpmAtom feed

85 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.x · latest line
  2. 1.19.1

    21 Oct 2026

    Only updates a dependency:@elevenlabs/client 1.30.0

  3. 1.19.0

    20 Oct 2026
    • dca95fb: Add an onAudioAlignmentPlayback callback, called with { event_id, alignment } when an aligned audio chunk starts playing, for syncing text with speech. It is not called on WebRTC connections.

  4. 1.18.0

    13 Oct 2026
  5. 1.17.0

    6 Oct 2026
    • 050aeea: Add a previousText option to Scribe.connect() and useScribe() in microphone mode. It is sent with the first microphone audio chunk to give the model context, such as existing document text, for casing, punctuation and sentence continuation.

  6. 1.16.0

    29 Sep 2026
    • 33a5042: Add the transcriptEdit option to Scribe.connect() and dispatch the new edited_transcript server message:

    • eaab81f: Fix useScribe dropping the secondaryLanguages option, so a session that sets it now sends secondary_languages on the realtime WebSocket URL instead of only language_code. The option was added to Scribe.connect() but never forwarded by the hook, which passed a fixed subset of the client options.

      filterBackgroundAudio was missing for the same reason and is now forwarded too. Both are accepted as hook options and as connect() options, like the options around them.

      The two Scribe.connect() calls behind the hook's microphone and manual-audio modes now share one options object, so a client option only has to be forwarded once.

  7. 1.15.1 – 1.15.22 releases that only update dependencies@elevenlabs/client 1.25.0Show each
  8. 1.15.0

    26 Aug 2026
    • f94ef6d: Add fileIds to sendMultimodalMessage and dual-send file + files on the wire.

  9. 1.14.0

    25 Aug 2026
    • be9cb0c: Add support for the external_agent_disconnected client event. The client SDK exposes a new onExternalAgentDisconnected callback, and the widget leaves external-agent mode (and clears the typing indicator) when the external human agent disconnects and the AI agent resumes control.

  10. 1.13.0

    19 Aug 2026
    • eea19d2: Add support for the context_usage server event via a new onContextUsage callback. The event is emitted after each completed agent turn and reports { event_id, model, context_tokens, context_limit_tokens }, where context_tokens is the prompt size of the turn's last LLM generation and context_limit_tokens is that model's maximum context window — useful for surfacing how close a long conversation is to the context limit.

  11. 1.12.3 – 1.12.42 releases that only update dependencies@elevenlabs/client 1.20.0Show each
  12. 1.12.2

    17 Aug 2026
    • 880edd2: Expose missing realtime speech-to-text options on Scribe.connect(), matching elevenlabs-js#436:

      New server messages are now dispatched instead of being dropped:

      Also fixes vadSilenceThresholdSecs, minSpeechDurationMs, and minSilenceDurationMs lower-bound validation to treat the bound as inclusive, matching the API (e.g. vadSilenceThresholdSecs: 0.3 is now accepted instead of being rejected client-side).

      The scribe.asyncapi.yaml schema (and the generated Word/CommittedTranscriptWithTimestampsMessage/FinalTranscriptWithTimestampsMessage types) was cross-checked against the live contract at https://api.elevenlabs.io/speech-to-text-asyncapi.yml. The words shape is identical between committed_transcript_with_timestamps and final_transcript_with_timestamps on that contract (both support "audio_event", per-character timings, and channel_index), so both messages now share a single Word type instead of the narrower shape committed_transcript_with_timestamps previously used. Config also gained timestamps_granularity and max_tokens_to_recompute to match the session config the server echoes back.

      @elevenlabs/react's useScribe().committedTranscripts.words (WordTimestamp) is updated to match: type now includes "audio_event", characters is now WordTimestampCharacter (each with its own start/end) instead of string, and a channel_index field was added.

    • a068144: Fix a microphone-setup failure wedging useScribe, so a denied or dismissed
      permission prompt can be retried without remounting.

      A microphone-mode session whose getUserMedia call rejects can never send
      audio, but the socket was left open holding that session. useScribe kept its
      connection ref, and every later connect() short-circuited on "Already connected". The failed setup now closes the connection, which releases the
      stranded socket and lets the hook's existing close handling clear the ref.
      onError still fires first; the session then ends as disconnected with the
      error preserved.

      The hook's close handler also nulled its ref for whichever connection reported
      a close, so a late close from a replaced socket tore down the session that had
      replaced it — the race a consumer hit when working around the above with
      disconnect-then-reconnect. A close is now ignored when a newer connection owns
      the ref, while an explicit disconnect() still reports normally.

  13. 1.12.1

    14 Aug 2026
    • 92e70c6: Fix conversation state consistency through disconnect:

  14. 1.12.0

    30 Jul 2026
    • a96f220: Add enableLogging option (boolean) to the Scribe realtime API, available on Scribe.connect and the useScribe hook. Setting it to false sends enable_logging=false on the WebSocket URL, which runs the session in zero retention mode so history features are unavailable for it. Zero retention mode may only be used by enterprise customers.

  15. 1.11.0

    27 Jul 2026
    • 139ed79: Add onAgentReasoningResponsePart callback to receive streaming reasoning response
      events from the agent. The callback receives { text, type, event_id } where type
      is one of "start", "delta", or "stop".

  16. 1.10.2

    22 Jul 2026

    Reading the note…

  17. 1.10.1

    16 Jul 2026

    Reading the note…

  18. 1.10.0

    10 Jul 2026

    Reading the note…

  19. 1.9.1

    7 Jul 2026

    Reading the note…

  20. 1.9.0

    25 Jun 2026

    Reading the note…

  21. 1.8.0

    24 Jun 2026

    Reading the note…

  22. 1.7.1

    23 Jun 2026

    Reading the note…

  23. 1.7.0

    18 Jun 2026

    Reading the note…

  24. 1.6.8

    17 Jun 2026

    Reading the note…

  25. 1.6.7

    12 Jun 2026

    Reading the note…

  26. 1.6.6

    11 Jun 2026

    Reading the note…

  27. 1.6.5

    9 Jun 2026

    Reading the note…

  28. 1.6.4

    27 May 2026

    Reading the note…

  29. 1.6.3

    22 May 2026

    Reading the note…

  30. 1.6.2

    20 May 2026

    Reading the note…

  31. 1.6.1

    19 May 2026

    Reading the note…

  32. 1.6.0

    8 May 2026

    Reading the note…

  33. 1.5.0

    8 May 2026

    Reading the note…

  34. 1.4.0

    5 May 2026

    Reading the note…

  35. 1.3.0

    29 Apr 2026

    Reading the note…

  36. 1.2.1

    23 Apr 2026

    Reading the note…

  37. 1.2.0

    22 Apr 2026

    Reading the note…

  38. 1.1.1

    14 Apr 2026

    Reading the note…

  39. 1.1.0

    10 Apr 2026

    Reading the note…

  40. 1.0.3

    6 Apr 2026

    Reading the note…

  41. 1.0.2

    3 Apr 2026

    Reading the note…

  42. 1.0.1

    30 Mar 2026

    Reading the note…

  43. 1.0.0

    27 Mar 2026

    Reading the note…

  44. 0.15.x
  45. 0.15.0

    25 Mar 2026

    Reading the note…

  46. 0.14.x
  47. 0.14.3

    17 Mar 2026

    Reading the note…

  48. 0.14.2

    10 Mar 2026

    Reading the note…

  49. 0.14.1

    24 Feb 2026

    Reading the note…

  50. 0.14.0

    4 Feb 2026

    Reading the note…

  51. 0.13.x
  52. 0.13.1

    27 Jan 2026

    Reading the note…