47 model fiyatı
  1. Ana sayfa
  2. Sürümler
  3. Haystack
  4. 2.31.0

Haystack 2.31.0 sürüm notları

Haystack 2.31.0 sürümünün yayın tarihi 8 Temmuz 2026. En güncel sürüm 3.5.0.

v2.31.0 · · 63 değişiklik maddesi

Orijinal sürüm notları

⭐️ Highlights

📦 Slimming down Haystack core ahead of 3.0

This release begins the migration of many components out of haystack core and into dedicated integration packages, in preparation for Haystack 3.0. Components with heavy or optional dependencies — including all SentenceTransformers embedders and rankers, the Hugging Face API components, the legacy Generators, TikaDocumentConverter, AzureOCRDocumentConverter, the Whisper transcribers, the OpenAPI connectors, the spaCy and Transformers extractors/classifiers/routers, SerperDevWebSearch, SearchApiWebSearch, DocumentLanguageClassifier/TextLanguageRouter, and the Datadog and OpenTelemetry tracers — are now deprecated and will be removed in 3.0.

Each component continues to work as before for now, and moving to the new package is a one-line import change once you install it. See the Deprecation Notes below for the full list and per-component migration snippets. For example:

# Before
from haystack.components.embedders import SentenceTransformersTextEmbedder

# After: pip install sentence-transformers-haystack
from haystack_integrations.components.embedders.sentence_transformers import SentenceTransformersTextEmbedder
🔀 Type-preserving routing with ConditionalRouter

ConditionalRouter now accepts an output_passthrough: True flag on a route. When set, the route's output is treated as a plain variable name rather than a Jinja2 template, and the value is passed straight through from the pipeline inputs. This lets you route complex, non-basic types such as dataclasses and Pydantic models without the Jinja2 rendering silently converting them to their string representation.

from haystack.components.routers import ConditionalRouter

routes = [
    {
        "condition": "{{query.intent == 'search'}}",
        "output": "query",            # variable name, not a Jinja2 template
        "output_name": "search_query",
        "output_type": ParsedQuery,
        "output_passthrough": True,
    },
]

router = ConditionalRouter(routes)
result = router.run(query=query)
assert result["search_query"] is query   # same object, type preserved

⬆️ Upgrade Notes

🚀 New Features

⚡️ Enhancement Notes

⚠️ Deprecation Notes

🔒 Security Notes

🐛 Bug Fixes

💙 Big thank you to everyone who contributed to this release!

@Aarkin7, @Amnah199, @anakin87, @ATOM00blue, @axelray-dev, @Ayushhgit, @bilgeyucel, @bogdankostic, @camgrimsec, @charliesheh, @davidsbatista, @ErenAta16, @Goodnight77, @GovindhKishore, @greymoth-jp, @gyx09212214-prog, @hoangsonww, @HotThoughts, @i-anubhav-anand, @immuhammadfurqan, @jdoughty04, @jialiuyang, @julian-risch, @Kunal-Somani, @milljer, @mustafakhokhar, @NIK-TIGER-BILL, @Osamaali313, @oyinkanchekwas, @rautaditya2606, @ritikraj2425, @RitwijParmar, @santino18727-debug, @shr8769, @sjrl, @spideyashith, @Srivatsa03, @SyedShahmeerAli12, @vedjaw, @vidigoat

Kaynak: GitHub sürümü v2.31.0

Daha yeni: 3.0.0Haystack