Update dependency prism-php/prism to ^0.99.0 #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.67.0→^0.99.0Release Notes
prism-php/prism (prism-php/prism)
v0.99.10Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.99.9...v0.99.10
v0.99.9Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.99.8...v0.99.9
v0.99.8Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.99.7...v0.99.8
v0.99.7Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.99.6...v0.99.7
v0.99.6Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.99.5...v0.99.6
v0.99.5Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.99.4...v0.99.5
v0.99.4Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.99.3...v0.99.4
v0.99.3Compare Source
What's Changed
macroableon base Prism class by @ahinkle in #802New Contributors
Full Changelog: prism-php/prism@v0.99.2...v0.99.3
v0.99.2Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.99.1...v0.99.2
v0.99.1Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.99.0...v0.99.1
v0.99.0Compare Source
What's Changed
Breaking Changes
New Contributors
Full Changelog: prism-php/prism@v0.98.5...v0.99.0
v0.98.5Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.98.4...v0.98.5
v0.98.4Compare Source
What's Changed
nullvalue in OpenRouter's response by @simaremare in #753New Contributors
Full Changelog: prism-php/prism@v0.98.3...v0.98.4
v0.98.3Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.98.2...v0.98.3
v0.98.2Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.98.1...v0.98.2
v0.98.1Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.98.0...v0.98.1
v0.98.0Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.97.2...v0.98.0
v0.97.2Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.97.1...v0.97.2
v0.97.1Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.97.0...v0.97.1
v0.97.0Compare Source
What's Changed
Breaking Changes
\Prism\Prism\Prism::text()is now\Prism\Prism\Facades\Prism::text()- see notes in #699find . -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: prism-php/prism@v0.96.1...v0.97.0
v0.96.1Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.96.0...v0.96.1
v0.96.0Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.95.0...v0.96.0
v0.95.0Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.94.0...v0.95.0
v0.94.0Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.93.0...v0.94.0
v0.93.0Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.92.0...v0.93.0
v0.92.0Compare Source
What's Changed
1. Removed
ChunkClass andChunkTypeEnumWhat changed:
Prism\Prism\Text\Chunkclass has been removedPrism\Prism\Enums\ChunkTypeenum has been removedPendingRequest::asStream()now returnsGenerator<StreamEvent>instead ofGenerator<Chunk>Before:
After:
2. Exception Renamed
What changed:
PrismChunkDecodeExceptionrenamed toPrismStreamDecodeExceptionMigration:
3. Stream Event Type Changes
The streaming output is now composed of 12 distinct event types, each with specific purposes:
StreamStartEventTextStartEventTextDeltaEventTextCompleteEventThinkingStartEventThinkingEventThinkingCompleteEventToolCallEventToolResultEventCitationEventErrorEventStreamEndEventMigration Guide
Basic Streaming
Before (Chunk-based):
After (Event-based):
Handling Tool Calls
Before:
After:
Detecting Stream Completion
Before:
After:
Handling Thinking/Reasoning
Before:
After:
New Features
1. Granular Stream Events
Each phase of streaming now emits specific events, enabling fine-grained control:
2. Streaming Adapters
Three new adapters for different streaming protocols:
Server-Sent Events (SSE)
Data Protocol (Vercel AI SDK compatible)
Laravel Broadcasting
3. onComplete Callback
Register callbacks that execute when streaming completes:
The callback receives:
$request: The originalPendingRequestinstance$messages: Collection of finalMessageobjects4. StreamCollector Utility
Automatically collects stream events into final messages:
5. Testing Improvements
New fake methods for testing streaming:
Internal Improvements
Unified StreamState Architecture
All 9 streaming providers now use a consistent
StreamStateobject for managing streaming state:Providers Refactored:
Benefits:
withMessageId(),appendText(), etc.)OllamaStreamStatefor token accumulation)Example (before/after):
Full Changelog: prism-php/prism@v0.91.1...v0.92.0
v0.91.1: v0.92.1Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.91.0...v0.91.1
v0.91.0Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.90.0...v0.91.0
v0.90.0Compare Source
What's Changed
outputis always string by @Shoghy in #599Breaking Changes
withProviderOptionsand are now passed viaImagevalue objects in thewithPrompt'sadditionalContentparameter.maskoption now utilizes theImagevalue object instead of a raw resourceNew Contributors
Full Changelog: prism-php/prism@v0.89.0...v0.90.0
v0.89.0Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.88.1...v0.89.0
v0.88.1Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.88.0...v0.88.1
v0.88.0Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.87.1...v0.88.0
v0.87.1Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.87.0...v0.87.1
v0.87.0Compare Source
What's Changed
Breaking Changes
New Contributors
Full Changelog: prism-php/prism@v0.86.0...v0.87.0
v0.86.0Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.85.0...v0.86.0
v0.85.0Compare Source
What's Changed
Breaking Changes
responseMessagesfrom the response objectsFull Changelog: prism-php/prism@v0.84.0...v0.85.0
v0.84.0Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.83.2...v0.84.0
v0.83.2Compare Source
What's Changed
Full Changelog: prism-php/prism@v0.83.1...v0.83.2
v0.83.1Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.83.0...v0.83.1
v0.83.0Compare Source
What's Changed
message_stopevent instead of the entire response by @travisobregon in #529New Contributors
Full Changelog: prism-php/prism@v0.82.0...v0.83.0
v0.82.0Compare Source
What's Changed
New Contributors
Full Changelog: prism-php/prism@v0.81.0...v0.82.0
v0.81.0Compare Source
What's Changed
Configuration
📅 Schedule: Branch creation - "before 07:00 on Thursday" in timezone Europe/Oslo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.