Releases: langchain-ai/langchainjs
Releases Β· langchain-ai/langchainjs
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
Release 0.3.7
What's Changed
- chore(langchain): Release 0.3.6 by @jacoblee93 in #7223
- feat(pinecone): Add support for Pinecone
/embed
endpoint by @aulorbe in #7203 - chore(pinecone): Release 0.1.3 by @jacoblee93 in #7224
- fix(openai): Support o1 streaming by @bracesproul in #7229
- chore(openai): Release 0.3.14 by @jacoblee93 in #7230
- docs: Add missing streaming concept by @eyurtsev in #7228
- fix(ci): Update release script to be more lenient by @bracesproul in #7234
- feat(mistral): Mistral 1.3.1 migration by @CarterMorris in #7218
- chore(mistral): Release 0.2.0 by @jacoblee93 in #7239
- feat(azurecosmosdb): Vector Store Add DiskANN index for CosmosDB by @crisjy in #7225
- chore(azure-cosmosdb): Release 0.2.3 by @jacoblee93 in #7241
- fix(community): bedrock parsing array content/tool blocks by @bracesproul in #7244
- fix(ci): Fix release workspace by @bracesproul in #7245
- feat(community): Incorporate BM25 score in the results by @felipediel in #7236
- feat(community): Stagehand tools integration by @filip-michalsky in #7177
- Update Pinecone indexing example to show use of deletionProtection by @aulorbe in #7249
- feat(community): Add rerank solution to existing IBM community implementation by @FilipZmijewski in #7200
- fix(core): Fix issue in .d.ts typing for protected type by @jacoblee93 in #7259
- fix(community): PrismaVectorStore handle empty array in filter by @shan-mx in #7254
- fix(core): Move type by @jacoblee93 in #7246
- chore(core): Release 0.3.19 by @jacoblee93 in #7260
- chore(community): Release 0.3.16 by @jacoblee93 in #7261
- fix(google-common): Anthropic util using getType instead of _getType by @bracesproul in #7263
- release(google-common): 0.1.3 by @bracesproul in #7265
- fix(google-gauth/webauth): Bump Google common dep by @bracesproul in #7266
- release(google-webauth): 0.1.3 by @bracesproul in #7267
- fix(google-vertexai/web): Bump Google auth deps by @bracesproul in #7269
- release(google-vertexai): 0.1.3 by @bracesproul in #7270
- release(google-gauth): 0.1.3 by @bracesproul in #7271
- release(google-vertexai-web): 0.1.3 by @bracesproul in #7272
- fix(core): Improve interoperability between different langsmith versions by @jacoblee93 in #7297
- release(core): 0.3.20 by @jacoblee93 in #7309
- fix(google-common): "mine" -> "mime" by @maksimf in #7281
- feat(community): Add property extraction for Nodes and Relationships in LLMGraphTransformer by @gvasilei in #7256
- docs: Fix typo in selectors guide by @nick-w-nick in #7277
- chore(community): Bump faker dev dep to 8.4.1 by @mgiorgino-iobeya in #7290
- feat(community): Add support for SAP HANA Vector hnsw index creation and advanced filtering by @cinqisap in #7238
- feat(google-genai): Support Gemini system instructions by @chrisnathan20 in #7235
- feat(azure-cosmosdb): add session context and retrieve all sessions for a user by @sinedied in #7242
- fix(community): Fix bugs in IBM community, provide some tests and fix existing tests by @FilipZmijewski in #7282
- docs: Update integration contribution instructions by @jacoblee93 in #7310
- feat(community): Add new LLM provider Novita AI by @jasonhp in #7231
- feat(google-genai): Check Google Generative AI Structured Output by @BaharChidem in #7293
- feat(community): add FileChatMessageHistory by @sinedied in #7303
- fix(ci): Update build artifacts by @jacoblee93 in #7312
- release(community): 0.3.17 by @jacoblee93 in #7313
- feat(google-genai): Context Caching by @kwei-zhang in #7169
- release(google-genai): 0.1.5 by @jacoblee93 in #7314
- docs: Fix import by @jacoblee93 in #7311
- release(azure-cosmosdb): 0.2.4 by @jacoblee93 in #7315
- docs: Update Google GenAI doc formatting by @jacoblee93 in #7318
- feat(core): Attempt to automatically read Deno env vars by @jacoblee93 in #7321
- release(core): 0.3.21 by @jacoblee93 in #7323
- fix(langchain-core): Pick runnable config keys in asynclocalstorage by @bracesproul in #7324
- Release 0.3.22 by @bracesproul in #7325
- Fix anthropic sdk import by @brichet in #7334
- release(anthropic): 0.3.9 by @jacoblee93 in #7336
- chore(core): externalize @cfworker/json-schema dependency by @jdanyow in #7298
- fix(ollama): Remove default keepalive for Ollama models by @jacoblee93 in #7337
- release(ollama): 0.1.3 by @jacoblee93 in #7338
- feat(community): update embedding jina by @axuj in #7292
- feat(community): Add additional fields to airtable loader by @eduardconstantin in #7322
- feat(community): Introduce callbacks to IBM Watsonx SDK by @FilipZmijewski in #7329
- feat(core): Preserve direct tool outputs, pass raw tool call into tools if available by @jacoblee93 in #7340
- feat(core): add registerConfigureHook by @ibolmo in #7330
- release(core): 0.3.23 by @jacoblee93 in #7342
- release(community): 0.3.18 by @jacoblee93 in #7351
- feat(langchain): Infer o1 model strings in initChatModel by @jacoblee93 in #7350
New Contributors
- @aulorbe made their first contribution in #7203
- @CarterMorris made their first contribution in #7218
- @filip-michalsky made their first contribution in #7177
- @maksimf made their first contribution in #7281
- @gvasilei made their first contribution in #7256
- @mgiorgino-iobeya made their first contribution in #7290
- @chrisnathan20 made their first contribution in #7235
- @jasonhp made their first contribution in #7231
- @BaharChidem made their first contribution in #7293
- @brichet made their first contribution in #7334
- @jdanyow made their first contribution in #7298
- @axuj made their first contribution in #7292
- @eduardconstantin made their first contribution in #7322
- @ibolmo made their first contribution in #7330
Full Changelog: 0.3.6...0.3.7
Release @langchain/core 0.3.22
What's Changed
- fix(langchain-core): Pick runnable config keys in asynclocalstorage by @bracesproul in #7324
Full Changelog: 0.3.21...0.3.22