Skip to content

cli==0.1.52

Choose a tag to compare

@github-actions github-actions released this 28 Aug 16:22
7d3527d

langgraph-cli 0.1.52

Summary of Changes

  • Added support for Node.js environments, allowing deployment of LangGraphJS applications (PR #1516)
  • Updated Docker configuration to use langchain/langgraphjs-api base image when Node.js is specified (PR #1516)
  • Added validation for Node.js version in configuration files (PR #1516)

Detailed Changes

Configuration Support

  • Added node_version field to configuration TypedDict, allowing users to specify Node.js instead of Python
  • Added validation for Node.js versions (currently only supports version "20")
  • Enhanced config validation to handle both Python and Node.js projects appropriately

Docker Support

  • Added node_config_to_docker function to generate Docker configurations for Node.js projects
  • Updated config_to_docker to dynamically choose between Python and Node.js Docker configuration based on the provided config
  • Modified Docker image selection logic to use langchain/langgraphjs-api for Node.js projects and langchain/langgraph-api for Python projects

CLI Commands

  • Updated build, prepare, and deployment commands to work with both Python and Node.js environments
  • Enhanced Docker pull commands to use the appropriate base image and version based on project type