Pysesame3

Latest version: v0.6.0

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.4.1

Changelog

[v0.4.1](https://github.com/mochipon/pysesame3/tree/v0.4.1) (2021-07-05)

**Fixed bugs:**

- \[Bug\]: Subscription to a device shadow cannot be continued after 24 hours [\36](https://github.com/mochipon/pysesame3/issues/36)

**Merged pull requests:**

- Renew Cognito credentials on MQTT reconnection [\37](https://github.com/mochipon/pysesame3/pull/37)

0.4.0

Changelog

⚠️ Breaking changes for all users

The `lock` module is renamed into `chsesame2` in https://github.com/mochipon/pysesame3/pull/31. This is a preparation to support new devices, so please bear with me.

Old
python
from pysesame3.lock import CHSesame2


New
python
from pysesame3.chsesame2 import CHSesame2


⚠️ Breaking changes for `CognitoAuth` users

Using `subscribeMechStatus`, you can set a function (callback) to be executed when the lock status changes. In previous releases, device shadows were not handled correctly within `pysesame3` if you set your own callbacks. The issue is fixed at https://github.com/mochipon/pysesame3/pull/27.

From this release, the callback must accept two inputs. The first will be a device object itself and the second will be a latest MechStatus of a device. Please take a look at [the updated example script](https://pysesame3.readthedocs.io/en/stable/usage/#example-usage).

Old
python
def your_callback(client, userdata, message):
...


New
python
def your_callback(device: CHSesame2, status: CHSesame2MechStatus):
...


[v0.4.0](https://github.com/mochipon/pysesame3/tree/v0.4.0) (2021-07-03)

**Fixed bugs:**

- \[Bug\]: `subscribeMechStatus` callback will not be executed [\32](https://github.com/mochipon/pysesame3/issues/32)
- Fix for unexpected \(imcomplete\) device shadow [\33](https://github.com/mochipon/pysesame3/pull/33)

**Merged pull requests:**

- Rename the module: `lock` -\> `chsesame2` [\31](https://github.com/mochipon/pysesame3/pull/31)
- Ensure we have the latest pip version in build environments [\30](https://github.com/mochipon/pysesame3/pull/30)
- Increase test coverage, correct type hints [\29](https://github.com/mochipon/pysesame3/pull/29)
- Modernize issue templates [\28](https://github.com/mochipon/pysesame3/pull/28)
- Support for setting the callback for MechStatus updates [\27](https://github.com/mochipon/pysesame3/pull/27)
- Fix signed value conversion [\26](https://github.com/mochipon/pysesame3/pull/26)
- Update precommit hook pre-commit/mirrors-isort to v5.9.1 [\24](https://github.com/mochipon/pysesame3/pull/24)

0.3.1

Changelog

[v0.3.1](https://github.com/mochipon/pysesame3/tree/v0.3.1) (2021-06-21)

**Closed issues:**

- history enumeration fails because of unexpected parameter in CHSesame2History. [\19](https://github.com/mochipon/pysesame3/issues/19)

**Merged pull requests:**

- Cosmetic Changes [\22](https://github.com/mochipon/pysesame3/pull/22)
- Update precommit hook pre-commit/mirrors-isort to v5.9.0 [\20](https://github.com/mochipon/pysesame3/pull/20)
- Update dependency mkdocstrings to ^0.15.0 [\18](https://github.com/mochipon/pysesame3/pull/18)
- Configure Renovate [\17](https://github.com/mochipon/pysesame3/pull/17)

0.3.0

Changelog

[v0.3.0](https://github.com/mochipon/pysesame3/tree/v0.3.0) (2021-06-15)

⚠️ Important

`CognitoAuth` is now available from this release. Please take a look at [the document](https://pysesame3.readthedocs.io/en/latest/usage/).

Please note that **`CognitoAuth` is not available by default.** If you want to use it, you need to specify it explicitly when you install the library: `pip install pysesame3[cognito]`.

Merged pull requests:

- Implement `CognitoAuth` [\15](https://github.com/mochipon/pysesame3/pull/15)
- `setDeviceShadowStatus` when acquiring mechanical state [\14](https://github.com/mochipon/pysesame3/pull/14)

0.2.2

Changelog

[v0.2.2](https://github.com/mochipon/pysesame3/tree/v0.2.2) (2021-06-14)

**Merged pull requests:**

- Cosmetic changes for package building and docs [\9](https://github.com/mochipon/pysesame3/pull/9) [\#12](https://github.com/mochipon/pysesame3/pull/12)
- \[Breaking Change\] Default key tag is changed to `pysesame3` from `API` [\8](https://github.com/mochipon/pysesame3/pull/8)
- Do not limit the length of the AES-MAC \(`sign`\) value [\7](https://github.com/mochipon/pysesame3/pull/7)
- Use an auto-generated release note for publishing a release [\6](https://github.com/mochipon/pysesame3/pull/6)

0.2.1

Failed to auto-generate a release note

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.