Change8

0.177.0

Breaking Changes
📦 crewaiView on GitHub →
1 breaking5 features🐛 4 fixes🔧 4 symbols

Summary

This release focuses on core improvements including RAG package parity, centralized event handling under crewai.events, and critical bug fixes for mutable arguments and Pydantic warnings.

⚠️ Breaking Changes

  • The events module has been moved to crewai.events. Code importing from the previous location must be updated to the new namespace.

Migration Steps

  1. Update import statements for event logic from the old location to crewai.events.

✨ New Features

  • Achieved parity between the rag package and current implementation.
  • Enhanced LLM event handling with task and agent metadata.
  • Centralized event logic into the crewai.events module.
  • Improved tracing functionality and general cleanup.
  • Refactored parser into modular functions for improved structure.

🐛 Bug Fixes

  • Fixed mutable default arguments by replacing them with None to prevent state leakage.
  • Suppressed Pydantic deprecation warnings during initialization.
  • Fixed broken example link in README.md.
  • Removed Python 3.12+ only Ruff rules to ensure broader compatibility.

🔧 Affected Symbols

ragcrewai.eventsparserLLM event handling