@@ -2,6 +2,39 @@ Changelog
2
2
=========
3
3
4
4
5
+ v0.2.0 (2019-04-24)
6
+ -------------------
7
+
8
+ * Make ``.calcs.pearson `` raise a ``ZeroDivisionError `` when the standard
9
+ deviation of one/both sets of data is zero. This will be caught by
10
+ ``Aniffinity.calculate_affinity `` and will then raise the usual
11
+ ``NoAffinityError ``, so scripts using this package will not need to
12
+ be modified.
13
+ * Fix the faulty URL resolving in the resolving function. Valid usernames
14
+ starting with "http" will now be handled correctly, instead of having an
15
+ exception raised when no accompanying service is specified.
16
+ * Move the user/service resolving functions to ``resolver.py ``, and rename
17
+ these functions to more meaningful names. Additionally, make these functions
18
+ non-protected, adding in official support for them.
19
+ * Change the repr of the ``Aniffinity `` class to make it more accurate.
20
+ * Update various docstrings to make more sense and be more accurate.
21
+ * Bump the version for the dependency ``json-api-doc `` to ``v0.7.x ``.
22
+ * Handle the ``Decimal `` handling in ``.calcs.pearson `` better, by converting
23
+ all of the values in each list to strings before passing them to
24
+ ``decimal.Decimal ``.
25
+ * Round affinity values by default to 10dp, so floating-point issues no longer
26
+ need to be accounted for. This can be bypassed by the user, should they wish
27
+ to do so.
28
+ * Don't convert the scores lists to ``list ``-s to make them non-lazy, as this
29
+ is already done.
30
+ * Allow the username & service to be specified as a string, in the
31
+ form ``service:username ``.
32
+ * Resolve the ``user `` before raising exceptions, allowing the exception
33
+ messages to include the service as well as the username.
34
+ * Include the relevant usernames in the "standard deviation is zero"
35
+ exception message in ``NoAffinityError ``.
36
+
37
+
5
38
v0.1.2 (2019-04-15)
6
39
-------------------
7
40
0 commit comments