3.0.0b2
What's Changed
Modules & Adapters
- Remove dspy.Program alias by @TomeHirata in #8392
- Clean up ChainOfThoughtWithHint in DSPy 3.0 by @Hangzhi in #8395
- Change the output interface of evaluate by @TomeHirata in #8003
- Add format to ToolCalls by @TomeHirata in #8455
- Allow reusing the stream listener by @chenmoneygithub in #8461
Bug Fixes
- Fix the issue that StreamListener strip out space after the start identifier by @chenmoneygithub in #8360
- Fix the streaming test by @chenmoneygithub in #8367
- fix bedrock streaming token tracking by @BTripp1986 in #8431
- Allow exception to pass through in JSONAdapter by @chenmoneygithub in #8445
- Support async path for ChatAdapter and JSONAdapter by @chenmoneygithub in #8419
- Fix PEP 604 union types when using Class Signatures for ChainOfThought by @erandeutsch in #8465
QoL
- Improve error message on invalid lm setup by @chenmoneygithub in #8378
- Show warning if forward is directly called by @TomeHirata in #8380
Style
- Small style fix on forward call warning by @chenmoneygithub in #8381
- Add quote rule to the lint rules by @TomeHirata in #8383
- Refactor root init file by @TomeHirata in #8385
- Add missing rule comment by @chenmoneygithub in #8398
- Consistently use double quotes in DSPy docsite landing page by @chenmoneygithub in #8447
Maintenance
- Remove pandas and datasets from core dependencies by @TomeHirata in #8274
- Update dspy version in uv lock by @TomeHirata in #8384
- Remove Hyperparameter class by @TomeHirata in #8386
- Remove unused multi-hop state files by @TomeHirata in #8389
- Remove unused postprocess of param name by @TomeHirata in #8387
- Remove experimental module by @TomeHirata in #8391
- Remove commented out assertions file by @TomeHirata in #8388
- Clean up unnecessary ruff exclude by @chenmoneygithub in #8399
- Remove commented out old dotdict by @TomeHirata in #8401
- Remove branch installation instruction by @TomeHirata in #8404
- Remove dspy.settings related to dspy.Assertion by @chenmoneygithub in #8397
- Remove unnecessary pre-commit exclusion by @chenmoneygithub in #8405
- Rename modules to module by @TomeHirata in #8407
- Move internal_dspy outside dspy module by @TomeHirata in #8400
- Remove aws extra dep group by @TomeHirata in #8412
- Move dsp/metrics into evaluate/metrics by @TomeHirata in #8402
- Fix signature input type by @TomeHirata in #8413
- Disable doc-push on forked repo by @chenmoneygithub in #8415
- compute cache key once by @poudro in #8394
- Add CLAUDE.local.md to .gitignore by @TomeHirata in #8420
- Remove datasets installation from the Getting Started I by @chenmoneygithub in #8418
- Add gemini to LM provider by @chenmoneygithub in #8417
- change the default model to llama-4 for databricks provider by @chenmoneygithub in #8414
- Move litellm cache testing under tests/client and remove unnecessary tests by @chenmoneygithub in #8396
- Fix the error that status message streaming was blocking by @chenmoneygithub in #8432
- Add real world tutorial for email extraction by @TomeHirata in #8426
- Document comparison operations of dspy.Prediction by @TomeHirata in #8437
- Drop Python 3.9 support by @TomeHirata in #8456
- Add support for PEP 604 union types in inline signatures by @erandeutsch in #8449
- Fix Lint by @TomeHirata in #8458
- Update lockfile by @TomeHirata in #8459
- Typo fix by @chenmoneygithub in #8462
Documentation
- [update docs] init gsm8k = GSM8K() by @codingDuan in #8363
- Add missing hooks to the tutorial of observability by @chenmoneygithub in #8368
- Add a tutorial on customizing modules by @chenmoneygithub in #8370
- Update the version to 3.0.0 in model saving doc by @TomeHirata in #8409
- Automatic doc update by @chenmoneygithub in #8476
- Fix mkdoc warnings by @TomeHirata in #8410
- Expand sidenav items by default by @TomeHirata in #8411
- Add real world example with yahoo finance Langchain tool by @TomeHirata in #8428
- Add memory agent tutorial by @TomeHirata in #8427
- Add real-world example overview page by @TomeHirata in #8442
- Remove unsupported options of Plugin 'material/search' by @TomeHirata in #8423
- Relax configure allowance in async tasks by @chenmoneygithub in #8444
- Add tutorial for text based game by @TomeHirata in #8451
- Add a tutorial for generating a code example from doc by @TomeHirata in #8450
- Add llms.txt generation tutorial by @TomeHirata in #8421
New Contributors
- @codingDuan made their first contribution in #8363
- @Hangzhi made their first contribution in #8395
- @poudro made their first contribution in #8394
Full Changelog: 3.0.0b1...3.0.0b2