Skip to content

Release 2.1.0

Choose a tag to compare

@m-unkel m-unkel released this 20 Feb 14:35
· 71 commits to main since this release

Features

  • Serve type hints for all classes and methods as a .pyi file.
  • Add the property Server.protocol_parameters and Connection.protocol_parameters to enable reading and updating protocol parameters, such as window size and timeouts.
  • Provide Batch Transmission support via the new Batch class, in combination with Server.transmit_batch(...), for monitoring direction.
  • Sending Connection.counter_interrogation() supports full Qualifier of Counter Interrogation (Rqt and Frz)
  • Introduce the Connection.on_unexpected_message() callback to get informed about unsupported messages, or messages with type id conflicts
  • Add the Station.signal_initialized(cause=...) method to support sending end-of-initialization messages per station to all connected clients.
  • Introduce the Client.on_station_initialized callback to handle end-of-initialization messages.
  • Send monitoring data formatted as sequences in periodic transmissions and interrogation responses, if possible.
  • Add TransportSecurity.set_ciphers() to specify a list of supported cipher suites.
  • Add TransportSecurity.set_renegotiation_time() to configure the TLS renegotiation time.
  • Add TransportSecurity.set_resumption_interval() to define the session resumption interval.
  • Raise a ValueError when modifying a TransportSecurity object that is already assigned to a client or server, as changes have no effect.

Dependencies

  • Add python 3.13 support
  • Minor update of lib60870 to 2.3.4
  • Major update of Mbed TLS to 3.6.2, add support for TLS 1.3

Fixes

  • Fix Client.get_connection method to accept ip and port or common_address argument
  • Fix Qoc reference in docs
  • Improved error message on assigning invalid information object to a points value or quality property

Deprecations

  • Property number_of_object renamed to number_of_objects in class IncomingMessage

Breaking Changes

  • Dropped TLS 1.1 support