Change8

v2.2.0rc3

Breaking Changes
📦 mistral-clientView on GitHub →
5 breaking🔧 4 symbols

Summary

This release (2.2.0rc3) removes several event sending functions from the workflows and events modules, constituting a breaking change for users relying on the removed APIs.

⚠️ Breaking Changes

  • The functions `mistral.workflows.events.send_event()`, `mistral.workflows.events.send_events_batch()`, `mistral.events.send_event()`, and `mistral.events.send_events_batch()` have been removed. Users should check the new event handling mechanisms if they relied on these.
  • Removed `mistral.workflows.events.send_event()`. Users must migrate to the new event sending API.
  • Removed `mistral.workflows.events.send_events_batch()`. Users must migrate to the new event sending API.
  • Removed `mistral.events.send_event()`. Users must migrate to the new event sending API.
  • Removed `mistral.events.send_events_batch()`. Users must migrate to the new event sending API.

Migration Steps

  1. Replace calls to `mistral.workflows.events.send_event()` with the appropriate replacement in the new API.
  2. Replace calls to `mistral.workflows.events.send_events_batch()` with the appropriate replacement in the new API.
  3. Replace calls to `mistral.events.send_event()` with the appropriate replacement in the new API.
  4. Replace calls to `mistral.events.send_events_batch()` with the appropriate replacement in the new API.

Affected Symbols