Repository navigation
chore(release): prepare v0.8.5 - #237
Merged
Merged
Conversation
Bump the version to 0.8.5 in pyproject.toml and CMakeLists.txt, and update the install pins, clone commands and version text in the README, home page, installation, quick start and C++ integration pages. Turn docs/docs/releases/0.8.5.md into the release page: drop "(unreleased)" from the title and the navigation, add the Upgrading section, and correct three statements (search options become keyword-only in 0.9, not now; set_centroids used every CPU for every routing type before #231; the stubs cannot mark the deprecations that depend on a value or the two old statistics names). The Python samples need 0.8.5 since #235 and #236, so their README asks for it. README news gains v0.8.5 and keeps the three most recent entries.
TamimEhsan
pushed a commit
to TamimEhsan/khorgosh
that referenced
this pull request
Nov 28, 2026
main is at v0.8.5 (cf2764f): the 0.9 names with deprecation warnings for the 0.8 spellings (VectorDB-NTU#235, VectorDB-NTU#236) and the 0.8.5 release preparation (VectorDB-NTU#237). Conflicts, resolved by keeping both sides: - docs/docs/index/{hnsw,ivf,qg}.md: the cosine metric and the -1 missing-result ID from dev/0.9, the new names from main. - python_bindings/__init__.py: the FormatError import from dev/0.9 in main's import layout. - python_bindings/__init__.pyi: cosine in the metric lists, routing for initializer. - tests/python/typing/public_api.py: routing= with the cosine metric type. Changes git could not make, because the two sides did not touch the same lines: - The deprecated search overloads from main return int64 IDs, as every search does on dev/0.9; a typing fixture checks it. - The migration guide said three changes come without a warning in 0.9; with int64 IDs, the -1 marker and format 2 that count was wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 0.8.5: the transition release for 0.9. It accepts the names 0.9 will use and deprecates the 0.8 spellings they replace (#235 for the index classes, #236 for k-means), and adds
num_threadstoIvfIndex.set_centroids(#231). #226, #227, #228 and #230 change tests only.Changes
pyproject.tomlandCMakeLists.txt. Install pins, clone commands and version text are updated in the README, home page, installation, quick start and C++ integration pages.sample/python/README.mdnow asks forrabitqlib>=0.8.5(it said 0.8.1): the samples useef_search=andfinal_assignment="exact"since feat(python): accept the 0.9 names and deprecate the 0.8 spellings #235 and feat(python): accept the 0.9 k-means names and deprecate the 0.8 spellings #236, which earlier releases reject.docs/docs/releases/0.8.5.mdbecomes the release page: the title and the navigation label lose "(unreleased)", and it gains the Upgrading section the other pages have. Three statements are corrected or added:set_centroidsused every CPU before feat(python): let IvfIndex.set_centroids take num_threads #231 for every routing type, not only for HNSW routing;2**32 - 1and the two old statistics class names warn only at run time.The home page's benchmark sentence still names 0.8.2, the version the published results were measured on.
Checks
python -m mkdocs build --strict --config-file docs/mkdocs.ymlandgit diff --checkpass. The.github/scriptsunit tests (60) pass.rabitqlib-0.8.5, andrabitqlib.__version__reports 0.8.5. The Python suite with the mypy and Pyright tests ran against that installed build (Linux x86-64, Xeon Gold 6418H, CPython 3.13.15): 1190 passed, 18 skipped. The skips are C++ example targets that were not built and wheel-only platform tests.mainat 02aeda3, whoseTest,Python WheelandDocumentationruns passed (the C++ jobs ofTestwere path-skipped there; merging this bump runs the full matrix, because the version is untagged). The wheels for that tree were built and tested on feat(python): accept the 0.9 k-means names and deprecate the 0.8 spellings #236 for CPython 3.11 and 3.14 on all four platforms; the release workflow builds and tests all 16 before it tags.python_bindings/ivf_bindings.cpp(feat(python): let IvfIndex.set_centroids take num_threads #231);src/andinclude/are unchanged, and test: make graph tests independent of graph connectivity #228 changed one C++ unit test (tests/unit/rabitqlib/index/hnsw_test.cpp).Downstream compatibility (before merging the version bump)
thirdparty/RaBitQ-Library/RaBitQ-Library-0.7.0at de793e8), so this release does not change its build. Core and FastScan sources and headers are identical to v0.8.4. The zvec build check (Downstream check: zvec on the latest 0.8.x release #219) has not been run.src/python/txtai/ann/dense/rabitq.py,ann/base.py,util/library.py,test/python/testann/testdense/testrabitq.pyandbase.py, all verbatim) ran against the installed 0.8.5 build withpython -m unittest -v testann.testdense.testrabitq. The package__init__files,version.pyandANNFactory(rabitq branch only) are stubs. 5 tests pass. They cover IVF and HNSW build, query and save/load, and IVF append and delete.HnswIndex.search(ef_search=0)atrabitq.py:133, which passes0when noefsearchis configured, andmax_elementsattestrabitq.py:145. Both changes are listed in Python index API consistency: capacity, seed, search arguments, routing,ef_search#232 and in the txtai gate of Remove the deprecated 0.7 Python call forms #213.MakefilesetsPYTHONWARNINGS := ignore.tests/python/test_txtai_compat.py, which mirrors the adapter call for call, passes against the 0.8.5 build.