Here is a checklist for upgrading Rust Qdrant client to a new version of Qdrant server:
- Make sure to switch to a new branch from
dev. Something likev1-XX-upgradeshould be good enough. - Synchronize protobuf definitions using
./tools/sync_proto.shscript. - Run
cargo test protosto make sure auto-generated code is generated.
Based on the changes in protobuf, there are following places to upgrade:
- if there are new APIs, they should be added to appropriate file in
src/qdrant_clientand be part ofimpl Qdrant - if there are new parameters for existing APIs, they should be added to appropriate builders in
src/qdrant_client/builders - if there are new structures, which require complicated construction, simplified versions should be added to
src/qdrant_client/conversionslike for exampleimpl From<&[f32]> for Vector - Examples with usage of all new changes should be added to
tests/snippets, similar to existing ones.