Skip to content

Releases: langchain-ai/langchainjs

@langchain/weaviate==0.2.1

03 Jul 20:06
Compare
Choose a tag to compare

@langchain/tavily==0.1.4

03 Jul 20:07
Compare
Choose a tag to compare

What's Changed

  • feat(langchain-tavily): adding the TavilyCrawl and TavilyMap tools for the Tavily partner package by @konstantintzt in #8447

New Contributors

Full Changelog: https://github.com/langchain-ai/langchainjs/compare/@langchain/tavily==0.1.3...@langchain/tavily==0.1.4

@langchain/mcp-adapters==0.5.3

03 Jul 20:04
Compare
Choose a tag to compare

What's Changed

  • fix(mcp-adapters): use DynamicStructuredTool instead of interface type by @hntrl in #8424

Full Changelog: https://github.com/langchain-ai/langchainjs/compare/@langchain/mcp-adapters==0.5.2...@langchain/mcp-adapters==0.5.3

@langchain/core==0.3.62

03 Jul 20:02
Compare
Choose a tag to compare

What's Changed

  • fix(core): max event listeners error long running process by @andrewdoro in #8366

New Contributors

Full Changelog: https://github.com/langchain-ai/langchainjs/compare/@langchain/core==0.3.61...@langchain/core==0.3.62

@langchain/community==0.3.48

03 Jul 20:05
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/langchain-ai/langchainjs/compare/@langchain/community==0.3.47...@langchain/community==0.3.48

@langchain/google==0.2.14

03 Jul 19:52
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/langchain-ai/langchainjs/compare/@langchain/google-common==0.2.13...@langchain/google-common==0.2.14

@langchain/openai==0.5.16

03 Jul 19:50
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/langchain-ai/langchainjs/compare/@langchain/openai==0.5.15...@langchain/openai==0.5.16

@langchain/openai==0.5.15

21 Jun 00:42
Compare
Choose a tag to compare

What's Changed

  • patch[openai]: revert zod tool formatting for optional fields by @hntrl in #8402

Full Changelog: https://github.com/langchain-ai/langchainjs/compare/@langchain/openai==0.5.14...@langchain/openai==0.5.15

@langchain/core==0.3.61

21 Jun 00:43
Compare
Choose a tag to compare

What's Changed

  • patch[core]: allow for inner transforms in schema serialization by @hntrl in #8404

Full Changelog: https://github.com/langchain-ai/langchainjs/compare/@langchain/core==0.3.60...@langchain/core==0.3.61

Release 0.3.29

20 Jun 02:22
Compare
Choose a tag to compare

Highlights

πŸ’Ž Zod 4 support in LangChain is now GA!
// Use in structured outputs
import { z } from "zod/v4";

const model = new ChatOpenAI(...).withStructuredOutput(
  z.object({
    foo: z.string(),
    bar: z.number(),
  }),
);
// Use in tools
import { tool } from "@langchain/core/tools";
import { z } from "zod/v4";

const multiply = tool(
  ({ a, b }) => a * b
  {
    name: "multiply",
    description: "Multiply two numbers",
    schema: z.object({
      a: z.number(),
      b: z.number(),
    }),
  }
);
πŸ•΅ ChatAnthropic now supports using the built-in web search tool!
import { ChatAnthropic } from "@langchain/anthropic";

const model = new ChatAnthropic({
  model: "claude-3-5-sonnet-20241022",
  temperature: 0,
}).bindTools([
  {
    type: "web_search_20250305",
    name: "web_search",
    max_uses: 1,
  },
]);

const result = await model.invoke([
  new HumanMessage("What is Claude Shannon's birth date?"),
]);
πŸ› οΈ ChatOpenAI now supports the code interpreter, image gen, and remote MCP tools!

See the docs

What's Changed

New Contributors

Full Changelog: langchain==0.3.28...langchain==0.3.29