Releases: DurgNomis-drol/mytoyota
v0.8.1 π
β Breaking changes
π§ Code enhancements
- Add more unittests for untested lines of code @joro75 (#142)
- Exclude a few lines from coverage @joro75 (#143)
- update linting workflow to include coverage reporting to codecov.io @joro75 (#146)
- Add more detailed unittests for statistics @joro75 (#138)
- Create codecov.yml configuration file to relax approving PR @joro75 (#147)
- Use latest APP version @DurgNomis-drol (#153)
- Adjust GitHub workflows to also run for v0.7 branch @joro75 (#155)
π Bug Fixes
- Do not use arrow/datetime.strptime to prevent embedded python exception @joro75 (#141)
- New header is now required for accessing some data @DurgNomis-drol (#151)
- Disable the tests that fail to get the statistics on the begin of the week @joro75 (#154)
π Documentation
𧱠Dependency Updates
v0.7.7 π
Maintance release for the 0.7
branch. This is need for the Home Assistant integration because it hasn't fully transitioned to the new API structure in this library.
A huge thanks goes to @joro75 for creating all the needed PR's when I didn't have the time for it. Long live open source π₯
π Bug Fixes
Add additional X-TME-APP-VERSION header to v0.7 branch @joro75 (#156 )
v0.8.0 π
β Breaking changes
Below PR changes how you would access the vehicle object that you get when calling get_vehicle_status()
. It was a mess before hand (Mostly do to me being a very inexperienced dev when I wrote most of this). Please see the models folder to understand how you now can access the data you need.
Also, get_vehicle_status_json()
is now also removed. If there is a need, this can be implemented again, but I would recommend accessing data through the Vehicle
object instead.
A huge thanks goes out to @joro75 for reviewing a rather big PR to make this change. This will be a big step onto releasing version 1.0
. π
- Rewrite to use models instead @DurgNomis-drol (#126)
π§ Code enhancements
- Use 'da-dk' and 'europe' as the default locale and region @joro75 (#127)
- Add __version__ to __init__ @DurgNomis-drol (#133)
- Code tweaks and minor refactoring of the rest @DurgNomis-drol (#134)
𧱠Dependency Updates
- Bump release-drafter/release-drafter from 5.15.0 to 5.17.5 @dependabot (#121)
- Bump flake8-comprehensions from 3.7.0 to 3.8.0 @dependabot (#122)
- Bump release-drafter/release-drafter from 5.17.5 to 5.17.6 @dependabot (#124)
- Bump pre-commit from 2.16.0 to 2.17.0 @dependabot (#125)
- Bump JRubics/poetry-publish from 1.9 to 1.10 @dependabot (#130)
v0.7.6 π
π Bug Fixes
- Better handle http errors @DurgNomis-drol (#115)
- Improve vehicle init and some bugfixes @DurgNomis-drol (#116)
- Wrong function when retrying @DurgNomis-drol (#117)
𧱠Dependency Updates
- Bump httpx from 0.18.2 to 0.21.1 @dependabot (#107)
- Bump flake8-bugbear from 21.9.2 to 21.11.28 @dependabot (#109)
- Bump pylint from 2.11.1 to 2.12.1 @dependabot (#108)
- Bump pylint from 2.12.1 to 2.12.2 @dependabot (#114)
- Bump pre-commit from 2.15.0 to 2.16.0 @dependabot (#113)
- Bump flake8-bugbear from 21.11.28 to 21.11.29 @dependabot (#112)
v0.7.5 π
𧱠Dependency Updates
- Loosen version requirements for all dependencies @DurgNomis-drol (#105)
v0.7.4 π
π Bug Fixes
- Ability to disable locale check @DurgNomis-drol (#103)
𧱠Dependency Updates
- Bump isort from 5.9.3 to 5.10.0 @dependabot (#102)
v0.7.3 π
π Bug Fixes
- Better check if car is supported before creating vehicle object @DurgNomis-drol (#101)
𧱠Dependency Updates
- Bump arrow from 1.2.0 to 1.2.1 @dependabot (#100)
- Bump flake8-comprehensions from 3.6.1 to 3.7.0 @dependabot (#99)
- Bump abatilo/actions-poetry from 2.1.3 to 2.1.4 @dependabot (#98)
- Bump JRubics/poetry-publish from 1.8 to 1.9 @dependabot (#97)
v0.7.2 π
π§ Code enhancements
- Use Language.get to check the validity of the locale @joro75 (#74)
- Add initial pytest unittests @joro75 (#75)
- Extend utils.is_valid_locale to do more extensive check @joro75 (#76)
- Correctly handle a possible divide by zero in convert_to_mpg @joro75 (#78)
- Add unittests for location.ParkingLocation @joro75 (#80)
- Extend the check in is_valid_token to handle None @joro75 (#77)
- Add a few unittests for MyT @joro75 (#82)
- Add support for python 3.10 @DurgNomis-drol (#83)
- Include, use and check example data in unittests @joro75 (#85)
- Add unittests for Odomoter.as_dict and ParkingLocation.as_dict @joro75 (#86)
- Add unittest for client.set_alias() @joro75 (#87)
- Add unittests for MyT.get_driving_statistics @joro75 (#89)
- Add tests for sensors.py and adds pytest as as pre-commit hook @DurgNomis-drol (#84)
- Reach 100% coverage on sensors.py @DurgNomis-drol (#92)
- Add tests for format_odometer @DurgNomis-drol (#91)
- Add tests for Energy @DurgNomis-drol (#90)
- Add tests for hvac.py @DurgNomis-drol (#93)
- Add automatic censoring to logging and refactor utils to folder @DurgNomis-drol (#96)
π Bug Fixes
- Add range conversion to miles if car reports in miles @DurgNomis-drol (#72)
- Fix regex for connected services URL @joro75 (#88)
π Documentation
𧱠Dependency Updates
v0.7.1 π
π Bug Fixes
- Fix if not all sensors are available @DurgNomis-drol (#70)
π Documentation
- Add Google style docstrings for client.py @DurgNomis-drol (#69)
v0.7.0 π
π Features
- Add HVAC information @DurgNomis-drol (#65)
- Add support for battery information @DurgNomis-drol (#66)
π§ Code enhancements
- Refactor code to support energy attributes with old odometer fallback @DurgNomis-drol (#62)
- Minor fixes @DurgNomis-drol (#67)
- Add better logging @DurgNomis-drol (#68)
- Use f-string instead. Needed for #61 @DurgNomis-drol (#64)
π Bug Fixes
- Refactor code to support energy attributes with old odometer fallback @DurgNomis-drol (#62)
𧱠Dependency Updates
- Bump pylint from 2.10.2 to 2.11.1 @dependabot (#61)