Skip to content

Commit 00482e0

Browse files
committed
Replace NamedTuple subclasses for model code
1 parent 807f465 commit 00482e0

File tree

5 files changed

+457
-454
lines changed

5 files changed

+457
-454
lines changed

HISTORY.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@
33
History
44
-------
55

6-
2.12.0
6+
3.0.0
77
+++++++++++++++++++
88

9+
* BREAKING CHANGE: The ``minfraud.model.*`` classes have been refactored to
10+
simplify them and make them more flexible. They are no longer subclass
11+
NamedTuple and are now standard Python classes. This also means the
12+
classes are no longer immutable. For most users, these differences should
13+
not impact their integration.
14+
* BREAKING CHANGE: Model attributes that were formerly tuples are now lists.
915
* The minFraud Factors subscores have been deprecated. They will be removed
1016
in March 2025. Please see `our release notes <https://dev.maxmind.com/minfraud/release-notes/2024/#deprecation-of-risk-factor-scoressubscores>`_
1117
for more information.

0 commit comments

Comments
 (0)