Agent DailyAgent Daily
releaseintermediate

[Release] crewaiInc/crewAI 1.11.1: 1.11.1

By lorenzejaygithub
View original on github

crewAI v1.11.1 introduces a flow_structure() serializer for Flow class introspection and addresses multiple security vulnerabilities by updating dependencies (pypdf, tinytag, langchain-core). Key fixes include preserving full LLM config during HITL resume for non-OpenAI providers, preventing path traversal in FileWriterTool, and resolving crashes in lock_store when redis is unavailable. The release also includes documentation improvements for custom tools and event listeners, plus refactoring to replace urllib with requests and improve type serialization.

Key Points

  • New flow_structure() serializer enables Flow class introspection for better visibility into workflow composition
  • Security patches applied to pypdf, tinytag, and langchain-core dependencies to address vulnerabilities
  • HITL (Human-in-the-Loop) resume now preserves complete LLM configuration for non-OpenAI providers, improving compatibility
  • FileWriterTool hardened against path traversal attacks for enhanced security
  • lock_store no longer crashes when redis package is not installed—graceful handling of optional dependencies
  • cache_function parameter properly passed from BaseTool to CrewStructuredTool for consistent caching behavior
  • urllib replaced with requests library in pdf loader for better maintainability and consistency
  • Callback and model fields refactored from Any type to serializable types for improved type safety and debugging
  • Published comprehensive guide for custom tools with multi-language translations
  • Event listeners documentation completed to help developers implement custom event handling

Found this useful? Add it to a playbook for a step-by-step implementation guide.

Workflow Diagram

Start Process
Step A
Step B
Step C
Complete
Quality

Concepts