Skip to content

chore(release): prepare v0.8.5 - #237

Merged
gouyt13 merged 1 commit into
mainfrom
release/v0.8.5
Nov 14, 2026
Merged

gouyt13 merged 1 commit into
mainfrom
release/v0.8.5

Conversation

@gouyt13

@gouyt13 gouyt13 commented Nov 14, 2026

Copy link
Copy Markdown
Member

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_threads to IvfIndex.set_centroids (#231). #226, #227, #228 and #230 change tests only.

Changes

  • Version 0.8.5 in pyproject.toml and CMakeLists.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.md now asks for rabitqlib>=0.8.5 (it said 0.8.1): the samples use ef_search= and final_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.md becomes 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:
    • passing the search options by position is deprecated, and 0.9 makes them keyword-only (the page said they already were);
    • set_centroids used every CPU before feat(python): let IvfIndex.set_centroids take num_threads #231 for every routing type, not only for HNSW routing;
    • the type stubs mark the renamed forms as deprecated, so mypy and Pyright can report them; a breadth of 0, an HNSW seed above 2**32 - 1 and the two old statistics class names warn only at run time.
  • README news gains v0.8.5 and keeps the three most recent entries.

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.yml and git diff --check pass. The .github/scripts unit tests (60) pass.
  • The package builds as rabitqlib-0.8.5, and rabitqlib.__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.
  • The code is that of main at 02aeda3, whose Test, Python Wheel and Documentation runs passed (the C++ jobs of Test were 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.
  • No C++ check was run locally: since v0.8.4 the only compiled change in the library and bindings is python_bindings/ivf_bindings.cpp (feat(python): let IvfIndex.set_centroids take num_threads #231); src/ and include/ 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)

  • zvec: main at 0c2e67a (2026-11-13) still pins RaBitQ-Library v0.7.0 (submodule thirdparty/RaBitQ-Library/RaBitQ-Library-0.7.0 at 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.
  • txtai:
    • txtai's adapter and tests at master 973512f (src/python/txtai/ann/dense/rabitq.py, ann/base.py, util/library.py, test/python/testann/testdense/testrabitq.py and base.py, all verbatim) ran against the installed 0.8.5 build with python -m unittest -v testann.testdense.testrabitq. The package __init__ files, version.py and ANNFactory (rabitq branch only) are stubs. 5 tests pass. They cover IVF and HNSW build, query and save/load, and IVF append and delete.
    • 0.8.5 adds two warnings to the ones txtai has had since 0.8.0: HnswIndex.search(ef_search=0) at rabitq.py:133, which passes 0 when no efsearch is configured, and max_elements at testrabitq.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.
    • Nothing in txtai turns these warnings into errors: its Makefile sets PYTHONWARNINGS := ignore.
    • A full txtai installation and txtai's CI (CPython 3.11 on three operating systems) were not run.
    • tests/python/test_txtai_compat.py, which mirrors the adapter call for call, passes against the 0.8.5 build.

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.
@github-actions github-actions Bot added the release:maintenance Release category managed from the PR title label Nov 14, 2026
@gouyt13
gouyt13 merged commit cf2764f into main Nov 14, 2026
49 checks passed
@gouyt13
gouyt13 deleted the release/v0.8.5 branch November 14, 2026 06:40
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:maintenance Release category managed from the PR title

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant