chore(core): deprecate streamLog, streamEvents v1, RunnableWithMessageHistory and improve threat model verbiage for loads#10833
Merged
Conversation
🦋 Changeset detectedLatest commit: bd42d11 The changes in this PR will be included in the next version bump. This PR includes changesets to release 22 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
8262c14 to
5363d3a
Compare
Hunter Lovell (hntrl)
approved these changes
May 5, 2026
8dc271b to
bd42d11
Compare
Hunter Lovell (hntrl)
pushed a commit
that referenced
this pull request
May 7, 2026
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/core@1.1.45 ### Patch Changes - [#10833](#10833) [`6cf39fe`](6cf39fe) Thanks [@colifran](https://github.com/colifran)! - chore(core): deprecate streamLog, streamEvents v1, RunnableWithMessageHistory and improve threat model verbiage for loads - [#10835](#10835) [`0aebe50`](0aebe50) Thanks [@colifran](https://github.com/colifran)! - fix(core): deno re-declaration in LangSmith is causing unit test failures ## @langchain/anthropic@1.3.29 ### Patch Changes - [#10735](#10735) [`1a2a08a`](1a2a08a) Thanks [@chenzimin](https://github.com/chenzimin)! - feat(anthropic): add automatic prompt caching via top-level cache_control ## @langchain/aws@1.3.6 ### Patch Changes - [#10839](#10839) [`c0e8113`](c0e8113) Thanks [@hntrl](https://github.com/hntrl)! - fix(aws): map Bedrock prompt cache usage metadata to input token details Include `cacheReadInputTokens` and `cacheWriteInputTokens` from Bedrock Converse responses in `usage_metadata.input_token_details` for both invoke and stream metadata handling. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Filip Żmijewski (FilipZmijewski)
pushed a commit
to FilipZmijewski/langchainjs
that referenced
this pull request
May 12, 2026
…essageHistory` and improve threat model verbiage for `loads` (langchain-ai#10833) ### Summary - Deprecate `streamEvents` v1 in favor of v2 (v1 callers see IDE strikethrough; version remains required for backwards compatibility) - Deprecate `streamLog` in favor of `.stream()` - Deprecate `RunnableWithMessageHistory` in favor of langgraph - Add threat model documentation to `load` module and function docstrings
Filip Żmijewski (FilipZmijewski)
pushed a commit
to FilipZmijewski/langchainjs
that referenced
this pull request
May 12, 2026
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/core@1.1.45 ### Patch Changes - [langchain-ai#10833](langchain-ai#10833) [`6cf39fe`](langchain-ai@6cf39fe) Thanks [@colifran](https://github.com/colifran)! - chore(core): deprecate streamLog, streamEvents v1, RunnableWithMessageHistory and improve threat model verbiage for loads - [langchain-ai#10835](langchain-ai#10835) [`0aebe50`](langchain-ai@0aebe50) Thanks [@colifran](https://github.com/colifran)! - fix(core): deno re-declaration in LangSmith is causing unit test failures ## @langchain/anthropic@1.3.29 ### Patch Changes - [langchain-ai#10735](langchain-ai#10735) [`1a2a08a`](langchain-ai@1a2a08a) Thanks [@chenzimin](https://github.com/chenzimin)! - feat(anthropic): add automatic prompt caching via top-level cache_control ## @langchain/aws@1.3.6 ### Patch Changes - [langchain-ai#10839](langchain-ai#10839) [`c0e8113`](langchain-ai@c0e8113) Thanks [@hntrl](https://github.com/hntrl)! - fix(aws): map Bedrock prompt cache usage metadata to input token details Include `cacheReadInputTokens` and `cacheWriteInputTokens` from Bedrock Converse responses in `usage_metadata.input_token_details` for both invoke and stream metadata handling. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Filip Żmijewski (FilipZmijewski)
pushed a commit
to FilipZmijewski/langchainjs
that referenced
this pull request
May 12, 2026
…essageHistory` and improve threat model verbiage for `loads` (langchain-ai#10833) ### Summary - Deprecate `streamEvents` v1 in favor of v2 (v1 callers see IDE strikethrough; version remains required for backwards compatibility) - Deprecate `streamLog` in favor of `.stream()` - Deprecate `RunnableWithMessageHistory` in favor of langgraph - Add threat model documentation to `load` module and function docstrings
Filip Żmijewski (FilipZmijewski)
pushed a commit
to FilipZmijewski/langchainjs
that referenced
this pull request
May 12, 2026
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/core@1.1.45 ### Patch Changes - [langchain-ai#10833](langchain-ai#10833) [`6cf39fe`](langchain-ai@6cf39fe) Thanks [@colifran](https://github.com/colifran)! - chore(core): deprecate streamLog, streamEvents v1, RunnableWithMessageHistory and improve threat model verbiage for loads - [langchain-ai#10835](langchain-ai#10835) [`0aebe50`](langchain-ai@0aebe50) Thanks [@colifran](https://github.com/colifran)! - fix(core): deno re-declaration in LangSmith is causing unit test failures ## @langchain/anthropic@1.3.29 ### Patch Changes - [langchain-ai#10735](langchain-ai#10735) [`1a2a08a`](langchain-ai@1a2a08a) Thanks [@chenzimin](https://github.com/chenzimin)! - feat(anthropic): add automatic prompt caching via top-level cache_control ## @langchain/aws@1.3.6 ### Patch Changes - [langchain-ai#10839](langchain-ai#10839) [`c0e8113`](langchain-ai@c0e8113) Thanks [@hntrl](https://github.com/hntrl)! - fix(aws): map Bedrock prompt cache usage metadata to input token details Include `cacheReadInputTokens` and `cacheWriteInputTokens` from Bedrock Converse responses in `usage_metadata.input_token_details` for both invoke and stream metadata handling. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
streamEventsv1 in favor of v2 (v1 callers see IDE strikethrough; version remains required for backwards compatibility)streamLogin favor of.stream()RunnableWithMessageHistoryin favor of langgraphloadmodule and function docstrings