Releases: milvus-io/pymilvus
Releases · milvus-io/pymilvus
PyMilvus 2.5.5 Release Notes
What's Changed
- enhance: Add schema update time verification to insert and upsert to use cache by @JsDove in #2596
- enhance: enable describe_replica api in milvus client (#2541) by @weiliu1031 in #2599
- enhance: get and delete to use schema cache by @JsDove in #2607
- feat: add external filter func for search iterator v2 by @PwzXxm in #2641
- enhance: describecollection output add created_timestamp by @JsDove in #2619
- add
db_name
parameter atbulk_import
(#2446) by @XuanYang-cn in #2666 - enhance: Multi-cp from master to 2.5.x by @XuanYang-cn in #2668
Bug Fixes
- fix BulkWriter bug for Array type field by @yhmo in #2624
- fix BulkWriter bug for nullable field by @yhmo in #2634
- fix: Unify output of str(DataType) for different pythons (#2635) by @XuanYang-cn in #2637
- grpc thread is not released each time connections.connect() is failed by @yhmo in #2649
- fix: update properties parameter type in alter_collection_properties … by @elijahxb in #2590
- fix bug for BulkWriter with nullable/default_value fields by @yhmo in #2653
- fix: remove set batchsize to ef for param flat(#2626) by @MrPresent-Han in #2669
- enhance: add examples for text match (#2383) by @XuanYang-cn in #2667
- fix: Add and check timeout param in database api by @XuanYang-cn in #2665
New Contributors
Full Changelog: v2.5.4...v2.5.5
PyMilvus 2.4.15 Release Notes
What's Changed
- enhance: Add schema update time verification to insert and upsert to use cache by @JsDove in #2597
- enhance: enable describe_replica api in milvus client (#2541) by @weiliu1031 in #2600
- enhance: get and delete to use schema cache by @JsDove in #2608
- Fix BulkWriter bug for Array type field by @yhmo in #2625
- fix: Unify output of str(DataType) for different pythons (#2635) by @XuanYang-cn in #2638
- grpc thread is not released each time connections.connect() is failed by @yhmo in #2648
- enhance: describecollection output add created_timestamp by @JsDove in #2620
Full Changelog: v2.4.14...v2.4.15
PyMilvus 2.5.4 Release Notes
What's Changed
- enhance: simplify the structure of search_params(#2507)(#2537)(#2540) by @smellthemoon in #2550
- enhance: use trusted publisher and remove deprecated by @XuanYang-cn in #2548
- enhance: support recalls for milvus_client by @chasingegg in #2553
- fix: use correct primary field name in Hits by @czs007 in #2560
- fix: iterator mismatch when alter alias and database(#2555) by @MrPresent-Han in #2565
- fix: use dummy call for search iterator v2 compatibility by @PwzXxm in #2570
- fix typo(#2563) by @smellthemoon in #2564
- fix: unset collection_name for search iterator_v1(#2555) by @MrPresent-Han in #2575
- fix: should not modify users search_param, copy instead by @PwzXxm in #2578
- enhance: Publishing releases with trusted publisher by @XuanYang-cn in #2581
- fix: Cannot publish to too destinations in one action by @XuanYang-cn in #2584
Full Changelog: v2.5.3...v2.5.4
PyMilvus 2.4.14 Release Notes
What's Changed
- enhance: [2.4]add database operation example by @JsDove in #2518
- enhance: [2.4] add release_collection, drop_index, create_partition, drop_partition, load_partition and release_partition by @brcarry in #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 #2534
- enhance: use trusted publisher and remove deprecated by @XuanYang-cn in #2549
- enhance: [2.4] support recalls for milvus_client by @chasingegg in #2554
- fix: use correct primary field name in Hits by @czs007 in #2561
- fix: iterator mismatch when alter alias and database(#2555) by @MrPresent-Han in #2568
- enhance: [24]Publishing releases with trusted publisher by @XuanYang-cn in #2582
- fix: Cannot publish to too destinations in one action by @XuanYang-cn in #2583
Full Changelog: v2.4.13...v2.4.14
PyMilvus 2.5.3 Release Notes
What's Changed
- enhance: add search iterator v2 by @PwzXxm in #2524
- enhance:refine search iter v2 warning by @PwzXxm in #2527
- enhance: add release_collection, drop_index, create_partition, drop_partition, load_partition and release_partition by @brcarry in #2529
- fix: fix search iter v2 limit compatibility by @PwzXxm in #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 #2535
- enhance: add database operation example by @JsDove in #2517
Full Changelog: v2.5.2...v2.5.3
PyMilvus 2.5.2 Release Notes
What's Changed
- fix: [2.5] await conn.describe_collection in async client's query by @brcarry in #2502
- enhance: [2.5]add alter properties example by @JsDove in #2505
- fix: grant ManualCompact api doesn't work (#2396) by @weiliu1031 in #2509
- fix: [2.5] fix privilege typo by @shaoting-huang in #2512
- enhance: Enable resource group api in milvus client (#2513) by @weiliu1031 in #2514
Full Changelog: v2.5.1...v2.5.2
PyMilvus 2.4.13 Release Notes
What's Changed
- fix: [2.4] await conn.describe_collection in async client's query by @brcarry in #2501
- enhance: [2.4]add alter properties example by @JsDove in #2506
- fix: grant ManualCompact api doesn't work (#2396) by @weiliu1031 in #2508
- fix: [2.4] fix privilege typo by @shaoting-huang in #2511
- enhance: Enable resource group api in milvus client (#2513) by @weiliu1031 in #2515
Full Changelog: v2.4.12...v2.4.13
PyMilvus 2.5.1 Release Notes
New Features
Support AsyncIO (EXPERIMENTAL)
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!
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 #2384
- enhance: [2.5] grant/revoke v2 optional db and collection params by @shaoting-huang in #2393
- feat: [2.5] support recalls field in SearchResult by @chasingegg in #2391
- fix: [2.5] fix list aliases rpc call and grant/revoke v2 by @shaoting-huang in #2405
- extend unlimted offset for query iterator(#2418) by @MrPresent-Han in #2421
- fix: [2.5]Add is_clustering params for get_compaction_plans in orm by @xiaocai2333 in #2430
- enhance: [2.5] rbac privilege group and grant v2 examples by @shaoting-huang in #2427
- enhance: alterindex & altercollection supports altering properties by @JsDove in #2432
- enhance: [2.5]alterdatabase support delete property by @JsDove in #2437
- fix: [25]Unify logger and correct logging settings (#2397) by @XuanYang-cn in #2401
- enhance: refine query iterator cp(#2412) by @MrPresent-Han in #2441
- enhance: [2.5] support hints param by @chasingegg in #2442
- enhance: [2.5]Add example for milvus client about expression template by @xiaocai2333 in #2444
- enhance: [2.5] createdatabase support properties by @JsDove in #2449
- fix: [2.5]fix describe database return type by @JsDove in #2452
- feat: [2.5] asyncio support by @brcarry in #2458
- feature: support milvus-client iterator(#2465) by @MrPresent-Han in #2466
- fix: [2.5] add
authorization_interceptor
anddb_interceptor
to async channel by @brcarry in #2473 - enhance: add search_group_by example for milvus-client(#2481) by @MrPresent-Han in #2484
- enhance: [2.5]add example for null and default_value by @smellthemoon in #2486
- fix: [2.5] ensure
create_index
andload_collection
are fully completed by @brcarry in #2478 - fix: [2.5]Support hybrid search with expression template by @xiaocai2333 in #2489
- enhance: add use_database by @czs007 in #2492
- enhance: Sync milvus-proto to latest v2.5.0 by @XuanYang-cn in #2494
- fix: [2.5] RuntimeWarning: coroutine 'Channel.close' was never awaited when closing async client by @brcarry in #2499
Full Changelog: v2.5.0...v2.5.1
PyMilvus 2.4.12 Release Notes
What's Changed
- fix: [2.4] RuntimeWarning: coroutine 'Channel.close' was never awaited when closing async client by @brcarry in #2498
Full Changelog: v2.4.11...v2.4.12
PyMilvus 2.4.11 Release Notes
New Features
Support AsyncIO (EXPERIMENTAL)
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!
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")
if __name__ == "__main__":
asyncio.run(main())
Other new features
- enhance: grant/revoke v2 optional db and collection params by @shaoting-huang in #2392
- feat: support recalls field in SearchResult by @chasingegg in #2389
- feature: support milvus-client iterator by @MrPresent-Han in #2465
- enhance: add use_database by @czs007 in #2493
Enhancements
- extend unlimted offset for query iterator(#2418) by @MrPresent-Han in #2420
- enhance: alterindex & altercollection supports altering properties by @JsDove in #2423
- enhance: rbac privilege group and grant v2 examples by @shaoting-huang in #2426
- enhance: alterdatabase support delete property by @JsDove in #2439
- enhance: add search_group_by example for milvus-client(#2481) by @MrPresent-Han in #2483
- fix: Support hybrid search with expression template by @xiaocai2333 in #2490
- enhance: Add example for milvus client about expression template by @xiaocai2333 in #2445
- enhance: createdatabase support properties by @JsDove in #2450
- enhance: refine search_group_by_example(#2481) by @MrPresent-Han in #2485
Bug fixes
- fix: Unify logger and correct logging settings (#2397) by @XuanYang-cn in #2402
- fix: fix list aliases rpc call and grant/revoke v2 by @shaoting-huang in #2404
- fix: Add is_clustering params for get_compaction_plans in orm by @xiaocai2333 in #2429
- fix: fix describe database return type by @JsDove in #2453
- fix: resolve conflicts and update connections.py by @brcarry in #2462
- fix: add
authorization_interceptor
anddb_interceptor
to async channel by @brcarry in #2472 - fix: ensure
create_index
andload_collection
are fully completed by @brcarry in #2477
Full Changelog: v2.4.10...v2.4.11