Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 13:53
· 18 commits to main since this release

The release on dxFeed Graal Native SDK 3.14.0.

  • SDK. The crates use SDK 3.14.0; the version of dxfeed-graal-sys names it (0.2.0+sdk.3.14.0). Depend on
    dxfeed-graal = "0.2".
  • Message connectors. DXEndpoint::get_connectors returns the connectors of an endpoint. A MessageConnector
    gives its name, kind, masked address, current addresses, state, the active flag, the counts of open and closed
    connections and the bytes and data records read and written (MessageConnectorStatistics). The feature names
    system::feature::MESSAGE_CONNECTORS and CONNECTION_ERRORS are new.
  • Experimental: connector listener and connection errors. With the experimental feature,
    DXEndpoint::add_message_connector_listener calls a closure on each change of a connector, and
    MessageConnector::get_last_error and DXEndpoint::get_last_connection_error return the last connection error
    (ConnectionError: time, masked address, ConnectionErrorCategory, the dropped flag, the class of the Java
    exception, the message and the count of errors).
  • Logging. The SDK sets its root logger to the more verbose of the levels of logging::set_log_level (INFO
    by default) and set_err_level, so the messages below it are not created. A handler of logging::set_handler
    cannot take the levels Trace and All in SDK 3.14.0: use Debug or above with a handler.
  • Live instrument profiles. Closing a live connection ends its thread with the next data or the read timeout;
    before, the end of the process could wait for it.
  • macOS x86-64. The SDK installs no-op handlers of SIGPIPE and SIGXFSZ there, as on the other platforms.
  • Packaging. The published manifests drop license-file next to the SPDX license, the packages of dxfeed-graal
    and dxfeed-graal-sys include their tests, and docs.rs documents all five supported targets.