tag:github.com,2008:https://github.com/ClearBlade/ClearBlade-Python-SDK/releases Release notes from ClearBlade-Python-SDK 2025-08-04T16:17:38Z tag:github.com,2008:Repository/15453976/v2.4.7 2025-08-04T16:37:37Z v2.4.7 <p>As per suggestions from wildbiotiger:</p> <ul> <li>Added public attribute to expose underlying Paho MQTT client in case needed</li> <li>Added docstrings to public methods</li> </ul> <p>As per this PR submitted by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/swilcox/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/swilcox">@swilcox</a>:<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2508299194" data-permission-text="Title is private" data-url="https://github.com/ClearBlade/ClearBlade-Python-SDK/issues/31" data-hovercard-type="pull_request" data-hovercard-url="/ClearBlade/ClearBlade-Python-SDK/pull/31/hovercard" href="https://github.com/ClearBlade/ClearBlade-Python-SDK/pull/31">#31</a></p> <ul> <li>Added option to use standard Python logging</li> </ul> sky-sharma tag:github.com,2008:Repository/15453976/v2.4.6 2025-07-18T18:39:29Z v2.4.6 <p><strong>Fix:</strong><br> IF a timeout happened when calling Messaging.connect() with <strong>use_tls</strong> (e.g. due to no network connectivity), THEN calling Messaging.connect() again resulted in an error preventing a successful reconnect. This has been fixed</p> <p><strong>Enhancement:</strong><br> Inside ClearBladeCore.py, there were several direct calls to <strong>exit()</strong> on invalid authentication. These have now been replaced with <strong>cbErrors.handle()</strong> where <strong>cbErrors</strong> is an object of a new ErrorHandler class.</p> <p>The generic <strong>handle()</strong> method is <strong>exit()</strong>. To override this method a user can create a more specific class and an overriding method as follows:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from clearblade.ClearBladeCore import System, cbErrors class YourErrorHandler(cbErrors.ErrorHandler): def handle(self, code): # your custom error handling goes here. Call the super 'handle' (below) if needed # super().handle(code) print(&quot;custom error handling&quot;) cbErrors.ERROR_HANDLER = YourErrorHandler() ..."><pre class="notranslate"><code>from clearblade.ClearBladeCore import System, cbErrors class YourErrorHandler(cbErrors.ErrorHandler): def handle(self, code): # your custom error handling goes here. Call the super 'handle' (below) if needed # super().handle(code) print("custom error handling") cbErrors.ERROR_HANDLER = YourErrorHandler() ... </code></pre></div> sky-sharma tag:github.com,2008:Repository/15453976/v2.4.4 2023-09-13T11:56:53Z v2.4.4 <p>This release provides an additional way to authenticate a device: using mTLS authentication.<br> This requires passing an <strong>x509keyPair</strong> when creating the Device object.</p> <p>Definition: <code>System.Device(name, x509keyPair={"certfile": "/path/to/your/cert.pem", "keyfile": "/path/to/your.key"})</code><br> Returns: Device object.</p> <p>mTLS authentication is achieved by a POST request being sent to API <code>{platformURL}:444/api/v/4/devices/mtls/auth</code> with the provided x509keyPair being loaded into the SSL context's cert chain. This is handled by the SDK.</p> sky-sharma tag:github.com,2008:Repository/15453976/v2.4.3 2023-02-27T21:46:16Z v2.4.3 <h2>What's Changed</h2> <ul> <li>added clean_session param by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jwcrawf/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jwcrawf">@jwcrawf</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1601529223" data-permission-text="Title is private" data-url="https://github.com/ClearBlade/ClearBlade-Python-SDK/issues/20" data-hovercard-type="pull_request" data-hovercard-url="/ClearBlade/ClearBlade-Python-SDK/pull/20/hovercard" href="https://github.com/ClearBlade/ClearBlade-Python-SDK/pull/20">#20</a></li> </ul> jwcrawf tag:github.com,2008:Repository/15453976/v2.4.2 2022-09-19T18:14:27Z v2.4.2 <p>No changes to source code. Only removed a file that was inadvertently added to PyPi distribution.</p> sky-sharma tag:github.com,2008:Repository/15453976/v2.4.1 2022-06-27T15:54:31Z v2.4.1 <h2>What's Changed</h2> <ul> <li>Fix Code in README by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ChihweiLHBird/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ChihweiLHBird">@ChihweiLHBird</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="860297786" data-permission-text="Title is private" data-url="https://github.com/ClearBlade/ClearBlade-Python-SDK/issues/15" data-hovercard-type="pull_request" data-hovercard-url="/ClearBlade/ClearBlade-Python-SDK/pull/15/hovercard" href="https://github.com/ClearBlade/ClearBlade-Python-SDK/pull/15">#15</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ChihweiLHBird/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ChihweiLHBird">@ChihweiLHBird</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="860297786" data-permission-text="Title is private" data-url="https://github.com/ClearBlade/ClearBlade-Python-SDK/issues/15" data-hovercard-type="pull_request" data-hovercard-url="/ClearBlade/ClearBlade-Python-SDK/pull/15/hovercard" href="https://github.com/ClearBlade/ClearBlade-Python-SDK/pull/15">#15</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ClearBlade/ClearBlade-Python-SDK/compare/v2.4.0...v2.4.1"><tt>v2.4.0...v2.4.1</tt></a></p> sky-sharma tag:github.com,2008:Repository/15453976/v2.4.0 2021-01-14T19:44:55Z v2.4.0 <p>Version 2.3.0 -&gt; 2.4.0</p> sky-sharma tag:github.com,2008:Repository/15453976/v2.3.1 2020-12-02T19:49:43Z Version 2.3.1 No content. rajasd27 tag:github.com,2008:Repository/15453976/v2.3.0 2020-12-02T19:02:16Z Version 2.3.0 No content. rajasd27 tag:github.com,2008:Repository/15453976/v2.2.5 2018-10-05T19:28:04Z Version 2.2.5 No content. WorkForPizza