Skip to content

Commit

Permalink
Update versions and prepare for releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
qwandor committed Sep 2, 2023
1 parent e4b48c2 commit 5773bdb
Show file tree
Hide file tree
Showing 13 changed files with 146 additions and 41 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 17 additions & 5 deletions applehat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ categories = ["network-programming"]
color-backtrace = "0.6.0"
eyre = "0.6.8"
futures = "0.3.27"
homie-controller = { version = "0.8.0", path = "../homie-controller" }
homie-device = { version = "0.8.0", path = "../homie-device" }
homie-controller = { version = "0.9.0", path = "../homie-controller" }
homie-device = { version = "0.9.0", path = "../homie-device" }
log = "0.4.20"
pretty_env_logger = "0.5.0"
rainbow-hat-rs = "0.2.1"
Expand All @@ -34,9 +34,21 @@ section = "net"
maintainer-scripts = "debian-scripts"
conf-files = ["/etc/applehat/applehat.toml"]
assets = [
["target/release/applehat", "usr/bin/", "755"],
["applehat.example.toml", "etc/applehat/applehat.toml", "640"],
["README.md", "usr/share/doc/applehat/", "644"],
[
"target/release/applehat",
"usr/bin/",
"755",
],
[
"applehat.example.toml",
"etc/applehat/applehat.toml",
"640",
],
[
"README.md",
"usr/share/doc/applehat/",
"644",
],
]

# This section needs to be here even if it's empty, for the systemd integration to work.
Expand Down
6 changes: 6 additions & 0 deletions btsensor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog

## 0.1.0

First release of `btsensor`. This supports BTHome v1 and v2 (unencrypted), atc1441 format and pvvx
custom format.
6 changes: 6 additions & 0 deletions homie-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.9.0

### Breaking changes

- Updated to `rumqttc` 0.22.

## 0.8.0

### Breaking changes
Expand Down
16 changes: 12 additions & 4 deletions homie-controller/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "homie-controller"
version = "0.8.0"
authors = ["Andrew Walbran <[email protected]>", "David Laban <[email protected]>"]
version = "0.9.0"
authors = [
"Andrew Walbran <[email protected]>",
"David Laban <[email protected]>",
]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "A library for creating controllers to talk to devices implementing the Homie convention for MQTT."
Expand All @@ -17,8 +20,13 @@ thiserror = "1.0.47"
[dev-dependencies]
flume = "0.10.14"
futures = "0.3.27"
homie-device = { version = "0.8.0", path = "../homie-device" }
homie-device = { version = "0.9.0", path = "../homie-device" }
pretty_env_logger = "0.5.0"
rumqttd = "0.13.0"
rumqttlog = "0.9.0"
tokio = { version = "1.32.0", features = ["macros", "rt", "rt-multi-thread", "time"] }
tokio = { version = "1.32.0", features = [
"macros",
"rt",
"rt-multi-thread",
"time",
] }
2 changes: 1 addition & 1 deletion homie-controller/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ impl HomieController {
node_id,
property_id,
) {
Ok(mut property) => {
Ok(property) => {
property.value = Some(payload.to_owned());
vec![Event::property_value(
device_id,
Expand Down
6 changes: 6 additions & 0 deletions homie-device/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.9.0

### Breaking changes

- Updated to `rumqttc` 0.22.

## 0.8.0

### Breaking changes
Expand Down
14 changes: 11 additions & 3 deletions homie-device/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "homie-device"
version = "0.8.0"
authors = ["Andrew Walbran <[email protected]>", "David Laban <[email protected]>"]
version = "0.9.0"
authors = [
"Andrew Walbran <[email protected]>",
"David Laban <[email protected]>",
]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "A library for creating devices implementing the Homie convention for MQTT."
Expand All @@ -22,4 +25,9 @@ thiserror = "1.0.47"
[dev-dependencies]
pretty_env_logger = "0.5.0"
rand = "0.8.5"
tokio = { version = "1.32.0", features = ["macros", "rt", "rt-multi-thread", "time"] }
tokio = { version = "1.32.0", features = [
"macros",
"rt",
"rt-multi-thread",
"time",
] }
35 changes: 28 additions & 7 deletions homie-influx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ categories = ["network-programming"]
color-backtrace = "0.6.0"
eyre = "0.6.8"
futures = "0.3.27"
homie-controller = { version = "0.8.0", path = "../homie-controller" }
influx_db_client = { version = "0.5.1", default-features = false, features = ["rustls-tls"] }
homie-controller = { version = "0.9.0", path = "../homie-controller" }
influx_db_client = { version = "0.5.1", default-features = false, features = [
"rustls-tls",
] }
log = "0.4.20"
pretty_env_logger = "0.5.0"
rumqttc = "0.22.0"
Expand All @@ -32,12 +34,31 @@ url = { version = "2.4.1", features = ["serde"] }
depends = "adduser, libc6"
section = "net"
maintainer-scripts = "debian-scripts"
conf-files = ["/etc/homie-influx/homie-influx.toml", "/etc/homie-influx/mappings.toml"]
conf-files = [
"/etc/homie-influx/homie-influx.toml",
"/etc/homie-influx/mappings.toml",
]
assets = [
["target/release/homie-influx", "usr/bin/", "755"],
["homie-influx.example.toml", "etc/homie-influx/homie-influx.toml", "640"],
["mappings.example.toml", "etc/homie-influx/mappings.toml", "644"],
["README.md", "usr/share/doc/homie-influx/", "644"],
[
"target/release/homie-influx",
"usr/bin/",
"755",
],
[
"homie-influx.example.toml",
"etc/homie-influx/homie-influx.toml",
"640",
],
[
"mappings.example.toml",
"etc/homie-influx/mappings.toml",
"644",
],
[
"README.md",
"usr/share/doc/homie-influx/",
"644",
],
]

# This section needs to be here even if it's empty, for the systemd integration to work.
Expand Down
2 changes: 1 addition & 1 deletion mijia-homie/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 0.2.7

### New features

Expand Down
51 changes: 40 additions & 11 deletions mijia-homie/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "mijia-homie"
version = "0.2.6"
authors = ["David Laban <[email protected]>", "Andrew Walbran <[email protected]>"]
version = "0.2.7"
authors = [
"David Laban <[email protected]>",
"Andrew Walbran <[email protected]>",
]
edition = "2018"
license = "MIT OR Apache-2.0"
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."
Expand Down Expand Up @@ -29,11 +32,13 @@ color-backtrace = "0.6.0"
eyre = "0.6.8"
futures = "0.3.27"
futures-channel = "0.3.28"
homie-device = { version = "0.8.0", path = "../homie-device" }
influx_db_client = { version = "0.5.1", default-features = false, features = ["rustls-tls"] }
homie-device = { version = "0.9.0", path = "../homie-device" }
influx_db_client = { version = "0.5.1", default-features = false, features = [
"rustls-tls",
] }
itertools = "0.11.0"
log = "0.4.20"
mijia = { version = "0.7.0", path = "../mijia" }
mijia = { version = "0.7.1", path = "../mijia" }
pretty_env_logger = "0.5.0"
rumqttc = "0.22.0"
rustls = "0.21.7"
Expand All @@ -52,12 +57,36 @@ section = "net"
maintainer-scripts = "debian-scripts"
conf-files = ["/etc/mijia-homie/mijia-homie.toml"]
assets = [
["target/release/mijia-history-influx", "usr/bin/", "755"],
["target/release/mijia-homie", "usr/bin/", "755"],
["target/release/mijia-names", "usr/bin/", "755"],
["mijia-homie.example.toml", "etc/mijia-homie/mijia-homie.toml", "640"],
["mijia-history-influx.example.toml", "etc/mijia-homie/mijia-history-influx.toml", "640"],
["README.md", "usr/share/doc/mijia-homie/", "644"],
[
"target/release/mijia-history-influx",
"usr/bin/",
"755",
],
[
"target/release/mijia-homie",
"usr/bin/",
"755",
],
[
"target/release/mijia-names",
"usr/bin/",
"755",
],
[
"mijia-homie.example.toml",
"etc/mijia-homie/mijia-homie.toml",
"640",
],
[
"mijia-history-influx.example.toml",
"etc/mijia-homie/mijia-history-influx.toml",
"640",
],
[
"README.md",
"usr/share/doc/mijia-homie/",
"644",
],
]

# This section needs to be here even if it's empty, for the systemd integration to work.
Expand Down
4 changes: 2 additions & 2 deletions mijia/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Changelog

## Unreleased
## 0.7.1

### New features

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

## 0.7.0

Expand Down
15 changes: 12 additions & 3 deletions mijia/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[package]
name = "mijia"
version = "0.7.0"
authors = ["Luis Félix <[email protected]>", "Andrew Walbran <[email protected]>", "David Laban <[email protected]>"]
version = "0.7.1"
authors = [
"Luis Félix <[email protected]>",
"Andrew Walbran <[email protected]>",
"David Laban <[email protected]>",
]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "A library for connecting to Xiaomi Mijia 2 Bluetooth temperature/humidity sensors."
Expand All @@ -23,4 +27,9 @@ backoff = { version = "0.4.0", features = ["tokio"] }
chrono = "0.4.28"
eyre = "0.6.8"
pretty_env_logger = "0.5.0"
tokio = { version = "1.32.0", features = ["macros", "rt", "rt-multi-thread", "time"] }
tokio = { version = "1.32.0", features = [
"macros",
"rt",
"rt-multi-thread",
"time",
] }

0 comments on commit 5773bdb

Please sign in to comment.