Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit b167bb9

Browse files
committed
Update MQTT vendor. Update changelog + bump version.
1 parent 85c4e5d commit b167bb9

File tree

17 files changed

+3431
-61
lines changed

17 files changed

+3431
-61
lines changed

docs/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ googleAnalytics = "UA-3512995-9"
3939
weight = 5
4040

4141
[params]
42-
version = "0.10.0"
42+
version = "0.10.1"

docs/content/install/config.md

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,30 @@ flag. This will display:
1313

1414
```
1515
GLOBAL OPTIONS:
16-
--postgres-dsn value postgresql dsn (e.g.: postgres://user:password@hostname/database?sslmode=disable) (default: "postgres://localhost/loraserver?sslmode=disable") [$POSTGRES_DSN]
17-
--db-automigrate automatically apply database migrations [$DB_AUTOMIGRATE]
18-
--redis-url value redis url (e.g. redis://user:password@hostname/0) (default: "redis://localhost:6379") [$REDIS_URL]
19-
--mqtt-server value mqtt server (e.g. scheme://host:port where scheme is tcp, ssl or ws) (default: "tcp://localhost:1883") [$MQTT_SERVER]
20-
--mqtt-username value mqtt server username (optional) [$MQTT_USERNAME]
21-
--mqtt-password value mqtt server password (optional) [$MQTT_PASSWORD]
22-
--mqtt-ca-cert mqtt CA certificate file used by the gateway backend (optional) [$MQTT_CA_CERT]
23-
--ca-cert value ca certificate used by the api server (optional) [$CA_CERT]
24-
--tls-cert value tls certificate used by the api server (optional) [$TLS_CERT]
25-
--tls-key value tls key used by the api server (optional) [$TLS_KEY]
26-
--bind value ip:port to bind the api server (default: "0.0.0.0:8001") [$BIND]
27-
--http-bind value ip:port to bind the (user facing) http server to (web-interface and REST / gRPC api) (default: "0.0.0.0:8080") [$HTTP_BIND]
28-
--http-tls-cert value http server TLS certificate [$HTTP_TLS_CERT]
29-
--http-tls-key value http server TLS key [$HTTP_TLS_KEY]
30-
--jwt-secret value JWT secret used for api authentication / authorization [$JWT_SECRET]
31-
--ns-server value hostname:port of the network-server api server (default: "127.0.0.1:8000") [$NS_SERVER]
32-
--ns-ca-cert value ca certificate used by the network-server client (optional) [$NS_CA_CERT]
33-
--ns-tls-cert value tls certificate used by the network-server client (optional) [$NS_TLS_CERT]
34-
--ns-tls-key value tls key used by the network-server client (optional) [$NS_TLS_KEY]
35-
--pw-hash-iterations value the number of iterations used to generate the password hash (default: 100000) [$PW_HASH_ITERATIONS]
36-
--log-level value debug=5, info=4, warning=3, error=2, fatal=1, panic=0 (default: 4) [$LOG_LEVEL]
37-
--help, -h show help
38-
--version, -v print the version
16+
--postgres-dsn value postgresql dsn (e.g.: postgres://user:password@hostname/database?sslmode=disable) (default: "postgres://localhost/loraserver?sslmode=disable") [$POSTGRES_DSN]
17+
--db-automigrate automatically apply database migrations [$DB_AUTOMIGRATE]
18+
--redis-url value redis url (e.g. redis://user:password@hostname/0) (default: "redis://localhost:6379") [$REDIS_URL]
19+
--mqtt-server value mqtt server (e.g. scheme://host:port where scheme is tcp, ssl or ws) (default: "tcp://localhost:1883") [$MQTT_SERVER]
20+
--mqtt-username value mqtt server username (optional) [$MQTT_USERNAME]
21+
--mqtt-password value mqtt server password (optional) [$MQTT_PASSWORD]
22+
--mqtt-ca-cert value mqtt CA certificate file used by the gateway backend (optional) [$MQTT_CA_CERT]
23+
--ca-cert value ca certificate used by the api server (optional) [$CA_CERT]
24+
--tls-cert value tls certificate used by the api server (optional) [$TLS_CERT]
25+
--tls-key value tls key used by the api server (optional) [$TLS_KEY]
26+
--bind value ip:port to bind the api server (default: "0.0.0.0:8001") [$BIND]
27+
--http-bind value ip:port to bind the (user facing) http server to (web-interface and REST / gRPC api) (default: "0.0.0.0:8080") [$HTTP_BIND]
28+
--http-tls-cert value http server TLS certificate [$HTTP_TLS_CERT]
29+
--http-tls-key value http server TLS key [$HTTP_TLS_KEY]
30+
--jwt-secret value JWT secret used for api authentication / authorization [$JWT_SECRET]
31+
--ns-server value hostname:port of the network-server api server (default: "127.0.0.1:8000") [$NS_SERVER]
32+
--ns-ca-cert value ca certificate used by the network-server client (optional) [$NS_CA_CERT]
33+
--ns-tls-cert value tls certificate used by the network-server client (optional) [$NS_TLS_CERT]
34+
--ns-tls-key value tls key used by the network-server client (optional) [$NS_TLS_KEY]
35+
--pw-hash-iterations value the number of iterations used to generate the password hash (default: 100000) [$PW_HASH_ITERATIONS]
36+
--log-level value debug=5, info=4, warning=3, error=2, fatal=1, panic=0 (default: 4) [$LOG_LEVEL]
37+
--disable-assign-existing-users when set, existing users can't be re-assigned (to avoid exposure of all users to an organization admin) [$DISABLE_ASSIGN_EXISTING_USERS]
38+
--help, -h show help
39+
--version, -v print the version
3940
```
4041

4142
Both cli arguments and environment-variables can be used to pass configuration

docs/content/overview/changelog.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@ menu:
88

99
## Changelog
1010

11+
### 0.10.1
12+
13+
**Improvements:**
14+
15+
* `--mqtt-ca-cert` / `MQTT_CA_CERT` configuration flag was added to
16+
specify an optional CA certificate
17+
(thanks [@siscia](https://github.com/siscia)).
18+
19+
**Bugfixes:**
20+
21+
* MQTT client library update which fixes an issue where during a failed
22+
re-connect the protocol version would be downgraded
23+
([paho.mqtt.golang#116](https://github.com/eclipse/paho.mqtt.golang/issues/116)).
24+
1125
### 0.10.0
1226

1327
**Features & changes:**

vendor/github.com/eclipse/paho.mqtt.golang/README.md

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/eclipse/paho.mqtt.golang/client.go

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/eclipse/paho.mqtt.golang/messageids.go

Lines changed: 32 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/eclipse/paho.mqtt.golang/net.go

Lines changed: 41 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/eclipse/paho.mqtt.golang/packets/connect.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/Makefile

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)