Added
- (rig-798)
rig-wasm(#611) - (rig-819) vector store index request struct (#623)
- (rig-830) map documents to text for OpenAI Response API (#622)
- Add GROK_4 model constant to xAI provider (#614)
- (rig-812) yield final response with total usage metrics from streaming completion response in stream impl (#584)
- (rig-799) add support for official rust sdk for mcp (#553)
- (rig-823) impl size hint for OneOrMany types (#606)
- (rig-784) thinking/reasoning (#557)
- (rig-821) add tracing when submit tool is never called in extractor (#603)
- make PromptResponse public (#593)
Fixed
- (rig-824) ToolResultContent should be serde-tagged (#621)
- (rig-828) support done message on openai streaming completions api (#619)
- (rig-827) openai responses streaming api placeholder panic (#620)
- (rig-834) erroeneous tracing log level (#626)
- (rig-820) ensure call ID is properly propagated (#601)
Other
- Add new claude models and default max tokens (#634)
- (rig-836) deprecate mcp-core integration (#631)
- Refactor clients with builder pattern (#615)
- change log level to debug for input/output (#627)
- fix spelling issue (#607)
Migration
- If you are using
Client::from_url(), you will now need to useClient::builder()and add it in from there. Otherwise if you don't care about changing your inner HTTP client or changing the base URL, you can still useClient::new(<api_key_here>)orClient::from_env()to achieve the same result as you normally would. VectorStoreIndexandVectorStoreIndexDynnow take arig::vector_search::VectorSearchRequest, instead of a query and max result size. This has been done to enable much more ergonomic requesting in the future. Please see any of thevector_searchexamples for practical usage.- The final response of a completion stream now yields the completion usage from the stream itself. You may wish to adjust your code to account for this.
- The
mcp-coreintegration is now officially deprecated because the official Rust MCP SDK is now supported as it has feature parity. You will need to ensure you have moved to thermcpintegration (rmcpfeature flag) by Rig 0.18.0 at the earliest. - ToolResultContent is now
#[serde(tag = "type")]. If you're storing the serialized Rig structs anywhere as JSON, you may need to account for this and write a script to backfill your stored JSON.