# Rust SDK 0.4.2

[Read this page in HTML](https://www.scopedb.io/docs/release-notes/2026-10-27-rust-sdk-0-4-2)

Published: 2026-10-27

Rust SDK 0.4.2 follows 0.4.1 with patched zstd and Tokio dependencies that address RustSec security advisories. No API migration is needed from 0.4.1, and Rust 1.91.0 remains supported.

For the subsequent feature release, see the [0.5.0 release notes and upgrade steps](https://www.scopedb.io/docs/release-notes/2026-11-02-rust-sdk-0-5-0.md#upgrade-from-04).

## Upgrade

Update the SDK and the HTTP decompression dependency, then commit `Cargo.toml` and `Cargo.lock`:

```bash
cargo add scopedb-client@0.4.2
cargo update -p compression-codecs
```

Existing lockfiles should resolve `compression-codecs` to 0.4.46 or later so HTTP response decompression also uses patched zstd dependencies.

Applications upgrading from 0.3 should also follow the [0.3-to-0.4 migration steps](https://www.scopedb.io/docs/release-notes/2026-10-23-rust-sdk-0-4-1.md#upgrade-from-03).

## Related contents

* [All release notes](https://www.scopedb.io/docs/release-notes.md)

* [Rust SDK](https://www.scopedb.io/docs/guides/sdks/rust.md)

* [Rust API reference](https://docs.rs/scopedb-client/0.4.2/scopedb_client/)
