Change8

v0.14.0

Breaking Changes
📦 llamaindexView on GitHub →
7 breaking1 features🔧 7 symbols

Summary

This release updates llama-index-core to 0.14.0, introducing breaking changes in workflows by removing deprecated features and methods, while adding document block support for OpenAI LLMs.

⚠️ Breaking Changes

  • llama-index-workflows bumped to 2.0 with several removals.
  • WorkflowRuntimeError no longer wraps errors to improve stacktrace clarity.
  • Removed checkpointer feature from workflows.
  • Removed sub-workflows feature.
  • Removed send_event() method from the Workflow class (use Context.send_event instead).
  • Removed stream_events() method from the Workflow class (use Context.stream_events instead).
  • Removed support for stepwise execution in workflows.

Migration Steps

  1. Update code to access send_event() and stream_events() via the Context class instead of the Workflow class.
  2. Refactor workflows that relied on the deprecated checkpointer or sub-workflows features.
  3. Remove any logic dependent on stepwise execution in workflows.
  4. Update llama-index-core to 0.14.0 and llama-index-llms-openai to 0.5.6.

✨ New Features

  • Added support for document blocks in OpenAI chat completions.

🔧 Affected Symbols

Workflow.send_eventWorkflow.stream_eventsWorkflowRuntimeErrorContext.send_eventContext.stream_eventsllama-index-workflowsllama-index-core