Change8

Migrating to LlamaIndex v0.12.41

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

Released: 6/7/2025

1
Breaking Changes
2
Migration Steps
16
Affected Symbols

⚠️ Check Your Code

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

MutableMappingKVStoreJsonPickleSerializerPickleSerializerSimpleDirectoryReaderImageDocumentSettingsAzureOpenAIBedrockConverseLiteLLMOllamaOpenAIChromaVectorStoreMilvusVectorStoreRedisVectorStoreDocugamiReaderObsidianReader

Breaking Changes

Issue #1

JsonPickleSerializer has been renamed to PickleSerializer. Code referencing the old class name will fail and must be updated to use the new name.

Migration Steps

  1. 1
    Update references from JsonPickleSerializer to PickleSerializer.
  2. 2
    Ensure deserialization via PickleSerializer is only performed on trusted/safe data as per new security warnings.

Release Summary

This release introduces several new integrations including ElevenLabs and ApertureDB, adds support for OpenAI JSON Schema and Ollama's 'think' feature, and includes a breaking rename of the JsonPickleSerializer to PickleSerializer.

Need More Details?

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

View Full Changelog