Releases: Quaint-Studios/Sustenet
Releases · Quaint-Studios/Sustenet
v0.1.4
v0.1.3
Changelog
[v0.1.3] - 2025-04-25
Added
- Introduced a more comprehensive README detailing features like Master/Cluster architecture, secure communication, plugin support, and usage instructions.
- Added example code for writing a cluster plugin in Rust.
- Enhanced configuration capabilities using TOML files for cluster servers.
- Included new
Logger
implementation to centralize logging functionality across modules. - Added traits
ClientPlugin
andServerPlugin
for modular plugin support in client and server applications.
Changed
- Replaced individual logging functions (
info
,error
, etc.) with a unifiedLogger
using macros and type-specific log levels. - Modified client, cluster, and master server modules to use the new
Logger
implementation. - Refactored plugin traits to separate client and server-specific functionalities.
- Improved start functions to accept configuration parameters, enhancing flexibility.
Fixed
- Corrected directory path issues in example code snippets and dependencies.
- Resolved inconsistencies in logging and error handling across modules.
Removed
- Deprecated old logging functions (
debug
,success
, etc.) in favor of the newLogger
system. - Removed outdated sections from README related to legacy implementations in C#.
For more details, view the comparison.
v0.1.2
Changelog
[v0.1.2] - 2025-04-21
Added
- Introduced a new GitHub Action workflow for publishing Rust crates (
sustenet-publish-rust.yml
). - Added
LazyLock
andOnceLock
for better synchronization inrust/cluster/src/lib.rs
. - Introduced a
Logger
struct to centralize logging functionality in the Cluster Server. - Added new utility function
create_keys_dir
inrust/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 inrust/shared/src/lib.rs
to include new methods:set_sender
and an updatedreceive
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
, anderror
in favor of the centralizedLogger
struct.
For more details, view the comparison.