From 8c3a19cf56aff2af68dfc2ef06e19390e09ee09a Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 2 Feb 2017 01:42:27 -0400 Subject: [PATCH] Bump version to 2.1.7. Add release note and changelog. --- HISTORY.rst | 9 ++++ docs/releases/2.1.7.rst | 102 ++++++++++++++++++++++++++++++++++++++++ docs/releases/index.rst | 1 + mayan/__init__.py | 4 +- 4 files changed, 114 insertions(+), 2 deletions(-) create mode 100644 docs/releases/2.1.7.rst diff --git a/HISTORY.rst b/HISTORY.rst index a9f77c3c2e..3573e665ac 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,3 +1,12 @@ +2.1.7 (2017-02-01) +================== +- Improved user management API endpoints. +- Improved permissions API endpoints. +- Improvements in the API tests of a few apps. +- Addition Content type list API view to the common app. +- Add API endpoints to the events app. +- Enable the parser and validation fields of the metadata serializer. + 2.1.6 (2016-11-23) ================= - Fix variable name typo in the rotation transformation class. diff --git a/docs/releases/2.1.7.rst b/docs/releases/2.1.7.rst new file mode 100644 index 0000000000..d4eba94951 --- /dev/null +++ b/docs/releases/2.1.7.rst @@ -0,0 +1,102 @@ +=============================== +Mayan EDMS v2.1.7 release notes +=============================== + +Released: February 2, 2017 + +What's new +========== + +This is a bug-fix release and all users are encouraged to upgrade. The focus +of this micro release was REST API improvement. + +Changes +------------- + +- Improved user management API endpoints (initial work by @lokeshmanmode): + + - Improved user creation API endpoint to allow specifying the group + membership. + - Improved user editing API endpoint to allow specifying the group + membership. + +- Improved permissions API endpoints (initial work by @lokeshmanmode): + + - Add permission list API endpoint. This API endpoint lists all possible + permissions in the system. + - Improved role creation API endpoint to allow specifying the role's group + membership and role's permissions. + - Improved role editing API endpoint to allow specifying the role's group + membership and role's permissions. + +- Improvements in the API tests of a few apps. +- Add content type list API view to the common app. Content type is required + when querying the events of an object, this view show list of content types + available. +- Add event type list api view. This API view shows all the possible events + that are registered in the system. +- Add event list API view. This view shows all the events that have taken + place in the system. +- Add object event list API view. This view show all the events for a specific + object (document, etc). The content type of the object whose events are being + requested must be specified. The list of available content types is provided + now by the common app API. +- The parser and validation fields of the metadata type model have been enable + in the metadata type API serializer. + +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 144af6e26f..de40317d59 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.1.7 2.1.6 2.1.5 2.1.4 diff --git a/mayan/__init__.py b/mayan/__init__.py index 86974477eb..43c74b02a1 100644 --- a/mayan/__init__.py +++ b/mayan/__init__.py @@ -1,8 +1,8 @@ from __future__ import unicode_literals __title__ = 'Mayan EDMS' -__version__ = '2.1.6' -__build__ = 0x020106 +__version__ = '2.1.7' +__build__ = 0x020107 __author__ = 'Roberto Rosario' __author_email__ = 'roberto.rosario@mayan-edms.com' __description__ = 'Free Open Source Electronic Document Management System'