Skip to content

v0.6.0-pre.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@sgoll sgoll released this 18 May 16:53
· 83 commits to main since this release

Added

  • Add logical OR combinator for ua::BrowseResultMask and ua::NodeClassMask.
  • Add const ua::NodeClassMask variants to initialize masks.
  • Add serde serialization for ua::Array and ua::Variant with array value.
  • Add constructors ua::Variant::scalar() and ua::Variant::array().
  • Add constructor ua::DataValue::new().
  • Add helper method ua::Array::into_array() for conversion into native Rust array.

Changed

  • Breaking: Remove associated functions for enum data types deprecated in 0.5.0, e.g. ua::AttributedId::value(). Use uppercase constants ua::AttributedId::VALUE instead.
  • Breaking: Split Server::new() and ServerBuilder::build() result type into Server and ServerRunner to allow interacting with server's data tree while server is running.
  • Upgrade to open62541 version 1.4.0.
  • Reintroduce internal mutex in AsyncClient to work around issue in open62541 version 1.4.

Fixed

  • Avoid memory leak when calling ua::Variant::with_scalar() multiple times on the same value.