Skip to content

Releases: HMIProject/open62541

v0.8.0

12 Feb 15:17
Compare
Choose a tag to compare

Added

  • Add method with_policy_id() to ua::AnonymousIdentityToken and ua::UserNameIdentityToken.
  • Add method ua::UserNameIdentityToken::with_encryption_algorithm().
  • Add ua::X509IdentityToken and ua::IssuedIdentityToken.
  • Breaking: Add enum variants X509 and Issued to UserIdentityToken.

Changed

  • Breaking: Expect ua::String, ua::ByteString in ua::UserNameIdentityToken::with_user_name(), ua::UserNameIdentityToken::with_password().

v0.7.3

06 Feb 14:14
Compare
Choose a tag to compare

Added

  • Add method MonitoredItemBuilder::attribute_id() to set a different attribute ID to monitor.
  • Add method MonitoredItemBuilder::filter() and related data types ua::DataChangeFilter, ua::EventFilter, ua::AggregateFilter along with associated data types.
  • Add methods ClientBuilder::security_mode() and ClientBuilder::security_policy_uri() to select security mode and security policy URI when filtering remote endpoints.

Changed

  • Upgrade to open62541 version 1.4.10.

v0.7.2

13 Jan 11:55
Compare
Choose a tag to compare

Added

  • Add method Server::write_data_value() to allow setting variable value with timestamps (#190).
  • Add SubscriptionBuilder and MonitoredItemBuilder to create subscription and monitored items with additional control over request options.

Changed

  • Return source and server timestamps when reading attributes through Server::read_attribute().
  • Return source and server timestamps when reading attributes with AsyncClient::read_value(), AsyncClient::read_attribute() and related methods that return DataValue.

v0.7.1

19 Dec 21:11
Compare
Choose a tag to compare

Added

  • Zeroize memory held by PrivateKey when dropped.
  • Add methods ua::DataValue::with_source_timestamp(), ua::DataValue::with_server_timestamp(), ua::DataValue::with_source_picoseconds(), ua::DataValue::with_server_picoseconds().

Changed

  • Rename methods ua::DataValue::status_code() to status(), ua::DataValue::with_status_code() to with_status(). Deprecate the former methods.

v0.7.0

13 Dec 14:28
Compare
Choose a tag to compare

Added

  • Add type PrivateKey to wrap private keys when using Mbed TLS.
  • Add types ua::SecurityLevel, ua::EndpointDescription, ua::MessageSecurityMode.
  • Add method ClientBuilder::get_endpoints() to get remote server endpoints.
  • Add method ClientBuilder::certificate_verification() and type ua::CertificateVerification.
  • Add method ua::CertificateVerification::custom() and trait CustomCertificateVerification to allow custom certificate verification.

Changed

  • Breaking: Bump Minimum Supported Rust Version (MSRV) to 1.80.
  • Breaking: Change type Certificate to hold certificate without private key.
  • Breaking: Use new types Certificate and PrivateKey instead of raw &[u8] in ClientBuilder::default_encryption(), ServerBuilder::default_with_security_policies(), and ServerBuilder::default_with_secure_security_policies().

v0.6.6

13 Dec 14:28
Compare
Choose a tag to compare

Added

  • Implement Send and Sync for ua::Array and ua::KeyValueMap.

v0.6.5

04 Dec 12:16
Compare
Choose a tag to compare

Added

  • Add ability to create SSL certificates using Mbed TLS with create_certificate().
  • Allow converting ua::String into ua::ByteString with method ua::String::into_byte_string().
  • Add type ua::KeyValueMap.
  • Add method ua::QualifiedName::ns0() for creating qualified names in namespace 0.

Changed

  • Upgrade to open62541 version 1.4.8.

v0.6.4

23 Nov 13:08
Compare
Choose a tag to compare

[0.6.4] - 2024-11-23

Added

  • Add feature flag mbedtls to build with encryption support by using bundled Mbed TLS version 3.6.2.
  • Add method for client encryption by using ClientBuilder::default_encryption().
  • Add methods for server encryption by using ServerBuilder::default_with_security_policies(), ServerBuilder::default_with_secure_security_policies().
  • Add ClientBuilder::accept_all() and ServerBuilder::accept_all() to skip certificate checks.
  • Add method ServerRunner::run_until_cancelled() to allow gracefully shutting down server (#169).
  • Add method ServerRunner::access_control() and related trait AccessControl with implementation DefaultAccessControl and DefaultAccessControlWithLoginCallback to allow custom authentication and authorization of clients in the server.
  • Add method ua::ByteString::new() to create new OPC UA byte strings.

Changed

  • Upgrade to open62541 version 1.4.7.
  • Respect fill/alignment formatting parameters when printing ua::String (#166), as well as types ua::NodeId, ua::QualifiedName, ua::StatusCode (#167).

v0.6.3

14 Oct 14:34
Compare
Choose a tag to compare

Changed

  • Upgrade to open62541 version 1.4.6.

v0.6.2

27 Sep 10:51
Compare
Choose a tag to compare

Added

  • Implement relations PartialEq, Eq, PartialOrd, Ord for ua::Array type.
  • Add ua::NodeId::namespace_index() to get node ID's namespace index.