Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump github.com/eclipse/paho.golang from 0.12.0 to 0.21.0 (#673)
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>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 "broker" to "server" 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