Change8

Migrating to DSPy 3.1.1

Version 3.1.1 introduces 1 breaking change. This guide details how to update your code.

Released: 1/19/2026

1
Breaking Changes
1
Migration Steps
17
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

dspy.RLMdspy.CodeGEPAFeedbackMetricdspy.gepadspy.LMStreamListenerBAMLAdapterdspy.settings.callbacksUsageTrackerParallelExecutordspy.contextdspy.ReActLocalProviderdspy.PredictInputFieldPythonInterpreterdspy.datasets.dataset

Breaking Changes

Issue #1

Removed `dspy.RLM.__call__`.

Solution

Users relying on calling `dspy.RLM` directly should update their code to use the appropriate methods instead.

Migration Steps

  1. 1
    If you were calling `dspy.RLM(...)`, update your code as `__call__` has been removed.

Release Summary

This release introduces the RLM Module, enhances GEPA for multi-agent systems, and includes numerous bug fixes across adapters, maintenance, and documentation.

Need More Details?

View the full release notes and all changes for DSPy 3.1.1.

View Full Changelog