Change8

0.201.0

Breaking Changes
📦 crewaiView on GitHub →
2 breaking6 features🐛 5 fixes1 deprecations🔧 6 symbols

Summary

This release upgrades the core engine to Pydantic v2, introduces a new CLI wrapper for 'uv', and enhances embedder flexibility with batch processing and custom provider support.

⚠️ Breaking Changes

  • Upgraded to Pydantic v2, which may require updates to custom schemas and models.
  • Reorganized project structure with dependency groups, potentially affecting how optional features are installed.

Migration Steps

  1. Update code to use Pydantic v2 syntax and models.
  2. Replace legacy utility imports with the new Pydantic-compatible utility module.
  3. Update ChromaDB to v1.1.0 if using vector store features.

✨ New Features

  • Introduced thread-safe platform context management.
  • Added 'crewai uv' wrapper command to run uv directly via CLI.
  • Enabled marking traces as failed for observability workflows.
  • Added support for custom embedding types and provider migration.
  • Added 'batch_size' support to embedders to prevent token limit errors.
  • Added fallback logic to crew settings.

🐛 Bug Fixes

  • Made 'ready' parameter optional in _create_reasoning_plan.
  • Fixed nested config format handling for embedder configuration.
  • Corrected directory name in Quickstart documentation.
  • Resolved issues with test duration cache and event exports.
  • Resolved Ruff and MyPy issues across experimental, flow, rag, tools, and tasks modules.

🔧 Affected Symbols

_create_reasoning_plancrewai uvChromaDBpydanticpydantic-settingscrewai.utilities

⚡ Deprecations

  • Deprecated legacy utility functions in favor of new Pydantic-compatible imports.