v3.1.2 3.3.1

high risk

krahets/hello-algoAug 21, 2026 → Aug 21, 20260 days between releases

What's New

Deprecated CodeAct/ProgramOfThought; added managed Pyodide runtime and sandbox isolation.

Breaking Changes

  • CodeAct and ProgramOfThought are deprecated (scheduled removal in v3.5)

New Features

  • Managed Pyodide runtime with hardening
  • GEPA multi-proposal sampling and selection
  • Structured MCP tool results
  • Adapter fallback improvements for missing outputs

Improvements

  • Significantly strengthens PythonInterpreter sandbox isolation
  • Faster Multi-Proposal GEPA Optimization
  • Enhanced sandbox isolation and lifecycle visibility
  • Improved optimizer throughput
  • Improved adapter correctness

Bug Fixes

  • Fixed sandbox desynchronization and collision issues
  • Fixed request ID unpredictability and recursive execution rejections
  • Fixed guest code identity mutation vulnerabilities

Upgrade Notes

Deprecate `CodeAct` and `ProgramOfThought` immediately as they will be removed in v3.5. Install the managed runtime via `pip install "dspy[deno]"` for enhanced isolation.

The Two Releases

v3.1.2

v3.1.2

Aug 21, 2026· 2 months ago

A patch release that updates dependencies to the latest versions, fixes documentation string parameters, preserves caller event loops in synchronous LLM cache middleware, and changes the default package feed index.

Full release notes
3.3.1

3.3.1

Aug 21, 2026· 2 months ago

Significantly strengthens PythonInterpreter sandbox isolation, adds managed runtime support, and introduces multi-proposal GEPA optimization.

Full release notes