Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

# Upgrade for a new version

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 like `v1-XX-upgrade` should be good enough.
- [ ] Synchronize protobuf definitions using `./tools/sync_proto.sh` script.
- [ ] Run `cargo test protos` to 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_client` and be part of `impl 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/conversions` like for example `impl From<&[f32]> for Vector`
- [ ] Examples with usage of all new changes should be added to `tests/snippets`, similar to existing ones.



4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ uuid = ["dep:uuid"]
name = "query"
required-features = ["serde"]

[[example]]
name = "deprecated_search"
required-features = ["serde"]

[package.metadata.docs.rs]
features = ["download_snapshots", "serde"]
no-default-features = true
120 changes: 0 additions & 120 deletions examples/deprecated_search.rs

This file was deleted.

Loading