0.3.0
Sorting Hat 0.3 - (2017-03-21)
NOTICE: UUIDs generated by SortingHat < 0.3.0 are no longer compatible.
Please check "Compatibility between versions" section from README.md file
New features and improvements:
-
New algorithm to genere UUIDs.
UUIDs were generated using case and accent sensitive values with the seed
(source:email:name:username)
. This means that for any identity with the
same values in lower or upper case (i.e:[email protected]
and[email protected]
)
or with the same values accent or unaccent (i.e:John Smith
orJöhn Smith
)
would have different UUIDs for any of these combinations.The new algorithm changes upper to lower case characters and converts accent
characters to their canonical form before the UUIDs is generated.This change is caused by the behaviour of MySQL with case configurations
and accent and unaccent characters. MySQL considers those characters the same,
raisingIntegrityError
exceptions when similar tuple values are inserted
into the database. Generating the same UUID for these cases will prevent the
error.Take into account that previous UUIDs are no longer compatible with this
version of SortingHat. You should regenerate the UUIDs following the steps
described in section Compatibility between versions fromREADME.md
file.
Bugs fixed:
-
Any non-empty value in email field was used during the affiliation. This
caused some errors for non valid email addresses like with 'email@' cases,
which raised aIndexError
exception. This bug has been fixed using valid
email addresses only during the affiliation. -
Invalid database names were allowed in
init
command.