v2.4.5
Breaking Changes📦 mistral-clientView on GitHub →
⚠ 5 breaking✨ 1 features🔧 6 symbols
Summary
This release introduces a new field in the authentication methods endpoint and contains several breaking changes related to response structures in workflow and event streaming/retrieval methods.
⚠️ Breaking Changes
- The structure of the response for `mistral.workflows.executions.stream()` has changed. Specifically, the path `response.[].data.data.union(CustomTaskInProgressResponse).attributes.payload` is modified.
- The structure of the response for `mistral.workflows.events.get_stream_events()` has changed in the `response.[].data.data` field.
- The structure of the response for `mistral.workflows.events.get_workflow_events()` has changed in the `response.events[]` field.
- The structure of the response for `mistral.events.get_stream_events()` has changed. Specifically, the path `response.[].data.data.union(CustomTaskInProgressResponse).attributes.payload` is modified.
- The structure of the response for `mistral.events.get_workflow_events()` has changed in the `response.events[]` field.
Migration Steps
- Review and update code that consumes the response from `mistral.workflows.executions.stream()` to reflect the change in `response.[].data.data.union(CustomTaskInProgressResponse).attributes.payload`.
- Review and update code that consumes the response from `mistral.workflows.events.get_stream_events()` to reflect the change in `response.[].data.data`.
- Review and update code that consumes the response from `mistral.workflows.events.get_workflow_events()` to reflect the change in `response.events[]`.
- Review and update code that consumes the response from `mistral.events.get_stream_events()` to reflect the change in `response.[].data.data.union(CustomTaskInProgressResponse).attributes.payload`.
- Review and update code that consumes the response from `mistral.events.get_workflow_events()` to reflect the change in `response.events[]`.
✨ New Features
- Added `has_default_credentials` field to the response of `mistral.beta.connectors.get_authentication_methods()`.