1. Compatibility
PyMilvus 2.x **only supports** Milvus 2.x and is **not compatible** with Milvus 1.x.
See [Milvus v2.0.0-RC1 Release Notes](https://milvus.io/docs/v2.0.0/release_notes.md)
2. Breaking changes
Following are changes on PyMilvus APIs in **v2.0.0rc1**.
- **The package name is changed to `pymilvus`**, which means the former statement `from milvus import Milvus` is no longer valid. Please change it to the following statement.
python
from pymilvus import Milvus
- `Milvus v2.0.0-RC1` does not support delete, so **all the APIs about delete are not supported in this release**.
- `get_entity_by_id()` is replaced by `query()`.
3. Miscellaneous
These APIs have some changes: `get_collection_stats()` , `create_index()`.
These APIs are removed: `get_collection_info()`, `count_entities()`, `compact()`, `delete_entity_by_id()`, `get_entity_by_id()`, `reload_segments()`, `list_id_in_segment()`, `get_index_info()`, `search_in_segment()`, `get_config()`, `set_config()`.
These APIs are new in PyMilvus v2.0.0rc1: `describe_collection()`, `load_partitions()`, `release_partitions()`, `describe_index()`, `get_partition_stats()`, `search_with_expression()`, `query()`.