8000
Skip to content

v0.1.2

Choose a tag to compare

@Makosai Makosai released this 21 Apr 04:46
· 11 commits to master since this release

Changelog

[v0.1.2] - 2025-04-21

Added

  • Introduced a new GitHub Action workflow for publishing Rust crates (sustenet-publish-rust.yml).
  • Added LazyLock and OnceLock for better synchronization in rust/cluster/src/lib.rs.
  • Introduced a Logger struct to centralize logging functionality in the Cluster Server.
  • Added new utility function create_keys_dir in rust/shared/src/security.rs to handle key directory creation with error handling.
  • Implemented extensive unit tests for newly added functionality in rust/shared/src/security.rs.

Changed

  • Refactored logging to use the new Logger struct across the Cluster Server for improved consistency.
  • Enhanced the Plugin trait in rust/shared/src/lib.rs to include new methods: set_sender and an updated receive method with additional parameters.
  • Moved the key directory creation logic to a dedicated function for reusability and cleaner error handling in rust/shared/src/security.rs.

Fixed

  • Resolved issues with logging messages in the Cluster Server, ensuring proper categorization (e.g., info, debug, error).
  • Fixed path-related issues in unit tests that prevented the proper creation and loading of keys.

Removed

  • Deprecated individual logging methods like info, warning, and error in favor of the centralized Logger struct.

For more details, view the comparison.

0