Skip to content

Releases: AssemblyAI/assemblyai-node-sdk

v4.5.0

17 Jun 10:08
66b6fd7
Compare
Choose a tag to compare

What's changed

Added

  • You can now retrieve previous LeMUR responses using client.lemur.getResponse<LemurTask>("YOUR_REQUEST_ID").
  • LeMUR functions now return usage with the number of input_tokens and output_tokens.

v4.4.7

12 Jun 12:06
2f75167
Compare
Choose a tag to compare

What's changed

  • Rename TranscriptService.redactions function to TranscriptService.redactedAudio.
  • Add TranscriptService.redactedAudioFile function.
  • Add workerd export to fix cache issue with fetch on Cloudflare Workers.

4.4.6

10 Jun 10:43
fe04165
Compare
Choose a tag to compare
  • Fix Rollup exports so __SDK_VERSION__ is properly replaced with the version of the SDK.

v4.4.5

31 May 19:25
99736e3
Compare
Choose a tag to compare

What's Changed

  • Add new PiiPolicy enum values

Full Changelog: v4.4.4...v4.4.5

v4.4.4

30 May 21:03
21cc568
Compare
Choose a tag to compare

What's Changed

  • Add an export that only includes the Streaming STT code. You can use the export
    • by importing assemblyai/streaming,
    • or by loading the assemblyai.streaming.umd.js file, or assemblyai.streaming.umd.min.js file in a script-tag.
  • Add new EntityType enum values

Full Changelog: v4.4.3...v4.4.4

v4.4.3

15 May 16:21
78d1382
Compare
Choose a tag to compare

What's Changed

  • Add react-native exports that resolve to the browser version of the library.
  • Update dependencies
  • Update README.md
    • Add CDN instructions
  • Add CONTRIBUTING.md

Full Changelog: v4.4.2...v4.4.3

v4.4.2

03 May 15:10
3d8bd1f
Compare
Choose a tag to compare

What's Changed

Changed

  • Caching is disabled for all HTTP request made by the SDK
  • Accept data-URIs in client.files.upload(dataUri), client.transcripts.submit(audio: dataUri), client.transcripts.transcribe(audio: dataUri).
  • Change how the WebSocket libraries are imported for better compatibility across frameworks and runtimes.
    The library no longer relies on a internal #ws import, and instead compiles the imports into the dist bundles.
    Browser builds will use the native WebSocket, other builds will use the ws package.

Full Changelog: v4.4.1...v4.4.2

v4.4.1

17 Apr 16:52
c6a4520
Compare
Choose a tag to compare

What's Changed

Changed

  • Deprecate enableExtraSessionInformation parameter in CreateRealtimeTranscriberParams type

Full Changelog: v4.4.0...v4.4.1

v4.4.0

15 Apr 16:13
651cdb7
Compare
Choose a tag to compare

What's Changed

Added

  • Add disablePartialTranscripts parameter to CreateRealtimeTranscriberParams
  • Add enableExtraSessionInformation parameter to CreateRealtimeTranscriberParams
  • Add session_information event to RealtimeTranscriber.on()

Updated

  • ⚠️ Deprecate conformer-2 literal for TranscriptParams.speech_model property

Fixed

  • Add missing status property to AutoHighlightsResult

Full Changelog: v4.3.4...v4.4.0

v4.3.4

02 Apr 21:24
56a61f8
Compare
Choose a tag to compare

What's Changed

Added

  • SpeechModel.Best enum
  • TranscriptListItem.error property

Updated

  • Make PageDetails.prev_url nullable
  • Rename Realtime to Streaming inside code documentation
  • More inline code documentation

Fixed

  • Rename SubstitutionPolicy literal "entity_type" to "entity_name"
  • Fix the pagination example in "List transcripts" sample on README

Full Changelog: v4.3.3...v4.3.4