Skip to content

Commit 5773bdb

Browse files
committedSep 2, 2023
Update versions and prepare for releases.
1 parent e4b48c2 commit 5773bdb

File tree

13 files changed

+146
-41
lines changed

13 files changed

+146
-41
lines changed
 

‎Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎applehat/Cargo.toml

+17-5
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ categories = ["network-programming"]
1313
color-backtrace = "0.6.0"
1414
eyre = "0.6.8"
1515
futures = "0.3.27"
16-
homie-controller = { version = "0.8.0", path = "../homie-controller" }
17-
homie-device = { version = "0.8.0", path = "../homie-device" }
16+
homie-controller = { version = "0.9.0", path = "../homie-controller" }
17+
homie-device = { version = "0.9.0", path = "../homie-device" }
1818
log = "0.4.20"
1919
pretty_env_logger = "0.5.0"
2020
rainbow-hat-rs = "0.2.1"
@@ -34,9 +34,21 @@ section = "net"
3434
maintainer-scripts = "debian-scripts"
3535
conf-files = ["/etc/applehat/applehat.toml"]
3636
assets = [
37-
["target/release/applehat", "usr/bin/", "755"],
38-
["applehat.example.toml", "etc/applehat/applehat.toml", "640"],
39-
["README.md", "usr/share/doc/applehat/", "644"],
37+
[
38+
"target/release/applehat",
39+
"usr/bin/",
40+
"755",
41+
],
42+
[
43+
"applehat.example.toml",
44+
"etc/applehat/applehat.toml",
45+
"640",
46+
],
47+
[
48+
"README.md",
49+
"usr/share/doc/applehat/",
50+
"644",
51+
],
4052
]
4153

4254
# This section needs to be here even if it's empty, for the systemd integration to work.

‎btsensor/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Changelog
2+
3+
## 0.1.0
4+
5+
First release of `btsensor`. This supports BTHome v1 and v2 (unencrypted), atc1441 format and pvvx
6+
custom format.

‎homie-controller/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.9.0
4+
5+
### Breaking changes
6+
7+
- Updated to `rumqttc` 0.22.
8+
39
## 0.8.0
410

511
### Breaking changes

‎homie-controller/Cargo.toml

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "homie-controller"
3-
version = "0.8.0"
4-
authors = ["Andrew Walbran <qwandor@google.com>", "David Laban <alsuren@gmail.com>"]
3+
version = "0.9.0"
4+
authors = [
5+
"Andrew Walbran <qwandor@google.com>",
6+
"David Laban <alsuren@gmail.com>",
7+
]
58
edition = "2018"
69
license = "MIT OR Apache-2.0"
710
description = "A library for creating controllers to talk to devices implementing the Homie convention for MQTT."
@@ -17,8 +20,13 @@ thiserror = "1.0.47"
1720
[dev-dependencies]
1821
flume = "0.10.14"
1922
futures = "0.3.27"
20-
homie-device = { version = "0.8.0", path = "../homie-device" }
23+
homie-device = { version = "0.9.0", path = "../homie-device" }
2124
pretty_env_logger = "0.5.0"
2225
rumqttd = "0.13.0"
2326
rumqttlog = "0.9.0"
24-
tokio = { version = "1.32.0", features = ["macros", "rt", "rt-multi-thread", "time"] }
27+
tokio = { version = "1.32.0", features = [
28+
"macros",
29+
"rt",
30+
"rt-multi-thread",
31+
"time",
32+
] }

‎homie-controller/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ impl HomieController {
541541
node_id,
542542
property_id,
543543
) {
544-
Ok(mut property) => {
544+
Ok(property) => {
545545
property.value = Some(payload.to_owned());
546546
vec![Event::property_value(
547547
device_id,

‎homie-device/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.9.0
4+
5+
### Breaking changes
6+
7+
- Updated to `rumqttc` 0.22.
8+
39
## 0.8.0
410

511
### Breaking changes

‎homie-device/Cargo.toml

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "homie-device"
3-
version = "0.8.0"
4-
authors = ["Andrew Walbran <qwandor@google.com>", "David Laban <alsuren@gmail.com>"]
3+
version = "0.9.0"
4+
authors = [
5+
"Andrew Walbran <qwandor@google.com>",
6+
"David Laban <alsuren@gmail.com>",
7+
]
58
edition = "2018"
69
license = "MIT OR Apache-2.0"
710
description = "A library for creating devices implementing the Homie convention for MQTT."
@@ -22,4 +25,9 @@ thiserror = "1.0.47"
2225
[dev-dependencies]
2326
pretty_env_logger = "0.5.0"
2427
rand = "0.8.5"
25-
tokio = { version = "1.32.0", features = ["macros", "rt", "rt-multi-thread", "time"] }
28+
tokio = { version = "1.32.0", features = [
29+
"macros",
30+
"rt",
31+
"rt-multi-thread",
32+
"time",
33+
] }

‎homie-influx/Cargo.toml

+28-7
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ categories = ["network-programming"]
1313
color-backtrace = "0.6.0"
1414
eyre = "0.6.8"
1515
futures = "0.3.27"
16-
homie-controller = { version = "0.8.0", path = "../homie-controller" }
17-
influx_db_client = { version = "0.5.1", default-features = false, features = ["rustls-tls"] }
16+
homie-controller = { version = "0.9.0", path = "../homie-controller" }
17+
influx_db_client = { version = "0.5.1", default-features = false, features = [
18+
"rustls-tls",
19+
] }
1820
log = "0.4.20"
1921
pretty_env_logger = "0.5.0"
2022
rumqttc = "0.22.0"
@@ -32,12 +34,31 @@ url = { version = "2.4.1", features = ["serde"] }
3234
depends = "adduser, libc6"
3335
section = "net"
3436
maintainer-scripts = "debian-scripts"
35-
conf-files = ["/etc/homie-influx/homie-influx.toml", "/etc/homie-influx/mappings.toml"]
37+
conf-files = [
38+
"/etc/homie-influx/homie-influx.toml",
39+
"/etc/homie-influx/mappings.toml",
40+
]
3641
assets = [
37-
["target/release/homie-influx", "usr/bin/", "755"],
38-
["homie-influx.example.toml", "etc/homie-influx/homie-influx.toml", "640"],
39-
["mappings.example.toml", "etc/homie-influx/mappings.toml", "644"],
40-
["README.md", "usr/share/doc/homie-influx/", "644"],
42+
[
43+
"target/release/homie-influx",
44+
"usr/bin/",
45+
"755",
46+
],
47+
[
48+
"homie-influx.example.toml",
49+
"etc/homie-influx/homie-influx.toml",
50+
"640",
51+
],
52+
[
53+
"mappings.example.toml",
54+
"etc/homie-influx/mappings.toml",
55+
"644",
56+
],
57+
[
58+
"README.md",
59+
"usr/share/doc/homie-influx/",
60+
"644",
61+
],
4162
]
4263

4364
# This section needs to be here even if it's empty, for the systemd integration to work.

‎mijia-homie/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.2.7
44

55
### New features
66

‎mijia-homie/Cargo.toml

+40-11
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "mijia-homie"
3-
version = "0.2.6"
4-
authors = ["David Laban <alsuren@gmail.com>", "Andrew Walbran <qwandor@google.com>"]
3+
version = "0.2.7"
4+
authors = [
5+
"David Laban <alsuren@gmail.com>",
6+
"Andrew Walbran <qwandor@google.com>",
7+
]
58
edition = "2018"
69
license = "MIT OR Apache-2.0"
710
description = "Service to connect to Xiaomi Mijia 2 temperature/humidity sensors over Bluetooth and report their readings to an MQTT broker following the Homie convention."
@@ -29,11 +32,13 @@ color-backtrace = "0.6.0"
2932
eyre = "0.6.8"
3033
futures = "0.3.27"
3134
futures-channel = "0.3.28"
32-
homie-device = { version = "0.8.0", path = "../homie-device" }
33-
influx_db_client = { version = "0.5.1", default-features = false, features = ["rustls-tls"] }
35+
homie-device = { version = "0.9.0", path = "../homie-device" }
36+
influx_db_client = { version = "0.5.1", default-features = false, features = [
37+
"rustls-tls",
38+
] }
3439
itertools = "0.11.0"
3540
log = "0.4.20"
36-
mijia = { version = "0.7.0", path = "../mijia" }
41+
mijia = { version = "0.7.1", path = "../mijia" }
3742
pretty_env_logger = "0.5.0"
3843
rumqttc = "0.22.0"
3944
rustls = "0.21.7"
@@ -52,12 +57,36 @@ section = "net"
5257
maintainer-scripts = "debian-scripts"
5358
conf-files = ["/etc/mijia-homie/mijia-homie.toml"]
5459
assets = [
55-
["target/release/mijia-history-influx", "usr/bin/", "755"],
56-
["target/release/mijia-homie", "usr/bin/", "755"],
57-
["target/release/mijia-names", "usr/bin/", "755"],
58-
["mijia-homie.example.toml", "etc/mijia-homie/mijia-homie.toml", "640"],
59-
["mijia-history-influx.example.toml", "etc/mijia-homie/mijia-history-influx.toml", "640"],
60-
["README.md", "usr/share/doc/mijia-homie/", "644"],
60+
[
61+
"target/release/mijia-history-influx",
62+
"usr/bin/",
63+
"755",
64+
],
65+
[
66+
"target/release/mijia-homie",
67+
"usr/bin/",
68+
"755",
69+
],
70+
[
71+
"target/release/mijia-names",
72+
"usr/bin/",
73+
"755",
74+
],
75+
[
76+
"mijia-homie.example.toml",
77+
"etc/mijia-homie/mijia-homie.toml",
78+
"640",
79+
],
80+
[
81+
"mijia-history-influx.example.toml",
82+
"etc/mijia-homie/mijia-history-influx.toml",
83+
"640",
84+
],
85+
[
86+
"README.md",
87+
"usr/share/doc/mijia-homie/",
88+
"644",
89+
],
6190
]
6291

6392
# This section needs to be here even if it's empty, for the systemd integration to work.

‎mijia/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.7.1
44

55
### New features
66

77
- Exposed `MijiaEvent::from`, for converting a `bluez-async` `BluetoothEvent` into a `MijiaEvent`.
8-
This can be useful if you want to handle other bluetooth events directly as well as Mijia events.
8+
This can be useful if you want to handle other Bluetooth events directly as well as Mijia events.
99

1010
## 0.7.0
1111

‎mijia/Cargo.toml

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
[package]
22
name = "mijia"
3-
version = "0.7.0"
4-
authors = ["Luis Félix <lcs.felix@gmail.com>", "Andrew Walbran <qwandor@google.com>", "David Laban <alsuren@gmail.com>"]
3+
version = "0.7.1"
4+
authors = [
5+
"Luis Félix <lcs.felix@gmail.com>",
6+
"Andrew Walbran <qwandor@google.com>",
7+
"David Laban <alsuren@gmail.com>",
8+
]
59
edition = "2018"
610
license = "MIT OR Apache-2.0"
711
description = "A library for connecting to Xiaomi Mijia 2 Bluetooth temperature/humidity sensors."
@@ -23,4 +27,9 @@ backoff = { version = "0.4.0", features = ["tokio"] }
2327
chrono = "0.4.28"
2428
eyre = "0.6.8"
2529
pretty_env_logger = "0.5.0"
26-
tokio = { version = "1.32.0", features = ["macros", "rt", "rt-multi-thread", "time"] }
30+
tokio = { version = "1.32.0", features = [
31+
"macros",
32+
"rt",
33+
"rt-multi-thread",
34+
"time",
35+
] }

0 commit comments

Comments
 (0)
Please sign in to comment.