Skip to content

Commit 959a5f0

Browse files
authored
Prevent unsubscribing when other topics (#84)
1 parent b9092a8 commit 959a5f0

File tree

8 files changed

+276
-69
lines changed

8 files changed

+276
-69
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [1.0.0-beta.3] - 2023-08-17
4+
5+
- Fix for #44
6+
37
## [1.0.0-beta.2] - 2023-04-25
48

59
- Update Plugin SDK dependency

go.mod

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ module github.com/grafana/mqtt-datasource
33
go 1.20
44

55
require (
6-
github.com/eclipse/paho.mqtt.golang v1.4.2
7-
github.com/grafana/grafana-plugin-sdk-go v0.159.0
6+
github.com/eclipse/paho.mqtt.golang v1.4.3
7+
github.com/grafana/grafana-plugin-sdk-go v0.172.0
88
github.com/json-iterator/go v1.1.12
9-
github.com/stretchr/testify v1.8.2
9+
github.com/stretchr/testify v1.8.4
1010
)
1111

1212
require (
@@ -19,35 +19,35 @@ require (
1919
github.com/chromedp/cdproto v0.0.0-20220208224320-6efb837e6bc2 // indirect
2020
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
2121
github.com/davecgh/go-spew v1.1.1 // indirect
22-
github.com/elazarl/goproxy v0.0.0-20220115173737-adb46da277ac // indirect
23-
github.com/fatih/color v1.13.0 // indirect
22+
github.com/elazarl/goproxy v0.0.0-20230731152917-f99041a5c027 // indirect
23+
github.com/fatih/color v1.15.0 // indirect
2424
github.com/getkin/kin-openapi v0.112.0 // indirect
2525
github.com/go-logr/logr v1.2.3 // indirect
2626
github.com/go-logr/stdr v1.2.2 // indirect
2727
github.com/go-openapi/jsonpointer v0.19.5 // indirect
2828
github.com/go-openapi/swag v0.19.15 // indirect
29-
github.com/golang/protobuf v1.5.2 // indirect
29+
github.com/golang/protobuf v1.5.3 // indirect
3030
github.com/golang/snappy v0.0.3 // indirect
31-
github.com/google/flatbuffers v22.10.26+incompatible // indirect
31+
github.com/google/flatbuffers v2.0.0+incompatible // indirect
3232
github.com/google/go-cmp v0.5.9 // indirect
3333
github.com/google/uuid v1.3.0 // indirect
3434
github.com/gorilla/mux v1.8.0 // indirect
3535
github.com/gorilla/websocket v1.5.0 // indirect
3636
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
3737
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
3838
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 // indirect
39-
github.com/hashicorp/go-hclog v1.3.1 // indirect
40-
github.com/hashicorp/go-plugin v1.4.6 // indirect
39+
github.com/hashicorp/go-hclog v1.5.0 // indirect
40+
github.com/hashicorp/go-plugin v1.4.9 // indirect
4141
github.com/hashicorp/yamux v0.1.1 // indirect
4242
github.com/invopop/yaml v0.1.0 // indirect
4343
github.com/josharian/intern v1.0.0 // indirect
4444
github.com/klauspost/compress v1.13.1 // indirect
4545
github.com/magefile/mage v1.14.0 // indirect
4646
github.com/mailru/easyjson v0.7.7 // indirect
4747
github.com/mattetti/filebuffer v1.0.1 // indirect
48-
github.com/mattn/go-colorable v0.1.12 // indirect
49-
github.com/mattn/go-isatty v0.0.14 // indirect
50-
github.com/mattn/go-runewidth v0.0.14 // indirect
48+
github.com/mattn/go-colorable v0.1.13 // indirect
49+
github.com/mattn/go-isatty v0.0.18 // indirect
50+
github.com/mattn/go-runewidth v0.0.9 // indirect
5151
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
5252
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
5353
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
@@ -59,9 +59,8 @@ require (
5959
github.com/pmezard/go-difflib v1.0.0 // indirect
6060
github.com/prometheus/client_golang v1.14.0 // indirect
6161
github.com/prometheus/client_model v0.3.0 // indirect
62-
github.com/prometheus/common v0.40.0 // indirect
62+
github.com/prometheus/common v0.42.0 // indirect
6363
github.com/prometheus/procfs v0.8.0 // indirect
64-
github.com/rivo/uniseg v0.2.0 // indirect
6564
github.com/russross/blackfriday/v2 v2.1.0 // indirect
6665
github.com/unknwon/bra v0.0.0-20200517080246-1e3013ecaff8 // indirect
6766
github.com/unknwon/com v1.0.1 // indirect
@@ -78,14 +77,14 @@ require (
7877
go.opentelemetry.io/otel/sdk v1.14.0 // indirect
7978
go.opentelemetry.io/otel/trace v1.14.0 // indirect
8079
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
81-
golang.org/x/net v0.8.0 // indirect
82-
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
83-
golang.org/x/sys v0.6.0 // indirect
84-
golang.org/x/text v0.8.0 // indirect
85-
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
86-
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
80+
golang.org/x/net v0.12.0 // indirect
81+
golang.org/x/sync v0.1.0 // indirect
82+
golang.org/x/sys v0.10.0 // indirect
83+
golang.org/x/text v0.11.0 // indirect
84+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
85+
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
8786
google.golang.org/grpc v1.54.0 // indirect
88-
google.golang.org/protobuf v1.28.1 // indirect
87+
google.golang.org/protobuf v1.30.0 // indirect
8988
gopkg.in/fsnotify/fsnotify.v1 v1.4.7 // indirect
9089
gopkg.in/yaml.v2 v2.4.0 // indirect
9190
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)