diff --git a/README.md b/README.md index eef2f3f..5352979 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ If you are migrating to version 3.0.0 or above from an earlier version, please c If you are migrating to version 4.0.0 or above from an earlier version, please check the [V4 breaking changes details](./docs/V4_Breaking_Changes.md). +If you are migrating to version 5.0.0 or above from an earlier version, please check the [V5 breaking changes details](./docs/V5_Breaking_Changes.md). + ## Usage We support all the endpoints available in our API. diff --git a/docs/V5_Breaking_Changes.md b/docs/V5_Breaking_Changes.md new file mode 100644 index 0000000..89933dd --- /dev/null +++ b/docs/V5_Breaking_Changes.md @@ -0,0 +1,10 @@ +# V5 breaking changes details + +V5 removes the following fields from the Beam correlation results response; +* features +* phq_impact_sum +* phq_spend_sum +* phq_attendance_sum +* phq_rank_count + +It is recommended to query features directly from [Features API](https://docs.predicthq.com/api/features/get-features) diff --git a/predicthq/endpoints/v1/beam/schemas.py b/predicthq/endpoints/v1/beam/schemas.py index 8c2d156..232662a 100644 --- a/predicthq/endpoints/v1/beam/schemas.py +++ b/predicthq/endpoints/v1/beam/schemas.py @@ -162,11 +162,6 @@ class CorrelationResult(BaseModel): remainder: Optional[float] = None impact_significance: str impact_significance_score: Optional[int] = None - features: dict - phq_impact_sum: int - phq_spend_sum: int - phq_attendance_sum: int - phq_rank_count: int class CorrelationResultSet(BeamPaginationResultSet): diff --git a/predicthq/version.py b/predicthq/version.py index 111dc91..ba7be38 100644 --- a/predicthq/version.py +++ b/predicthq/version.py @@ -1 +1 @@ -__version__ = "4.3.0" +__version__ = "5.0.0"