Skip to content

Releases: prism-php/prism

v0.99.0

06 Dec 22:41
c56ba82

Choose a tag to compare

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

Full Changelog: v0.98.5...v0.99.0

v0.98.5

22 Nov 19:21
6c1ca2d

Choose a tag to compare

What's Changed

Full Changelog: v0.98.4...v0.98.5

v0.98.4

21 Nov 11:24
9592e3c

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.98.3...v0.98.4

v0.98.3

20 Nov 14:49
4e2c1f0

Choose a tag to compare

What's Changed

Full Changelog: v0.98.2...v0.98.3

v0.98.2

19 Nov 16:11
e0d60dd

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.98.1...v0.98.2

v0.98.1

15 Nov 19:47
2c83378

Choose a tag to compare

What's Changed

Full Changelog: v0.98.0...v0.98.1

v0.98.0

05 Nov 21:29
a0674fa

Choose a tag to compare

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

03 Nov 13:57
a5540b0

Choose a tag to compare

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

01 Nov 20:48
2fe0256

Choose a tag to compare

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

28 Oct 22:15
9114a78

Choose a tag to compare

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.

New Contributors

Full Changelog: v0.96.1...v0.97.0