Skip to content

Commit

Permalink
Merge pull request #182 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 2da7473 + 8e2bb27 commit 3e144bd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
CHANGELOG
=========

3.2.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.

3.2.0-beta.1 (2024-09-06)
-------------------------

Expand Down
2 changes: 2 additions & 0 deletions src/MinFraud/Model/Factors.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class Factors extends Insights
* @var Subscores an object containing scores for many of the individual
* risk factors that are used to calculate the overall risk
* score
*
* @deprecated use riskScoreReasons instead
*/
public readonly Subscores $subscores;

Expand Down
2 changes: 2 additions & 0 deletions src/MinFraud/Model/Subscores.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

/**
* The scores for risk factors that are used in calculating the riskScore.
*
* @deprecated use RiskScoreReason instead
*/
class Subscores implements \JsonSerializable
{
Expand Down

0 comments on commit 3e144bd

Please sign in to comment.