mirror of
https://github.com/langchain-ai/langgraphjs.git
synced 2026-08-24 21:51:39 -04:00
6530ba9b4c
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @langchain/langgraph-checkpoint@1.1.5 ### Patch Changes - [#2714](https://github.com/langchain-ai/langgraphjs/pull/2714) [`a2a59ec`](https://github.com/langchain-ai/langgraphjs/commit/a2a59ec6f8fdd93d4520d86fceab8a234dacf978) Thanks [@hntrl](https://github.com/hntrl)! - Update checkpoint integrations to require the patched checkpoint serializer release. ## @langchain/langgraph-checkpoint-mongodb@1.4.1 ### Patch Changes - [#2714](https://github.com/langchain-ai/langgraphjs/pull/2714) [`a2a59ec`](https://github.com/langchain-ai/langgraphjs/commit/a2a59ec6f8fdd93d4520d86fceab8a234dacf978) Thanks [@hntrl](https://github.com/hntrl)! - Update checkpoint integrations to require the patched checkpoint serializer release. ## @langchain/langgraph-checkpoint-postgres@1.0.5 ### Patch Changes - [#2714](https://github.com/langchain-ai/langgraphjs/pull/2714) [`a2a59ec`](https://github.com/langchain-ai/langgraphjs/commit/a2a59ec6f8fdd93d4520d86fceab8a234dacf978) Thanks [@hntrl](https://github.com/hntrl)! - Update checkpoint integrations to require the patched checkpoint serializer release. ## @langchain/langgraph-checkpoint-redis@1.0.11 ### Patch Changes - [#2714](https://github.com/langchain-ai/langgraphjs/pull/2714) [`a2a59ec`](https://github.com/langchain-ai/langgraphjs/commit/a2a59ec6f8fdd93d4520d86fceab8a234dacf978) Thanks [@hntrl](https://github.com/hntrl)! - Update checkpoint integrations to require the patched checkpoint serializer release. ## @langchain/langgraph-checkpoint-sqlite@1.0.4 ### Patch Changes - [#2714](https://github.com/langchain-ai/langgraphjs/pull/2714) [`a2a59ec`](https://github.com/langchain-ai/langgraphjs/commit/a2a59ec6f8fdd93d4520d86fceab8a234dacf978) Thanks [@hntrl](https://github.com/hntrl)! - Update checkpoint integrations to require the patched checkpoint serializer release. ## @langchain/langgraph-checkpoint-validation@1.1.1 ### Patch Changes - [#2714](https://github.com/langchain-ai/langgraphjs/pull/2714) [`a2a59ec`](https://github.com/langchain-ai/langgraphjs/commit/a2a59ec6f8fdd93d4520d86fceab8a234dacf978) Thanks [@hntrl](https://github.com/hntrl)! - Update checkpoint integrations to require the patched checkpoint serializer release. ## @langchain/langgraph-api@1.4.5 ### Patch Changes - [#2714](https://github.com/langchain-ai/langgraphjs/pull/2714) [`a2a59ec`](https://github.com/langchain-ai/langgraphjs/commit/a2a59ec6f8fdd93d4520d86fceab8a234dacf978) Thanks [@hntrl](https://github.com/hntrl)! - Update checkpoint integrations to require the patched checkpoint serializer release. - Updated dependencies []: - @langchain/langgraph-ui@1.4.5 ## @langchain/langgraph-cli@1.4.5 ### Patch Changes - Updated dependencies [[`a2a59ec`](https://github.com/langchain-ai/langgraphjs/commit/a2a59ec6f8fdd93d4520d86fceab8a234dacf978)]: - @langchain/langgraph-api@1.4.5 ## @langchain/langgraph@1.4.12 ### Patch Changes - [#2714](https://github.com/langchain-ai/langgraphjs/pull/2714) [`a2a59ec`](https://github.com/langchain-ai/langgraphjs/commit/a2a59ec6f8fdd93d4520d86fceab8a234dacf978) Thanks [@hntrl](https://github.com/hntrl)! - Update checkpoint integrations to require the patched checkpoint serializer release. - Updated dependencies [[`a2a59ec`](https://github.com/langchain-ai/langgraphjs/commit/a2a59ec6f8fdd93d4520d86fceab8a234dacf978)]: - @langchain/langgraph-checkpoint@1.1.5 ## @langchain/langgraph-ui@1.4.5 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
LangGraph.js CLI
The official command-line interface for LangGraph.js, providing tools to create, develop, and deploy LangGraph.js applications.
Installation
The @langchain/langgraph-cli is a CLI binary that can be run via npx or installed via your package manager of choice:
npx @langchain/langgraph-cli
Commands
langgraphjs dev
Run LangGraph.js API server in development mode with hot reloading.
npx @langchain/langgraph-cli dev
langgraphjs build
Build a Docker image for your LangGraph.js application.
npx @langchain/langgraph-cli build
langgraphjs up
Run LangGraph.js API server in Docker.
npx @langchain/langgraph-cli up
langgraphjs dockerfile
Generate a Dockerfile for custom deployments
npx @langchain/langgraph-cli dockerfile <save path>
Configuration
The CLI uses a langgraph.json configuration file with these key settings:
{
// Required: Graph definitions
graphs: {
graph: "./src/graph.ts:graph",
},
// Optional: Node version (supported: "20", "22", "24")
node_version: "24",
// Optional: Environment variables
env: ".env",
// Optional: Additional Dockerfile commands
dockerfile_lines: [],
}
See the full documentation for detailed configuration options.