v2.0
Announcing spice-rs v2.0! 🎉
The v2.0 release adds full support for Spice OSS and now connects to localhost by default instead of the Spice Cloud service.
Follow the Spice OSS quickstart to install and run the spice runtime locally, and query data using the spice-rs SDK:
use spiceai::ClientBuilder;
#[tokio::main]
async fn main() {
let mut client = ClientBuilder::new().build().await.unwrap();
let data = client.query(
"SELECT trip_distance, total_amount FROM taxi_trips ORDER BY trip_distance DESC LIMIT 10;"
).await;
}Read the docs to learn more.
Breaking Changes
- Asset Prices is now deprecated and the Prices() method and types were removed. Asset prices data can continue to be fetched using HTTP clients directly from the Spice cloud service.
- The SDK now connects to localhost by default (API Key is now optional).
What's Changed
- Add missing environment by @lukekim in #32
- Add description and license by @lukekim in #33
- Update Spice SDK installation in README.md by @sgrebnov in #34
- Remove deprecated Asset Prices API support by @lukekim in #35
- Cleanup DS_Store by @ewgenius in #37
- Add
ClientBuilderand support for connecting to local spice runtime by @ewgenius in #38 - Version to 2.0.0 by @ewgenius in #39
- Update arrow and arrow-flight to 51.0.0, and tonic to 0.11.0 by @ewgenius in #40
New Contributors
Full Changelog: v1.0.3...v2.0.0