Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/latest-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,18 @@ jobs:
cargo update --verbose

- name: Build with feature combinations
# Disable build for GNU targets on Ubuntu 22.04 (unsupported `atomic_uintptr_t`).
# TODO: Try to re-enable this step regardless of the build target in the future.
if: ${{ matrix.runner_os != 'ubuntu-22.04' || endsWith(matrix.target, '-musl') }}
run: >-
cargo hack --each-feature
build --locked

- name: Run tests (bins/lib/tests/examples) with feature combinations
# Disable build for GNU targets on Ubuntu 22.04 (unsupported `atomic_uintptr_t`).
# Disable tests for musl libc target(s) due to build failure for unknown reasons.
# TODO: Try to re-enable this step regardless of the build target in the future.
if: ${{ !endsWith(matrix.target, '-musl') }}
if: ${{ matrix.runner_os != 'ubuntu-22.04' && !endsWith(matrix.target, '-musl') }}
run: >-
cargo hack --each-feature
test --locked
Expand All @@ -126,15 +130,19 @@ jobs:
# certain features only for some doctests, so we run them without
# `cargo-hack`.
- name: Run doctests with all features enabled
# Disable build for GNU targets on Ubuntu 22.04 (unsupported `atomic_uintptr_t`).
# Disable tests for musl libc target(s) due to build failure for unknown reasons.
# TODO: Try to re-enable this step regardless of the build target in the future.
if: ${{ !endsWith(matrix.target, '-musl') }}
if: ${{ matrix.runner_os != 'ubuntu-22.04' && !endsWith(matrix.target, '-musl') }}
run: >-
cargo test
--locked --all-features
--doc

- name: Build package with all features enabled
# Disable build for GNU targets on Ubuntu 22.04 (unsupported `atomic_uintptr_t`).
# TODO: Try to re-enable this step regardless of the build target in the future.
if: ${{ matrix.runner_os != 'ubuntu-22.04' || endsWith(matrix.target, '-musl') }}
# We allow dirty state here because it is only expected after update.
run: >-
cargo package
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,18 @@ jobs:
shared-key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.target }}-${{ matrix.runner_os }}

- name: Build with feature combinations
# Disable build for GNU targets on Ubuntu 22.04 (unsupported `atomic_uintptr_t`).
# TODO: Try to re-enable this step regardless of the build target in the future.
if: ${{ matrix.runner_os != 'ubuntu-22.04' || endsWith(matrix.target, '-musl') }}
run: >-
cargo hack --each-feature
build --locked

- name: Run tests (bins/lib/tests/examples) with feature combinations
# Disable build for GNU targets on Ubuntu 22.04 (unsupported `atomic_uintptr_t`).
# Disable tests for musl libc target(s) due to build failure for unknown reasons.
# TODO: Try to re-enable this step regardless of the build target in the future.
if: ${{ !endsWith(matrix.target, '-musl') }}
if: ${{ matrix.runner_os != 'ubuntu-22.04' && !endsWith(matrix.target, '-musl') }}
run: >-
cargo hack --each-feature
test --locked
Expand All @@ -148,15 +152,19 @@ jobs:
# certain features only for some doctests, so we run them without
# `cargo-hack`.
- name: Run doctests with all features enabled
# Disable build for GNU targets on Ubuntu 22.04 (unsupported `atomic_uintptr_t`).
# Disable tests for musl libc target(s) due to build failure for unknown reasons.
# TODO: Try to re-enable this step regardless of the build target in the future.
if: ${{ !endsWith(matrix.target, '-musl') }}
if: ${{ matrix.runner_os != 'ubuntu-22.04' && !endsWith(matrix.target, '-musl') }}
run: >-
cargo test
--locked --all-features
--doc

- name: Build package with all features enabled
# Disable build for GNU targets on Ubuntu 22.04 (unsupported `atomic_uintptr_t`).
# TODO: Try to re-enable this step regardless of the build target in the future.
if: ${{ matrix.runner_os != 'ubuntu-22.04' || endsWith(matrix.target, '-musl') }}
run: >-
cargo package
--locked --all-features
21 changes: 13 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

- Add method `ua::VariableAttributes::with_array_dimensions()`.
- Add method `Server::add_data_type_node()` and type `DataTypeNode`.
- Add method `ua::CertificateVerification::memory_store()` and `ua::TrustListDataType`.

### Changed

- Breaking: Upgrade to open62541 version
[1.5.0](https://github.com/open62541/open62541/releases/tag/v1.5.0).
- Breaking: Remove method `ua::CertificateVerification::custom()` and trait
`CustomCertificateVerification`.
- Breaking: Remove `Unknown` variant from `ua::DataTypeDefinition`.
- Breaking: Return `Result` from `DataTypeExt::from_inner()`.
- Breaking: Replace `ua::String::is_invalid()` with `ua::String::is_null()`.
- Breaking: Replace `ua::ByteString::is_invalid()` with `ua::ByteString::is_null()`.
- Breaking: Remove `into_expanded_node_id()` from `ua::NodeId`. Use `Into::into()` instead.
- Add `ua::DataTypeDescription`, `ua::EnumDescription`, `ua::StructureDescription`,
`ua::StructureField`, `ua::StructureType`.
- Add missing accessor methods to `ua::StructureDefinition`.
Expand All @@ -22,14 +35,6 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Add method `new()` to `ua::ExpandedNodeId`.
- Add `From`/`Into` conversion from `ua::NodeId` to `ua::ExpandedNodeId`.

### Changed

- Breaking: Remove `Unknown` variant from `ua::DataTypeDefinition`.
- Breaking: Return `Result` from `DataTypeExt::from_inner()`.
- Breaking: Replace `ua::String::is_invalid()` with `ua::String::is_null()`.
- Breaking: Replace `ua::ByteString::is_invalid()` with `ua::ByteString::is_null()`.
- Breaking: Remove `into_expanded_node_id()` from `ua::NodeId`. Use `Into::into()` instead.

### Fixed

- Fix linker errors for build target `x86_64-linux-unknown-gnu` by updating `open62541-sys` to
Expand Down
Loading
Loading