diff --git a/HISTORY.rst b/HISTORY.rst index 75b9212817..849f2c0811 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,3 +1,8 @@ +2.5.2 (2017-07-08) +================== +- Improve new document creation signal handling. + Fixes issue with duplicate scanning at upload. + 2.5.1 (2017-07-08) ================== - Update release target due to changes in PyPI. diff --git a/docs/releases/2.5.2.rst b/docs/releases/2.5.2.rst new file mode 100644 index 0000000000..6e8fb4e52e --- /dev/null +++ b/docs/releases/2.5.2.rst @@ -0,0 +1,74 @@ +=============================== +Mayan EDMS v2.5.2 release notes +=============================== + +Released: July 08, 2017 + +What's new +========== + +Improve duplicate document scan +------------------------------- +Previously the way document creation code was enclosed in a single database +transactions. This cause the duplicate scan at upload code to received a +document reference to uncommitted database data. The single database +transaction was split into smaller units to make sure the duplicate scan +recevies saved and committed data. + + +Removals +-------- +* None + +Upgrading from a previous version +--------------------------------- + +Using PIP +~~~~~~~~~ + +Type in the console:: + + $ pip install -U mayan-edms + +the requirements will also be updated automatically. + +Using Git +~~~~~~~~~ + +If you installed Mayan EDMS by cloning the Git repository issue the commands:: + + $ git reset --hard HEAD + $ git pull + +otherwise download the compressed archived and uncompress it overriding the +existing installation. + +Next upgrade/add the new requirements:: + + $ pip install --upgrade -r requirements.txt + +Common steps +~~~~~~~~~~~~ + +Migrate existing database schema with:: + + $ mayan-edms.py performupgrade + +Add new static media:: + + $ mayan-edms.py collectstatic --noinput + +The upgrade procedure is now complete. + + +Backward incompatible changes +============================= + +* None + +Bugs fixed or issues closed +=========================== + +* None + +.. _PyPI: https://pypi.python.org/pypi/mayan-edms/ diff --git a/docs/releases/index.rst b/docs/releases/index.rst index f3831f12ba..465eaf6ec3 100644 --- a/docs/releases/index.rst +++ b/docs/releases/index.rst @@ -22,6 +22,7 @@ versions of the documentation contain the release notes for any later releases. .. toctree:: :maxdepth: 1 + 2.5.2 2.5.1 2.5 2.4 diff --git a/mayan/__init__.py b/mayan/__init__.py index 0c10619b82..bdd20405f4 100644 --- a/mayan/__init__.py +++ b/mayan/__init__.py @@ -1,8 +1,8 @@ from __future__ import unicode_literals __title__ = 'Mayan EDMS' -__version__ = '2.5.1' -__build__ = 0x020501 +__version__ = '2.5.2' +__build__ = 0x020502 __author__ = 'Roberto Rosario' __author_email__ = 'roberto.rosario@mayan-edms.com' __description__ = 'Free Open Source Electronic Document Management System'