Pymilvus

Latest version: v2.5.4

Safety actively analyzes 702335 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 13

2.5.4

What's Changed
* enhance: simplify the structure of search_params(2507)(2537)(2540) by smellthemoon in https://github.com/milvus-io/pymilvus/pull/2550
* enhance: use trusted publisher and remove deprecated by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2548
* enhance: support recalls for milvus_client by chasingegg in https://github.com/milvus-io/pymilvus/pull/2553
* fix: use correct primary field name in Hits by czs007 in https://github.com/milvus-io/pymilvus/pull/2560
* fix: iterator mismatch when alter alias and database(2555) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2565
* fix: use dummy call for search iterator v2 compatibility by PwzXxm in https://github.com/milvus-io/pymilvus/pull/2570
* fix typo(2563) by smellthemoon in https://github.com/milvus-io/pymilvus/pull/2564
* fix: unset collection_name for search iterator_v1(2555) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2575
* fix: should not modify users search_param, copy instead by PwzXxm in https://github.com/milvus-io/pymilvus/pull/2578
* enhance: Publishing releases with trusted publisher by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2581
* fix: Cannot publish to too destinations in one action by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2584


**Full Changelog**: https://github.com/milvus-io/pymilvus/compare/v2.5.3...v2.5.4

2.5.3

What's Changed
* enhance: add search iterator v2 by PwzXxm in https://github.com/milvus-io/pymilvus/pull/2524
* enhance:refine search iter v2 warning by PwzXxm in https://github.com/milvus-io/pymilvus/pull/2527
* enhance: add release_collection, drop_index, create_partition, drop_partition, load_partition and release_partition by brcarry in https://github.com/milvus-io/pymilvus/pull/2529
* fix: fix search iter v2 limit compatibility by PwzXxm in https://github.com/milvus-io/pymilvus/pull/2532
* enhance: add example code for create_collection, drop_collection, load_collection, release_collection, create_index, drop_index, create_partition, drop_partition, load_partition and release_partition by brcarry in https://github.com/milvus-io/pymilvus/pull/2535
* enhance: add database operation example by JsDove in https://github.com/milvus-io/pymilvus/pull/2517


**Full Changelog**: https://github.com/milvus-io/pymilvus/compare/v2.5.2...v2.5.3

2.5.2

What's Changed
* fix: [2.5] await conn.describe_collection in async client's query by brcarry in https://github.com/milvus-io/pymilvus/pull/2502
* enhance: [2.5]add alter properties example by JsDove in https://github.com/milvus-io/pymilvus/pull/2505
* fix: grant ManualCompact api doesn't work (2396) by weiliu1031 in https://github.com/milvus-io/pymilvus/pull/2509
* fix: [2.5] fix privilege typo by shaoting-huang in https://github.com/milvus-io/pymilvus/pull/2512
* enhance: Enable resource group api in milvus client (2513) by weiliu1031 in https://github.com/milvus-io/pymilvus/pull/2514


**Full Changelog**: https://github.com/milvus-io/pymilvus/compare/v2.5.1...v2.5.2

2.5.1

New Features

Support AsyncIO (EXPERIMENTAL)
* feat: asyncio support by brcarry in https://github.com/milvus-io/pymilvus/pull/2459

Introducing the native asyncio client in PyMilvus: `AsyncMilvusClient`. While only a subset of APIs is currently supported, this marks a significant step forward for PyMilvus. Enjoy exploring it!

python
import asyncio

from pymilvus import MilvusClient, AsyncMilvusClient, DataType


async def main():
URI = "./milvus.db"
async_client = AsyncMilvusClient(uri=URI)
await async_client.create_collection("async_example", dimension=768)
await async_client.drop_collection("async_example")
await async_client.close()


if __name__ == "__main__":
asyncio.run(main())


What's Changed
* fix: Branch 2.5 action rules by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2384
* enhance: [2.5] grant/revoke v2 optional db and collection params by shaoting-huang in https://github.com/milvus-io/pymilvus/pull/2393
* feat: [2.5] support recalls field in SearchResult by chasingegg in https://github.com/milvus-io/pymilvus/pull/2391
* fix: [2.5] fix list aliases rpc call and grant/revoke v2 by shaoting-huang in https://github.com/milvus-io/pymilvus/pull/2405
* extend unlimted offset for query iterator(2418) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2421
* fix: [2.5]Add is_clustering params for get_compaction_plans in orm by xiaocai2333 in https://github.com/milvus-io/pymilvus/pull/2430
* enhance: [2.5] rbac privilege group and grant v2 examples by shaoting-huang in https://github.com/milvus-io/pymilvus/pull/2427
* enhance: alterindex & altercollection supports altering properties by JsDove in https://github.com/milvus-io/pymilvus/pull/2432
* enhance: [2.5]alterdatabase support delete property by JsDove in https://github.com/milvus-io/pymilvus/pull/2437
* fix: [25]Unify logger and correct logging settings (2397) by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2401
* enhance: refine query iterator cp(2412) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2441
* enhance: [2.5] support hints param by chasingegg in https://github.com/milvus-io/pymilvus/pull/2442
* enhance: [2.5]Add example for milvus client about expression template by xiaocai2333 in https://github.com/milvus-io/pymilvus/pull/2444
* enhance: [2.5] createdatabase support properties by JsDove in https://github.com/milvus-io/pymilvus/pull/2449
* fix: [2.5]fix describe database return type by JsDove in https://github.com/milvus-io/pymilvus/pull/2452
* feat: [2.5] asyncio support by brcarry in https://github.com/milvus-io/pymilvus/pull/2458
* feature: support milvus-client iterator(2465) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2466
* fix: [2.5] add `authorization_interceptor` and `db_interceptor` to async channel by brcarry in https://github.com/milvus-io/pymilvus/pull/2473
* enhance: add search_group_by example for milvus-client(2481) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2484
* enhance: [2.5]add example for null and default_value by smellthemoon in https://github.com/milvus-io/pymilvus/pull/2486
* fix: [2.5] ensure `create_index` and `load_collection` are fully completed by brcarry in https://github.com/milvus-io/pymilvus/pull/2478
* fix: [2.5]Support hybrid search with expression template by xiaocai2333 in https://github.com/milvus-io/pymilvus/pull/2489
* enhance: add use_database by czs007 in https://github.com/milvus-io/pymilvus/pull/2492
* enhance: Sync milvus-proto to latest v2.5.0 by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2494
* fix: [2.5] RuntimeWarning: coroutine 'Channel.close' was never awaited when closing async client by brcarry in https://github.com/milvus-io/pymilvus/pull/2499


**Full Changelog**: https://github.com/milvus-io/pymilvus/compare/v2.5.0...v2.5.1

2.5.0

New features:
- Report cost in the dml and dql request by SimFG in https://github.com/milvus-io/pymilvus/pull/2055
- feat: Support major compaction in ManualCompaction by wayblink in https://github.com/milvus-io/pymilvus/pull/2015
- Support Milvus Lite by junjiejiangjjj in https://github.com/milvus-io/pymilvus/pull/2073
- Enable set_properties and describe_database api by weiliu1031 in https://github.com/milvus-io/pymilvus/pull/2082
- Allowing search iterator on sparse float vector field by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2104
- Accept list of single row scipy.sparse object as input for insert/search by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2111
- Support float16/bfloat16/sparse vector for bulkwriter by yhmo in https://github.com/milvus-io/pymilvus/pull/2127
- Support group_size parameter for search_group_by by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2130
- Upsert support autoid by smellthemoon in https://github.com/milvus-io/pymilvus/pull/2173
- Expose reduce_stop_for_best to users(2181) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2183
- Bulkinsert supports importing binlog by yhmo in https://github.com/milvus-io/pymilvus/pull/2222
- Add page_retain_order param during search with offset by PwzXxm in https://github.com/milvus-io/pymilvus/pull/2229
- Support load with Field Partial load by congqixia in https://github.com/milvus-io/pymilvus/pull/2228
- Support null and default value by smellthemoon in https://github.com/milvus-io/pymilvus/pull/2234
- Support the mmap_enable param in the field schema by SimFG in https://github.com/milvus-io/pymilvus/pull/2238
- Add strict_group_size and rank_group_scorer for hybrid_search(2253) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2254
- Load configuration without altering the environment by laipz8200 in https://github.com/milvus-io/pymilvus/pull/2192
- Update proto to get is_sorted field for GetQuerySegmentInfo by xiaocai2333 in https://github.com/milvus-io/pymilvus/pull/2280
- Support mvcc and break-down-continue for iterator(2278) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2279
- Support new Function feature by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2257
- Supports filling elements through templates for expression by xiaocai2333 in https://github.com/milvus-io/pymilvus/pull/2317
- Add compact, get_server_version and flush api by czs007 in https://github.com/milvus-io/pymilvus/pull/2326

Enhancements
- Upgrade the bulkWriter cloud API call from v1 to v2 by lentitude2tk in https://github.com/milvus-io/pymilvus/pull/2245
- enhance: tidy dependencies in tests by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/1996
- Update sparse+dense hybrid search example by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2005
- Support UDS by junjiejiangjjj in https://github.com/milvus-io/pymilvus/pull/2023
- enhance: Update hello_hybrid_sparse_dense.py example to include BGE reranker by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2028
- enhance: add resource group declarative api by chyezh in https://github.com/milvus-io/pymilvus/pull/2002
- enhance: Make bulk_writer's requirments optional by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2086
- Added grpc as a valid protocol for uri by brunocfnba in https://github.com/milvus-io/pymilvus/pull/2090
- enhance: print search result more elegantly by longjiquan in https://github.com/milvus-io/pymilvus/pull/2123
- enhance: Check PyMilvus on Windows platform by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2136
- Export indexed rows for describe_index by xiaocai2333 in https://github.com/milvus-io/pymilvus/pull/2148
- Add database operations to MilvusClient by ashkrisk in https://github.com/milvus-io/pymilvus/pull/2152
- enhance: enable setting properties during create database by weiliu1031 in https://github.com/milvus-io/pymilvus/pull/2168
- enhance: hide zero values when printing by SimFG in https://github.com/milvus-io/pymilvus/pull/2200
- enhance: use info level for retry message by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2212
- enhance: Make load parameter naming normal by congqixia in https://github.com/milvus-io/pymilvus/pull/2243
- enhance: add bitmap index example by zhagnlu in https://github.com/milvus-io/pymilvus/pull/2376

Bug fixes
- fix: Remove np.view for floatvector by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2048
- fix: pass offset parameter for hybrid search to server by czs007 in https://github.com/milvus-io/pymilvus/pull/2051
- Change sparse related errors to ParamError by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2066
- modified example_tls1.py through MilvusClient by nish112022 in https://github.com/milvus-io/pymilvus/pull/2065
- remove scipy dependency for sparse while still supporting scipy sparse matrix by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2074
- modified example_tls2.py through MilvusClient by nish112022 in https://github.com/milvus-io/pymilvus/pull/2077
- fix sparse: accpet int/float wrapped in string by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2094
- enhance: Expand grpcio version to latest by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2093
- fix the str function of the extra list by SimFG in https://github.com/milvus-io/pymilvus/pull/2099
- fix: wrong expr handling due to and/or priorities(2113) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2114
- fix: use the existed index_name by smellthemoon in https://github.com/milvus-io/pymilvus/pull/2107
- change the load status check interval to 0.2s by SimFG in https://github.com/milvus-io/pymilvus/pull/2121
- Fix a bug of bulkwriter by yhmo in https://github.com/milvus-io/pymilvus/pull/2133
- feat: disable installation of milvus-lite on windows platform (2131) by Raysilience in https://github.com/milvus-io/pymilvus/pull/2134
- enhance: update milvus-proto and correct index.drop() by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2142
- enhance: Update readme to the latest by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2146
- Refine the error message for type mismatches during data insertion by xiaocai2333 in https://github.com/milvus-io/pymilvus/pull/2156
- fix: Coding style by latest ruff by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2159
- enhance: Remove the logic to set replica_number=1 by default by weiliu1031 in https://github.com/milvus-io/pymilvus/pull/2163
- fix: Edit setuptools upper version for py380 by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2182
- Fix comment in iterator implementation by ashkrisk in https://github.com/milvus-io/pymilvus/pull/2187
- Don't export rows info in index params by xiaocai2333 in https://github.com/milvus-io/pymilvus/pull/2190
- fix: remove limitation clustering key can not be primary key by wayblink in https://github.com/milvus-io/pymilvus/pull/2194
- fix: unclear error msg for varchar field by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2208
- Limit milvus-lite files to end with .db by junjiejiangjjj in https://github.com/milvus-io/pymilvus/pull/2214
- fix: select a single column consisting of a list of column names by smellthemoon in https://github.com/milvus-io/pymilvus/pull/2210
- Rename is_major to is_clustering by wayblink in https://github.com/milvus-io/pymilvus/pull/2219
- fix: move page_retain_order to the same level as radius by PwzXxm in https://github.com/milvus-io/pymilvus/pull/2249
- fix: not report error when setting default_value=None by smellthemoon in https://github.com/milvus-io/pymilvus/pull/2251
- enhance: Bulkinsert support csv by OxalisCu in https://github.com/milvus-io/pymilvus/pull/2247
- add hybrid_search for MilvusClient by czs007 in https://github.com/milvus-io/pymilvus/pull/2258
- feat: support keyword text match by longjiquan in https://github.com/milvus-io/pymilvus/pull/2256
- enhance: support print iterator info(2261) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2262
- fix: not put 'default_value' in dict by smellthemoon in https://github.com/milvus-io/pymilvus/pull/2272
- fix not check None Type in json and support no need to pass in None when insert row by smellthemoon in https://github.com/milvus-io/pymilvus/pull/2275
- remove analyzer_params, added enable_tokenizer and tokenizer_params by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2273
- fix: upsert rows when set autoid==true fail by smellthemoon in https://github.com/milvus-io/pymilvus/pull/2286
- feat: allow empty sparse row by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2291
- fix: reset offset to zero after seek(2292) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2293
- fix: remove duplicate field name check in pymilvus by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2294
- enhance: enable compatible for iterator(2278) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2297
- enhance: Enable bulkwriter to support import v2 by bigsheeper in https://github.com/milvus-io/pymilvus/pull/2295
- fix: row based insert/upsert when there is Function in schema by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2298
- Improve embedding retrieval performance by yhmo in https://github.com/milvus-io/pymilvus/pull/2300
- fix: add BM25 to supported metric type of search iterator by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2301
- fix: simplified the logic to check if the insert/request data matches the schema by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2303
- fix: Passing messages to code in ParamError by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2304
- fix: Fix the f16 and bf16 dump error & add all type test for csv & csv supports null by OxalisCu in https://github.com/milvus-io/pymilvus/pull/2281
- enhance: handling cp file for query iterator(2306) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2307
- enhance: handling abormal iterator cp file(2306) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2310
- fix: entity_is_sparse_matrix: each row should be dict or list by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2309
- Fixed typo in comment of step 1 by Armaggheddon in https://github.com/milvus-io/pymilvus/pull/2302
- fix: bulkwriter to skip function output fields by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2319
- enhance: Rename tokenizer_params to analyzer_params by aoiasd in https://github.com/milvus-io/pymilvus/pull/2323
- Corrected grammar and consistency in error messages by Ahmetyasin in https://github.com/milvus-io/pymilvus/pull/2289
- modify strict_group_size parameter name(2328) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2329
- fix queryIterator question by lentitude2tk in https://github.com/milvus-io/pymilvus/pull/2316
- enhance: Update the template expression proto to improve transmission efficiency by xiaocai2333 in https://github.com/milvus-io/pymilvus/pull/2334
- Fix typo and correct grammar by CaoHaiNam in https://github.com/milvus-io/pymilvus/pull/2333
- Update return type of describe_role to Dict (2332) by CaoHaiNam in https://github.com/milvus-io/pymilvus/pull/2337
- Add text embedding function by junjiejiangjjj in https://github.com/milvus-io/pymilvus/pull/2335
- Use filter_params for milvus client by xiaocai2333 in https://github.com/milvus-io/pymilvus/pull/2320
- enhance: Reorganize the examples by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2340
- enhance: RBAC Custom Privilege Group API by shaoting-huang in https://github.com/milvus-io/pymilvus/pull/2342
- fix insert to avoid describe collection on every insert call by zhengbuqian in https://github.com/milvus-io/pymilvus/pull/2347
- Remove unnecessary invoke of describe_collection() by yhmo in https://github.com/milvus-io/pymilvus/pull/2345
- fix: Add upper limit for grpcio to 1.67.1 by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2359
- Correct grammar by CaoHaiNam in https://github.com/milvus-io/pymilvus/pull/2365
- fix: cannot pass consistency level for delete by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2350
- Add default values to Pop to prevent exceptions by czs007 in https://github.com/milvus-io/pymilvus/pull/2373

New Contributors
- codingjaguar made their first contribution in https://github.com/milvus-io/pymilvus/pull/1995
- nish112022 made their first contribution in https://github.com/milvus-io/pymilvus/pull/2065
- brunocfnba made their first contribution in https://github.com/milvus-io/pymilvus/pull/2090
- Raysilience made their first contribution in https://github.com/milvus-io/pymilvus/pull/2134
- OxalisCu made their first contribution in https://github.com/milvus-io/pymilvus/pull/2247
- laipz8200 made their first contribution in https://github.com/milvus-io/pymilvus/pull/2192
- Armaggheddon made their first contribution in https://github.com/milvus-io/pymilvus/pull/2302
- Ahmetyasin made their first contribution in https://github.com/milvus-io/pymilvus/pull/2289
- CaoHaiNam made their first contribution in https://github.com/milvus-io/pymilvus/pull/2333
- zhagnlu made their first contribution in https://github.com/milvus-io/pymilvus/pull/2376

Full Changelog: https://github.com/milvus-io/pymilvus/compare/v2.4.0...v2.5.0

2.4.14

What's Changed
* enhance: [2.4]add database operation example by JsDove in https://github.com/milvus-io/pymilvus/pull/2518
* enhance: [2.4] add release_collection, drop_index, create_partition, drop_partition, load_partition and release_partition by brcarry in https://github.com/milvus-io/pymilvus/pull/2528
* enhance: [2.4] add example code for create_collection, drop_collection, load_collection, release_collection, create_index, drop_index, create_partition, drop_partition, load_partition and release_partition by brcarry in https://github.com/milvus-io/pymilvus/pull/2534
* enhance: use trusted publisher and remove deprecated by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2549
* enhance: [2.4] support recalls for milvus_client by chasingegg in https://github.com/milvus-io/pymilvus/pull/2554
* fix: use correct primary field name in Hits by czs007 in https://github.com/milvus-io/pymilvus/pull/2561
* fix: iterator mismatch when alter alias and database(2555) by MrPresent-Han in https://github.com/milvus-io/pymilvus/pull/2568
* enhance: [24]Publishing releases with trusted publisher by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2582
* fix: Cannot publish to too destinations in one action by XuanYang-cn in https://github.com/milvus-io/pymilvus/pull/2583


**Full Changelog**: https://github.com/milvus-io/pymilvus/compare/v2.4.13...v2.4.14

Page 1 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.