Releases: langchain-ai/langchainjs
Releases Β· langchain-ai/langchainjs
Release 0.3.20
What's Changed
- feat(community,aws): Update @aws-sdk/* dependencies in langchain-aws by @KDKHD in #7710
- fix(core): Fix issue in .d.ts typing for TextEncoder by @danielkatz in #7726
- fix(google-genai): Support larger range of temperatures for Gemini models by @afirstenberg in #7703
- release(aws): 0.1.4 by @jacoblee93 in #7728
- fix(google-common): Eliminate hard-coded default values in favor of model-based defaults by @afirstenberg in #7704
- feat (google-*): Support Google Cloud Express Mode by @afirstenberg in #7676
- minor(google-gauth): Upgrade google-auth-library to latest major version by @afirstenberg in #7729
- fix(google-common): Handle multiple function calls and complex parts/generations by @afirstenberg in #7706
- feat(community): Add support for Amazon Aurora DSQL memory message by @jl4nz in #7635
- release(community): 0.3.32 by @jacoblee93 in #7730
- release(google-vertex): 0.2.0 by @jacoblee93 in #7731
- docs: Fix broken link by @jacoblee93 in #7743
- release(google-genai): Release 0.1.9 by @jacoblee93 in #7748
- feat(anthropic): Support claude 3.7 sonnet & extended thinking by @benjamincburns in #7750
- release(anthropic): 0.3.14 by @benjamincburns in #7751
- fix(pinecone): Update Pinecone SDK to 5.0.0, make peer dep by @jacoblee93 in #7767
- release(pinecone): 0.2.0 by @jacoblee93 in #7772
- docs: Adds missing redirect by @jacoblee93 in #7759
- fix(core): don't create empty text content blocks by @benjamincburns in #7769
- fix(community): usage error returned by Zhipuai streaming data was missing tokens-related information by @mmdapl in #7745
- fix(core): Skip delete operation if not necessary during incremental index by @weakit in #7734
- fix(google-genai): Fix Google Genai usage token by @beowulf11 in #7733
- fix(core): add artifact to ToolMessage and ToolMessageChunk for RemoteRunnable by @acastells in #7763
- fix(deepseek): wrong home link for @langchain/deepseek by @AllenFang in #7754
- release(google-genai): 0.1.10 by @jacoblee93 in #7773
- release(core): 0.3.41 by @jacoblee93 in #7774
- feat(community): Support google cloud storage document loader by @AllenFang in #7740
- release(community): 0.3.33 by @jacoblee93 in #7775
- feat(aws): support reasoning blocks for claude 3.7 by @benjamincburns in #7768
- release(aws): 0.1.5 by @benjamincburns in #7777
- fix(core): Adds fallback for context vars by @jacoblee93 in #7776
- release(core): 0.3.42 by @jacoblee93 in #7783
- fix(anthropic): Log warning if withStructuredOutput is used with thinking models by @jacoblee93 in #7782
- release(anthropic): 0.3.15 by @jacoblee93 in #7784
- fix(aws): fix content block ordering for claude reasoning on bedrock by @benjamincburns in #7785
- release(aws): 0.1.6 by @benjamincburns in #7786
- tests(google-vertex,webauth): Verify code works with gemini-2.0-flash-lite-001 by @afirstenberg in #7794
- Google oauth support for Google calender tool by @deepu105 in #7788
- Google oauth support + fix tools for API v1 by @deepu105 in #7780
- release(community): 0.3.34 by @benjamincburns in #7796
- feat (google-common,vertex,etc): Support Claude 3.7 Thinking via Vertex AI by @afirstenberg in #7793
- release(google-common): 0.2.1 by @benjamincburns in #7799
- release(google-vertexai): 0.2.1 by @benjamincburns in #7800
- release(google-vertexai-web): 0.2.1 by @benjamincburns in #7801
- chore(google-gauth, google-webauth): bump dep version on google-common by @benjamincburns in #7803
- release(google-gauth): 0.2.1 by @benjamincburns in #7804
- release(google-webauth): 0.2.1 by @benjamincburns in #7805
- docs: Fix typos by @rkulyassa in #7823
- fix(aws): fix bedrockRuntimeClinent to refer to endpointHost value by @m-hamaro in #7797
- feature(community): Enable using chat and llms without providing project/space/development id (lightweight engine IBM) by @FilipZmijewski in #7781
- feat(google-common): Add tokenUsage to llmOutput of google-genai by @Liboul in #7806
- docs: broken link in chat models page by @plapinski in #7816
- fix(community): Optional google cloud storage options for GCS doc loader by @AllenFang in #7791
- fix(azure-cosmosdb): Update user agent of AzureCosmosDBMongoDBVectorStore by @fatmelon in #7825
- fix(aws): fix
Invalid reasoning content
exception on empty reasoning chunk by @ChenNima in #7826 - chore(langchain): add test to ensure sort order on MemoryVectorStore by @benjamincburns in #7792
- release(aws): 0.1.7 by @jacoblee93 in #7836
- release(google): 0.2.2 by @jacoblee93 in #7837
- fix(community): adding structured output parser for Google Calendar by @John2360 in #7789
- release(community): 0.3.35 by @jacoblee93 in #7838
- release(google-genai): 0.1.11 by @jacoblee93 in #7841
- feat(community): add deepseek to allowed bedrock models by @jarib in #7842
- Update sequence.ipynb by @technopahadi in #7847
- feat(community): MariaDB vector store implementation. by @rusher in #7360
- feat(community): Permit bedrock application inference profiles by @bioshazard in #7822
- feat(community): Perplexity integration by @anadi45 in #7817
- release(community): 0.3.36 by @jacoblee93 in #7858
- fix(openai): Fix OpenAI type error by @jacoblee93 in #7857
- release(openai): 0.4.5 by @jacoblee93 in #7859
- fix: Update groq default model by @bracesproul in #7802
- release(groq): 0.2.0 by @bracesproul in #7864
- feat[openai]: responses API by @dqbd in #7831
- release(openai): 0.4.6 by @dqbd in #7869
- fix(openai): Dont populate id field for computer call outputs by @bracesproul in #7871
- release(openai): 0.4.7 by @bracesproul in #7873
- fix(community): Azure AI Search - similaritySearch return description is incorrect by @diberry in #7867
- Revert "fix(azure-cosmosdb): Update user agent of AzureCosmosDBMongoDBVectorStore" by @fatmelon in #7861
- fix(core): Add typing in ChatMessagePromptTemplate.fromTemplate by @gouroujo in #7874
- feat(google-common): Gemma 3 support for AI Studio by @afirstenberg in #7851
- release(azure-cosmosdb): 0.2.8 by @jacoblee93 in #7881
- feat(google-genai): Bump GenAI SDK version by @jacoblee93 in https://github.com/langchain-ai/langch...
Release 0.3.19
What's Changed
- Release 0.3.18 by @jacoblee93 in #7720
- feat(xai): xAI polish by @jacoblee93 in #7722
- feat(langchain): Adds xAI to initChatModel by @jacoblee93 in #7721
- release(xai): 0.0.2 by @bracesproul in #7723
- release(langchain): 0.3.19 by @bracesproul in #7724
Full Changelog: 0.3.18...0.3.19
Release 0.3.18
What's Changed
- Release 0.3.17 by @jacoblee93 in #7715
- docs: Fix the broken link by @toqeer-hussain in #7699
- fix(langchain): Respect split model name for initChatModel by @jacoblee93 in #7716
- fix: typo in the chatbot tutorial by @vedantmishra69 in #7693
- fix(ci): Fix Vercel build by @jacoblee93 in #7717
- fix(community): Fix handling of ChromeAI chunks by @jtpio in #7700
- fix(redis): Add TTL support for redis vector store by @AllenFang in #7695
- fix(redis): update wrong redis setup link by @AllenFang in #7698
- feat(community): Update Voyage embeddings parameters by @nicolas-geysse in #7689
- release(redis): 0.1.1 by @jacoblee93 in #7718
- release(community): 0.3.31 by @jacoblee93 in #7719
New Contributors
- @toqeer-hussain made their first contribution in #7699
- @vedantmishra69 made their first contribution in #7693
- @jtpio made their first contribution in #7700
- @AllenFang made their first contribution in #7695
Full Changelog: 0.3.17...0.3.18
Release 0.3.17
What's Changed
- Release 0.3.16 by @jacoblee93 in #7713
- fix(langchain): Remove stray log by @jacoblee93 in #7714
Full Changelog: 0.3.16...0.3.17
Release 0.3.16
What's Changed
- docs: update README/intro by @vbarda in #7625
- Release 0.3.15 by @jacoblee93 in #7626
- feat(community): improve support for Tavily search tool args by @hugoleborso in #7561
- feat(community): Add boolean metadata type support in Supabase structured query translator by @ArmmGh in #7601
- feat(google-genai): Add support for fileUri in media type in Google GenAI by @hongkongkiwi in #7621
- release(google-genai): 0.1.8 by @jacoblee93 in #7628
- release(community): 0.3.28 by @jacoblee93 in #7629
- fix(docs): imports and call by @crishoj in #7636
- docs: chat model order experiment by @efriis in #7641
- adding interrupt banner by @tanushree-sharma in #7642
- feat(anthropic): Adds Anthropic citations support by @jacoblee93 in #7651
- release(anthropic): 0.3.13 by @jacoblee93 in #7652
- fix(core): Fix coercion of serialized tool and function messages by @jacoblee93 in #7653
- release(core): 0.3.38 by @jacoblee93 in #7654
- weaviate[minor]: Add Document className as metadata by @rolando-cruz in #7486
- release(weaviate): 0.1.1 by @jacoblee93 in #7655
- feat[community]: Add chat deployment to IBM chat class by @FilipZmijewski in #7633
- fix(community): Relax Replicate peer dep by @jacoblee93 in #7656
- feat(community): Add OpenAI Whisper options by @fneiraj in #7650
- release(community): 0.3.29 by @jacoblee93 in #7659
- feat(core): Add a way to manually specify serializable fields by @jacoblee93 in #7667
- release(core): 0.3.39 by @jacoblee93 in #7668
- fix(openai): Prevent extra constructor params from being serialized, add script by @jacoblee93 in #7669
- release(openai): 0.4.3 by @jacoblee93 in #7670
- feat(ollama): Add support for Ollama built-in JSON schema with withStructuredOutput by @jacoblee93 in #7672
- release(ollama): 0.1.6 by @jacoblee93 in #7673
- feat(ollama): Switch Ollama default withStructuredOutput method to jsonSchema by @jacoblee93 in #7681
- release(ollama): 0.2.0 by @jacoblee93 in #7682
- chore(openai): update azure user agent by @sinedied in #7543
- fix(community): Fix interface of chat deployment IBM and add test for this case by @FilipZmijewski in #7666
- docs: Update message_history.ipynb by @yashsharma999 in #7677
- fix(experimental): openai assistant attachments by @zachary-nguyen in #7664
- fix(community): hide console errors on RecursiveUrlLoader by @jfromaniello in #7679
- release(community): 0.3.30 by @jacoblee93 in #7684
- feat(openai): Properly pass through max_completion_tokens by @jacoblee93 in #7683
- release(openai): 0.4.4 by @jacoblee93 in #7685
- feat(core): Expose types/stream as an entrypoint by @jacoblee93 in #7686
- release(core): 0.3.40 by @jacoblee93 in #7687
- feat(langchain): Allow model providers prefixed by colon in initChatModel by @jacoblee93 in #7712
New Contributors
- @hugoleborso made their first contribution in #7561
- @ArmmGh made their first contribution in #7601
- @hongkongkiwi made their first contribution in #7621
- @crishoj made their first contribution in #7636
- @tanushree-sharma made their first contribution in #7642
- @rolando-cruz made their first contribution in #7486
- @fneiraj made their first contribution in #7650
- @yashsharma999 made their first contribution in #7677
- @zachary-nguyen made their first contribution in #7664
- @jfromaniello made their first contribution in #7679
Full Changelog: 0.3.15...0.3.16
Release 0.3.15
What's Changed
- Release 0.3.14 by @jacoblee93 in #7611
- fix: Add test for pdf uploads anthropic by @bracesproul in #7613
- feat: Update google genai to support file uploads by @bracesproul in #7612
- chore(google-genai): Drop .only in test by @bracesproul in #7614
- release(google-genai): 0.1.7 by @bracesproul in #7615
- fix(core): Fix stream events bug when errors are thrown too quickly during iteration by @jacoblee93 in #7617
- release(core): 0.3.37 by @jacoblee93 in #7619
- fix(langchain): Fix Groq import for hub by @jacoblee93 in #7620
Full Changelog: 0.3.14...0.3.15
Release 0.3.14
What's Changed
- Release 0.3.13 by @jacoblee93 in #7588
- release(openai): 0.4.0 by @jacoblee93 in #7589
- release(core): 0.3.35 by @jacoblee93 in #7590
- fix(ci): Update lock by @jacoblee93 in #7591
- feat(core): Allow passing returnDirect in tool wrapper params by @jacoblee93 in #7594
- release(core): 0.3.36 by @jacoblee93 in #7595
- fix(openai): Revert Azure default withStructuredOutput changes by @jacoblee93 in #7596
- release(openai): 0.4.1 by @jacoblee93 in #7597
- feat(openai): Refactor to allow easier subclassing by @jacoblee93 in #7598
- release(openai): 0.4.2 by @jacoblee93 in #7599
- feat(deepseek): Adds Deepseek integration by @jacoblee93 in #7604
- release(deepseek): 0.0.1 by @jacoblee93 in #7608
- feat: update Novita AI doc by @jasonhp in #7602
- feat(langchain): Add DeepSeek to initChatModel by @jacoblee93 in #7609
Full Changelog: 0.3.13...0.3.14
Release 0.3.13
What's Changed
- Release 0.3.12 by @jacoblee93 in #7559
- fix(core): Prevent cache misses from triggering model start callback runs twice by @jacoblee93 in #7565
- fix(core): Ensure that cached flag in run extras is only set for cache hits by @jacoblee93 in #7566
- release(core): 0.3.33 by @jacoblee93 in #7567
- feat(community): Adds graph_document to export list by @hlminh2000 in #7555
- fix(langchain): Fix ZeroShotAgent createPrompt with correct formatted tool names by @thu2004 in #7510
- docs: Add document for AzureCosmosDBMongoChatMessageHistory by @fatmelon in #7519
- fix(langchain): Allow pulling hub prompts with associated models by @jacoblee93 in #7569
- fix(community,aws): Update handleLLMNewToken to include chunk metadata by @mohebifar in #7568
- feat(community): Provide fallback relationshipType in case it is not present in graph_transformer by @hlminh2000 in #7521
- docs: Add redirect by @jacoblee93 in #7570
- fix(langchain,core): Add shim for hub mustache templates with nested input variables by @jacoblee93 in #7581
- fix(chat-models): honor disableStreaming even for
generateUncached
by @dqbd in #7575 - release(core): 0.3.34 by @bracesproul in #7584
- feat(langchain): Add hub entrypoint with automatic dynamic entrypoint of models by @jacoblee93 in #7583
- chore(ollama): Export
OllamaEmbeddingsParams
interface by @gurisko in #7574 - docs: Clarify tool creation process in structured outputs documentation by @saharis9988 in #7578
- fix(community): Set awaitHandlers to true in upstash ratelimit by @CahidArda in #7571
- fix(core): Fix trim messages mutation by @jacoblee93 in #7585
- feat(openai): Make only AzureOpenAI respect Azure env vars, remove class defaults, update withStructuredOutput defaults by @jacoblee93 in #7535
- fix(community): Make postgresConnectionOptions optional in PostgresRecordManager by @JonathanVelkeneers in #7580
- release(community): 0.3.27 by @jacoblee93 in #7586
- release(ollama): 0.1.5 by @jacoblee93 in #7587
New Contributors
- @hlminh2000 made their first contribution in #7555
- @thu2004 made their first contribution in #7510
- @mohebifar made their first contribution in #7568
- @gurisko made their first contribution in #7574
- @saharis9988 made their first contribution in #7578
Full Changelog: 0.3.12...0.3.13
Release 0.3.12
What's Changed
- release(langchain): 0.3.11 by @jacoblee93 in #7501
- feat(core,openai): Add support for disable_streaming, set for o1 by @jacoblee93 in #7503
- release(core): 0.3.29 by @jacoblee93 in #7507
- release(openai): 0.3.17 by @jacoblee93 in #7508
- docs: Closes #7476 by @ucev in #7506
- docs: Closes #7494 by @ucev in #7504
- fix(core): Make dispatchCustomEvent not throw if used with no callbacks by @jacoblee93 in #7513
- release(core): 0.3.30 by @jacoblee93 in #7514
- fix(core): Add run name for trimMessages by @jacoblee93 in #7517
- fix(google-vertexai): fix bug when not using logprobs by @afirstenberg in #7515
- fix(google-common,google-*): fix retryable errors by @siviter-t in #7516
- release(google-common): 0.1.8 by @jacoblee93 in #7518
- fix(core): Fix trim messages mutation bug by @jacoblee93 in #7547
- release(core): 0.3.31 by @jacoblee93 in #7548
- fix(community): Updated Embeddings URL by @Jacky3003 in #7545
- fix(community): make sure guardrailConfig can be added even with anthropic models by @madmed88 in #7542
- docs: Fix PGVectorStore import in install dependencies (TypeScript) example by @bploetz in #7533
- fix(community): Airtable url by @eduardconstantin in #7532
- docs: Fix typo in OpenAIModerationChain example by @JonathanVelkeneers in #7528
- docs: Resolves #7483, resolves #7274 by @ucev in #7505
- docs: Rename auth method in IBM docs by @FilipZmijewski in #7524
- docs: correct misspelling by @ucev in #7522
- release(community): 0.3.25 by @jacoblee93 in #7549
- feat(azure-cosmosdb): add session context for a user mongodb by @crisjy in #7436
- release(azure-cosmosdb): 0.2.7 by @jacoblee93 in #7550
- fix(ci): Fix build by @jacoblee93 in #7551
- feat(anthropic): Add Anthropic PDF support (document type) in invoke by @adhambadr in #7496
- release(anthropic): 0.3.12 by @jacoblee93 in #7552
- chore(core,langchain,community): Relax langsmith deps by @jacoblee93 in #7556
- release(community): 0.3.26 by @jacoblee93 in #7557
- release(core): 0.3.32 by @jacoblee93 in #7558
New Contributors
- @siviter-t made their first contribution in #7516
- @bploetz made their first contribution in #7533
- @JonathanVelkeneers made their first contribution in #7528
- @adhambadr made their first contribution in #7496
Full Changelog: 0.3.11...0.3.12
Release 0.3.11
What's Changed
- Release 0.3.10 by @bracesproul in #7474
- fix: Add test for running google web initChatModel by @bracesproul in #7475
- fix(groq): Fix Max Retries for Groq by @weakit in #7481
- fix(community): togetherai response different format handling by @axe-me in #7488
- groq: populate more params and user agent by @efriis in #7489
- docs: Add docs for Upstash Vector built-in embeddings support by @ytkimirti in #7485
- docs(community): remove docs for Watsonx IBM deprecated implementation by @FilipZmijewski in #7306
- release(groq): 0.1.3 by @jacoblee93 in #7491
- fix(community): update YoutubeLoader implementation by @sinedied in #7477
- release(community): 0.3.23 by @jacoblee93 in #7492
- replace all LANGCHAIN_ flags with LANGSMITH_ flags in the docs by @isahers1 in #7495
- fix(langchain,core): Add metadata to pulled hub prompts by @jacoblee93 in #7497
- release(core): 0.3.28 by @jacoblee93 in #7498
- fix(google-common): Search grounding formatting by @afirstenberg in #7471
- feat(google-common): Gemini logprobs by @afirstenberg in #7472
- feat(community): add ByteDance Doubao Embeddings by @ucev in #7450
- release(community): 0.3.24 by @jacoblee93 in #7499
- release(google-vertexai): 0.1.7 by @jacoblee93 in #7500
New Contributors
- @weakit made their first contribution in #7481
- @axe-me made their first contribution in #7488
- @ytkimirti made their first contribution in #7485
- @isahers1 made their first contribution in #7495
- @ucev made their first contribution in #7450
Full Changelog: 0.3.10...0.3.11