Releases: chaoss/grimoirelab-sortinghat
0.7.21-rc.6
sortinghat 0.7.21-rc.6 - (2022-09-26)
Others:
- Update package dependencies
Update jinja2 package and dev-dependencies.
0.7.21-rc.5
sortinghat 0.7.21-rc.5 - (2022-09-26)
Others:
- Update package dependencies
Update jinja2 package and dev-dependencies.
0.7.21-rc.4
sortinghat 0.7.21-rc.4 - (2022-09-26)
Others:
- Update package dependencies
Update jinja2 package and dev-dependencies.
0.7.21
sortinghat 0.7.21 - (2022-09-26)
Others:
- Update package dependencies
Update jinja2 package and dev-dependencies.
0.7.21-rc.3
sortinghat 0.7.21-rc.3 - (2022-09-23)
- Update Poetry's package dependencies
0.7.21-rc.2
sortinghat 0.7.21-rc.2 - (2022-09-09)
- Update Poetry's package dependencies
0.7.21-rc.1
sortinghat 0.7.21-rc.1 - (2022-09-06)
- Update Poetry's package dependencies
0.7.20
Sorting Hat 0.7.20 - (2022-06-02)
Bug fixes:
- [gitdm] Skip invalid format lines
Gitdm parser won't fail reading files with an invalid format. Instead,
it will ignore invalid content.
0.7.0
Sorting Hat 0.7 - (2018-10-02)
NOTICE: Database schema generated by SortingHat < 0.7.0 is still
compatible but older versions can have problems inserting UTF-8
characters of 4 bytes.
Python 2.7 is no longer supported.
Please check "Compatibility between versions" section from README.md file.
New features and improvements:
-
Python 2.7 not longer supported
As Python 2.x will not be maintained after 2020, SortingHat is only
compatible with Python >= 3.4. -
Low level API
This API is able to execute basic operations over the database, such
as adding or removing identities or finding entities. All these operations
work within a session. Nothing is stored in the database until the
session is closed. Thus, these functions can be considered as "bricks",
that combined can create high-level functions. -
Storage of UTF-8 4-bytes characters
The default charset of UTF-8 (utf8) in MySQL/MariaDB does not support,
even when they are part of the standard, 4-bytes long characters.
This means characters like emojis or certain chinese characters cannot
be inserted. Usually, identities names or usernames have these types of
characters.The charset that fully supports UTF-8 is
utf8mb4
using the collation
utf8mb4_unicode_520_ci
. This collation implements the suggested Unicode
Collation Algorithm (v5.2).Using
utf8mb4
also implies that the maximum size of char (VARCHAR and
so on) columns is 191. Indexes cannot be larger than that when using
InnoDB engine.Starting on 0.7 series, SortingHat is using this charset.
-
Handle disconnection using pessimistic mode
SQLAlchemy offers a pessimistic mode to handle database disconnection.
Settingpool_pre_ping
parameter on the database engine will check if
the database connection is still active when a session of the connection
pool is reused. This causes a small hit in the performance but it's worth
it. -
Use a optimistic approach when inserting data
With this optimistic approach, no more queries to check whether an entity
exists on the database are run prior to its insertion.
0.6.0
Sorting Hat 0.6 - (2018-03-05)
NOTICE: Database schema generated by SortingHat < 0.6.0 are no longer
compatible. Please check "Compatibility between versions" section from
README.md file
New features and improvements:
-
Gender.
Unique identities gender can be set in the profile using the command
profile
and data will be stored in the table of the same name. This table
adds two new fields:gender
, a free text field to set the gender
value, andgender_acc
, to set the accuracy of the gender - in a range
of 1 to 100 - when it is set using automatic options.The new command
autogender
has also been added. It assigns a gender
to each unique identity using the name of the profile and the information
provided byhttp://genderize.io
. Possible values are male or female. -
Option for reusing a database.
An existing database can be reused when
init
command is called. So far,
when the database was already created, this command raised an exception. -
Version option.
Calling
sortinghat
with the option-v | --version
prints the version
ofsortinghat
running on the system. -
Tests improvements.
Some minor changes were done in the testing area. The main ones were to
support MariaDB engine and to use a remote testing database.