Change8

Migrating to LlamaIndex v0.12.40

Version v0.12.40 introduces 1 breaking change. This guide details how to update your code.

Released: 6/3/2025

1
Breaking Changes
1
Migration Steps
7
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

StopEventOpenAIResponsesBasicMCPClientAnthropicBedrockCohereEmbeddingGoogleGenAIMeasureSpaceToolSpec

Breaking Changes

Issue #1

The 'reasoning_effort' keyword argument in OpenAIResponses has been moved into the 'reasoning_options' dictionary. Update code passing 'reasoning_effort' directly to use the new dictionary structure.

Migration Steps

  1. 1
    Update OpenAI integration code to wrap 'reasoning_effort' inside a 'reasoning_options' dictionary.

Release Summary

This release introduces workflow validation for StopEvents, adds Measure Space tools, and provides several bug fixes for OpenAI, Anthropic, and Google GenAI integrations.

Need More Details?

View the full release notes and all changes for LlamaIndex v0.12.40.

View Full Changelog