Skip to content

Releases: SoftCreatR/php-mistral-ai-sdk

Release v3.0.1

21 Nov 15:07
1f9bb47

Choose a tag to compare

Fixed

  • Audio transcription helpers (sync + streaming) now submit multipart/form-data payloads even when using remote media via file_url, matching the requirements from the official API docs.

Changed

  • Removed the undocumented audio_url/audio_id aliases; clients must send file, file_url, or file_id, aligning the SDK surface with the server contract.

Full Changelog: v3.0.0...v3.0.1

Release v3.0.0

18 Nov 21:54
0e497fc

Choose a tag to compare

Added

  • Coverage for every endpoint currently documented at docs.mistral.ai/api, including:
    • Batch jobs, agents (beta), conversations (beta), knowledge libraries (beta), and the latest moderation/classification APIs.
    • Audio transcription helpers (sync + streaming), OCR, file downloads, signed URLs, and knowledge-document utilities.
    • Dedicated streaming helpers (createAudioTranscriptionStream, startConversationStream, etc.) that automatically enable server-sent events.
  • Builder metadata describing streaming endpoints so the client can set the correct transport and headers automatically.
  • Example scripts for each endpoint, organized under examples/ by resource category.

Changed

  • MistralAI::__call now detects whether the target endpoint contains path placeholders, allowing you to pass request payloads as the first argument when no placeholders are needed (the previous two-array pattern still works).
  • GET/DELETE requests now serialize $options as query parameters instead of sending empty JSON bodies, and streaming calls advertise Accept: text/event-stream.
  • Added support for explicit query strings on POST/PATCH endpoints through the reserved query option (automatically mapped to _query internally).
  • Documentation and tests were refreshed to describe the expanded surface area, new helper methods, and the revised calling conventions.

Full Changelog: v2.0.0...v3.0.0

Release v2.0.0

08 Oct 08:48
c818989

Choose a tag to compare

New release for version 2.0.0

Release v1.1.0

12 Jul 19:21
b0e5b85

Choose a tag to compare

New release for version 1.1.0

Release v1.0.0

03 Feb 06:44
f5e56bf

Choose a tag to compare

New release for version 1.0.0