Releases: pypolestar/polestar_api
Releases · pypolestar/polestar_api
1.11.0
What's Changed
- Use GraphQL AsyncClientSession with automatic retries by @jschlyter in #254
- Use new models for all sensors by @jschlyter in #249
- Use Home Assistant 2024.12.0 and Python 3.13 in devcontainer by @jschlyter in #256
- Add vehicle data in diagnostics by @jschlyter in #257
- Use pure OIDC with PKCE for auth by @jschlyter in #262
Full Changelog: 1.10.0...1.11.0
1.11.0rc1
What's Changed
- Use GraphQL AsyncClientSession with automatic retries by @jschlyter in #254
- Use new models for all sensors by @jschlyter in #249
- Use Home Assistant 2024.12.0 and Python 3.13 in devcontainer by @jschlyter in #256
- Add vehicle data in diagnostics by @jschlyter in #257
- Use pure OIDC with PKCE for auth by @jschlyter in #262
Full Changelog: 1.10.0...1.11.0rc1
1.10.0
This release adds a binary sensor to show API connection status as well as adds system health information and diagnostics for the integration. It also prepares for a more efficient internal data model.
N.B. The sensors for factory complete date and registration date are now available as attributes to the VIN and registration number. They should be considered deprecated and will be removed as separate sensors in the next release.
What's Changed
- Close inactive issues automatically by @jschlyter in #228
- Use APIv2 for getConsumerCarsV2 by @jschlyter in #230
- Remove API v1 and present APIs as "Auth" and "Data" by @jschlyter in #231
- Add binary sensor for API connection by @jschlyter in #232
- Add system health information by @jschlyter in #235
- Add static dates as attributes by @jschlyter in #238
- Add support for diagnostics by @jschlyter in #239
- Add dataclass models by @jschlyter in #227
- Update data model and tests by @jschlyter in #241
- Disable some sensors by default by @jschlyter in #236
- Minor fixes before release by @jschlyter in #243
Full Changelog: 1.9.0...1.10.0
1.10.0b1
What's Changed
- Close inactive issues automatically by @jschlyter in #228
- Use APIv2 for getConsumerCarsV2 by @jschlyter in #230
- Remove API v1 and present APIs as "Auth" and "Data" by @jschlyter in #231
- Add binary sensor for API connection by @jschlyter in #232
- Add system health information by @jschlyter in #235
- Add static dates as attributes by @jschlyter in #238
- Add support for diagnostics by @jschlyter in #239
- Add dataclass models by @jschlyter in #227
Full Changelog: 1.9.0...1.10.0b1
1.9.0
What's Changed
- Include unique id in PolestarAuth logging (if provided) by @jschlyter in #202
- Lower scan interval to 60 seconds by @jschlyter in #210
- Update token refresh logic by @jschlyter in #211
- Use Python GraphQL client library by @jschlyter in #208
- Include recorder and logbook by @jschlyter in #218
- add config history by @jschlyter in #219
- improve ImageEntity URL processing by @jschlyter in #217
- Use UTC for token_expire (sensor still local time) by @jschlyter in #216
- Throttle updates by @jschlyter in #213
- Fix minor bugs in release candidate by @jschlyter in #221
- Remove data caching by @jschlyter in #222
- Prepare for release 1.9.0 by @jschlyter in #220
Full Changelog: 1.8.0...1.9.0
1.9.0rc3
1.9.0rc2
What's Changed
- Fix minor bugs in release candidate by @jschlyter in #221
Full Changelog: 1.9.0rc1...1.9.0rc2
1.9.0rc1
What's Changed
- Include unique id in PolestarAuth logging (if provided) by @jschlyter in #202
- Lower scan interval to 60 seconds by @jschlyter in #210
- Update token refresh logic by @jschlyter in #211
- Use Python GraphQL client library by @jschlyter in #208
- Include recorder and logbook by @jschlyter in #218
- add config history by @jschlyter in #219
- improve ImageEntity URL processing by @jschlyter in #217
- Use UTC for token_expire (sensor still local time) by @jschlyter in #216
- Throttle updates by @jschlyter in #213
Full Changelog: 1.8.0...1.9.0rc1
1.8.0
Important Changes
- General OIDC improvements (including support for updated Polestar ID login)
- Better handling of accounts with multiple VINs (still not perfect)
What's Changed
- Add some type notations and split out get_unique_id by @jschlyter in #177
- add debug log by @jschlyter in #178
- Remove unused code by @jschlyter in #176
- removed unused code and use cached_property for image_url by @jschlyter in #179
- use async_forward_entry_setups by @jschlyter in #180
- General OIDC improvements by @jschlyter in #181
- Improve device init by @jschlyter in #184
- Improve support for multiple cars by @jschlyter in #186
- set version to 1.8.0b1 by @jschlyter in #187
- Fix types and handle empty VIN by @jschlyter in #188
- Fail early on login failure by @jschlyter in #189
- Add devcontainer support by @jschlyter in #192
- Refactor and simplify by @jschlyter in #191
- change client id and accept terms and conditions by @jschlyter in #198
- use threading.Lock to guard updates by @jschlyter in #199
- release 1.8.0 by @jschlyter in #200
Full Changelog: 1.7.3...1.8.0
1.8.0b1
What's Changed
- Add some type notations and split out get_unique_id by @jschlyter in #177
- add debug log by @jschlyter in #178
- Remove unused code by @jschlyter in #176
- removed unused code and use cached_property for image_url by @jschlyter in #179
- use async_forward_entry_setups by @jschlyter in #180
- General OIDC improvements by @jschlyter in #181
- Improve device init by @jschlyter in #184
- Improve support for multiple cars by @jschlyter in #186
- set version to 1.8.0b1 by @jschlyter in #187
Full Changelog: 1.7.3...1.8.0b1