Change Log
This page documents the additions, changes, fixes, deprecations and removals made in each release.
v3.0.0.dev0
Release Date: TBD
Added
Primary Modules
Additions to the primary modules.
- Added the
freshpy.workspaces module with the following functions: -
- Added the
freshpy.objects module with the following functions: -
- Added the following functions to the
freshpy.api module: -
- Added the following functions to the
freshpy.agents module: -
- Added the following functions to the
freshpy.tickets module:
A:py:func:freshpy.tickets.get_ticket_fields
A:py:func:freshpy.tickets.get_ticket_field
A:py:func:freshpy.tickets.create_ticket
General
Added the new .github/workflows/ci.yml CI workflow to follow best practices and improve deployments
Added the .readthedocs.yaml file to manage the integration with the ReadTheDocs documentation
Added the AGENTS.md file to define agent guidelines with the package
Changed
Primary Modules
Changes to the primary modules.
Updated the freshpy.api.get_request_with_retries() function to return the full Response object if the
response cannot be successfully converted to JSON rather than just returning error details
Added the parameters params and timeout to the freshpy.api.get_request_with_retries() function
Updated the freshpy.api._report_failed_attempt() function to use the logging functionality
Updated the freshpy.api._raise_exception_for_repeated_timeouts() function to use the logging functionality
General
- Updated the
pyproject.toml file to follow best practices and to include the following changes:
Changed the minimum supported Python version to be 3.9
Added hyperlinks to available resources and documentation
Added Trove classifiers for PyPI
Switched from setuptools to poetry
Moved pytest to a dev dependency group
Removed setuptools and urllib3 from runtime dependencies
Updated dependency versions to mitigate known vulnerabilities found in earlier versions
Added bandit with SARIF support to the dev dependencies
Updated the requirements.txt file to be runtime-only and mirror the pyproject.toml file
Moved the tests/ directory from the root level to under src/freshpy/utils/ instead
Updated the Sphinx configuration (docs/conf.py) to follow recommendations and best practices
Removed
General
Removed the setup.py file as it is no longer needed for this package
Removed .github/workflows/codeql-analysis.yml (replaced by .github/workflows/ci.yml)
Removed the .readthedocs.yml file (replaced by .readthedocs.yaml)
v2.0.0
Release Date: 2025-01-29
Changed
Primary Modules
Changes to the primary modules.
Added error handling to the freshpy.api.get_request_with_retries() function.
Replaced a generic py:exc:Exception with a py:exc:RuntimeError exception in the
py:func:freshpy.api._report_failed_attempt function.
Removed an unnecessary return statement from the
freshpy.api._report_failed_attempt() function.
v1.1.1
Release Date: 2023-05-08
v1.1.0
Release Date: 2021-01-05
Added
Documentation
The documentation was fully created and hosted.
Changed
Core Object
Changes to the FreshPy Core Object.
- Added the ability to disable SSL verification on API calls in the following methods:
-
Primary Modules
Changes to the primary modules.
- Added the ability to disable SSL verification on API calls in the following functions:
-