v0.2.0
DSPy 3.2.x refresh for the skill pack. This release candidate moves the skills, references, manifests, and regression guards from DSPy 3.1.x assumptions to the real DSPy 3.2.0 surface, while adding a concrete example for the biggest new optimizer-facing capability.
Highlights
- Retargeted the repo from DSPy 3.1.x / 3.1.3 to DSPy 3.2.x / 3.2.0 across README, skill docs, manifests, and maintainer guidance.
- Added
skills/dspy-gepa-optimizer/example_bettertogether.py, a dry-run-capable example of DSPy 3.2.0's generalizeddspy.BetterTogether(metric=..., bootstrap=..., gepa=...)API. - Updated
dspy-fundamentalsto document 3.2.x type-mismatch warnings,warn_on_type_mismatch=False, and the newdspy.BaseLMcapability/ContextWindowExceededErrorguidance for custom backends. - Updated
dspy-rlm-modulefor DSPy 3.2.0'smax_output_chars=10_000default and kwargs-only tool dispatch. - Updated
dspy-gepa-optimizerto explain the new BetterTogether chaining model while keeping plain GEPA as the default recommendation. - Added a regression guard against stale BetterTogether constructor guidance and flipped the RLM default guard to the 3.2.0 value.
- Refreshed
examples/01-rag-qaandexamples/02-math-reasoningwith clean DSPy 3.2.0 live reruns, and added per-exampleversion_comparison.{md,json}files to make the old-vs-new story explicit. - Kept
examples/03-invoice-extractionon its historical DSPy 3.1.3 artifact, with the 3.2.0 probe sweep documented instead of forcing a misleading saturated or unstable rerun. - Validated the install path end to end, including
scripts/install.sh --dry-run, a temp-HOMEinstall, and new guidance forUV_EXCLUDE_NEWERwhenuvhides DSPy 3.2.0.
Validation
uv run --with pytest python -m pytest tests/ -v→ full suite passed- All 6 skill examples executed via
--dry-rununder DSPy 3.2.0 - All 3 end-to-end examples executed via
--dry-rununder DSPy 3.2.0 - Live reruns under DSPy 3.2.0:
examples/01-rag-qa→75.77 -> 100.00withopenrouter/mistralai/ministral-3b-2512examples/02-math-reasoning→85.00 -> 93.33withopenrouter/mistralai/ministral-3b-2512examples/03-invoice-extraction→ probe sweep recorded saturation or instability; historical artifact retained
scripts/install.sh --dry-runand a temp-HOMEinstall both matched the documented dual-target install flow- During release prep, local
uv run --with dspystill resolved DSPy3.1.3on this machine, so the 3.2.0 smoke tests were run in an isolated environment installed from the official 3.2.0 wheel.