******
**Release Date: 2019-11-24**
Added
=====
Primary Modules
---------------
Additions to the :doc:`primary modules <primary-modules>`.
* Added the :py:func:`khorosjx.core.__api_request_with_payload` function to leverage for both POST and PUT requests.
* Added the :py:func:`khorosjx.core.post_request_with_retries` function for POST requests, which leverages the
private function above.
* Added the :py:func:`khorosjx.groups.add_user_to_group` function.
* Added the :py:func:`khorosjx.groups.check_user_membership` function.
-----
Supporting Modules
------------------
Additions to the :doc:`supporting modules <supporting-modules>`.
* Added the :py:func:`khorosjx.utils.core_utils.eprint` function to print error messages to stderr and onscreen.
* Added the :py:exc:`khorosjx.errors.exceptions.POSTRequestError`,
:py:exc:`khorosjx.errors.exceptions.InvalidScopeError`, :py:exc:`khorosjx.errors.exceptions.InvalidLookupTypeError`,
:py:exc:`khorosjx.errors.exceptions.InvalidEndpointError`,
:py:exc:`khorosjx.errors.exceptions.InvalidRequestTypeError` and
:py:exc:`khorosjx.errors.exceptions.APIConnectionError` exception classes.
-----
Documentation
-------------
* Added the :doc:`Core Functionality <core-functionality>` page with instructions on leveraging the core
functionality of the library. (Page is still a work in progress)
* Added the :doc:`Managing Users <managing-users>` page with instructions on managing users by leveraging
the library. (Page is still a work in progress)
* Added the :doc:`Basic Usage <basic-usage>` page with the intent of inserting it into more than one page.
Changed
=======
General
-------
* Updated the classifiers in `setup.py <https://github.com/jeffshurtliff/khorosjx/blob/master/setup.py>`_
to specifically reference Python 3.6, 3.7 and 3.8.
-----
Primary Modules
---------------
Changes to existing functions in the :doc:`primary modules <primary-modules>`.
* Updated the :py:func:`khorosjx.core.get_data` function to accept ``username`` as an identifier for the
``people`` endpoint.
* Updated the :py:func:`khorosjx.core.get_request_with_retries` function to include the ``return_json`` optional
argument. (Disabled by default)
* Refactored the :py:func:`khorosjx.core.put_request_with_retries` function to leverage
the :py:func:`khorosjx.core.__api_request_with_payload` function.
* Updated the :py:func:`khorosjx.users.get_user_id` function to accept a username as well as an email address.
-----
Supporting Modules
------------------
Changes to existing functions in the :doc:`supporting modules <supporting-modules>`.
* Expanded the functionality of the :py:func:`khorosjx.errors.handlers.check_api_response` function.
-----
Documentation
-------------
* Updated the :doc:`Introduction <introduction>` page to insert the :ref:`introduction:Basic Usage` content.
* Added the :doc:`Basic Usage <basic-usage>` page with the intent of inserting it into more than one page.
:doc:`Return to Top <changelog>`
|
******