dspy breaking changes
dspy 3.0.0 (August 12, 2025) is its newest release with breaking changes, 123 of them. The first: dspy 3.0.0 drops support for Python 3.9 and requires Python 3.10 or later. Every breaking API change we have recorded in dspy on PyPI: 132 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.5.0, released November 10, 2026. Source repository
Its 3.0.0 release requires Python 3.10 or later. Python end of life dates.
dspy 3.0.0 breaking changes
- Removed
Python 3.9 is no longer supported; 3.10 through 3.13 are supported. github.com - Removed
dspy.adapters.chat_adapter.BaseCallback
dspy.adapters.chat_adapter.BaseCallback was removed in dspy 3.0.0 pypi.org - Removed
dspy.assertions
dspy.assertions was removed in dspy 3.0.0 pypi.org - Removed
dspy.ChainOfThoughtWithHint
dspy.ChainOfThoughtWithHint was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.Counter
dspy.dsp.utils.Counter was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.EM
dspy.dsp.utils.EM was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.em_score
dspy.dsp.utils.em_score was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.F1
dspy.dsp.utils.F1 was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.f1_score
dspy.dsp.utils.f1_score was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.hotpot_f1_score
dspy.dsp.utils.hotpot_f1_score was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.HotPotF1
dspy.dsp.utils.HotPotF1 was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.metrics
dspy.dsp.utils.metrics was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.normalize_text
dspy.dsp.utils.normalize_text was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.precision_score
dspy.dsp.utils.precision_score was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.re
dspy.dsp.utils.re was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.settings.ThreadLocalOverrides
dspy.dsp.utils.settings.ThreadLocalOverrides was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.string
dspy.dsp.utils.string was removed in dspy 3.0.0 pypi.org - Removed
dspy.dsp.utils.ThreadLocalOverrides
dspy.dsp.utils.ThreadLocalOverrides was removed in dspy 3.0.0 pypi.org - Removed
dspy.dspy
dspy.dspy was removed in dspy 3.0.0 pypi.org - Removed
dspy.evaluate.evaluate.Evaluate.return_all_scores
Evaluate.return_all_scores was removed in dspy 3.0.0 pypi.org - Removed
dspy.evaluate.evaluate.Evaluate.return_outputs
Evaluate.return_outputs was removed in dspy 3.0.0 pypi.org - Removed
dspy.Evaluate.return_all_scores
Evaluate.return_all_scores was removed in dspy 3.0.0 pypi.org - Removed
dspy.Evaluate.return_outputs
Evaluate.return_outputs was removed in dspy 3.0.0 pypi.org - Removed
dspy.experimental
dspy.experimental was removed in dspy 3.0.0 pypi.org - Removed
dspy.predict.avatar.Optional
dspy.predict.avatar.Optional was removed in dspy 3.0.0 pypi.org - Removed
dspy.predict.chain_of_thought_with_hint
dspy.predict.chain_of_thought_with_hint was removed in dspy 3.0.0 pypi.org - Removed
dspy.primitives.assertions
dspy.primitives.assertions was removed in dspy 3.0.0 pypi.org - Removed
dspy.primitives.module.get_dependency_versions
dspy.primitives.module.get_dependency_versions was removed in dspy 3.0.0 pypi.org - Removed
dspy.primitives.module.postprocess_parameter_name
dspy.primitives.module.postprocess_parameter_name was removed in dspy 3.0.0 pypi.org - Removed
dspy.primitives.program
dspy.primitives.program was removed in dspy 3.0.0 pypi.org - Removed
dspy.Program
The dspy.Program alias was removed; code using it must change. pypi.org - Removed
dspy.retrieve
dspy.retrieve was removed in dspy 3.0.0 pypi.org - Removed
dspy.streaming.streaming_listener.StreamListener.chat_adapter_end_identifier
StreamListener.chat_adapter_end_identifier was removed in dspy 3.0.0 pypi.org - Removed
dspy.streaming.streaming_listener.StreamListener.chat_adapter_start_identifier
StreamListener.chat_adapter_start_identifier was removed in dspy 3.0.0 pypi.org - Removed
dspy.streaming.streaming_listener.StreamListener.json_adapter_end_identifier
StreamListener.json_adapter_end_identifier was removed in dspy 3.0.0 pypi.org - Removed
dspy.streaming.streaming_listener.StreamListener.json_adapter_start_identifier
StreamListener.json_adapter_start_identifier was removed in dspy 3.0.0 pypi.org - Removed
dspy.streaming.StreamListener.chat_adapter_end_identifier
StreamListener.chat_adapter_end_identifier was removed in dspy 3.0.0 pypi.org - Removed
dspy.streaming.StreamListener.chat_adapter_start_identifier
StreamListener.chat_adapter_start_identifier was removed in dspy 3.0.0 pypi.org - Removed
dspy.streaming.StreamListener.json_adapter_end_identifier
StreamListener.json_adapter_end_identifier was removed in dspy 3.0.0 pypi.org - Removed
dspy.streaming.StreamListener.json_adapter_start_identifier
StreamListener.json_adapter_start_identifier was removed in dspy 3.0.0 pypi.org - Renamed
dspy.BaseLM.update_global_history
Use BaseLM.update_history instead. pypi.org - Renamed
dspy.dsp.utils.metrics.print_message
Use dspy.evaluate.metrics.print_message instead. pypi.org - Renamed
dspy.predict.chain_of_thought.OutputField
Use dspy.evaluate.auto_evaluation.OutputField instead. pypi.org - Renamed
dspy.primitives.program.BaseModule
Use dspy.primitives.base_module.BaseModule instead. pypi.org - Renamed
dspy.primitives.program.Parallel
Use dspy.primitives.module.Parallel instead. pypi.org - Renamed
dspy.primitives.program.pretty_print_history
Use dspy.primitives.module.pretty_print_history instead. pypi.org - Renamed
dspy.primitives.program.ProgramMeta
Use dspy.primitives.module.ProgramMeta instead. pypi.org - Renamed
dspy.primitives.program.set_attribute_by_name
Use dspy.primitives.module.set_attribute_by_name instead. pypi.org - Renamed
dspy.retrieve.databricks_rm.DatabricksRM
Use dspy.retrievers.databricks_rm.DatabricksRM instead. pypi.org - Renamed
dspy.retrieve.databricks_rm.Document
Use dspy.retrievers.databricks_rm.Document instead. pypi.org
And 73 more in this version. Sign up to see every change
dspy 3.0.0b4 breaking changes
- Behavior changed
Saved modules no longer store history and callbacks; code relying on them in saved files may change. github.com - Behavior changed
MiproV2
MiproV2 no longer asks for user confirmation before running. github.com
dspy 3.0.0b3 breaking changes
- Renamed
dspy.BaseType
dspy.BaseType was renamed to dspy.Type; update references. pypi.org - Behavior changed
datasets
datasets was re-added as a default dependency after being removed in 3.0.0b1. github.com
dspy 3.0.0b2 breaking changes
- Removed
Python 3.9 is no longer supported; users on it must upgrade Python. github.com - Removed
dspy.Assertion
Settings related to dspy.Assertion were removed. github.com - Removed
dspy.modules
The modules name was renamed to module; imports must be updated. github.com - Removed
dspy.predict.parameter.Hyperparameter
The Hyperparameter class was removed. pypi.org
dspy 3.0.0b1 breaking changes
- Removed
Unmaintained retriever integrations were removed; users who relied on them must migrate to custom code. github.com
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.