3.0.0b4
stanfordnlp/dspy3.0.0b4Aug 11, 2025by okhat
AI Summary
Beta release focusing on MIPRO reliability fixes, Arbor GRPO updates, and adapter improvements (MCP, streaming, BAML).
Key Highlights
- Fixed MIPRO silent failures on bootstrapping.
- Updated Arbor GRPO Integration.
- Faster JSON parsing for images in ChatAdapter.
- Custom BAMLAdapter for improved structured outputs.
New Features
- MIPRO bootstrapping fixes.
- Arbor GRPO update.
- Faster image JSON parsing.
- Custom BAMLAdapter.
Full Release Notes
## What's Changed Optimizers * Fixes for MIPRO: Don't fail silently on bootstrapping! by @okhat in https://github.com/stanfordnlp/dspy/pull/8548 * skip unhashable module histories for mipro program proposer by @arnavsinghvi11 in https://github.com/stanfordnlp/dspy/pull/8572 * Update Arbor GRPO Integration by @Ziems in https://github.com/stanfordnlp/dspy/pull/8609 * Remove user confirmation from MiproV2 by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8552 Adapters & Tools * fix(dspy): Fix MCP tool conversion when schema has no input params by @tvdaptible in https://github.com/stanfordnlp/dspy/pull/8566 * Explicitly mark the end of streaming by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8587 * faster json parsing for images in chatadapter by @jmhb0 in https://github.com/stanfordnlp/dspy/pull/8596 * Use json mode for serialization by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8605 * Custom BAMLAdapter to improve structured outputs by @prrao87 in https://github.com/stanfordnlp/dspy/pull/8614 LMs & Modules * Mark gpt-5 as reasoning model by @olesyash in https://github.com/stanfordnlp/dspy/pull/8620 * Fix infinite growing trace and add tests by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8607 * Litellm logging management by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8619 * nit: fix "poorly-design" by @danielsparing in https://github.com/stanfordnlp/dspy/pull/8622 * remove history and callbacks from module saving by @arnavsinghvi11 in https://github.com/stanfordnlp/dspy/pull/8599 * update deduplicate by @apieum in https://github.com/stanfordnlp/dspy/pull/8623 Maintenance * Increment python version for pre-commit by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8602 * Run the `typos` tool against the codebase by @kurtmckee in https://github.com/stanfordnlp/dspy/pull/8560 * Fix incorrect `build-system` requirements by @kurtmckee in https://github.com/stanfordnlp/dspy/pull/8558 * Vendor Hasher class from datasets library in order to remove larger dependency by @BenMcH in https://github.com/stanfordnlp/dspy/pull/8621 ## New Contributors * @weklund made their first contribution in https://github.com/stanfordnlp/dspy/pull/8554 * @vakinapalli made their first contribution in https://github.com/stanfordnlp/dspy/pull/8569 * @tvdaptible made their first contribution in https://github.com/stanfordnlp/dspy/pull/8566 * @jmhb0 made their first contribution in https://github.com/stanfordnlp/dspy/pull/8596 * @olesyash made their first contribution in https://github.com/stanfordnlp/dspy/pull/8620 * @kurtmckee made their first contribution in https://github.com/stanfordnlp/dspy/pull/8560 * @prrao87 made their first contribution in https://github.com/stanfordnlp/dspy/pull/8614 * @danielsparing made their first contribution in https://github.com/stanfordnlp/dspy/pull/8622 * @apieum made their first contribution in https://github.com/stanfordnlp/dspy/pull/8623 **Full Changelog**: https://github.com/stanfordnlp/dspy/compare/3.0.0b3...3.0.0b4