Skip to content

Commit dc590c9

Browse files
chore: version packages (#11010)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @langchain/mongodb@1.3.0 ### Minor Changes - [#10944](#10944) [`32bbacf`](32bbacf) Thanks [@caseyclements](https://github.com/caseyclements)! - feat(mongodb): add `$rerank` aggregation pipeline support to `MongoDBAtlasVectorSearch` Adds an optional `rerankOptions` constructor parameter that appends a `$rerank` stage after `$vectorSearch` to reorder results by semantic relevance using a MongoDB Atlas reranking model. The rerank score is returned as the numeric score in the `[Document, number]` tuple and copied to `document.metadata.relevanceScore`. - [#11046](#11046) [`e6d2660`](e6d2660) Thanks [@caseyclements](https://github.com/caseyclements)! - feat(mongodb): add VoyageEmbeddings, migrated from @langchain/community `VoyageEmbeddings` is now exported directly from `@langchain/mongodb`. It was previously available via `@langchain/community/embeddings/voyage`, which has been removed from this monorepo. **Migration:** update your import path: ```ts // before import { VoyageEmbeddings } from "@langchain/community/embeddings/voyage"; // after import { VoyageEmbeddings } from "@langchain/mongodb"; ``` Note: the default model has been updated from `voyage-01` (retired) to `voyage-3`. If you rely on the default, re-embed any existing indexes after migrating. ### Patch Changes - [#10872](#10872) [`a640079`](a640079) Thanks [@hntrl](https://github.com/hntrl)! - chore(deps): remove redundant @types/uuid declarations Remove `@types/uuid` from package manifests that rely on `@langchain/core/utils/uuid` or do not require uuid type stubs directly, and refresh the lockfile entries accordingly. ## @langchain/weaviate@1.1.0 ### Minor Changes - [#10785](#10785) [`1160784`](1160784) Thanks [@dudanogueira](https://github.com/dudanogueira)! - feat(weaviate): add jsonSchema support via createFromJson and upgrade client to v3.13.0 ## langchain@1.4.5 ### Patch Changes - [#11026](#11026) [`cbf274c`](cbf274c) Thanks [@aolsenjazz](https://github.com/aolsenjazz)! - feat(langchain): add `providerToolSearchMiddleware` Adds `providerToolSearchMiddleware` - provider-side tool search for agents. `providerToolSearchMiddleware` enables API consumers to opt tools into tool deferral + discovery by providing tool instances/names to the middleware's `searchableTools` arg. `searchableTools` are marked as `defer_loading` in subsequent model requests, consumed by OpenAI and Anthopic to power their tool search systems. ## @langchain/core@1.1.49 ### Patch Changes - [#10679](#10679) [`1f7b495`](1f7b495) Thanks [@hnustwjj](https://github.com/hnustwjj)! - fix(core): make `RemoveMessage` type-compatible across `MessageStructure` variants Remove unnecessary `TStructure` generic from `RemoveMessage` — its content is always `[]`, so the type parameter only caused incompatibilities when passing `RemoveMessage` into APIs expecting a different `MessageStructure` (e.g. `@langchain/langgraph-sdk`'s `Message<DefaultToolCall>`). Also add `{ type: "remove"; id: string }` to `BaseMessageLike` so the serialized format is accepted by TypeScript, matching the existing runtime behavior in `coerceMessageLikeToMessage`. ## @langchain/anthropic@1.4.1 ### Patch Changes - [#11040](#11040) [`7f57363`](7f57363) Thanks [@hntrl](https://github.com/hntrl)! - feat(anthropic): add support for claude-fable-5 and claude-mythos-5 models - upgrade `@anthropic-ai/sdk` to `^0.103.0` - add default token handling and adaptive-thinking parameter compatibility for Anthropic 5-series models - add unit and integration coverage for default-parameter behavior on new model IDs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ac88e86 commit dc590c9

16 files changed

Lines changed: 63 additions & 62 deletions

.changeset/chilly-spies-ring.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/hunter-mythos-fable-5.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/mongodb-rerank-support.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/mongodb-voyage-embeddings.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

.changeset/remove-message-type-compat.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/weaviate-json-schema-create-from-json.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

libs/langchain-core/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @langchain/core
22

3+
## 1.1.49
4+
5+
### Patch Changes
6+
7+
- [#10679](https://github.com/langchain-ai/langchainjs/pull/10679) [`1f7b495`](https://github.com/langchain-ai/langchainjs/commit/1f7b4952ea1d7cebd572453877b670a7740a397b) Thanks [@hnustwjj](https://github.com/hnustwjj)! - fix(core): make `RemoveMessage` type-compatible across `MessageStructure` variants
8+
9+
Remove unnecessary `TStructure` generic from `RemoveMessage` — its content is always `[]`, so the type parameter only caused incompatibilities when passing `RemoveMessage` into APIs expecting a different `MessageStructure` (e.g. `@langchain/langgraph-sdk`'s `Message<DefaultToolCall>`). Also add `{ type: "remove"; id: string }` to `BaseMessageLike` so the serialized format is accepted by TypeScript, matching the existing runtime behavior in `coerceMessageLikeToMessage`.
10+
311
## 1.1.48
412

513
### Patch Changes

libs/langchain-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@langchain/core",
3-
"version": "1.1.48",
3+
"version": "1.1.49",
44
"description": "Core LangChain.js abstractions and schemas",
55
"type": "module",
66
"engines": {

libs/langchain/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# langchain
22

3+
## 1.4.5
4+
5+
### Patch Changes
6+
7+
- [#11026](https://github.com/langchain-ai/langchainjs/pull/11026) [`cbf274c`](https://github.com/langchain-ai/langchainjs/commit/cbf274c21d25f3c131aaceaa37c35a390d3ea9c1) Thanks [@aolsenjazz](https://github.com/aolsenjazz)! - feat(langchain): add `providerToolSearchMiddleware`
8+
9+
Adds `providerToolSearchMiddleware` - provider-side tool search for agents. `providerToolSearchMiddleware` enables API consumers to opt tools into tool deferral + discovery by providing tool instances/names to the middleware's `searchableTools` arg. `searchableTools` are marked as `defer_loading` in subsequent model requests, consumed by OpenAI and Anthopic to power their tool search systems.
10+
311
## 1.4.4
412

513
### Patch Changes

libs/langchain/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "langchain",
3-
"version": "1.4.4",
3+
"version": "1.4.5",
44
"description": "Typescript bindings for langchain",
55
"author": "LangChain",
66
"license": "MIT",

0 commit comments

Comments
 (0)