8000 Prepare 0.7.2 (#1107) · msz-coder/python-kasa@4ef7306 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4ef7306

Browse files
authored
Prepare 0.7.2 (python-kasa#1107)
## [0.7.2](https://github.com/python-kasa/python-kasa/tree/0.7.2) (2024-08-30) [Full Changelog](python-kasa/python-kasa@0.7.1...0.7.2) **Release summary:** - **Breaking** change to disable including the check for the latest firmware for tapo devices and newer kasa devices in the standard update cycle. To check for the latest firmware call `check_latest_firmware` on the firmware module or run the `check_latest_firmware` feature. - Minor bugfixes and improvements. **Breaking changes:** - Disable automatic updating of latest firmware [\python-kasa#1103](python-kasa#1103) (@sdb9696) **Implemented enhancements:** - Improve performance of dict merge code [\python-kasa#1097](python-kasa#1097) (@bdraco) **Fixed bugs:** - Fix logging in iotdevice when a module is module not supported [\python-kasa#1100](python-kasa#1100) (@bdraco) **Documentation updates:** - Fix incorrect docs link in contributing.md [\python-kasa#1099](python-kasa#1099) (@sdb9696) **Project maintenance:** - Add flake8-pytest-style \(PT\) for ruff [\python-kasa#1105](python-kasa#1105) (@rytilahti) - Add flake8-logging \(LOG\) and flake8-logging-format \(G\) for ruff [\python-kasa#1104](python-kasa#1104) (@rytilahti) - Add missing typing\_extensions dependency [\python-kasa#1101](python-kasa#1101) (@sdb9696) - Remove top level await xdoctest fixture [\python-kasa#1098](python-kasa#1098) (@sdb9696) - Enable python 3.13, allow pre-releases for CI [\python-kasa#1086](python-kasa#1086) (@rytilahti)
1 parent 520b9d7 commit 4ef7306

File tree

4 files changed

+392
-312
lines changed

4 files changed

+392
-312
lines changed

CHANGELOG.md

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changelog
22

3+
## [0.7.2](https://github.com/python-kasa/python-kasa/tree/0.7.2) (2024-08-30)
4+
5+
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.1...0.7.2)
6+
7+
**Release summary:**
8+
9+
- **Breaking** change to disable including the check for the latest firmware for tapo devices and newer kasa devices in the standard update cycle. To check for the latest firmware call `check_latest_firmware` on the firmware module or run the `check_latest_firmware` feature.
10+
- Minor bugfixes and improvements.
11+
12+
**Breaking changes:**
13+
14+
- Disable automatic updating of latest firmware [\#1103](https://github.com/python-kasa/python-kasa/pull/1103) (@sdb9696)
15+
16+
**Implemented enhancements:**
17+
18+
- Improve performance of dict merge code [\#1097](https://github.com/python-kasa/python-kasa/pull/1097) (@bdraco)
19+
20+
**Fixed bugs:**
21+
22+
- Fix logging in iotdevice when a module is module not supported [\#1100](https://github.com/python-kasa/python-kasa/pull/1100) (@bdraco)
23+
24+
**Documentation updates:**
25+
26+
- Fix incorrect docs link in contributing.md [\#1099](https://github.com/python-kasa/python-kasa/pull/1099) (@sdb9696)
27+
28+
**Project maintenance:**
29+
30+
- Add flake8-pytest-style \(PT\) for ruff [\#1105](https://github.com/python-kasa/python-kasa/pull/1105) (@rytilahti)
31+
- Add flake8-logging \(LOG\) and flake8-logging-format \(G\) for ruff [\#1104](https://github.com/python-kasa/python-kasa/pull/1104) (@rytilahti)
32+
- Add missing typing\_extensions dependency [\#1101](https://github.com/python-kasa/python-kasa/pull/1101) (@sdb9696)
33+
- Remove top level await xdoctest fixture [\#1098](https://github.com/python-kasa/python-kasa/pull/1098) (@sdb9696)
34+
- Enable python 3.13, allow pre-releases for CI [\#1086](https://github.com/python-kasa/python-kasa/pull/1086) (@rytilahti)
35+
336
## [0.7.1](https://github.com/python-kasa/python-kasa/tree/0.7.1) (2024-07-31)
437

538
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.5...0.7.1)
@@ -17,14 +50,15 @@
1750

1851
**Fixed bugs:**
1952

53+
- Error connecting to L920-5 Smart LED Strip [\#1040](https://github.com/python-kasa/python-kasa/issues/1040)
54+
- Handle module errors more robustly and add query params to light preset and transition [\#1036](https://github.com/python-kasa/python-kasa/pull/1036) (@sdb9696)
2055
- Fix iot light effect brightness [\#1092](https://github.com/python-kasa/python-kasa/pull/1092) (@sdb9696)
2156
- Enable setting brightness with color temp for smart devices [\#1091](https://github.com/python-kasa/python-kasa/pull/1091) (@sdb9696)
2257
- Do not send light\_on value to iot bulb set\_state [\#1090](https://github.com/python-kasa/python-kasa/pull/1090) (@sdb9696)
2358
- Allow erroring modules to recover [\#1080](https://github.com/python-kasa/python-kasa/pull/1080) (@sdb9696)
2459
- Raise KasaException on decryption errors [\#1078](https://github.com/python-kasa/python-kasa/pull/1078) (@sdb9696)
2560
- Update smart request parameter handling [\#1061](https://github.com/python-kasa/python-kasa/pull/1061) (@sdb9696)
2661
- Fix light preset module when list contains lighting effects [\#1048](https://github.com/python-kasa/python-kasa/pull/1048) (@sdb9696)
27-
- Handle module errors more robustly and add query params to light preset and transition [\#1036](https://github.com/python-kasa/python-kasa/pull/1036) (@sdb9696)
2862
- Fix credential hash to return None on empty credentials [\#1029](https://github.com/python-kasa/python-kasa/pull/1029) (@sdb9696)
2963

3064
**Added support for devices:**
@@ -34,6 +68,9 @@
3468
**Project maintenance:**
3569

3670
- Bump project version to 0.7.0.5 [\#1087](https://github.com/python-kasa/python-kasa/pull/1087) (@sdb9696)
71+
- Add KP400\(US\) v1.0.4 fixture [\#1051](https://github.com/python-kasa/python-kasa/pull/1051) (@gimpy88)
72+
- Add new HS220 kasa aes fixture [\#1050](https://github.com/python-kasa/python-kasa/pull/1050) (@sdb9696)
73+
- Add KS205\(US\) v1.1.0 fixture [\#1049](https://github.com/python-kasa/python-kasa/pull/1049) (@gimpy88)
3774
- Fix generate\_supported pre commit to run in venv [\#1085](https://github.com/python-kasa/python-kasa/pull/1085) (@sdb9696)
3875
- Fix intermittently failing decryption error test [\#1082](https://github.com/python-kasa/python-kasa/pull/1082) (@sdb9696)
3976
- Fix mypy pre-commit hook on windows [\#1081](https://github.com/python-kasa/python-kasa/pull/1081) (@sdb9696)
@@ -42,9 +79,6 @@
4279
- Fix parse\_pcap\_klap on windows and support default credentials [\#1068](https://github.com/python-kasa/python-kasa/pull/1068) (@sdb9696)
4380
- Add fixture file for KP405 fw 1.0.6 [\#1063](https://github.com/python-kasa/python-kasa/pull/1063) (@daleye)
4481
- Bump project version to 0.7.0.3 [\#1053](https://github.com/python-kasa/python-kasa/pull/1053) (@sdb9696)
45-
- Add KP400\(US\) v1.0.4 fixture [\#1051](https://github.com/python-kasa/python-kasa/pull/1051) (@gimpy88)
46-
- Add new HS220 kasa aes fixture [\#1050](https://github.com/python-kasa/python-kasa/pull/1050) (@sdb9696)
47-
- Add KS205\(US\) v1.1.0 fixture [\#1049](https://github.com/python-kasa/python-kasa/pull/1049) (@gimpy88)
4882
- Add KS200M\(US\) v1.0.11 fixture [\#1047](https://github.com/python-kasa/python-kasa/pull/1047) (@sdb9696)
4983
- Add KS225\(US\) v1.1.0 fixture [\#1046](https://github.com/python-kasa/python-kasa/pull/1046) (@sdb9696)
5084
- Split out main cli module into lazily loaded submodules [\#1039](https://github.com/python-kasa/python-kasa/pull/1039) (@sdb9696)
@@ -76,7 +110,6 @@ Critical bugfixes for issues with P100s and thermostats
76110

77111
**Fixed bugs:**
78112

79-
- Error connecting to L920-5 Smart LED Strip [\#1040](https://github.com/python-kasa/python-kasa/issues/1040)
80113
- Use first known thermostat state as main state \(pick \#1054\) [\#1057](https://github.com/python-kasa/python-kasa/pull/1057) (@sdb9696)
81114
- Defer module updates for less volatile modules \(pick 1052\) [\#1056](https://github.com/python-kasa/python-kasa/pull/1056) (@sdb9696)
82115
- Use first known thermostat state as main state [\#1054](https://github.com/python-kasa/python-kasa/pull/1054) (@rytilahti)
@@ -945,6 +978,10 @@ Pull requests improving the functionality of modules as well as adding better in
945978
- Improve poetry usage documentation [\#60](https://github.com/python-kasa/python-kasa/issues/60)
946979
- Improve cli documentation for bulbs and power strips [\#123](https://github.com/python-kasa/python-kasa/pull/123) (@rytilahti)
947980

981+
**Project maintenance:**
982+
983+
- Add HS220 hw 2.0 fixture [\#107](https://github.com/python-kasa/python-kasa/pull/107) (@appleguru)
984+
948985
**Merged pull requests:**
949986

950987
- Add github workflow for pypi publishing [\#220](https://github.com/python-kasa/python-kasa/pull/220) (@rytilahti)
@@ -967,7 +1004,6 @@ Pull requests improving the functionality of modules as well as adding better in
9671004
- Fix documentation on Smart strips [\#136](https://github.com/python-kasa/python-kasa/pull/136) (@flavio-fernandes)
9681005
- add tapo link, fix tplink-smarthome-simulator link [\#133](https://github.com/python-kasa/python-kasa/pull/133) (@rytilahti)
9691006
- Leverage data from UDP discovery to initialize device structure [\#132](https://github.com/python-kasa/python-kasa/pull/132) (@dlee1j1)
970-
- Add HS220 hw 2.0 fixture [\#107](https://github.com/python-kasa/python-kasa/pull/107) (@appleguru)
9711007
- Pin dependencies on major versions, add poetry.lock [\#94](https://github.com/python-kasa/python-kasa/pull/94) (@rytilahti)
9721008
- add a small example script to show library usage [\#90](https://github.com/python-kasa/python-kasa/pull/90) (@rytilahti)
9731009
- add .readthedocs.yml required for poetry builds [\#89](https://github.com/python-kasa/python-kasa/pull/89) (@rytilahti)

RELEASING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export CHANGELOG_GITHUB_TOKEN=token
1717

1818
```bash
1919
export NEW_RELEASE=x.x.x.devx
20-
export PREVIOUS_RELEASE=0.3.5
2120
```
2221

2322
## Normal releases from master
@@ -62,7 +61,7 @@ If not already created
6261
#### Create new issue linked to the milestone
6362

6463
```bash
65-
gh issue create --label "release-summary" --milestone $NEW_RELEASE --title "$NEW_RELEASE Release Summary" --body "## Release Summary"
64+
gh issue create --label "release-summary" --milestone $NEW_RELEASE --title "$NEW_RELEASE Release Summary" --body "**Release summary:**"
6665
```
6766

6867
You can exclude the --body option to get an interactive editor or go into the issue on github and edit there.

0 commit comments

Comments
 (0)
0