Skip to main content
This section contains migration guides to help you upgrade your application when breaking changes are introduced in the ScyllaDB Rust Driver.

Available Migration Guides

The following migration guides are available:

Version 0.11 - Serialization API Changes

Version 0.11 introduced a new serialization API with improved type safety and support for better validation of data sent to the database. Key changes:
  • New traits: SerializeValue and SerializeRow replace the old Value and ValueList traits
  • Type checking is now mandatory and performed using prepared statement metadata
  • New derive macros with name-based field matching by default
  • Better support for User-Defined Types (UDTs) serialization
Read the full 0.11 serialization migration guide →

Version 0.15 - Deserialization API Changes

Version 0.15 introduced a new deserialization API that improves both type safety and performance by working directly with raw, serialized data instead of pre-parsed intermediate representations. Key changes:
  • New traits: DeserializeValue and DeserializeRow replace the old FromCqlVal and FromRow traits
  • Zero-copy deserialization support for better performance
  • Type checking happens before deserialization
  • New derive macros with name-based field matching
  • QueryResult API changes for consuming rows
Read the full 0.15 deserialization migration guide →

Version 1.0 Changes

Starting with version 1.0, the old APIs have been fully removed. If you’re upgrading to 1.0 or later, you must migrate your code to use the new serialization and deserialization APIs described in the guides above.

General Migration Strategy

When upgrading across multiple versions:
  1. Review the relevant migration guides for each version you’re crossing
  2. Update your dependencies in Cargo.toml to the target version
  3. Fix compilation errors by updating trait usage and macro attributes
  4. Test thoroughly to ensure type checking and data serialization work correctly
  5. Review deprecation warnings in versions before 1.0 for additional guidance

Need Help?

If you encounter issues during migration:

Build docs developers (and LLMs) love