Packages

langchain

1.6.7 · 18 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed

Your version

404 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.x · latest line
  2. 1.2.29

    3 Mar 2026
    • agents: Propagate structured output retry Command through wrapModelCall middleware

    • Add explicit : symbol type annotations to Symbol.for() declarations for cross-version compatibility

      TypeScript infers unique symbol type when Symbol.for() is used without an explicit type annotation, causing type incompatibility when multiple versions of the same package are present in a dependency tree. By adding explicit : symbol annotations, all declarations now use the general symbol type, making them compatible across versions while maintaining identical runtime behavior.

      Changes:

    • Implement standard schema support for structured output

  3. 1.2.28

    26 Feb 2026
    • core, langchain: Bump uuid dependency from ^10.0.0 to ^11.0.0 to fix Metro bundler error

      The uuid v10 package has ambiguous exports in its package.json which causes Metro (used by Expo/React Native) to resolve the wrong entry point, resulting in Cannot read properties of undefined (reading 'v1'). The uuid v11 package fixes its exports map to work correctly with Metro's package exports resolution.

    • agents: Propagate store and checkpointer in ReactAgent

  4. 1.2.27

    24 Feb 2026
    • agents: Infer StateSchema value types in middleware hooks

  5. 1.2.26

    23 Feb 2026
    • Replace retired Anthropic model IDs with active replacements

    • langchain: Reset shared currentSystemMessage on middleware handler retry

  6. 1.2.25

    18 Feb 2026
    • langchain: Export ModelRequest interface

    • langchain: Persist underscore-prefixed middleware state fields across graph steps

  7. 1.2.24

    13 Feb 2026
    • langchain: Fix streaming types

  8. 1.2.23

    12 Feb 2026
    • langchain: Fix structured output on opus

  9. 1.2.22

    12 Feb 2026
  10. 1.2.21

    11 Feb 2026
    • langchain: Propagate subagent name in metadata

  11. 1.2.20

    11 Feb 2026
    • Support concurrent agentNode dynamic prompts properly.

    • Don't re-emit input state from middleware hooks that return void

    • langchain: Add optional tools parameter to countTokensApproximately for more accurate token estimates when tools are bound to a model

  12. 1.2.19

    9 Feb 2026
  13. 1.2.18

    5 Feb 2026
    • langchain: Resolve className collision in MODEL_PROVIDER_CONFIG

      Refactored getChatModelByClassName to accept an optional modelProvider parameter for direct lookup, avoiding the className collision issue where multiple providers share the same className (e.g., google-vertexai and google-vertexai-web both use "ChatVertexAI"). When modelProvider is provided, the function uses direct config lookup instead of searching by className. Backward compatibility is maintained for existing callers that only pass className. This eliminates the duplicated import logic that was previously in _initChatModelHelper.

  14. 1.2.17

    4 Feb 2026
    • langchain: Add withConfig() method to ReactAgent

      Adds a withConfig() method to ReactAgent following the same pattern as LangGraph's Pregel.withConfig(). This allows setting default configuration values (like recursionLimit, tags, or configurable) that get merged with invocation-time config.

  15. 1.2.16

    30 Jan 2026
    • Filter pregel keys from cache key to avoid OOM

  16. 1.2.15

    28 Jan 2026
    • langchain: Support StateSchema in middleware pipeline

  17. 1.2.14

    26 Jan 2026
    • langchain: StateSchema handling in AgentNode middleware

  18. 1.2.13

    24 Jan 2026
  19. 1.2.12

    22 Jan 2026
    • langchain: Bubble up graph interrupt errors as is

  20. 1.2.11

    20 Jan 2026
    • langchain: Tag summarization model calls with lc_source metadata

  21. 1.2.10

    14 Jan 2026
    • langchain: Don't concatenate middleware error, instead use cause

  22. 1.2.9

    14 Jan 2026
  23. 1.2.8

    13 Jan 2026
    • Add lc_source tag to summarization middleware messages

    • Preserve reducer metadata in createAgent state schema

  24. 1.2.7

    8 Jan 2026
    • langchain: Refactored agent generics to use type bag pattern (AgentTypeConfig, MiddlewareTypeConfig) with new helper types for type extraction.

    • langchain: Ensure models only make on write_todo call at a time

  25. 1.2.5 – 1.2.62 releases that only update dependencies@langchain/core 1.1.11Show each
  26. 1.2.4

    6 Jan 2026
    • core: Use getBufferString for message summarization

    • langchain: Default strict to true in providerStrategy for OpenAI compatibility

    • langchain: Support callbacks property in stream

  27. 1.2.3

    22 Dec 2025
    • Security

      Add security hardening for load

  28. 1.2.1 – 1.2.22 releases with no change for you1 dependency update, 1 without a note@langchain/core 1.1.6Show each
  29. 1.2.0

    13 Dec 2025
    • langchain: Allow to set strict tag manually in providerStrategy #9578

  30. 1.1.6

    13 Dec 2025
    • Patch prompts created from runs fix

    • langchain: Properly retrieve structured output from thinking block

    • langchain: Prevent functions from being accidentally assignable to AgentMiddleware

  31. 1.1.4 – 1.1.52 releases that only update dependencies@langchain/core 1.1.4Show each
  32. 1.1.3

    3 Dec 2025
    • langchain: Improve state rendering in LangSmith studio

    • langchain: Better detect invoke response in agent node

    • Fix detection of models with native support for structured output

  33. 1.1.2

    2 Dec 2025

    Only updates a dependency:@langchain/core 1.1.1

  34. 1.1.1

    24 Nov 2025
    • Constrain lower bound core peer dep

  35. 1.0.9 – 1.1.02 releases without a noteShow each
  36. 1.0.6

    19 Nov 2025
    • Updated error handling behaviour of AgentNode

  37. 1.0.5

    18 Nov 2025
    • Improvements to toolEmulator middleware

    • Use profile.maxInputTokens in summarization middleware

    • Align context editing with summarization interface

  38. 1.0.0 – 1.0.45 releases without a noteShow each
  39. 0.3.x
  40. 0.3.37

    23 Dec 2025

    Reading the note…

  41. 0.3.36

    13 Oct 2025

    Reading the note…

  42. 0.3.35

    29 Sep 2025

    Reading the note…

  43. 0.3.34

    15 Sep 2025

    Reading the note…

  44. 0.3.33

    4 Sep 2025

    Reading the note…

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.