Skip to content

Commit

Permalink
Release 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sduenas committed Dec 21, 2017
1 parent e828440 commit b2493bb
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 2 deletions.
7 changes: 7 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
Santiago Dueñas <[email protected]>

Contributors:
Andy Grunwald <[email protected]>
Jesus M. Gonzalez-Barahona <[email protected]>
Luis Cañas Díaz <[email protected]>
Miguel Angel Fernandez <[email protected]>
Valerio Cosentino <[email protected]>
54 changes: 54 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# Releases

## Sorting Hat 0.5 - (2017-12-21)

**NOTICE: Database schema generated by SortingHat < 0.5.0 are no longer
compatible. Please check "Compatibility between versions" section from
README.md file**

** New features and improvements: **

* Last modification.

Unique identities and identities log the last time they were modified
by adding, deleting, moving, merging, updating the profile, adding
or removing enrollments operations.

The new `search_last_modified_identities` API function allows to search
for the UUIDs of those identities modified on or after a given date.

* No strict matching option.

This option allows to avoid a rigorous validation of values while
matching identities, for instance, with well formed email addresses
or names with first name and last name. This option is available on
`load` and `unify` commands.

* Reset option while loading.

Before loading any data, if `reset` option is set, all the relationships
between identities and their enrollments will be removed from the
database.

* GrimoireLab support.

GrimoireLab identities and organizations YAML files can be converted
to Sorting Hat JSON format using the script `grimoirelab2sh`.

** Bugs fixed: **

* Fix tables created with invalid collation. In some random situations
Sorting Hat tables appear with an invalid collation. This is related
to a wrong generation of the DDL table statement by SQLAlchemy, which
may randomly prepend the collation information (`MYSQL_COLLATE`) to
the charset one (`MYSQL_CHARSET`), causing the former to be ignored.
Changing `MYSQL_CHARSET` to `MYSQL_DEFAULT_CHARSET` fixed the problem.

* Remove trailing whitespaces in exported JSON files. This error is only
found in Python 2.7 due to a bug in the standard library with
`json.dump()` and `indent` parameter. (#103)

* Update profile information when loading identities. So far, profile
information was set only the first time a unique identity was loaded.
With this change, it will be updated always, except when the given
profile is empty


## Sorting Hat 0.4 - (2017-07-17)

** New features and improvements: **
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ After this initialize a new database:

## Compatibility between versions

SortingHat databases previous to 0.5.0.dev are no longer compatible. The
SortingHat databases previous to 0.5.0 are no longer compatible. The
database schema changed in `uidentites` and `identities` tables to add the
field `last_modified` to log when a record was updated.

Expand Down
2 changes: 1 addition & 1 deletion sortinghat/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
__version__ = "0.5.0.dev"
__version__ = "0.5.0"

0 comments on commit b2493bb

Please sign in to comment.