haystack-ai breaking changes
Updated December 4, 2026
On this page
Latest version 3.5.0, released November 10, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
haystack-ai 3.0.0 breaking changes
- Removed
Agent.confirmation_strategies
Wrap strategies in a ConfirmationHook registered under before_tool, and pass request resources via hook_context. docs.haystack.deepset.ai - Removed
Agent.confirmation_strategy_context
Pass request-scoped resources through the hook_context run argument instead. docs.haystack.deepset.ai - Removed
AgentBreakpoint
AgentBreakpoint, ToolBreakpoint and AgentSnapshot are gone, and Agent.run no longer takes break_point or snapshot arguments. Pipeline-level breakpoints still work. github.com - Removed
AgentSnapshot
Pausing and resuming inside an Agent is no longer supported; use tracing to inspect behavior. docs.haystack.deepset.ai - Removed
confirmation_strategies
Wrap confirmation strategies in ConfirmationHook and register it under the before_tool hook. Pass request resources through hook_context. github.com - Removed
convert_result_to_json_string
Non-string tool results are always serialized with json.dumps now, so remove this option. docs.haystack.deepset.ai - Removed
DatadogTracer
Install datadog-haystack and import DatadogTracer from haystack_integrations. docs.haystack.deepset.ai - Removed
DocumentLanguageClassifier
Install langdetect-haystack and import it from haystack_integrations. docs.haystack.deepset.ai - Removed
ExtractiveReader
Install transformers-haystack and import TransformersExtractiveReader from it. docs.haystack.deepset.ai - Removed
HAYSTACK_AUTO_TRACE_ENABLED
Remove this variable; enable tracing explicitly in code instead. docs.haystack.deepset.ai - Removed
haystack.AsyncPipeline
AsyncPipeline is gone. Use Pipeline, which provides run_async, run_async_generator and stream. Serialized pipelines load as Pipeline instances. pypi.org - Removed
haystack.components.agents.agent.AgentBreakpoint
haystack.components.agents.agent.AgentBreakpoint was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.agents.agent.AgentSnapshot
haystack.components.agents.agent.AgentSnapshot was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.agents.agent.BreakpointException
haystack.components.agents.agent.BreakpointException was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.agents.agent.ConfirmationStrategy
haystack.components.agents.agent.ConfirmationStrategy was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.agents.agent.Pipeline
haystack.components.agents.agent.Pipeline was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.agents.agent.PipelineRuntimeError
haystack.components.agents.agent.PipelineRuntimeError was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.agents.agent.SnapshotCallback
haystack.components.agents.agent.SnapshotCallback was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.agents.Agent.tool_invoker_kwargs
Set the options that used to live there as top-level Agent constructor parameters. pypi.org - Removed
haystack.components.agents.agent.ToolBreakpoint
haystack.components.agents.agent.ToolBreakpoint was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.agents.agent.ToolExecutionDecision
haystack.components.agents.agent.ToolExecutionDecision was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.agents.agent.ToolInvoker
Pass tools directly to Agent, which now owns tool execution. The tool_invoker_kwargs parameter is also removed. pypi.org - Removed
haystack.components.audio
haystack.components.audio was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.classifiers
haystack.components.classifiers was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.connectors
haystack.components.connectors was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.converters.azure
haystack.components.converters.azure was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.converters.AzureOCRDocumentConverter
haystack.components.converters.AzureOCRDocumentConverter was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.converters.openapi_functions
haystack.components.converters.openapi_functions was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.converters.OpenAPIServiceToFunctions
haystack.components.converters.OpenAPIServiceToFunctions was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.converters.tika
haystack.components.converters.tika was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.converters.TikaDocumentConverter
Install tika-haystack and import TikaDocumentConverter from haystack_integrations.components.converters.tika. pypi.org - Removed
haystack.components.embedders.backends
haystack.components.embedders.backends was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.embedders.hugging_face_api_document_embedder
haystack.components.embedders.hugging_face_api_document_embedder was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.embedders.hugging_face_api_text_embedder
haystack.components.embedders.hugging_face_api_text_embedder was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.embedders.HuggingFaceAPIDocumentEmbedder
Install the huggingface-api-haystack package and import it from haystack_integrations. pypi.org - Removed
haystack.components.embedders.HuggingFaceAPITextEmbedder
Install the huggingface-api-haystack package and import it from haystack_integrations. pypi.org - Removed
haystack.components.embedders.image
haystack.components.embedders.image was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.embedders.sentence_transformers_document_embedder
haystack.components.embedders.sentence_transformers_document_embedder was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.embedders.sentence_transformers_sparse_document_embedder
haystack.components.embedders.sentence_transformers_sparse_document_embedder was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.embedders.sentence_transformers_sparse_text_embedder
haystack.components.embedders.sentence_transformers_sparse_text_embedder was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.embedders.sentence_transformers_text_embedder
haystack.components.embedders.sentence_transformers_text_embedder was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.embedders.SentenceTransformersDocumentEmbedder
Install the sentence-transformers-haystack package and import it from haystack_integrations. pypi.org - Removed
haystack.components.embedders.SentenceTransformersSparseDocumentEmbedder
Install the sentence-transformers-haystack package and import it from haystack_integrations. pypi.org - Removed
haystack.components.embedders.SentenceTransformersSparseTextEmbedder
Install the sentence-transformers-haystack package and import it from haystack_integrations. pypi.org - Removed
haystack.components.embedders.SentenceTransformersTextEmbedder
Install sentence-transformers-haystack and import it from haystack_integrations. pypi.org - Removed
haystack.components.extractors.named_entity_extractor
haystack.components.extractors.named_entity_extractor was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.extractors.NamedEntityAnnotation
haystack.components.extractors.NamedEntityAnnotation was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.extractors.NamedEntityExtractor
Install transformers-haystack and use TransformersNamedEntityExtractor for the Hugging Face backend. pypi.org - Removed
haystack.components.extractors.NamedEntityExtractorBackend
haystack.components.extractors.NamedEntityExtractorBackend was removed in haystack-ai 3.0.0 pypi.org - Removed
haystack.components.fetchers.LinkContentFetcher.__del__
LinkContentFetcher.__del__ was removed in haystack-ai 3.0.0 pypi.org
And 162 more in this version. Sign up to see every change
haystack-ai 2.0.0 breaking changes
- Removed
haystack.Answer.metadata
Answer.metadata was removed in haystack-ai 2.0.0 pypi.org - Removed
haystack.components.audio.whisper_remote.API_BASE_URL
haystack.components.audio.whisper_remote.API_BASE_URL was removed in haystack-ai 2.0.0 pypi.org - Removed
haystack.components.builders.dynamic_prompt_builder.ChatMessage
haystack.components.builders.dynamic_prompt_builder.ChatMessage was removed in haystack-ai 2.0.0 pypi.org - Removed
haystack.components.builders.dynamic_prompt_builder.ChatRole
haystack.components.builders.dynamic_prompt_builder.ChatRole was removed in haystack-ai 2.0.0 pypi.org - Removed
haystack.components.builders.dynamic_prompt_builder.default_to_dict
haystack.components.builders.dynamic_prompt_builder.default_to_dict was removed in haystack-ai 2.0.0 pypi.org - Removed
haystack.components.builders.DynamicPromptBuilder.chat_mode
DynamicPromptBuilder.chat_mode was removed in haystack-ai 2.0.0 pypi.org - Removed
haystack.components.builders.DynamicPromptBuilder.to_dict
DynamicPromptBuilder.to_dict was removed in haystack-ai 2.0.0 pypi.org - Removed
haystack.components.caching.url_cache_checker
haystack.components.caching.url_cache_checker was removed in haystack-ai 2.0.0 pypi.org - Removed
haystack.components.caching.UrlCacheChecker.url_field
UrlCacheChecker.url_field was removed in haystack-ai 2.0.0 pypi.org - Removed
haystack.components.classifiers.DocumentLanguageClassifier.detect_language
DocumentLanguageClassifier.detect_language was removed in haystack-ai 2.0.0 pypi.org
And 253 more in this version. Sign up to see every change
haystack-ai 2.0.0b8 breaking changes
- Removed
haystack.pipeline
The Pipeline classes were merged, and the haystack.pipeline package was deleted. Import Pipeline from haystack.core.pipeline instead. pypi.org - Removed
Pipeline.draw.engine
Pipeline.draw() no longer accepts an engine argument; all images are now generated with Mermaid. github.com - Signature changed
LocalWhisperTranscriber.device
The device argument now takes a ComponentDevice object instead of a string like "cuda:0". Wrap the device with ComponentDevice.from_str or from_single. github.com - Signature changed
SentenceTransformersTextEmbedder.device
The device argument now takes a ComponentDevice object instead of a string like "cuda:0". Wrap the device with ComponentDevice.from_str or from_single. github.com
haystack-ai 2.0.0b7 breaking changes
- Signature changed
Pipeline.connect
The connect_from and connect_to arguments were renamed to sender and receiver. Code calling connect() with these keyword arguments must be updated. github.com
haystack-ai 2.0.0b6 breaking changes
- Removed
azure_ad_token_provider
Azure-based components no longer accept azure_ad_token_provider. Provide credentials another way. github.com - Removed
token
Hugging Face components need a token or environment variable for authentication. Use Secret.from_token for bare tokens. github.com - Renamed
haystack.components.generators.utils.default_streaming_callback
The helper that prints streamed tokens is now print_streaming_chunk. Update imports and references. pypi.org - Behavior changed
Pipeline.add_component
Adding a Component instance that already belongs to another Pipeline now raises an error. Use a new instance per pipeline. github.com - Behavior changed
PyPDFToDocument
The default converter now inserts page break characters between extracted pages, changing the extracted text. github.com - Default changed
api_key
Affected components now default to environment variables for credentials. Set the expected environment variable or wrap bare tokens with Secret.from_token. github.com - Default changed
Pipeline.debug_path
The default debug output folder changed from .canals_debug to .haystack_debug. github.com
haystack-ai 2.0.0b5 breaking changes
- Removed
haystack.components.audio.LocalWhisperTranscriber.model_name
Use the model parameter instead of model_name or model_name_or_path. pypi.org - Removed
haystack.components.audio.RemoteWhisperTranscriber.model_name
Use the model parameter instead of model_name or model_name_or_path. pypi.org - Removed
haystack.components.retrievers.InMemoryEmbeddingRetriever
Import in-memory retrievers from haystack.components.retrievers.in_memory instead. github.com - Removed
haystack.components.routers.DocumentJoiner
Import DocumentJoiner from haystack.components.joiners.document_joiner instead of the routers package. pypi.org - Removed
haystack.document_stores.InMemoryDocumentStore
Import InMemoryDocumentStore from haystack.document_stores.in_memory instead. pypi.org - Renamed
ExtractiveReader.model_name_or_path
Use the model parameter instead of model_name_or_path. github.com - Renamed
NamedEntityExtractor.model_name_or_path
Use the model parameter instead of model_name_or_path. github.com - Renamed
TransformersSimilarityRanker.model_name_or_path
Use the model parameter instead of model_name_or_path. github.com - Renamed
URLCacheChecker
The component is now CacheChecker and works with any data in the DocumentStore. github.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
haystack-ai 2.0.0b4 breaking changes
- Removed
haystack.components.generators.chat.GPTChatGenerator
GPTChatGenerator is deprecated. Switch to OpenAIChatGenerator. pypi.org - Removed
haystack.components.generators.GPTGenerator
GPTGenerator is deprecated. Switch to OpenAIGenerator. pypi.org
And 5 more in this version.
haystack-ai 2.0.0b3 breaking changes
- Removed
haystack.components.readers.ExtractiveReader.confidence_threshold
The confidence_threshold parameter is now called score_threshold. Update any code that passes it by keyword. pypi.org - Signature changed
haystack.components.converters.AzureOCRDocumentConverter.run
The run method's paths parameter is replaced by sources. Callers must pass sources=... instead of paths=... pypi.org
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.