SIGN IN SIGN UP

Remove deprecated APIs (#466)

Removes all APIs previously marked @available(*, deprecated) or
@available(*, unavailable, renamed/message:) across WhisperKit,
SpeakerKit, and ArgmaxCore. Callers should migrate to the replacement
APIs listed in each original deprecation message.

Removed:
- WhisperKit.transcribe(audioPath:) / transcribe(audioArray:) overloads
  returning TranscriptionResult? (use [TranscriptionResult] versions)
- TextDecoding.decodeText / detectLanguage MLMultiArray overloads
  (use any AudioEncoderOutputType / any DecodingInputsType versions)
- Top-level free functions now on ModelUtilities, TranscriptionUtilities,
  TextUtilities, Logging, and FileManager
- WhisperKit.formatModelFiles (use ModelUtilities.formatModelFiles)
- SpeakerKit.init(models:), SpeakerKit.init(diarizer:), and the
  SpeakerKitModelManager typealias
- ModelUtilities.getModelInputDimention / getModelOutputDimention
  misspelled wrappers (use getModelInputDimension / getModelOutputDimension)
- MLTensor sync conversions asIntArray / asFloatArray / asMLMultiArray
  (use await toIntArray() / toFloatArray() / toMLMultiArray()).
  As a result, TokenSampling.update(...) is now async.
A
Andrey Leonov committed
cd3c6bca5d7742662a4e96231174201c4182c040
Parent: 1bbfbaa
Committed by GitHub <noreply@github.com> on 5/1/2026, 8:03:35 PM