v2.5.2

Release Date: 2020-05-25

Added

Primary Modules

Additions to the primary modules.

Documentation

Additions to the documentation.

Changed

Primary Modules

Changes to the primary modules.

Supporting Modules

Changes to the supporting modules.

  • Renamed the khoros.utils.core_utils.__is_zero_length() function to be khoros.utils.core_utils._is_zero_length() instead.

  • Renamed the khoros.utils.core_utils.__structure_query_string() function to be khoros.utils.core_utils._structure_query_string() instead.

Documentation

Changes to the documentation.

Return to Top



v2.5.1

Release Date: 2020-05-20

Added

Primary Modules

Additions to the primary modules.

Supporting Modules

Additions to the supporting modules.

Documentation

Additions to the documentation.

Changed

Documentation

Changes to the documentation.

Return to Top



v2.5.0

Release Date: 2020-05-18

Added

Primary Modules

Additions to the primary modules.

Supporting Modules

Additions to the supporting modules.

Documentation

Additions to the documentation.

Changed

Primary Modules

Changes to the primary modules.

Deprecated

Primary Modules

Deprecations in the primary modules.

Return to Top



v2.4.0

Release Date: 2020-05-11

Added

Primary Modules

Additions to the primary modules.

Supporting Modules

Additions to the supporting modules.

Documentation

Additions to the documentation.

General

  • Added a code coverage section to the pythonpackage.yml file.

  • Added the codecov.yml file for coverage reports.

Changed

General

  • Changed the PyPI Development Status in setup.py to be Development Status :: 4 - Beta.

Fixed

Primary Modules

Fixes to the primary modules.

  • Fixed how and when values are cast to integers in khoros.objects.users._get_user_identifier().

  • Added missing method calls for the khoros.core.Khoros._import_message_class() and khoros.core.Khoros._import_album_class() methods in the initialization method for the khoros.core.Khoros class.

Return to Top



v2.3.0

Release Date: 2020-05-08

Added

Primary Modules

Additions to the primary modules.

Supporting Modules

Additions to the supporting modules.

Documentation

Additions to the documentation.

General

  • Added requests-toolbelt==0.9.1 to the requirements.txt file.

Changed

Primary Modules

Changes to the primary modules.

Documentation

Changes to the documentation.

  • Added a full docstring to the khoros.api._api_request_with_payload() function.

Fixed

Primary Modules

Fixes to the primary modules.

  • Removed the Aurea reference from the failure message in khoros.api._api_request_with_payload.

Supporting Modules

Fixes to the supporting modules.

  • Changed “v1” to “v2” in the full error message string within the khoros.errors.handlers._get_v2_error_from_json() function.

Return to Top



v2.2.0

Release Date: 2020-04-26

Added

Primary Modules

Additions to the primary modules.

  • Added the ability to use environmental variables to initialize the khoros.core.Khoros object.
    • Added the khoros.core.Khoros._parse_env_settings() method to parse the environmental variables.

  • Added the khoros.core.Khoros._session_auth_credentials_defined() method to automatically set the auth_type value in the _settings attribute to be session_auth if a session authentication username and password have been defined.

Supporting Modules

Additions to the supporting modules.

Examples

New additions to the example files for the library.

  • Added the custom_env_variables.json file.

  • Added the custom_env_variables.yml file.

Documentation

Additions to the documentation.

General

  • Added the encrypted YAML Helper configuration file khoros_helper.yml.gpg in the khoros/utils/tests/ directory for use with pytest.

  • Added the shell script decrypt_helper.sh in the .github/scripts/ directory per GitHub guidelines.

  • Updated the pythonpackage.yml workflow for GitHub Actions to decrypt the helper configuration file (YAML) and utilize environment variables.

Changed

Primary Modules

Changes to the primary modules.

Supporting Modules

Changes to the supporting modules.

  • Replaced the yaml.load() function call with yaml.safe_load() in khoros.utils.helper.import_yaml_file() as it is a better security practice.

  • Introduced support for JSON formatted helper configuration files in khoros.utils.helper.

  • Removed the extra preceding underscore in private functions within khoros.utils.helper.

Documentation

Changes to the documentation.

  • Added :special-members: __init__ to the khoros and khoros.core modules to display the docstrings for the __init__ method in the khoros.core.Khoros object class.

  • Replaced NoneType with None in function and method docstrings to use proper syntax and to comply with PEP 287.

Return to Top



v2.1.0

Release Date: 2020-04-23

Added

Primary Modules

Additions to the primary modules.

Supporting Modules

Additions to the supporting modules.

Documentation

Additions to the documentation.

Changed

Primary Modules

Changes to the primary modules.

Fixed

Primary Modules

Fixes to the primary modules.

Documentation

Fixes to the documentation.

Supporting Modules

Additions to the supporting modules.

Return to Top



v2.0.0

Release Date: 2020-04-10

Added

Primary Modules

Additions to the primary modules.

Supporting Modules

Additions to the supporting modules.

Documentation

Additions to the documentation.

General

Changed

Primary Modules

Changes to the primary modules.

  • Updated the khoros.liql.perform_query() function to allow a raw LiQL query to be passed rather than only pre-formatted query URLs.

  • Updated the khoros.liql.perform_query() function to include an optional verify_success argument which verifies that the API query was successful and raises the khoros.errors.exceptions.GETRequestError exception if not.

  • Removed the unnecessary import requests line in the khoros.liql module.

  • Renamed the khoros.core.Khoros.__connect_with_session_key() method to be khoros.core.Khoros._connect_with_session_key() (single underscore prefix) instead.

  • Renamed the khoros.core.Khoros.__define_url_settings() method to be khoros.core.Khoros._define_url_settings() (single underscore prefix) instead.

  • Renamed the khoros.core.Khoros.__parse_helper_settings() method to be khoros.core.Khoros._parse_helper_settings() (single underscore prefix) instead.

  • Renamed the khoros.core.Khoros.__populate_auth_settings() method to be khoros.core.Khoros._populate_auth_settings() (single underscore prefix) instead.

  • Renamed the khoros.core.Khoros.__populate_construct_settings() method to be khoros.core.Khoros._populate_construct_settings() (single underscore prefix) instead.

  • Renamed the khoros.core.Khoros.__populate_core_settings() method to be khoros.core.Khoros._populate_core_settings() (single underscore prefix) instead.

  • Renamed the khoros.core.Khoros.__validate_base_url() method to be khoros.core.Khoros._validate_base_url() (single underscore prefix) instead.

Supporting Modules

Changes to the supporting modules.

Documentation

Changes to the documentation.

General

  • Changed the Development Status in setup.py to be 3 - Alpha.

Fixed

Primary Modules

Fixes in the primary modules.

  • Updated the khoros.liql.format_query() function to properly encode the double-quote (") character and several other special characters.

Documentation

Fixes in the documentation.

Return to Top



v1.2.0

Release Date: 2020-03-22

Added

Primary Modules

Additions to the primary modules.

Supporting Modules

Additions to the supporting modules.

Documentation

Additions to the documentation.

Changed

Primary Modules

Changes to the primary modules.

Supporting Modules

Changes to the supporting modules.

Return to Top



v1.1.0

Release Date: 2020-03-17

Added

Primary Modules

Additions to the primary modules.

Supporting Modules

Additions to the supporting modules.

Documentation

Additions to the documentation.

Return to Top