Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate Factors subscores #182

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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