Change8

v2.6.0

Breaking Changes
📦 milvusView on GitHub →
1 breaking39 features🔧 21 symbols

Summary

This release introduces comprehensive asynchronous client support via `AsyncMilvusClient` and significantly expands the API surface of `MilvusClient` with numerous database, partition, index, and search management features. The long-deprecated `Milvus` class has been removed.

⚠️ Breaking Changes

  • Removed the long deprecated Milvus class. Users must migrate to using MilvusClient or AsyncMilvusClient.

Migration Steps

  1. If you were using the deprecated `Milvus` class, migrate your code to use `MilvusClient` or `AsyncMilvusClient` instead.

✨ New Features

  • Added `describe` and `alter` database APIs in `MilvusClient`.
  • Added support for Milvus client iterator functionality.
  • Enabled resource group API in `MilvusClient`.
  • Added `release_collection`, `drop_index`, `create_partition`, `drop_partition`, `load_partition`, and `release_partition` APIs.
  • Enabled `describe_replica` API in `MilvusClient`.
  • Added support for recalls in `milvus_client`.
  • Added `use_database` functionality.
  • Introduced `AsyncMilvusClient` for asyncio support.
  • Added async DDL functions and examples.
  • Support for Int8Vector data type.
  • Support for recalls field in `SearchResult`.
  • Support for Python 3.13 and upgraded `grpcio` range.
  • Support for running analyzer returning detailed tokens.
  • Added `force_drop` parameter to `drop_role` method for role deletion.
  • Added property function for `AnalyzeToken`.
  • Grant/revoke v2 now supports optional `db` and `collection` parameters.
  • Extended unlimited offset for query iterator.
  • Alter index and alter collection now support altering properties.
  • Alter database supports deleting properties.
  • Support for `hints` parameter in search operations.
  • Create database now supports properties.
  • Added `db_name` parameter to `bulk_import`.
  • Added search iterator v2.
  • Simplified the structure of `search_params`.
  • Added schema update time verification to insert and upsert operations to utilize caching.
  • Describe collection output now includes `created_timestamp`.
  • Added external filter function for search iterator v2.
  • Support for running analyzer.
  • Weighted reranker allows skipping score normalization.
  • Support for `AddCollectionField` API.
  • Added 1-Way and 2-Way TLS Support to Bulk Import Functions.
  • Used `SearchResult` in `MilvusClient`.
  • Support for rerank functionality.
  • Support for multi analyzer parameters.
  • Added function checker utility.
  • Support for running analyzer by collection and field.
  • Support for loading collection/partition with priority.
  • Optimized performance for large topK values.
  • Added usage guide to manage `MilvusClient`.

Affected Symbols