Disruptive

Latest version: v1.7.0

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

Scan your dependencies

Page 7 of 9

0.7.0

Changed
- [78](https://github.com/disruptive-technologies/python-client/pull/78) Renamed `NetworkStatusCloudConnector` attribute `cloudconnector_id` to `device_id` for consistency.

0.6.2

Fixed
- [77](https://github.com/disruptive-technologies/python-client/pull/77) Fixed a bug where Device constructor crashed if productNumber was missing in response.

0.6.1

Fixed
- [74](https://github.com/disruptive-technologies/python-client/pull/74) Fixed a bug where the stream would simply exit silently if an error were returned by the API.

Added
- [75](https://github.com/disruptive-technologies/python-client/pull/75) Added new `product_number` attribute to `Device` class.

0.6.0

Changed
- [69](https://github.com/disruptive-technologies/python-client/pull/69) Renamed Humidity event attribute "humidity" to "relative_humidity".
- [70](https://github.com/disruptive-technologies/python-client/pull/70) Replaced EmptyStringError with more general ConfigurationError.

Added
- [72](https://github.com/disruptive-technologies/python-client/pull/72) Added support for 2nd generation temperature sensors.

0.5.1

_Released on 2021-06-07._
Fixed
- [e1ae80b](https://github.com/disruptive-technologies/python-client/commit/e1ae80b31c657450ff75521a1bbeace5c30e665b) Added missing constructor for UnknownError.

Added
- [68](https://github.com/disruptive-technologies/python-client/pull/68) Added stricter rules for MyPy, resulting in stronger typing.

0.5.0

_Released on 2021-05-13._
Changed
- [52](https://github.com/disruptive-technologies/disruptive-python/pull/52) Replaced `disruptive.errors.TypeError` and `disruptive.errors.ValueError` with built-ins.
- [54](https://github.com/disruptive-technologies/disruptive-python/pull/54) Combined `disruptive.Stream.device()` and `.project()` into `.event_stream()`.
- [56](https://github.com/disruptive-technologies/disruptive-python/pull/56) Method `disruptive.Project.update_member()` roles parameter no longer optional.
- [57](https://github.com/disruptive-technologies/disruptive-python/pull/57) Method `disruptive.EventHistory.list_events()` now returns a list of events, not an `EventHistory` object.
- [58](https://github.com/disruptive-technologies/disruptive-python/pull/58) A few key names have been changed.
- All `serviceaccount` occurances have been renamed to `service_account`.
- All `dataconnector` occurances have been renamed to `data_connector`.
- [60](https://github.com/disruptive-technologies/disruptive-python/pull/60) `Auth` methods now returns instances of classes special to the chosen method, like `ServiceAccountAuth`.
- [61](https://github.com/disruptive-technologies/disruptive-python/pull/61) Renamed a few variables and parameters.
- Renamed `ServiceAccount` attribute `basic_auth` to `basic_auth_enabled`.
- Renamed `api_url` to `base_url`.
- Renamed `emulator_url` to `emulator_base_url`.
- [64](https://github.com/disruptive-technologies/disruptive-python/pull/64) Method `disruptive.Stream.event_stream()` parameter `label_filters` now takes dict instead of list.

Added
- [62](https://github.com/disruptive-technologies/disruptive-python/pull/62) Batch-style resource methods now return a list of errors objects.
- [63](https://github.com/disruptive-technologies/disruptive-python/pull/63) Exceptions are now grouped into four main groups for easier handling.

Page 7 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.