Releases: prism-php/prism
Releases · prism-php/prism
v0.99.0
What's Changed
- (feat) gemini: add support for new thinkingLevel by @patrickbrouwers in #764
- feat: completion callbacks & datastream provider tools by @sixlive in #776
- Fix PHPStan errors for HTTP Client types by @sixlive in #782
- feat(openai): include service tier in response meta by @mattmcdev in #779
- feat(anthropic): implement cache TTL support for messages and tools by @roymckenzie in #777
- feat(gemini): add urlContextMetadata support by @cutlope in #773
- Fix: Add output-buffer existence check before calling ob_flush() by @vinitkadam03 in #761
- fix: gemini tool call fails if thought is included by @chisomgbata in #762
- Enhance documentation for Tool::make usage by @barryvdh in #763
- (feat) thinking summary for gemini, anthropic (stream) openai (text, stream) by @patrickbrouwers in #765
- fix(gemini): fix multiple provider tools calls by @cutlope in #767
- fix(gemini): add default empty string for modelVersion by @cutlope in #770
- fix(gemini): only include includeThoughts when explicitly set by @cutlope in #775
- Improve data protocol errors by @sixlive in #783
- feat(openai): add support for store parameter by @antoninmasek in #766
Breaking Changes
- On complete callback removed for new callback handlers see #776
New Contributors
- @vinitkadam03 made their first contribution in #761
- @antoninmasek made their first contribution in #766
Full Changelog: v0.98.5...v0.99.0
v0.98.5
What's Changed
- feat(anthropic): allow configurable base url by @BenyominMandel in #755
- feat(gemini): add file search tool by @sixlive in #759
- Fix missing thought_signature when using Prism in streaming mode with Gemini 3 Pro and tool calls by @decaluwepatrick in #758
Full Changelog: v0.98.4...v0.98.5
v0.98.4
What's Changed
- (fix) gemini support for raw schemas by @patrickbrouwers in #751
- (feat) add support for gemini 3 pro with tool calls by @patrickbrouwers in #752
- Fix: Unhandled
nullvalue in OpenRouter's response by @simaremare in #753 - Remove 'description' from unsupported field from tool call schema by @chisomgbata in #730
New Contributors
- @simaremare made their first contribution in #753
- @chisomgbata made their first contribution in #730
Full Changelog: v0.98.3...v0.98.4
v0.98.3
What's Changed
- feat(ollama): keep_alive option by @sv-LayZ in #748
- (fix) gemini message map: duplicated image attachments by @patrickbrouwers in #750
Full Changelog: v0.98.2...v0.98.3
v0.98.2
What's Changed
- Expanded Gemini JSON schema support by @GrahamCampbell in #743
- chore: fix typo in boost guidelines by @kauffinger in #741
- Create Tool from Laravel MCP Tools by @barryvdh in #723
- feat(text): add Response parameter to onComplete callback by @BenyominMandel in #742
- fix(images|openai): image edit needs mime type by @kauffinger in #725
- Fix CI tests/dependencies by @sixlive in #747
- (fix) allow object schemas without explicit properties by @patrickbrouwers in #746
- fix(gemini): properly handle thought parts in text responses by @cutlope in #729
New Contributors
- @GrahamCampbell made their first contribution in #743
- @BenyominMandel made their first contribution in #742
- @cutlope made their first contribution in #729
Full Changelog: v0.98.1...v0.98.2
v0.98.1
What's Changed
- feat(text): track provider tool calls by @sixlive in #719
- fix: only process provider calls as provider calls by @kauffinger in #724
- feat(anthropic): structured output beta by @sixlive in #737
- fix(ollama): tool maps and arguments by @sixlive in #738
Full Changelog: v0.98.0...v0.98.1
v0.98.0
What's Changed
- feat(structured): structured output with tools (OpenAI, Gemini, Anthropic) by @sixlive in #713
- feat(stream|anthropic): add Anthropic provider tool result handling by @roymckenzie in #715
- fix(openai) - text verbosity openai + add text verbosity to openai st… by @patrickbrouwers in #718
Full Changelog: v0.97.2...v0.98.0
v0.97.2
What's Changed
- feat: filter livewire morph markers by @sixlive in #710
- feat(streaming|openai): Add provider tool event type by @sixlive in #707
- feat(streaming|anthropic): implement Anthropic provider tool call handling in streaming responses by @roymckenzie in #712
Full Changelog: v0.97.1...v0.97.2
v0.97.1
What's Changed
- fix(formatting): run formatter for new rector formatting guides by @roymckenzie in #705
- Update OpenAI error handling by @barryvdh in #704
- fix(openai): correct usage field path for reasoning tokens by @sixlive in #708
- feat(openai): add support for text_verbosity parameter by @sixlive in #709
New Contributors
Full Changelog: v0.97.0...v0.97.1
v0.97.0
What's Changed
- Apply latest rector formatting updates by @sixlive in #688
- fix(stream/anthropic): replace TollResultEvent::toolResult with correct ToolResult instance by @roymckenzie in #694
- refactor: use proper facade pattern by @sixlive in #699
- feat(api) Use HasPrompts to pass system prompt to image requests by @aimeos in #696
- feat(gemini): add full support for gemini-2.5-flash-image by @senecolas in #700
- feat:(api): Add support for OpenAI service_tier (Priority) configuration by @robertmarney in #695
- feat(api): Optional model parameter by @aimeos in #684
Breaking Changes
\Prism\Prism\Prism::text()is now\Prism\Prism\Facades\Prism::text()- see notes in #699- You can use
find . -path ./vendor -prune -o -type f -name "*.php" -exec perl -i -pe 's/Prism\\Prism\\Prism/Prism\\Prism\\Facades\\Prism/g' {} +as a quick fix.
- You can use
New Contributors
- @senecolas made their first contribution in #700
- @robertmarney made their first contribution in #695
Full Changelog: v0.96.1...v0.97.0