Skip to content

Releases: partITech/php-mistral

v0.1.3

06 Jul 17:00
6a71b9f
Compare
Choose a tag to compare

🎉 New Features

Added new JSON schemas to the JsonSchema class that were not supported in the original library:

  • Enum
  • Const
  • Null
  • Pattern
  • Combinations: allOf, anyOf, oneOf, not

These additions simplify the creation ofguided_json outputs

To-do : create a documentation on writing more complex output schemas.


v0.1.2

04 Jul 21:18
d4bf195
Compare
Choose a tag to compare

✨ Relax Composer Constraints for Broader Compatibility

Goal

Make the php-mistral package easier to integrate into modern projects by loosening version constraints that were too restrictive and blocked installation with recent framework stacks.


Changes

  • Lowered minimum PHP version to >=8.2 (previously >=8.3)

  • Relaxed version constraints on key packages to support a wider ecosystem:

    json "symfony/http-client": "^6.3 || ^7.0", "symfony/mime": "^6.3 || ^7.0", "symfony/dotenv": "^6.3 || ^7.0"

  • Replaced unbounded wildcards on virtual packages with stable constraints:

    json "psr/http-client-implementation": "^1.0", "psr/http-factory-implementation": "^1.0"


Why

The initial strict constraints were preventing installation in projects using recent versions of popular libraries and frameworks. This update makes php-mistral more compatible while keeping dependency resolution safe and predictable.

v0.1.1

27 Jun 14:42
Compare
Choose a tag to compare

[0.1.1]

Added

  • Support for Multi-Call Prompt (MCP) using McpConfig, enabling advanced tool configuration and multiple tool call strategies in chat() requests.
  • Full integration with clients: AnthropicClient, MistralClient, OpenAIClient, and others.
  • New examples showcasing MCP usage added in the examples/ directory.
  • MCP and tool's response are now streamable.

Changed

  • Tool injection logic in clients refactored to handle both classic arrays and McpConfig objects seamlessly.

v0.1.0

28 Apr 18:50
Compare
Choose a tag to compare

Psr 18 rewritten.

Supports Mistral, vLLM, Ollama, LLama.cpp, TGI, TEI, Huggingface inference provider, anthropic, xai, huggingface datasets.

v0.0.22

17 Apr 10:34
1527e0c
Compare
Choose a tag to compare

What's Changed

  • fix nullable type deprecation in MistralClient constructor by @qdurillon-dev in #32

Full Changelog: v0.0.21...v0.0.22

v0.0.21

17 Apr 08:33
05dbfeb
Compare
Choose a tag to compare

What's Changed

  • cs: remove stray ")" from mistral streamed response example in README by @lbai02 in #30
  • Require php >= 8.3 in composer.json by @qdurillon-dev in #31

New Contributors

Full Changelog: v0.0.20...v0.0.21

v0.0.20

17 Mar 14:39
5fac026
Compare
Choose a tag to compare

Remove unused dependency (thanks to @lbai02)

Full Changelog: v0.0.19...v0.0.20

v0.0.19

06 Jan 14:17
Compare
Choose a tag to compare

Add compatibility with ollama, Tgi from huggingface inference, vllm.
Add compatibility with json format for ollama/mistral/tgi/vllm.

See examples/Clients for config examples.

v0.0.18

24 Oct 12:33
690aad3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.17...v0.0.18

v0.0.17

12 Sep 21:49
97ec189
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.16...v0.0.17