Skip to content

Commit

Permalink
Bump github.com/eclipse/paho.golang from 0.12.0 to 0.21.0 (#673)
Browse files Browse the repository at this point in the history
Bumps
[github.com/eclipse/paho.golang](https://github.com/eclipse/paho.golang)
from 0.12.0 to 0.21.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/eclipse/paho.golang/releases">github.com/eclipse/paho.golang's
releases</a>.</em></p>
<blockquote>
<h2>0.21</h2>
<p>The is a minor release, it addresses an issue with
<code>DefaultPinger</code> that could lead to the connection being
dropped in error. It also sets the required minimum version of Go to
1.21.</p>
<h2>What's Changed</h2>
<ul>
<li>Resolve erroneous ping timeout by <a
href="https://github.com/MattBrittan"><code>@​MattBrittan</code></a> in
<a
href="https://redirect.github.com/eclipse/paho.golang/pull/238">eclipse/paho.golang#238</a></li>
<li>Remove MaximumQoS property from CONNECT packet <a
href="https://redirect.github.com/eclipse/paho.golang/issues/161">#161</a>
by <a href="https://github.com/tomatod"><code>@​tomatod</code></a> in <a
href="https://redirect.github.com/eclipse/paho.golang/pull/243">eclipse/paho.golang#243</a></li>
<li>Update dependencies and set go.mod to <code>go 1.21</code> by <a
href="https://github.com/MattBrittan"><code>@​MattBrittan</code></a> in
<a
href="https://redirect.github.com/eclipse/paho.golang/pull/245">eclipse/paho.golang#245</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/eclipse/paho.golang/compare/v0.20.0...v0.21.0">https://github.com/eclipse/paho.golang/compare/v0.20.0...v0.21.0</a></p>
<h2>0.20</h2>
<p>The is a major release which adds:</p>
<ul>
<li><a
href="https://redirect.github.com/eclipse/paho.golang/issues/25">Full
QOS1/2 support</a> including persistent sessions (both memory and disk
storage supported).</li>
<li>Significant changes (mostly backwards compatible for now) to the
handling of inbound messages (see <a
href="https://redirect.github.com/eclipse/paho.golang/issues/168">this
issue</a>).</li>
<li>A new <a
href="https://redirect.github.com/eclipse/paho.golang/issues/137">pinger</a>.</li>
<li>Major improvements to the test suite.</li>
</ul>
<p>The largest changes were introduced into <a
href="https://github.com/master"><code>@​master</code></a> in October
(immediately after the release of v0.12) and we have delayed the release
until now to allow for testing (the core code has been running on a
number of production systems for over two months). However, due to the
extent of the changes, we do recommend that you thoroughly test after
upgrading.</p>
<p>Breaking changes include (but are not limited to):</p>
<ul>
<li><code>paho</code>
<ul>
<li><code>paho.Publish</code> when publishing at QOS1/2 the packet
identifier (if acquired) was released if the context expired
regardless of whether the message had been sent (potentially leading to
reuse of the ID and in breach of the spec).
This has been changed such that once transmitted, the message will be
acknowledged regardless of the publish context
(but the Publish function will only block until the context expires).
The Errors returned now better indicate what
occurred.</li>
<li>router - this should work as-is for most users in v0.20, however
<code>ClientConfig.Router</code> will be removed in a future
release. Please replace <code>ClientConfig.Router</code> with
<code>ClientConfig.OnPublishReceived</code> (which is more flexible;
note that
you can still use <code>StandardRouter</code> - see
<code>autopaho/examples/router</code>).</li>
<li><code>ClientConfig</code> is now private (accessing this led to race
conditions).</li>
<li><code>Pinger</code> interface has changed (and
<code>DefaultPinger</code> has been rewritten).</li>
<li><code>ClientOptions.MIDs</code> has been removed.</li>
</ul>
</li>
<li><code>autopaho</code>
<ul>
<li><code>autopaho</code> CleanSession flag. Previously
<code>CleanSession</code> was hardcoded to <code>true</code>; this is no
longer the case and
the default is <code>false</code>. Whilst his is potentially a breaking
change, <code>SessionExpiryInterval</code> will default to 0 meaning
the session will be removed when the connection drops. As a result this
change should have no impact on most users; it
may be a problem if another application has connected with
<code>SessionExpiryInterval&gt;0</code> meaning a session exists.</li>
</ul>
</li>
</ul>
<p>Thanks to all contributors (with special thanks to those who helped
to test this release!).</p>
<h2>What's Changed (excluding a lot of minor changes)</h2>
<ul>
<li>Implement session state (full QOS1/2 support) and publish queue by
<a href="https://github.com/MattBrittan"><code>@​MattBrittan</code></a>
in <a
href="https://redirect.github.com/eclipse/paho.golang/pull/172">eclipse/paho.golang#172</a></li>
<li>Consistent config structure in autopaho and rename
&quot;broker&quot; to &quot;server&quot; by <a
href="https://github.com/MattBrittan"><code>@​MattBrittan</code></a> in
<a
href="https://redirect.github.com/eclipse/paho.golang/pull/188">eclipse/paho.golang#188</a></li>
<li>Remove SingleHandlerRouter by <a
href="https://github.com/MattBrittan"><code>@​MattBrittan</code></a> in
<a
href="https://redirect.github.com/eclipse/paho.golang/pull/186">eclipse/paho.golang#186</a></li>
<li>Pass <code>*url.URL</code> to ConnectPacketBuilder by <a
href="https://github.com/XANi"><code>@​XANi</code></a> in <a
href="https://redirect.github.com/eclipse/paho.golang/pull/206">eclipse/paho.golang#206</a></li>
<li>Replace Router with OnPublishReceived Callback by <a
href="https://github.com/MattBrittan"><code>@​MattBrittan</code></a> in
<a
href="https://redirect.github.com/eclipse/paho.golang/pull/211">eclipse/paho.golang#211</a></li>
<li>Remove router from most tests and examples. by <a
href="https://github.com/MattBrittan"><code>@​MattBrittan</code></a> in
<a
href="https://redirect.github.com/eclipse/paho.golang/pull/215">eclipse/paho.golang#215</a></li>
<li>Update CONTRIBUTING.md by <a
href="https://github.com/minyukim"><code>@​minyukim</code></a> in <a
href="https://redirect.github.com/eclipse/paho.golang/pull/218">eclipse/paho.golang#218</a></li>
<li>Re-authentication with MQTT5 Enhanced Authentication (AUTH packet
exchange) in autopaho by <a
href="https://github.com/minyukim"><code>@​minyukim</code></a> in <a
href="https://redirect.github.com/eclipse/paho.golang/pull/219">eclipse/paho.golang#219</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/eclipse/paho.golang/commit/b8e1f6a64cb61f49252bc6e6f1c03c4d90db0ca6"><code>b8e1f6a</code></a>
Update dependencies and set go.mod to <code>go 1.21</code></li>
<li><a
href="https://github.com/eclipse/paho.golang/commit/b24177866c068eb54dcad4fca8711f2e75b02909"><code>b241778</code></a>
Update dependencies and set go.mod to <code>go 1.21</code></li>
<li><a
href="https://github.com/eclipse/paho.golang/commit/79a760b7209d5400fc8284e55f22e4146b21e1b1"><code>79a760b</code></a>
Merge pull request <a
href="https://redirect.github.com/eclipse/paho.golang/issues/243">#243</a>
from tomatod/fix/remove-maximum-packet-size-from-connect</li>
<li><a
href="https://github.com/eclipse/paho.golang/commit/f618513dea74c388d7c28d20b9471abc1e00e08f"><code>f618513</code></a>
Remove MaximumQoS property from CONNECT packet, because it's not
included in ...</li>
<li><a
href="https://github.com/eclipse/paho.golang/commit/ace27f783cdecf921121f46032992bd2e7493929"><code>ace27f7</code></a>
Merge pull request <a
href="https://redirect.github.com/eclipse/paho.golang/issues/238">#238</a>
from ChIoT-Tech/master</li>
<li><a
href="https://github.com/eclipse/paho.golang/commit/d6b4c5250378900a53096b8a799f2f4ae76c936d"><code>d6b4c52</code></a>
Resolve erroneous ping timeout</li>
<li><a
href="https://github.com/eclipse/paho.golang/commit/6273f16b1ec36611fe4e1f6ce1307bc45d746ba2"><code>6273f16</code></a>
Update README.md</li>
<li><a
href="https://github.com/eclipse/paho.golang/commit/12afa9c9de4537f78cf6853bcd215a4fde331288"><code>12afa9c</code></a>
Update readme in preparation for 0.20.0 release</li>
<li><a
href="https://github.com/eclipse/paho.golang/commit/49a4b55d932359c56d034aceea22492b61d51bfb"><code>49a4b55</code></a>
Preparation for 0.20.0 release</li>
<li><a
href="https://github.com/eclipse/paho.golang/commit/b2b1f601089e03bebe97a389afc37d7f883e9a4e"><code>b2b1f60</code></a>
autopaho queue error handling</li>
<li>Additional commits viewable in <a
href="https://github.com/eclipse/paho.golang/compare/v0.12.0...v0.21.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/eclipse/paho.golang&package-manager=go_modules&previous-version=0.12.0&new-version=0.21.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Mar 5, 2024
1 parent 27ecfe7 commit cf8db96
Show file tree
Hide file tree
Showing 99 changed files with 3,378 additions and 1,108 deletions.
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/aws/aws-sdk-go-v2/credentials v1.16.16
github.com/aws/aws-sdk-go-v2/service/sns v1.26.7
github.com/aws/aws-sdk-go-v2/service/sqs v1.29.7
github.com/eclipse/paho.golang v0.12.0
github.com/eclipse/paho.golang v0.21.0
github.com/elastic/elastic-transport-go/v8 v8.4.0
github.com/elastic/go-elasticsearch/v8 v8.12.0
github.com/go-redis/redis/extra/rediscmd v0.2.0
Expand Down Expand Up @@ -81,10 +81,10 @@ require (
go.opentelemetry.io/otel/metric v1.21.0 // indirect
go.opentelemetry.io/otel/trace v1.21.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/net v0.18.0 // indirect
golang.org/x/crypto v0.19.0 // indirect
golang.org/x/net v0.21.0 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 h1:Oy0F4A
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3/go.mod h1:YvSRo5mw33fLEx1+DlK6L2VV43tJt5Eyel9n9XBcR+0=
github.com/eapache/queue v1.1.0 h1:YOEu7KNc61ntiQlcEeUIoDTJ2o8mQznoNvUhiigpIqc=
github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I=
github.com/eclipse/paho.golang v0.12.0 h1:EXQFJbJklDnUqW6lyAknMWRhM2NgpHxwrrL8riUmp3Q=
github.com/eclipse/paho.golang v0.12.0/go.mod h1:TSDCUivu9JnoR9Hl+H7sQMcHkejWH2/xKK1NJGtLbIE=
github.com/eclipse/paho.golang v0.21.0 h1:cxxEReu+iFbA5RrHfRGxJOh8tXZKDywuehneoeBeyn8=
github.com/eclipse/paho.golang v0.21.0/go.mod h1:GHF6vy7SvDbDHBguaUpfuBkEB5G6j0zKxMG4gbh6QRQ=
github.com/elastic/elastic-transport-go/v8 v8.4.0 h1:EKYiH8CHd33BmMna2Bos1rDNMM89+hdgcymI+KzJCGE=
github.com/elastic/elastic-transport-go/v8 v8.4.0/go.mod h1:YLHer5cj0csTzNFXoNQ8qhtGY1GTvSqPnKWKaqQE3Hk=
github.com/elastic/go-elasticsearch/v8 v8.12.0 h1:krkiCf4peJa7bZwGegy01b5xWWaYpik78wvisTeRO1U=
Expand Down Expand Up @@ -223,8 +223,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58=
golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k=
golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo=
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
Expand All @@ -237,8 +237,8 @@ golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qx
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.18.0 h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg=
golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ=
golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4=
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
Expand All @@ -259,8 +259,8 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y=
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
Expand Down
21 changes: 19 additions & 2 deletions vendor/github.com/eclipse/paho.golang/LICENSE

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

Loading

0 comments on commit cf8db96

Please sign in to comment.