How to migrate to the new Evidently version?
Change | Date | Description |
---|---|---|
New API. Version 0.6 | January 2025 | Evidently 0.6 brought an updated core API with a new Report object. You can learn more in the blog.
|
Transition period. Versions 0.6 to 0.6.7 | - | During the transition period, both APIs co-existed in the library. For version between 0.6 and 0.6.7, you can choose either option:
|
Breaking change. Version 0.7. | April 2025 | Evidently 0.7 release makes the new API the default.
|
0.6.7
or earlier.column_mapping
with data_definition
. Now, you also need to explicitly create an Evidently Dataset
object instead of just passing a dataframe when running a Report. Each Dataset
object has an associated DataDefinition
.
While similar to column mapping, this new structure lets you cleanly map input columns based on their type (e.g., categorical, numerical, datetime, text) and role (e.g., target, prediction, timestamp). A column can have both a type and role.
You can also now map multiple targets and predictions inside the same table: e.g., if you deal with multiple regression or have several classification results in one table.
Automated column type/role mapping is still available. Additionally, new mappings for LLM use cases, like RAG, will be supported.