Skip to content

Releases: robberwick/pylibrelinkup

v0.8.0

08 Mar 09:38
2eceb4a
Compare
Choose a tag to compare

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

04 Mar 20:47
dbaa7ce
Compare
Choose a tag to compare

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

04 Mar 20:23
a589d92
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.1...v0.7.2

v0.7.1

26 Jan 18:28
8d5c87e
Compare
Choose a tag to compare

What's Changed

Thanks to @realcodfish for the help with #53 - absolutely textbook issue reporting 🏅 👍

Full Changelog: v0.7.0...v0.7.1

v0.7.0

10 Dec 20:33
06bce45
Compare
Choose a tag to compare

What's Changed

  • Update request headers to match upstream requirements by @robberwick in #49
    • amend version to 4.12.0
    • add patient-id header

Full Changelog: v0.6.3...v0.7.0

v0.6.3

09 Dec 21:50
d1694e2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.2...v0.6.3

v0.6.2

04 Dec 08:03
5fcbe51
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.1...v0.6.2

v0.6.1

23 Nov 19:47
240edb4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.0...v0.6.1

v0.6.0

16 Nov 13:37
41aa138
Compare
Choose a tag to compare

What's Changed

New Features

  • Introduced graph, logbook, and latest methods to retrieve patient data, replacing the deprecated read 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 see graph and latest 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 in pyproject.toml.

Bug Fixes

  • Fixed import issues in __init__.py and models/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, and logbook methods to ensure proper functionality.

Full Changelog: v0.5.1...v0.6.0

v0.5.1

03 Nov 19:49
fb1f9a4
Compare
Choose a tag to compare

What's Changed

  • Handle missing c property in alarmRules when reading patient data by @robberwick in #33

Full Changelog: v0.5.0...v0.5.1