Skip to content

Commit

Permalink
Merge pull request #156 from maxmind/greg/deprecate-subscores
Browse files Browse the repository at this point in the history
Deprecate Factors subscores
  • Loading branch information
oschwald authored Oct 24, 2024
2 parents 878fdb1 + 1f666d2 commit 3d604b1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
History
-------

2.12.0
+++++++++++++++++++

* The minFraud Factors subscores have been deprecated. They will be removed
in March 2025. Please see `our release notes <https://dev.maxmind.com/minfraud/release-notes/2024/#deprecation-of-risk-factor-scoressubscores>`_
for more information.

2.12.0b1 (2024-09-06)
+++++++++++++++++++++

Expand Down
6 changes: 6 additions & 0 deletions minfraud/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,9 @@ def _create_warnings(warnings: List[Dict[str, str]]) -> Tuple[ServiceWarning, ..
class Subscores:
"""Risk factor scores used in calculating the overall risk score.
.. deprecated:: 2.12.0
Use RiskScoreReason instead.
.. attribute:: avs_result
The risk associated with the AVS result. If present, this is a value
Expand Down Expand Up @@ -1329,6 +1332,9 @@ class Factors:
individual risk factors that are used to calculate the overall risk
score.
.. deprecated:: 2.12.0
Use RiskScoreReason instead.
.. attribute:: risk_score_reasons
This tuple contains :class:`.RiskScoreReason` objects that describe
Expand Down

0 comments on commit 3d604b1

Please sign in to comment.