Skip to content

Commit 981ae0a

Browse files
authored
v1.17 upgrade (#263)
* add version upgrade guide * [AI] upgrade client to v1.17 according to checklist * [AI] Generate nice builders for relevance feedback * remove deprecated client (#264) * [AI] remove deprecated since 1.10 version of the client * fmt
1 parent 61c2f0a commit 981ae0a

File tree

64 files changed

+3056
-4039
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+3056
-4039
lines changed

CONTRIBUTING.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
# Upgrade for a new version
3+
4+
Here is a checklist for upgrading Rust Qdrant client to a new version of Qdrant server:
5+
6+
- [ ] Make sure to switch to a new branch from `dev`. Something like `v1-XX-upgrade` should be good enough.
7+
- [ ] Synchronize protobuf definitions using `./tools/sync_proto.sh` script.
8+
- [ ] Run `cargo test protos` to make sure auto-generated code is generated.
9+
10+
Based on the changes in protobuf, there are following places to upgrade:
11+
12+
- [ ] if there are new APIs, they should be added to appropriate file in `src/qdrant_client` and be part of `impl Qdrant`
13+
- [ ] if there are new parameters for existing APIs, they should be added to appropriate builders in `src/qdrant_client/builders`
14+
- [ ] 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`
15+
- [ ] Examples with usage of all new changes should be added to `tests/snippets`, similar to existing ones.
16+
17+
18+

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ uuid = ["dep:uuid"]
4343
name = "query"
4444
required-features = ["serde"]
4545

46-
[[example]]
47-
name = "deprecated_search"
48-
required-features = ["serde"]
49-
5046
[package.metadata.docs.rs]
5147
features = ["download_snapshots", "serde"]
5248
no-default-features = true

examples/deprecated_search.rs

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)