Skip to content

Update langgraph requirement from >=0.2.73,<0.3 to >=0.2.73,<0.5 #1383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 5, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Updates the requirements on langgraph to permit the latest version.

Release notes

Sourced from langgraph's releases.

0.4.1

langgraph 0.4.1

Summary of Changes

  • Fixed an issue handling END in StateGraph edges to properly terminate graph execution #4458
  • Migrated codebase to exclusively use Pydantic V2, removing support for Pydantic V1 #4448
  • Added ability to merge UI message props using a new merge parameter #4473
  • Changed TAG_NOSTREAM from "langsmith:nostream" to "nostream", maintaining backwards compatibility #4473
  • Improved docstrings and documentation throughout the codebase #4463
  • Fixed UI message metadata handling in push_ui_message #4467

Detailed Changes

langgraph.graph.state.StateGraph

  • Fixed handling of the END constant in get_writes and _control_static functions, ensuring proper graph termination when returning to END #4458

langgraph.graph.ui

  • Added a new merge parameter to push_ui_message function, allowing incremental updates to UI messages #4473
  • Enhanced ui_message_reducer to support merging props from existing messages when the merge flag is set #4473
  • Fixed metadata handling in push_ui_message by removing old metadata merging which could cause unexpected behavior #4467

langgraph.constants

  • Changed TAG_NOSTREAM from "langsmith:nostream" to "nostream" #4473
  • Added TAG_NOSTREAM_ALT with the old value ("langsmith:nostream") for backward compatibility #4473

langgraph.graph.schema_utils

  • Removed support for Pydantic V1 models in SchemaCoercionMapper #4448
  • Simplified type adapters to work exclusively with Pydantic V2 #4448

langgraph.utils.pydantic

  • Completely rewritten to use only Pydantic V2 APIs #4448
  • Added proper caching for model creation with lru_cache for better performance #4448
  • Fixed handling of reserved names and field remapping to avoid collisions with Pydantic internals #4448

langgraph.channels.base.BaseChannel

  • Added docstring to clarify the purpose of this base class #4463
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [langgraph](https://github.com/langchain-ai/langgraph) to permit the latest version.
- [Release notes](https://github.com/langchain-ai/langgraph/releases)
- [Commits](langchain-ai/langgraph@0.2.73...0.4.1)

---
updated-dependencies:
- dependency-name: langgraph
  dependency-version: 0.4.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants