Skip to content

cli==0.2.2

Choose a tag to compare

@github-actions github-actions released this 10 Apr 23:43
2a7d485

langgraph-cli 0.2.2

Summary of Changes

  • Added new functionality to automatically detect Python and JavaScript graphs based on file extensions (PR #4239)
  • Improved Docker image handling for mixed Python/Node.js projects (PR #4239)
  • Refactored configuration validation to support both Python and Node.js in the same project (PR #4239)
  • Added utility functions for Docker base image selection and tag generation (PR #4239)

Detailed Changes

Configuration Functions

  • Added _is_python_graph function to detect Python graphs based on file extensions (PR #4239)
  • Added default_base_image function to determine the appropriate Docker base image based on project configuration (PR #4239)
  • Added docker_tag function to generate correct Docker image tags (PR #4239)
  • Completely refactored validate_config to auto-detect and set appropriate versions for Node.js and Python based on graph files (PR #4239)

Docker Integration

  • Refactored python_config_to_docker and node_config_to_docker for better ENV variable handling and Docker file generation (PR #4239)
  • Modified config_to_docker and config_to_compose to use the new default base image logic (PR #4239)
  • Improved CLI commands to utilize new Docker image handling functions (PR #4239)