Skip to content

Commit cfa350b

Browse files
authored
Merge pull request #814 from openziti/fix-bind-retry-after-svc-delete
Close listener when service is deleted or permission is lost to the service. Fixes #813
2 parents 97ec061 + 6a642ca commit cfa350b

File tree

11 files changed

+460
-259
lines changed

11 files changed

+460
-259
lines changed

CHANGELOG.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
# Release notes 1.2.8
2+
3+
## Issues Fixed and Dependency Updates
4+
5+
* github.com/openziti/sdk-golang: [v1.2.7 -> v1.2.8](https://github.com/openziti/sdk-golang/compare/v1.2.7...v1.2.8)
6+
* [Issue #736](https://github.com/openziti/sdk-golang/issues/736) - Migrate from github.com/mailru/easyjson
7+
* [Issue #807](https://github.com/openziti/sdk-golang/issues/807) - Don't send close from rxer to avoid blocking
8+
* [Issue #813](https://github.com/openziti/sdk-golang/issues/813) - SDK doesn't stop close listener when it detects that a service being hosted gets deleted
9+
10+
* github.com/go-openapi/runtime: v0.28.0 -> v0.29.0
11+
* github.com/go-openapi/strfmt: v0.23.0 -> v0.24.0
12+
* github.com/michaelquigley/pfxlog: v0.6.10 -> v1.0.0
13+
* github.com/openziti/channel/v4: [v4.2.31 -> v4.2.37](https://github.com/openziti/channel/compare/v4.2.31...v4.2.37)
14+
* github.com/openziti/edge-api: [v0.26.47 -> v0.26.48](https://github.com/openziti/edge-api/compare/v0.26.47...v0.26.48)
15+
* github.com/openziti/foundation/v2: [v2.0.73 -> v2.0.77](https://github.com/openziti/foundation/compare/v2.0.73...v2.0.77)
16+
* [Issue #455](https://github.com/openziti/foundation/issues/455) - Correctly close goroutine pool when external close is signaled
17+
* [Issue #452](https://github.com/openziti/foundation/issues/452) - Goroutine pool with a min worker count of 1 can drop to 0 workers due to race condition
18+
19+
* github.com/openziti/identity: [v1.0.112 -> v1.0.116](https://github.com/openziti/identity/compare/v1.0.112...v1.0.116)
20+
* [Issue #68](https://github.com/openziti/identity/issues/68) - Shutdown file watcher when stopping identity watcher
21+
22+
* github.com/openziti/transport/v2: [v2.0.189 -> v2.0.194](https://github.com/openziti/transport/compare/v2.0.189...v2.0.194)
23+
* github.com/zitadel/oidc/v3: v3.44.0 -> v3.45.0
24+
* google.golang.org/protobuf: v1.36.9 -> v1.36.10
25+
* github.com/go-openapi/analysis: v0.23.0 -> v0.24.0
26+
* github.com/go-openapi/errors: v0.22.0 -> v0.22.3
27+
* github.com/go-openapi/jsonpointer: v0.21.0 -> v0.22.1
28+
* github.com/go-openapi/jsonreference: v0.21.0 -> v0.21.2
29+
* github.com/go-openapi/loads: v0.22.0 -> v0.23.1
30+
* github.com/go-openapi/spec: v0.21.0 -> v0.22.0
31+
* github.com/go-openapi/swag: v0.23.0 -> v0.25.1
32+
* github.com/go-openapi/swag/cmdutils: v0.25.1 (new)
33+
* github.com/go-openapi/swag/conv: v0.25.1 (new)
34+
* github.com/go-openapi/swag/fileutils: v0.25.1 (new)
35+
* github.com/go-openapi/swag/jsonname: v0.25.1 (new)
36+
* github.com/go-openapi/swag/jsonutils: v0.25.1 (new)
37+
* github.com/go-openapi/swag/loading: v0.25.1 (new)
38+
* github.com/go-openapi/swag/mangling: v0.25.1 (new)
39+
* github.com/go-openapi/swag/netutils: v0.25.1 (new)
40+
* github.com/go-openapi/swag/stringutils: v0.25.1 (new)
41+
* github.com/go-openapi/swag/typeutils: v0.25.1 (new)
42+
* github.com/go-openapi/swag/yamlutils: v0.25.1 (new)
43+
* github.com/go-openapi/validate: v0.24.0 -> v0.25.0
44+
* github.com/go-viper/mapstructure/v2: v2.4.0 (new)
45+
* go.mongodb.org/mongo-driver: v1.17.0 -> v1.17.4
46+
* go.opentelemetry.io/auto/sdk: v1.1.0 -> v1.2.1
47+
* go.opentelemetry.io/otel: v1.37.0 -> v1.38.0
48+
* go.opentelemetry.io/otel/metric: v1.37.0 -> v1.38.0
49+
* go.opentelemetry.io/otel/trace: v1.37.0 -> v1.38.0
50+
* go.yaml.in/yaml/v3: v3.0.4 (new)
51+
* golang.org/x/crypto: v0.41.0 -> v0.42.0
52+
* golang.org/x/net: v0.43.0 -> v0.44.0
53+
* golang.org/x/sync: v0.16.0 -> v0.17.0
54+
* golang.org/x/term: v0.34.0 -> v0.35.0
55+
* golang.org/x/text: v0.28.0 -> v0.29.0
56+
157
# Release notes 1.2.5
258

359
## Issues Fixed and Dependency Updates

example/go.mod

Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/openziti/sdk-golang/example
22

3-
go 1.24.0
4-
5-
toolchain go1.24.1
3+
go 1.24.7
64

75
replace github.com/openziti/sdk-golang => ../
86

@@ -12,7 +10,7 @@ require (
1210
github.com/google/uuid v1.6.0
1311
github.com/gorilla/mux v1.8.1
1412
github.com/michaelquigley/pfxlog v0.6.10
15-
github.com/openziti/edge-api v0.26.47
13+
github.com/openziti/edge-api v0.26.48
1614
github.com/openziti/foundation/v2 v2.0.77
1715
github.com/openziti/runzmd v1.0.83
1816
github.com/openziti/sdk-golang v1.2.6
@@ -45,17 +43,29 @@ require (
4543
github.com/go-logr/logr v1.4.3 // indirect
4644
github.com/go-logr/stdr v1.2.2 // indirect
4745
github.com/go-ole/go-ole v1.3.0 // indirect
48-
github.com/go-openapi/analysis v0.23.0 // indirect
49-
github.com/go-openapi/errors v0.22.0 // indirect
50-
github.com/go-openapi/jsonpointer v0.21.0 // indirect
51-
github.com/go-openapi/jsonreference v0.21.0 // indirect
52-
github.com/go-openapi/loads v0.22.0 // indirect
53-
github.com/go-openapi/runtime v0.28.0 // indirect
54-
github.com/go-openapi/spec v0.21.0 // indirect
55-
github.com/go-openapi/strfmt v0.23.0 // indirect
56-
github.com/go-openapi/swag v0.23.0 // indirect
57-
github.com/go-openapi/validate v0.24.0 // indirect
46+
github.com/go-openapi/analysis v0.24.0 // indirect
47+
github.com/go-openapi/errors v0.22.3 // indirect
48+
github.com/go-openapi/jsonpointer v0.22.1 // indirect
49+
github.com/go-openapi/jsonreference v0.21.2 // indirect
50+
github.com/go-openapi/loads v0.23.1 // indirect
51+
github.com/go-openapi/runtime v0.29.0 // indirect
52+
github.com/go-openapi/spec v0.22.0 // indirect
53+
github.com/go-openapi/strfmt v0.24.0 // indirect
54+
github.com/go-openapi/swag v0.25.1 // indirect
55+
github.com/go-openapi/swag/cmdutils v0.25.1 // indirect
56+
github.com/go-openapi/swag/conv v0.25.1 // indirect
57+
github.com/go-openapi/swag/fileutils v0.25.1 // indirect
58+
github.com/go-openapi/swag/jsonname v0.25.1 // indirect
59+
github.com/go-openapi/swag/jsonutils v0.25.1 // indirect
60+
github.com/go-openapi/swag/loading v0.25.1 // indirect
61+
github.com/go-openapi/swag/mangling v0.25.1 // indirect
62+
github.com/go-openapi/swag/netutils v0.25.1 // indirect
63+
github.com/go-openapi/swag/stringutils v0.25.1 // indirect
64+
github.com/go-openapi/swag/typeutils v0.25.1 // indirect
65+
github.com/go-openapi/swag/yamlutils v0.25.1 // indirect
66+
github.com/go-openapi/validate v0.25.0 // indirect
5867
github.com/go-resty/resty/v2 v2.16.5 // indirect
68+
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
5969
github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
6070
github.com/golang/protobuf v1.5.4 // indirect
6171
github.com/gomarkdown/markdown v0.0.0-20250810172220-2e2c11897d1a // indirect
@@ -64,12 +74,10 @@ require (
6474
github.com/gorilla/websocket v1.5.3 // indirect
6575
github.com/hashicorp/hcl v1.0.0 // indirect
6676
github.com/inconshreveable/mousetrap v1.1.0 // indirect
67-
github.com/josharian/intern v1.0.0 // indirect
6877
github.com/kataras/go-events v0.0.3 // indirect
6978
github.com/kyokomi/emoji/v2 v2.2.13 // indirect
7079
github.com/lufia/plan9stats v0.0.0-20231016141302-07b5767bb0ed // indirect
7180
github.com/magiconair/properties v1.8.7 // indirect
72-
github.com/mailru/easyjson v0.7.7 // indirect
7381
github.com/mattn/go-colorable v0.1.14 // indirect
7482
github.com/mattn/go-isatty v0.0.20 // indirect
7583
github.com/mattn/go-runewidth v0.0.19 // indirect
@@ -79,7 +87,6 @@ require (
7987
github.com/mitchellh/mapstructure v1.5.0 // indirect
8088
github.com/muhlemmer/gu v0.3.1 // indirect
8189
github.com/oklog/ulid v1.3.1 // indirect
82-
github.com/opentracing/opentracing-go v1.2.0 // indirect
8390
github.com/openziti/channel/v4 v4.2.37 // indirect
8491
github.com/openziti/go-term-markdown v1.0.1 // indirect
8592
github.com/openziti/identity v1.0.116 // indirect
@@ -107,15 +114,16 @@ require (
107114
github.com/valyala/fasttemplate v1.2.2 // indirect
108115
github.com/yusufpapurcu/wmi v1.2.4 // indirect
109116
github.com/zitadel/logging v0.6.2 // indirect
110-
github.com/zitadel/oidc/v3 v3.44.0 // indirect
117+
github.com/zitadel/oidc/v3 v3.45.0 // indirect
111118
github.com/zitadel/schema v1.3.1 // indirect
112-
go.mongodb.org/mongo-driver v1.17.0 // indirect
119+
go.mongodb.org/mongo-driver v1.17.4 // indirect
113120
go.mozilla.org/pkcs7 v0.9.0 // indirect
114-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
115-
go.opentelemetry.io/otel v1.37.0 // indirect
116-
go.opentelemetry.io/otel/metric v1.37.0 // indirect
117-
go.opentelemetry.io/otel/trace v1.37.0 // indirect
121+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
122+
go.opentelemetry.io/otel v1.38.0 // indirect
123+
go.opentelemetry.io/otel/metric v1.38.0 // indirect
124+
go.opentelemetry.io/otel/trace v1.38.0 // indirect
118125
go.uber.org/multierr v1.11.0 // indirect
126+
go.yaml.in/yaml/v3 v3.0.4 // indirect
119127
golang.org/x/crypto v0.42.0 // indirect
120128
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
121129
golang.org/x/net v0.44.0 // indirect
@@ -124,7 +132,7 @@ require (
124132
golang.org/x/sys v0.36.0 // indirect
125133
golang.org/x/term v0.35.0 // indirect
126134
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
127-
google.golang.org/protobuf v1.36.9 // indirect
135+
google.golang.org/protobuf v1.36.10 // indirect
128136
gopkg.in/ini.v1 v1.67.0 // indirect
129137
gopkg.in/yaml.v3 v3.0.1 // indirect
130138
nhooyr.io/websocket v1.8.17 // indirect

0 commit comments

Comments
 (0)