Skip to content

Releases: langchain-ai/langchainjs

@langchain/classic==1.0.0

20 Oct 19:01
822db85

Choose a tag to compare

What's Changed

This release updates the package for compatibility with LangChain v1.0. See the v1.0 release notes for details on what's new.

@langchain/cerebras==1.0.0

20 Oct 18:56
822db85

Choose a tag to compare

What's Changed

This release updates the package for compatibility with LangChain v1.0. See the v1.0 release notes for details on what's new.

@langchain/baidu-qianfan==1.0.0

20 Oct 18:55
822db85

Choose a tag to compare

What's Changed

This release updates the package for compatibility with LangChain v1.0. See the v1.0 release notes for details on what's new.

@langchain/azure-dynamic-sessions==1.0.0

20 Oct 18:55
822db85

Choose a tag to compare

What's Changed

This release updates the package for compatibility with LangChain v1.0. See the v1.0 release notes for details on what's new.

@langchain/azure-cosmosdb==1.0.0

20 Oct 18:54
822db85

Choose a tag to compare

What's Changed

This release updates the package for compatibility with LangChain v1.0. See the v1.0 release notes for details on what's new.

@langchain/aws==1.0.0

20 Oct 19:05
822db85

Choose a tag to compare

What's Changed

This release updates the package for compatibility with LangChain v1.0. See the v1.0 release notes for details on what's new.

@langchain/anthropic==1.0.0

20 Oct 19:01
822db85

Choose a tag to compare

What's Changed

This release updates the package for compatibility with LangChain v1.0. See the v1.0 release notes for details on what's new.

langchain==1.0.0-alpha.8

07 Oct 08:27
langchain==1.0.0-alpha.8
875c828

Choose a tag to compare

Pre-release

πŸš€ New Features

  • Context Editing Middleware (#9118): Added middleware for editing conversation context dynamically
  • Tool Call Limit Middleware (#9121): Implemented middleware to limit the number of tool calls during agent execution
  • Retry Model Request Hook (#9128): Added retry functionality for model requests in middleware
  • Call Count Tracking (#9090): Introduced call counts through private state for better monitoring and control
  • Custom Interrupted Tool Descriptions (#9116): Added ability to pass in a description factory for interrupted tool calls
  • PII Redaction Middleware (#9058): Added middleware for automatically redacting personally identifiable information
  • Perplexity Support: Added Perplexity provider support to universal chat model

πŸ› Bug Fixes

  • LLM Tool Selector Implementation (#9127): Updated implementation of LLMToolSelector middleware for improved reliability
  • LangGraph Integration (#9117): Fixed integration issues with LangGraph
  • Tool Instance Handling (#9119): Fixed tools in ModelRequest to return tool instances instead of serialized objects
  • TypeScript Type Inference (#9087): Exported all symbols to enable proper TypeScript type inference
  • Prompt Caching Immutability (#9086): Fixed PromptCachingMiddleware to return new message objects instead of modifying existing ones
  • Input Type Support (#9080): Improved input types to support a wider range of type definitions
  • Tools Node Creation (#9074): Fixed to only create tools node for client-provided tools
  • Planning Middleware Adjustments (#9070): Minor improvements to planning middleware behavior
  • Hub Prompt Schema Binding (#9057): Fixed schema binding for various types of pulled hub prompts

langchain==1.0.0-alpha.7

26 Sep 22:16
langchain==1.0.0-alpha.7
521e24c

Choose a tag to compare

Pre-release

πŸš€ New Features

  • Todo Middleware (#9051): Added new todo middleware functionality for agent workflows
  • LLM Tool Selector Middleware (#9050): Implemented llmToolSelectorMiddleware (bigTool) for intelligent tool selection
  • Middleware Tool Definition (#9046): Middleware can now define their own tools dynamically
  • Dynamic Prompt Middleware (#8993): Added built-in middleware for dynamic prompt generation
  • Unsupported Model Behavior (#9039): Added unsupportedModelBehavior property to anthropic middleware

πŸ› Bug Fixes

  • System Prompt Consistency (#9045): Fixed system prompt handling across all agent components
  • Zod Interoperability (#9029): Improved compatibility between Zod v3 and v4
  • Structured Output Handling (#9033): Improved structured output processing for agents
  • Graph Support for Jumps (#9035): Added statically typed graph support for agent jumps
  • Tool Configuration Naming (#9034): Renamed toolConfigs to interruptOn for clarity
  • LLM Property Removal (#9017): Removed llm prop from middleware agent
  • Message Handling: Fixed grabbing last AIMessage from list instead of just looking at last message
  • Memory Saver Export (#8996): Removed incorrect MemorySaver re-export
  • Middleware Naming (#8912): Fixed "middlewares" property naming to "middleware"
  • Cache Control Verification: Actually verify cache control values in usage response
  • Message Instance Checking (#8905): Use isInstance for message validation

πŸ“¦ Dependency and Build Fixes

  • OpenAI Provider Dependency (#8920): Removed dependency to openai provider package (alpha.6)
  • Internal ESLint Package (#8770): Created internal ESLint package (alpha.6)
  • Zod v4 Support (#8792): Updated to support Zod v4 (alpha.6)
  • Test Console Logs (#8998): Removed console logs in test files (alpha.7)

@langchain/core==1.0.0-alpha.6

26 Sep 22:21
@langchain/core==1.0.0-alpha.6
521e24c

Choose a tag to compare

Pre-release

πŸš€ New Features

  • Google AI Standard Content (#9024): Added comprehensive standard content support for Google GenAI and Vertex AI
  • AWS Bedrock Standard Content (#9013): Implemented standard content support for AWS Bedrock Converse
  • Server Tool Blocks (#9000): Added server tool blocks to standard content system
  • Zod Interoperability (#9029): Improved compatibility between Zod v3 and v4

πŸ› Bug Fixes

  • Response Metadata Type Mismatch (#9010): Fixed type mismatches in response metadata
  • Message Index Cleanup (#8972): Refined message exports

πŸ”§ Technical Improvements

  • Google AI Integration: Significantly enhanced Google GenAI and Vertex AI block translators
  • AWS Bedrock Integration: Major improvements to Bedrock Converse support
  • Content Index Updates: Enhanced content module exports