Repository navigation
STF-2532: Deprecate ShippingAddress::$isHighRisk #313
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,19 @@ | ||
| CHANGELOG | ||
| ========= | ||
|
|
||
| 3.8.1 | ||
| 3.9.0 | ||
| ------------------ | ||
|
|
||
| * Deprecated `isHighRisk` in `MaxMind\MinFraud\Model\ShippingAddress`. The | ||
| minFraud web service is removing the `shipping_address.is_high_risk` field | ||
| from its responses. The property will be removed in 4.0.0. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: this entry does not say what callers will see. After the web service stops sending the field, Suggest one more sentence, for example: "Until then, the property is 🤖 Comment by Claude Opus 5.5. |
||
| * Updated the documentation for the email and phone verification inputs. Set | ||
| `wasVerificationSuccessful` and `phoneWasVerificationSuccessful` to `true` | ||
| if your system considers the email address or phone number verified as of | ||
| the time of the event. Set them to `false` if it is not verified, for | ||
| example if its only verification is pending or failed. If your system does | ||
| not track verification, leave them unset. Set a verification time only when | ||
| the value is `true`. There are no code changes. | ||
| the value is `true`. This is a documentation change. | ||
|
|
||
| 3.8.0 (2026-11-18) | ||
| ------------------ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,10 +18,12 @@ class ShippingAddress extends Address | |
| public readonly ?int $distanceToBillingAddress; | ||
|
|
||
| /** | ||
| * @var bool|null This property is true if the shipping | ||
| * address is an address associated with fraudulent transactions. The property | ||
| * is false when the address is not associated with increased risk. The | ||
| * property will be `null` when a shipping address is not provided. | ||
| * @var bool|null This is true if the shipping address is associated with | ||
| * fraudulent transactions. The minFraud web service | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: this says the web service "deprecated this field", but the changelog says the web service "is removing" it from its responses. "Deprecated" can suggest that the field is still sent. The removal is what makes the value Suggest the changelog wording here, for example: "The minFraud web service is removing this field from its responses. This is 🤖 Comment by Claude Opus 5.5. |
||
| * deprecated this field. This is `null` when the web | ||
| * service does not return it. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit, optional: no test covers the case that this doc now describes as normal. The runtime code does not change in this PR, so this is a regression guard for the period before 4.0.0, not a test of this change. 🤖 Comment by Claude Opus 5.5. |
||
| * | ||
| * @deprecated 3.9.0 this property will be removed in 4.0.0 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit, optional: the 🤖 Comment by Claude Opus 5.5. |
||
| */ | ||
| public readonly ?bool $isHighRisk; | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit, optional: when this library deprecated the Factors subscores (3.2.0-beta.2), the CHANGELOG entry linked to the minFraud release notes. Consider a link to the release note for this removal, so users can find the date and the reason. If this release ships before that release note is published, ignore this.
🤖 Comment by Claude Opus 5.5.