Sdc11073

Latest version: v2.0.1

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

Scan your dependencies

Page 1 of 2

2.0.1

Fixed

- inconsistent InstanceId attributes in GetMdibResponse

2.0.0

Fixed

- `RuntimeError: dictionary changed size during iteration` for `remote_services` in the discovery [335](https://github.com/Draegerwerk/sdc11073/issues/335)
- DescriptorTransaction sometimes causes wrong DescriptorVersion in states [340](https://github.com/Draegerwerk/sdc11073/issues/340)

2.0.0rc2

Fixed

- fixed a bug where sending and receiving socket are used after they have been closed already [328](https://github.com/Draegerwerk/sdc11073/issues/328)
- fixed a bug where `getsockname()` is called before the socket is binded
- fixed cyclic import [333](https://github.com/Draegerwerk/sdc11073/issues/333)

2.0.0rc1

Fixed

- fixed a bug where comparing `ExtensionLocalValue` would fail when using the `!=` operator [305](https://github.com/Draegerwerk/sdc11073/issues/305)
- fixed wrong typing info in LocalizedText
- added a safety sleep in consumer when starting http server
- fixed possible caching errors in AlarmProvider and AudioPauseProvider

Changed
- new interface for transactions: split transaction into different kinds, e.g. descriptor_transaction, metric_state_transaction, etc.
- `SdcConsumer` provides a dictionary with the current connection status of each subscription it is subscribed to [271](https://github.com/Draegerwerk/sdc11073/issues/271)
- added `force_ssl_connect` parameter to constructor of consumer.

2.0.0a7

Added
- added a way to process operations directly (directly send 'Fin' instead of Wait, Started,...)
- added handling of SystemErrorReports.

Fixed
- basic_logging_setup only handles sdc logger, no more side effect due to calling logging.basicConfig.
- fix possible invalid prefix if QName is a node text.
- fixed wrong response for SetContextState message. [287](https://github.com/Draegerwerk/sdc11073/issues/287)
- fixed connection problem when provider closes socket after first request. [289](https://github.com/Draegerwerk/sdc11073/issues/289)
- change default in ContainerBase.mk_copy to not copy node due to performance problems. [294](https://github.com/Draegerwerk/sdc11073/issues/294)
- waveform provider too slow
- create MetricValue for DistributionSampleArrayMetricState
- dropping of Bye-messages when stopping wsdiscovery

Changed
- change python classes of `addressing_types.py` to match ws-addressing standard of 2006 instead of 2004
- The final OperationInvokedReport has OperationTargetRef parameter set.
This required refactoring of Operations handling.
- moved waveform generator from mdib to roles.waveformprovider
- alert provider performs self check one second before SelfCheckInterval elapses

2.0.0a6

Added

- `network` module to handle network adapter stuff of the host computer
- `mypy` static code analysis

Fixed

- possible choosing wrong ipaddress/network interface [187](https://github.com/Draegerwerk/sdc11073/issues/187)
- added missing SerialNumber to ThisDeviceType
- no creation of operation target states, they should already exist or are not needed if multi state.
- transaction id is unique for provider instead only of sco.
- fixed problem that on operations without handler the transaction id always was 0.
- consumer: renew could be sent after unsubscribe
- possible deadlock when stopping provider
- fixed a bug where the `SdcConsumer` failed to determine the host network adapter if the ip contained in the `device_location` is on a different subnet
- comparison of extensions would fail [238](https://github.com/Draegerwerk/sdc11073/issues/238)
- ExtensionLocalValue.value must be a list instead of a dictionary in order to allow multiple elements with same name.
- fixed a bug where namespaces of xml are lost when coping lxml elements


Changed

- when creating a `SdcClient` with a `device_location` or `WsDiscovery` containing an ip where no suitable host network adapter could be determined from, an `NetworkAdapterNotFoundError` is raised
- removed `netconn` module
- renamed Device with Provider in order to be more compliant with sdc11073 names:
sdc11073.sdcdevice.SdcDevice becomes sdc11073.provider.SdcProvider,
sdc11073.mdib.devicemdib.DeviceMdibContainer becomes sdc11073.mdib.providermdib.ProviderMdib, etc.
- renamed Client with Consumer: sdc11073.sdcclient.SdcClient becomes sdc11073.consumer.SdcConsumer,
sdc11073.mdib.clientmdib.ClientMdibContainer becomes sdc11073.mdib.consumermdib.ConsumerMdib, etc.
- reduced max_subscription_duration of provider to 15 seconds
- renew can be performed in fixed intervals (as before) or depending on Expires time of subscription.
- SdcLocation class reworked; use 'bldng' instead of 'bld', which better matches the standard.
- Some classes renamed in pmtypes.py
- soap client does not try implicit reconnects
- replaced some of the ssl_context parameters with an ssl_context_container parameter,
that can hold two ssl context objects, to be able to get rid of
the deprecation warning occurring when using the same ssl context for both client and server side
- replaced AbstractDescriptorContainer.retrievability property with methods get_retrievability() and set_retrievability()

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.