H

Haystack

H
Haystack AI v2.31.1

v2.31.1

🔒 Security Notes Haystack now requires anyio>=4.14.2. anyio is installed transitively through httpx and openai; versions before 4.14.2 are affected by CVE-2026-63374 (GHSA-82r6-8w77-94w6). Haystack now requires certifi>=2026.10.19. certifi is installed transitively through httpx and posthog; earlier versions trust eMudhra/emSign certificate authorities whose private keys were compromised (GHSA-6q4…

H
Haystack AI v3.4.1

v3.4.1

🔒 Security Notes Haystack now requires certifi>=2026.10.19. certifi is installed transitively through httpx and posthog; earlier versions trust eMudhra/emSign certificate authorities whose private keys were compromised (GHSA-6q48-6c7w-9gw2). If you pin certifi, raise the pin to at least 2026.10.19.

H
Haystack AI v3.4.0

v3.4.0

⭐️ Highlights 🐍 Python 3.15 Support, Python 3.10 Dropped Haystack now officially supports Python 3.15. Python 3.10 reaches end of life in October 2026, so the minimum supported version is now 3.11. ⚠️ 📦 ToolResultOffloadCompactor: Compact Agent Context Without Losing Tool Results The experimental ToolResultOffloadCompactor is a new compaction strategy for CompactionHook. When compaction is trigger…

H
Haystack AI v3.3.0

v3.3.0

⭐️ Highlight ⚡️ Faster SentenceWindowRetriever SentenceWindowRetriever now queries the Document Store once per run or run_async call instead of once per retrieved document. Fewer calls mean lower latency and less load on the Document Store and outputs have not changed, so existing pipelines get faster without code changes. ⬆️ Upgrade Notes InMemoryDocumentStore.bm25_retrieval and InMemoryBM25Retri…

H
Haystack AI v3.2.0

v3.2.0

⭐️ Highlights 🧠 SummarizationCompactor: Compact Agent Context Without Losing It The experimental SummarizationCompactor is a new compaction strategy for CompactionHook. It replaces older turns and Agent steps with LLM-generated summaries. Long-running Agents keep a condensed record of earlier goals, decisions, and open work. It summarizes as little as needed to reach the target size, starting with…

H
Haystack AI v3.1.1

v3.1.1

Release Notes v3.1.1 Bug Fixes The OpenAI Chat Completions and Responses converters no longer raise on an assistant message with no content parts, which a Chat Generator returns when it discards a malformed tool call. It is sent with empty content, which the APIs accept, so the next LLM call goes through. ChatMessage.from_openai_dict_format accepts the same empty content, so such a message round-t…

H
Haystack AI v3.1.1-rc1

v3.1.1-rc1

Release Notes v3.1.1-rc1 Bug Fixes The OpenAI Chat Completions and Responses converters no longer raise on an assistant message with no content parts, which a Chat Generator returns when it discards a malformed tool call. It is sent with empty content, which the APIs accept, so the next LLM call goes through. ChatMessage.from_openai_dict_format accepts the same empty content, so such a message rou…

H
Haystack AI v3.1.0

v3.1.0

⭐️ Highlights 🪝CompactionHook and Built-in Compactors for Context Length Management Experimental context compaction for Agent. Runs before LLM calls and shortens the conversation once it crosses a configured fraction of the context window. The built-in SlidingWindowCompactor first removes entire historical turns, then, if needed, individual steps of the current task, replacing what it removes with…

H
Haystack AI v3.0.0

v3.0.0

⭐️ Highlights Haystack 3.0 is a major release for building production-grade agents with full control and flexibility. It ships a wave of new capabilities: a more capable Agent with hooks and first-class skills, built-in run introspection, first-class async for serving, a leaner core, and safer pipeline loading. A few small, intentional breaking changes come with it but our Migration Guide and Upgr…

H
Haystack AI v2.31.0

v2.31.0

⭐️ 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, AzureOCRD…

H
Haystack AI v2.30.2

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…