Skip to content

Releases: robberwick/pylibrelinkup

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

v0.5.0

03 Nov 17:00
83ffad0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

02 Nov 17:53
94297aa
Compare
Choose a tag to compare

What's Changed

  • Fix ValueError being thrown when authentication receives a redirect response by @robberwick in #26
  • Handle Privacy Policy acceptance response when authenticating by @robberwick in #27

Full Changelog: v0.3.0...v0.4.0

v0.3.0

13 Oct 10:03
5596ede
Compare
Choose a tag to compare

Breaking Changes:

This release includes a breaking change to the API, in both naming and import behaviour. The Client class has been
renamed and refactored to PyLibreLinkUp. All instances of Client in existing code must be replaced with
PyLibreLinkUp, and imports should be updated accordingly.

Old way

from pylibrelinkup.client import Client, AuthenticationError
from pylibrelinkup.api_url import APIUrl
from pylibrelinkup.exceptions import TermsOfUseError

New way

from pylibrelinkup import PyLibreLinkUp, APIUrl, AuthenticationError, TermsOfUseError

You can also use wildcard imports to bring in commonly used symbols:

from pylibrelinkup import *

This change was made to simplify the API and make it easier to use. The old way of importing components from submodules
is still supported, but it is recommended to use the new way for better readability and maintainability.

What's Changed

  • Refactor API Client Implementation by @robberwick in #19
    It is now possible to import the most commonly used symbols directly from the top-level package. You no longer need to
    import individual components from submodules.
  • Update patient model string representation by @robberwick in #21
    The Patient model now has a more informative string representation that includes the patient's name and UUID.
  • Add all known region api urls by @robberwick in #23
    This change adds all known region API URLs to the APIUrl class. You can now access the API URL for all supported regions.

Full Changelog: v0.2.1...v0.3.0

v0.2.1

06 Oct 09:08
02a45aa
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.2.1