Pyrtma

Latest version: v2.3.3

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

Scan your dependencies

Page 2 of 5

2.2.2

Bugfixes:

* After reading a message header in `Client.read_message()`, if the number of bytes declared in the header does not match the expected message size, the declared number of bytes are now read before raising an `UnknownMessageType` error. If this error is handled, subsequent `read_message` calls should continue to work by reading the next header.

* All RTMA errrors should now be caught by web manager and forwarded to the websocket when possible. The proxy client should continue running when possible after forwarding the error (the javascript client may choose to disconnect when handling the error)

* The `Message.from_json()` and `Message.from_dict()` methods now treat lists of character strings (strings of length <= 1) as equivalent to strings. Previously the javascript message compiler would compile string fields to a list of empty strings, which could not be decoded back to the python definition in web_manager.

* The javascript message compiler now outputs a string type that will evaluate to an empty string instead of an array of strings.

* web_manager now exclusively prints using logger class instead of `print()`

* web_manager now sends FAILED_MESSAGE if it fails to forward messages to websocket

**Full Changelog**: https://github.com/pitt-rnel/pyrtma/compare/v2.2.1...v2.2.2

2.2.1

Fixes to web_manager and iterating on array field descriptors.

**Full Changelog**: https://github.com/pitt-rnel/pyrtma/compare/v2.1.4...v2.2.1

2.1.4

- Fixed error when `Client.disconnect()` was called before calling `Client.connect()`
- Improved support for pyrtma message compiler options, which can be defined in either root yaml file or as command line args. Command line args will override conflicting options in yaml file.

**Full Changelog**: https://github.com/pitt-rnel/pyrtma/compare/v2.1.3...v2.1.4

2.1.3

What's Changed
* Fixes in web_manager: forward ack and track subscription states by jmw182 and dmweir in https://github.com/pitt-rnel/pyrtma/pull/18


**Full Changelog**: https://github.com/pitt-rnel/pyrtma/compare/v2.1.2...v2.1.3

2.1.2

Bugfixes:

Fixes backwards compatibility with v1 message defs in `send_message`
Fixed keys in message def context dict

**Full Changelog**: https://github.com/pitt-rnel/pyrtma/compare/v2.1.1...v2.1.2

2.1.1

Bugfix: `Client.disconnect()` would raise an exception if called when not connected. It will now silently run if there is nothing to disconnect. Thanks to nielsen00 for reporting the bug.

**Full Changelog**: https://github.com/pitt-rnel/pyrtma/compare/v2.1.0...v2.1.1

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.