Skip to content

v0.1.2

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Oct 03:15

Support for GoVec server 0.2.0's required k.

Changed

  • The gRPC stubs mirror server 0.2.0's optional int32 k. Server 0.2.0 requires k on search and answers k=0 with an empty list. Older SDKs can't send a zero k over gRPC at all (protobuf drops a zero value), so server 0.2.0 reads it as missing and rejects the search. With 0.1.2 a search(..., k=0) returns an empty list over both transports.

Nothing else changes for callers: search() still defaults to k=10, and REST behaves as before.

Upgrade

pip install --upgrade govec

No breaking changes. Compatible with GoVec server 0.1.0 and newer, on Python 3.12-3.14.

Full Changelog: v0.1.1...v0.1.2