Disruptive

Latest version: v1.6.8

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

Scan your dependencies

Page 7 of 8

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.

0.4.1

_Released on 2021-05-04._
Fixed
- [49](https://github.com/disruptive-technologies/disruptive-python/pull/49) Fixed forgotten Humidity attribute rename from `temperature` to `celsius`.
- [50](https://github.com/disruptive-technologies/disruptive-python/pull/50) ConnectionStatus event parameter `available` should be `list[str]`, not `str`.

0.4.0

_Released on 2021-05-02._
Changed
- [44](https://github.com/disruptive-technologies/disruptive-python/pull/44) A few parameters and attributes has been renamed for consistency.
- Organization attribute `id` renamed to `organization_id`.
- Methods `create_dataconnector()` and `update_dataconnector()` parameter `events` renamed to `event_types`.
- Method `get_device()` parameter `project_id` now defaults to wildcard `"-"` instead of None.
- [45](https://github.com/disruptive-technologies/disruptive-python/pull/45) Config variable `request_retries` renamed to `request_attempts` to better reflect what is actually does.
- [46](https://github.com/disruptive-technologies/disruptive-python/pull/46) Logging has been expanded to use either `disruptive.log_level` or the `logging` module.

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.