Releases: langchain-ai/langchainjs
Releases Β· langchain-ai/langchainjs
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
Release 0.3.10
What's Changed
- Release 0.3.9 by @jacoblee93 in #7460
- fix(create-langchain-integration): Update integration template by @jacoblee93 in #7458
- release(create-langchain-integration): 0.0.12 by @jacoblee93 in #7461
- docs: Fix API ref link by @jacoblee93 in #7462
- docs: Update provider docs page by @jacoblee93 in #7463
- fix(community): Relax community deps by @jacoblee93 in #7464
- feat(community): Add VercelKVcache by @Zamoca42 in #7447
- fix(community, docs): Update PGVector instructions, fix test by @jacoblee93 in #7465
- release(community): 0.3.22 by @jacoblee93 in #7466
- feat: Add google-vertexai-web to initChatModel by @bracesproul in #7473
New Contributors
Full Changelog: 0.3.5...0.3.10
Release 0.3.9
What's Changed
- Release 0.3.8 by @jacoblee93 in #7427
- fix(docs): Cosmos Db Cache sample link by @dfberry in #7446
- fix(docs): link to setup for PGVectorStore by @dfberry in #7441
- fix(contributing): broken links by @gkhngyk in #7432
- fix(aws): fix error message output by @hujiulong in #7428
- fix(docs): Fix outdated documentation for llama cpp by @Jacky3003 in #7426
- feat(core): Add support for
boolean
metadata attributes inFunctionalTranslator
by @nick-w-nick in #7407 - fix(google-common,google-*) Gemini 2.0 support by @afirstenberg in #7435
- fix(community): Migrate xenova transformers lib to huggingface by @PylotLight in #7431
- feat(community): Return metadata.title from CheerioDocumentLoader by @KoreanThinker in #7437
- feat(community): Extend DocxLoader to load .doc files by @Fibii in #7421
- feat(google-common): Google Search grounding tool formatter by @afirstenberg in #7448
- docs: Small docs tweak by @jacoblee93 in #7452
- feat(community): jira document loader by @mgiorgino-iobeya in #7294
- release(community): 0.3.21 by @jacoblee93 in #7453
- release(aws): 0.1.3 by @jacoblee93 in #7454
- release(core): 0.3.27 by @jacoblee93 in #7455
- release(google): 0.1.6 by @jacoblee93 in #7456
- feat(cerebras): Adds Cerebras chat model integration by @jacoblee93 in #7457
- release(cerebras): 0.0.1 by @jacoblee93 in #7459
New Contributors
- @dfberry made their first contribution in #7446
- @Jacky3003 made their first contribution in #7426
- @PylotLight made their first contribution in #7431
- @KoreanThinker made their first contribution in #7437
- @Fibii made their first contribution in #7421
Full Changelog: 0.3.8...0.3.9
Release 0.3.8
What's Changed
- Release 0.3.7 by @jacoblee93 in #7352
- fix(ci): Remove dep, add more not found redirects by @jacoblee93 in #7353
- fix(google-gauth): Remove logging of error responses by @jarib in #7361
- fix(community): file system chat history by @sinedied in #7357
- feat(community): Added Google Trends Integration by @A-Jatana in #7248
- docs: add embeddings and vector store tabs by @ccurme in #7347
- feat(community): Neo4j chat message history by @BernardFaucher in #7331
- feat(google-common): Grounding with Google Search and Vertex AI Search by @renathossain in #7280
- release(google): 0.1.4 by @jacoblee93 in #7362
- feat(community): Added Google Scholar Integration by @xnnxnyx in #7278
- release(community): 0.3.19 by @jacoblee93 in #7363
- fix(anthropic): Add cache usage metadata to Anthropic streaming responses by @jacoblee93 in #7368
- release(anthropic): 0.3.10 by @jacoblee93 in #7369
- fix(ollama): Update embeddings.ts headers type to match Ollama by @kpotter-m2 in #7376
- feat(core): Generalize streaming usage for language models based on passed callback handlers by @jacoblee93 in #7378
- docs: updates text-to-html example by @philnash in #7373
- fix(core): Make sure to return a callback manager if configure hooks by @ibolmo in #7366
- fix(ci): Fix build by @jacoblee93 in #7379
- release(core): 0.3.24 by @jacoblee93 in #7380
- feat(azure-cosmosdb): add AzureCosmosDBMongoChatMessageHistory by @fatmelon in #7305
- docs: update tutorials by @ccurme in #7358
- fix(anthropic): Properly populate usage_metadata for Anthropic models by @jacoblee93 in #7382
- fix(docs): Api ref linking in codeblocks by @bracesproul in #7383
- release(ollama): 0.1.4 by @jacoblee93 in #7384
- release(azure-cosmosdb): 0.2.5 by @jacoblee93 in #7385
- fix(anthropic): Handle parallel tool result blocks by @bracesproul in #7386
- release(anthropic): 0.3.11 by @bracesproul in #7387
- fix(docs): Fix broken hyperlink by @nick-w-nick in #7393
- fix(docs): Fix broken RAG tutorials link by @nick-w-nick in #7391
- fix(docs): Fix broken glossary links on concepts page by @nick-w-nick in #7392
- feat(js): Adds developer role as a system role alias by @jacoblee93 in #7397
- release(core): 0.3.25 by @jacoblee93 in #7404
- feat(openai): Alias system messages as developer messages for o1, add reasoning_effort param by @jacoblee93 in #7398
- release(openai): 0.3.15 by @jacoblee93 in #7405
- fix(google-common, google-vertexai): Invalid URL for embeddings model by @afirstenberg in #7406
- fix(google-common): add tool_use param when using structured outputs by @kashifmin in #7400
- fix(google-genai): Update multimodal model check to include gemini-2 support by @OlegIvaniv in #7389
- release(google-genai): 0.1.6 by @jacoblee93 in #7409
- release(google-vertex): 0.1.5 by @jacoblee93 in #7410
- fix(core): Fix runnable with fallbacks stream events bug by @jacoblee93 in #7411
- release(core): 0.3.26 by @jacoblee93 in #7412
- fix(azure-cosmosdb): Add caches for Azure CosmosDB vCore [comments resolved] by @crisjy in #7307
- release(azure-cosmosdb): 0.2.6 by @jacoblee93 in #7413
- fix(openai): include model_name in response_metadata by @anadi45 in #7403
- fix(openai): Remove extra serialized params for OpenAI messages by @jacoblee93 in #7414
- release(openai): 0.3.16 by @jacoblee93 in #7416
- fix(openai): Fix test by @jacoblee93 in #7415
- feat(community): Add TTL support to UpstashRedisCache by @Zamoca42 in #7422
- fix(community): Change airtable API request to use POST by @eduardconstantin in #7408
- fix(cohere,langchain): handle exceptions in compressDocuments and formatDocuments methods due to empty documents by @ahm750 in #7372
- release(cohere): 0.3.2 by @jacoblee93 in #7424
- feat(community): Port ArxivRetriever to LangChainJS by @boni-teppanyaki in #7250
- release(community): 0.3.20 by @jacoblee93 in #7425
New Contributors
- @A-Jatana made their first contribution in #7248
- @ccurme made their first contribution in #7347
- @BernardFaucher made their first contribution in #7331
- @renathossain made their first contribution in #7280
- @xnnxnyx made their first contribution in #7278
- @kpotter-m2 made their first contribution in #7376
- @fatmelon made their first contribution in #7305
- @kashifmin made their first contribution in #7400
- @anadi45 made their first contribution in #7403
- @Zamoca42 made their first contribution in #7422
- @ahm750 made their first contribution in #7372
- @boni-teppanyaki made their first contribution in #7250
Full Changelog: 0.3.7...0.3.8