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 #106

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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v2.7.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.

## v2.7.0.beta1 (2024-09-06)

* Added support for the new risk reasons outputs in minFraud Factors. The risk
Expand Down
1 change: 1 addition & 0 deletions lib/minfraud/model/factors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class Factors < Insights
# that are used to calculate the overall risk score.
#
# @return [Minfraud::Model::Subscores]
# @deprecated Use {::risk_score_reasons} instead.
attr_reader :subscores

# @!visibility private
Expand Down
2 changes: 2 additions & 0 deletions lib/minfraud/model/subscores.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
module Minfraud
module Model
# Score for risk factors that are used in calculating the riskScore.
#
# @deprecated Use {RiskScoreReason} instead.
class Subscores < Abstract
# The risk associated with the AVS result. If present, this is a value in
# the range 0.01 to 99.
Expand Down