Skip to content

Releases: langchain-ai/langgraphjs

0.3.4

17 Jun 16:55
Compare
Choose a tag to compare

What's Changed

  • release(langgraph): 0.3.3 by @hntrl in #1286
  • feat: allow user defined callbacks to extend graph callbacks by @lc-arjun in #1287

New Contributors

Full Changelog: 0.3.3...0.3.4

0.3.3

13 Jun 23:59
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.3.2...0.3.3

0.3.2

13 Jun 23:59
Compare
Choose a tag to compare

What's Changed

  • fix(docs): use MessagesZodState instead of MessagesZodSchema by @hntrl in #1270
  • patch: accept zod 4 types & centralize meta store by @hntrl in #1275

Highlights

You can now use zod 4 schemas to describe your graph state! 💎

import { z } from "zod/v4";
import { StateGraph } from "@langchain/langgraph";
import { registry as langgraphMeta } from "@langchain/langgraph/zod";

const StateSchema = z.object({
  exampleList: z.array(z.number())
    .register(langgraphMeta, {
      reducer: {
        schema: z.number(),
        fn: (a, b) => a.concat([b])
     },
     default: () => [],
   }),
});

const graph = new StateGraph(StateSchema)
  ...

Full Changelog: 0.3.1...0.3.2

0.3.1

06 Jun 13:00
ae07076
Compare
Choose a tag to compare

What's Changed

  • fix(langgraph): rename cache to cachePolicy for functional API by @dqbd in #1261
  • fix(langgraph): typedNode should accept RunnableLike by @dqbd in #1262
  • chore(langgraph): export StreamOutputMap type by @dqbd in #1264

Full Changelog: 0.3.0...0.3.1

0.3.0

02 Jun 22:40
4ad9574
Compare
Choose a tag to compare

What's Changed

  • fix(langgraph): improve error message when attempting to pass an invalid argument to StateGraph by @dqbd in #1233
  • fix(langgraph): fix default input Zod schema not obtaining langgraph metadata by @dqbd in #1232
  • chore(langgraph): allow generic node name and arguments for Command / Send by @dqbd in #1234
  • feat(langgraph): deferred nodes by @dqbd in #1210
  • feat(langgraph): node / task cache by @dqbd in #1225
  • feat(langgraph): introduce strict typing for .stream() methods by @dqbd in #1239
  • feat(langgraph): add typedNode utility by @dqbd in #1235
  • fix(langgraph): apply Zod reducer when attempting to validate input by @dqbd in #1241
  • fix(docs): typos by @omahs in #1167
  • fix(langgraph): allow null input to resume graph by @dqbd in #1243
  • feat(prebuilt): add preModelHook and postModelHook by @dqbd in #1212
  • feat(langgraph): return interrupts with streamMode: "values" by @dqbd in #1244
  • feat(langgraph): add support for built-in tools in prebuilts by @dqbd in #1251
  • feat(langgraph): export typedNode utility by @dqbd in #1257

New Contributors

Full Changelog: 0.2.74...0.3.0

checkpoint==0.0.18

02 Jun 00:29
5088f34
Compare
Choose a tag to compare

What's Changed

  • feat(langgraph): node / task cache by @dqbd in #1225
  • release(checkpoint): 0.0.18 by @dqbd in #1249

swarm==0.0.4

31 May 00:25
6d28118
Compare
Choose a tag to compare

What's Changed

  • fix(swarm): fix handoff tool name for multiple whitespaces by @ramansah in #994
  • chore(swarm): relax peerDependencies constraint to support @langchain/langgraph 0.3.x by @dqbd in #1248

New Contributors

Full Changelog: swarm==0.0.3...swarm==0.0.4

supervisor==0.0.13

31 May 00:21
f4359a8
Compare
Choose a tag to compare

What's Changed

  • chore(supervisor): relax peerDependencies constraint to support @langchain/langgraph 0.3.x by @dqbd in #1247

Full Changelog: supervisor==0.0.12...supervisor==0.0.13

cua==0.0.6

31 May 00:16
fd9fe56
Compare
Choose a tag to compare

What's Changed

  • chore(cua): relax peerDependencies constraint to support @langchain/langgraph 0.3.x by @dqbd in #1246

0.2.74

28 May 21:33
c9e96aa
Compare
Choose a tag to compare

What's Changed

  • feat(langgraph): add addSequence method by @dqbd in #1201
  • feat(langgraph): extend addNode to allow adding multiple nodes at once by @dqbd in #1202
  • feat(langgraph): add pushMessage method by @dqbd in #1208
  • feat(langgraph): allow Zod schemas in node input opts by @hntrl in #1204
  • feat(langgraph): MessagesZodSchema by @hntrl in #1203
  • feat(langgraph): support removing all messages with RemoveMessage by @dqbd in #1211
  • fix(langgraph): allow passing LangGraphRunnableConfig as an secondary argument to getStore(), getWriter() and getCurrentTaskInput() by @dqbd in #1220
  • fix(langgraph): memory leak when using AbortSignal.any(...) by @dqbd in #1230

New Contributors

Full Changelog: 0.2.73...0.2.74