Releases: robberwick/pylibrelinkup
Releases · robberwick/pylibrelinkup
v0.8.0
What's Changed
This release adds the ability to handle HTTP 429 rate limit errors returned by the LLU API calls via the LLUAPIRateLimitError
exception. This allows consumers to back off and retry after the amount of time specified by the server.
It also contains a fix for the issue whereby the trend value of the latest
glucose measurement was always 3: STABLE
(#65 )
- Handle LLU HTTP 429 rate limit errors in API calls by @robberwick in #62
- fix: update trend alias in GlucoseMeasurementWithTrend and adjust tests by @robberwick in #63
Full Changelog: v0.7.3...v0.8.0
v0.7.3
What's Changed
- fix: update latest method return type to GlucoseMeasurementWithTrend by @robberwick in #61
Full Changelog: v0.7.2...v0.7.3
v0.7.2
What's Changed
- Type hinting improvements by @robberwick in #55
- feat: update latest glucose measurement model to include trend by @robberwick in #56
- Fix typo in file name:
date_types.py
by @robberwick in #57 - chore: Add py.typed by @robberwick in #58
- chore: update docs dependencies by @robberwick in #60
- fix: update current property return type to GlucoseMeasurementWithTrend by @robberwick in #59
Full Changelog: v0.7.1...v0.7.2
v0.7.1
What's Changed
- refactor: use a base pydantic model to DRY up config by @robberwick in #50
- docs: Add badges to readme by @robberwick in #51
- Handle patient not found errors in graph API responses by @robberwick in #52
- Handle
realWorldEvidence
in login response payload by @robberwick in #54
Thanks to @realcodfish for the help with #53 - absolutely textbook issue reporting 🏅 👍
Full Changelog: v0.7.0...v0.7.1
v0.7.0
What's Changed
- Update request headers to match upstream requirements by @robberwick in #49
- amend version to
4.12.0
- add
patient-id
header
- amend version to
Full Changelog: v0.6.3...v0.7.0
v0.6.3
What's Changed
- fix: fix mis-indented model definitions by @robberwick in #47
Full Changelog: v0.6.2...v0.6.3
v0.6.2
What's Changed
- Add defaults for pydantic fields by @robberwick in #46
Full Changelog: v0.6.1...v0.6.2
v0.6.1
What's Changed
- chore: Add pre-commit to dev dependencies by @robberwick in #39
- docs: Add read the docs config file by @robberwick in #40
- docs: add sphinx doc configuration file by @robberwick in #41
- Update readthedocs config by @robberwick in #42
- docs: add RTD docs link to readme by @robberwick in #43
- docs: add documentation link to pyproject.toml by @robberwick in #44
Full Changelog: v0.6.0...v0.6.1
v0.6.0
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
v0.5.1
What's Changed
- Handle missing
c
property inalarmRules
when reading patient data by @robberwick in #33
Full Changelog: v0.5.0...v0.5.1