Migrating to Instructor 1.10.0
Version 1.10.0 introduces 2 breaking changes. This guide details how to update your code.
Released: 7/18/2025
2
Breaking Changes
3
Migration Steps
11
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
from_providerAutoCacheRedisCachegoogle-genaigoogle-generativeaiis_simple_typethinking_configBedrockAnthropicDeepSeekauto_clientBreaking Changes
●Issue #1
Integrations have been updated to use the from_provider API, which may require updating how clients are initialized.
●Issue #2
The google-generativeai provider is being phased out in favor of google-genai.
Migration Steps
- 1Update provider integrations to use the new from_provider API.
- 2Switch from google-generativeai to the google-genai package for Gemini models.
- 3Update provider syntax in codebases to match the latest documentation standards.
Release Summary
This release introduces native caching (Redis/AutoCache), expands provider support to include DeepSeek and Anthropic parallel tools, and migrates Google integrations to the new google-genai SDK.
Need More Details?
View the full release notes and all changes for Instructor 1.10.0.
View Full Changelog