What's Changed
- Add support for logbook endpoint by @robberwick in #35
- ci: Add black linting by @robberwick in #36
- Refactor test fixtures to reduce repetition by @robberwick in #37
- Add Isort to dev dependencies by @robberwick in #38
New Features
- Introduced
graph
,logbook
, andlatest
methods to retrieve patient data, replacing the deprecatedread
method. - Added
authenticated
decorator to ensure methods requiring authentication are properly secured.
Deprecations
- The
read
method has been deprecated and will be removed in a future release. Please seegraph
andlatest
methods for alternatives.
Improvements
- Updated
README.md
to provide detailed instructions on using the new methods for retrieving patient data. - Enhanced development dependencies with
isort
for sorting imports. - Improved code style with the addition of
black
configuration inpyproject.toml
.
Bug Fixes
- Fixed import issues in
__init__.py
andmodels/config.py
. - Corrected issues in
models/connection.py
by updating the response models and fixing import statements.
Testing
- Refactored tests to use a single
get_response_json
fixture for loading JSON test data. - Added new tests for
graph
,latest
, andlogbook
methods to ensure proper functionality.
Full Changelog: v0.5.1...v0.6.0