Commit dc590c9
authored
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
File tree
- .changeset
- libs
- langchain-core
- langchain
- providers
- langchain-anthropic
- langchain-mongodb
- langchain-weaviate
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments