Skip to content

Bump haystack-ai from 2.5.0 to 2.30.1#10

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps haystack-ai from 2.5.0 to 2.30.1.

Release notes

Sourced from haystack-ai's releases.

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)

⬆️ Upgrade Notes

  • DALLEImageGenerator has been updated to account for OpenAI's retirement of the DALL-E models. The default model is now gpt-image-2 (previously dall-e-3). To migrate:

    • Update model value: besides gpt-image-2, gpt-image-1 and gpt-image-1-mini are also supported.
    • Update quality value: the new accepted values are auto, high, medium, or low (previously standard or hd).
    • Update size value: the new accepted values are 1024x1024, 1024x1536, 1536x1024, or auto. gpt-image-2 also supports arbitrary sizes.
    • The response_format parameter is now ignored. The component always returns base64-encoded JSON.

... (truncated)

Commits
  • 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)
  • b89ce54 ci: remove Datadog CI metrics workflow (#11481)
  • 53efaf3 docs: sync Haystack API reference on Docusaurus (#11479)
  • 6ed5d86 docs: sync Haystack API reference on Docusaurus (#11478)
  • 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.1.
- [Release notes](https://github.com/deepset-ai/haystack/releases)
- [Commits](deepset-ai/haystack@v2.5.0...v2.30.1)

---
updated-dependencies:
- dependency-name: haystack-ai
  dependency-version: 2.30.1
  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 12, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 19, 2026

Copy link
Copy Markdown
Author

Superseded by #13.

@dependabot dependabot Bot closed this Jun 19, 2026
@dependabot dependabot Bot deleted the dependabot/pip/haystack-ai-2.30.1 branch June 19, 2026 16:54
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