Releases: HMIProject/open62541
Releases · HMIProject/open62541
v0.8.0
Added
- Add method
with_policy_id()
toua::AnonymousIdentityToken
andua::UserNameIdentityToken
. - Add method
ua::UserNameIdentityToken::with_encryption_algorithm()
. - Add
ua::X509IdentityToken
andua::IssuedIdentityToken
. - Breaking: Add enum variants
X509
andIssued
toUserIdentityToken
.
Changed
- Breaking: Expect
ua::String
,ua::ByteString
inua::UserNameIdentityToken::with_user_name()
,ua::UserNameIdentityToken::with_password()
.
v0.7.3
Added
- Add method
MonitoredItemBuilder::attribute_id()
to set a different attribute ID to monitor. - Add method
MonitoredItemBuilder::filter()
and related data typesua::DataChangeFilter
,ua::EventFilter
,ua::AggregateFilter
along with associated data types. - Add methods
ClientBuilder::security_mode()
andClientBuilder::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
Added
- Add method
Server::write_data_value()
to allow setting variable value with timestamps (#190). - Add
SubscriptionBuilder
andMonitoredItemBuilder
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 returnDataValue
.
v0.7.1
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()
tostatus()
,ua::DataValue::with_status_code()
towith_status()
. Deprecate the former methods.
v0.7.0
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 typeua::CertificateVerification
. - Add method
ua::CertificateVerification::custom()
and traitCustomCertificateVerification
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
andPrivateKey
instead of raw&[u8]
inClientBuilder::default_encryption()
,ServerBuilder::default_with_security_policies()
, andServerBuilder::default_with_secure_security_policies()
.
v0.6.6
v0.6.5
Added
- Add ability to create SSL certificates using Mbed TLS with
create_certificate()
. - Allow converting
ua::String
intoua::ByteString
with methodua::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
[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()
andServerBuilder::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 traitAccessControl
with implementationDefaultAccessControl
andDefaultAccessControlWithLoginCallback
to allow custom authentication and authorization of clients in the server. - Add method
ua::ByteString::new()
to create new OPC UA byte strings.