Skip to content

Bump haystack-ai from 2.5.0 to 2.30.2#13

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/haystack-ai-2.30.2
Open

Bump haystack-ai from 2.5.0 to 2.30.2#13
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/haystack-ai-2.30.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 19, 2026

Copy link
Copy Markdown

Bumps haystack-ai from 2.5.0 to 2.30.2.

Release notes

Sourced from haystack-ai's releases.

v2.30.2

🐛 Bug Fixes

  • Fixed the Agent exiting prematurely under the default exit_conditions=["text"]. The agent now only stops when the last message is an assistant message with non-empty text (or when no tool invoker is configured). Previously, if the LLM produced an invalid tool call that was discarded, the resulting assistant message with empty text and no tool calls would trigger an exit, preventing the agent from recovering. The agent now continues looping so the model can recover on the next iteration.

v2.30.2-rc1

No release notes provided.

v2.30.1

⚡️ Enhancement Notes

  • AzureOpenAIChatGenerator now accepts a Secret for the azure_endpoint and api_version parameters in addition to a plain string. This makes it possible to resolve these values from environment variables at runtime, for example with Secret.from_env_var("AZURE_OPENAI_ENDPOINT"), so the same serialized pipeline can switch between environments (e.g. dev and prod) by changing environment variables instead of the pipeline definition.

v2.30.1-rc1

v2.30.0

⭐️ Highlights

🐍 Syntax-aware Python code splitting with PythonCodeSplitter

The new PythonCodeSplitter is a syntax-aware splitter for Python source files, built for code-RAG and code-search pipelines where naive line-based splitting tends to cut through functions and lose structural context. It parses sources with the ast module and greedily merges units, such as module docstring, import blocks, top-level functions, class headers, methods, and nested classes, into chunks of roughly max_effective_lines, keeping whole functions and methods together. For functions that exceed oversized_factor * max_effective_lines, it falls back to a line-based secondary split with overlap.

Two options make the resulting chunks more useful downstream: strip_docstrings=True moves docstrings into chunk metadata, and preserve_class_definition=True prepends the enclosing class signature to chunks whose members live in a later chunk. Each chunk also carries rich metadata including start_line, end_line, unit_kinds, include_classes, decorators, docstrings, source_id, and split_id.

from haystack.components.preprocessors import PythonCodeSplitter
splitter = PythonCodeSplitter(
max_effective_lines=80,
strip_docstrings=True,
preserve_class_definition=True,
)
result = splitter.run(documents=[doc])

💬 Pass a plain string to any ChatGenerator

All Haystack ChatGenerator components now accept a plain string for the messages parameter in addition to a list of ChatMessage objects. The string is automatically wrapped in a ChatMessage with the user role. This makes switching from a Generator to a ChatGenerator a one-line change. The change applies to AzureOpenAIChatGenerator, AzureOpenAIResponsesChatGenerator, FallbackChatGenerator, HuggingFaceAPIChatGenerator, HuggingFaceLocalChatGenerator, OpenAIChatGenerator, and OpenAIResponsesChatGenerator, and will soon be rolled out to the ChatGenerators in Haystack Core Integrations.

from haystack.components.generators.chat import OpenAIChatGenerator
generator = OpenAIChatGenerator()
passing a string is equivalent to passing [ChatMessage.from_user("...")]
response = generator.run("What's Natural Language Processing?")
print(response["replies"][0].text)

... (truncated)

Commits
  • b77aac0 bump version to 2.30.2
  • 5d3c996 bump version to 2.30.2-rc1
  • 7769ca0 fix: Fix "text" Agent exit condition (#11665)
  • 47a19c2 bump version to 2.30.1
  • df454b5 bump version to 2.30.1-rc1
  • bfbb2fb feat: support Secret for azure_endpoint and api_version in AzureOpenAIChatGen...
  • cdd105e bump version to 2.30.0
  • b24edf7 bump version to 2.30.0-rc1
  • 817cecf ci: fix release branch-off permissions and gate releases on maintainer role (...
  • 41c2722 test: use 'is None' instead of '== None' (CodeQL py/test-equals-none) (#11483)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [haystack-ai](https://github.com/deepset-ai/haystack) from 2.5.0 to 2.30.2.
- [Release notes](https://github.com/deepset-ai/haystack/releases)
- [Commits](deepset-ai/haystack@v2.5.0...v2.30.2)

---
updated-dependencies:
- dependency-name: haystack-ai
  dependency-version: 2.30.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 19, 2026
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