-
version-0.3.5
StableAll checks were successfulRelease / release (push) Successful in 1m22sreleased this
2026-11-16 09:42:38 +01:00 | 1 commits to main since this release-
Key Audit: Implemented key auditing with
prune_defaults,unknown_keys, andreferencechecks. -
Added configuration extension guide.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
-
version-0.3.3
StableAll checks were successfulRelease / release (push) Successful in 1m18sreleased this
2026-11-12 12:29:38 +01:00 | 3 commits to main since this release-
Version Bump: Updated package version to
0.3.3inCargo.tomlandCargo.lock. -
Crate Kit: Updated the crate-kit dependency to
0.1.15. -
API Specification: Added
api/0.3.3.json.gzandapi/0.3.3.txt, detailing types for configuration management, encryption, and various view structs. -
Extension Guide: Added
docs/guide_extension.mddocumenting the extension trait pattern, including crate settings, key declaration, value priority, and secret handling. -
README Update: Updated
README.mdto reference the new extension guide and clarify testing behavior for environment variables. -
Cleanup: Removed obsolete files (
Blackboard/ToThinkAbout/edition_web_configuration.md,Blackboard/evolution_pmoconfig.md) as content was integrated or superseded.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
-
version-0.3.2
StableAll checks were successfulRelease / release (push) Successful in 1m23sreleased this
2026-11-12 01:41:46 +01:00 | 5 commits to main since this release-
API Documentation: Added
api/0.3.2.json.gzandapi/0.3.2.txtcontaining API documentation, error enums, and trait implementations for configuration structures. -
Pattern-based Collection Nesting: Introduced pattern-based collection nesting and entry creation logic (via PR #4).
-
Registry Validation: Updated
validatefunction insrc/registry.rsto enforce explicit path length checks and case-insensitive matching. -
Tree Handling: Modified
setfunction insrc/tree.rsto correctly handleValue::Nulland empty entry removal. -
Key Mapping: Updated
to_valuemethod insrc/key.rsto explicitly use.iter()for list mapping. -
Entry Collection: Refined
collectfunction logic insrc/entries.rsfor pattern splitting. -
Version Bump: Updated package version to
0.3.2,Cargo.tomledition to2024, andrust-versionto1.85. -
WebUI Test Refactoring: Restructured the
webuitest suite by moving collection-related tests into dedicated modules (collection_create,collection_edit). -
Code Cleanup: Removed unused imports in
src/lib.rsand deletedAGENTS.md.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
-
version-0.3.1
StableAll checks were successfulRelease / release (push) Successful in 1m26sreleased this
2026-11-11 11:58:33 +01:00 | 7 commits to main since this release-
Pattern-based Collection Nesting: Refactored
Collectionto replace fixed section depths with flexible path patterns (patternfield), enabling nested collections and dynamic entry creation. -
Dynamic Entry Creation: Introduced
NewFieldstruct and updatedEntryViewwithchildrenfields to support nested data structures in the UI. Addedcreatablelabels for new entries. -
Orphaned Sections: Modified
submitlogic inwebui/mod.rsto handle parent entry cleanup when removing entries, preventing orphaned empty sections. -
API Simplification: Updated
Config::entriessignature to accept only a pattern slice, removing the depth argument and simplifying entry resolution logic. -
Save Logic: Added
creationandkeep_entrieshelpers insave.rsto manage new entry creation and retention of existing entries during save operations. -
Test Updates: Updated existing tests in
src/webui/teststo use wildcard patterns (*) for device types and renderer; addedcollection_create.rstests for nested entry creation, group/destination removal, and empty field behavior. -
Version Bump: Bumped package version from 0.3.0 to 0.3.1 in
Cargo.tomlandCargo.lock. -
API Docs: Moved
api/0.3.0.txttoapi/0.3.1.txtto reflect updated API definitions.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
-
version-0.2.0
StableAll checks were successfulRelease / release (push) Successful in 1m23sreleased this
2026-11-08 12:19:23 +01:00 | 30 commits to main since this release-
REST API: Expose a new
apifeature providing Axum-based routes (GET /api/config,GET /api/config/{path},POST /api/config) with OpenAPI documentation. -
Typed Configuration: Implement typed readers (
src/typed.rs) such asget_integerandget_bool_or_setthat enforce type safety and treat absent values asNone. -
Machine-Bound Encryption: Enforce encryption tied to the local machine via
/etc/machine-idchecks, requiringencrypted:prefixes for decryption. -
API Simplification: Remove intermediate request/response structs from the configuration update API; endpoints now return
204 No Contentdirectly. -
Error Handling: Fix permission error handling in the API and replace the generic
PmoConfigError::Permissionwith a specific variant containing a message string. -
Integer Defaults: Correct integer default handling in
get_number_or_setto write integers as integers when appropriate. -
Dependency Migration: Replace deprecated
serde_yamlwithserde_yaml_ng(v0.10.0). -
Storage Refactor: Move configuration storage logic to
src/tree.rs, implementing key lowercasing, null removal, and atomic file operations. -
Environment Overrides: Extract environment override logic into a dedicated function and improve merge behavior for cloned data.
-
Build System: Update
.crate-kitscripts for modularity; bump dependencies (dirs7.0,aes-gcm/sha20.11,tokio1.54,utoipa6.0).
< pub enum pmoconfig::error::PmoConfigError > #[non_exhaustive] pub enum pmoconfig::error::PmoConfigError < pub pmoconfig::error::PmoConfigError::Io(core::io::error::Error) > pub pmoconfig::error::PmoConfigError::Io > pub pmoconfig::error::PmoConfigError::Io::context: alloc::string::String > pub pmoconfig::error::PmoConfigError::Io::source: core::io::error::Error < pub pmoconfig::error::PmoConfigError::Permission < pub pmoconfig::error::PmoConfigError::Permission::message: alloc::string::String < pub pmoconfig::error::PmoConfigError::Yaml(serde_yaml::error::Error) < impl core::convert::From<core::io::error::Error> for pmoconfig::error::PmoConfigError < pub fn pmoconfig::error::PmoConfigError::from(core::io::error::Error) -> Self > pub pmoconfig::error::PmoConfigError::Yaml(serde_yaml_ng::error::Error) < impl core::convert::From<serde_yaml::error::Error> for pmoconfig::error::PmoConfigError < pub fn pmoconfig::error::PmoConfigError::from(serde_yaml::error::Error) -> Self > impl core::convert::From<serde_yaml_ng::error::Error> for pmoconfig::error::PmoConfigError > pub fn pmoconfig::error::PmoConfigError::from(serde_yaml_ng::error::Error) -> Self < pub fn pmoconfig::Config::config_dir(&pmoconfig::AppSpec, &str) -> pmoconfig::error::Result<alloc::string::String> > pub fn pmoconfig::Config::config_dir(&self) -> &str < pub fn pmoconfig::Config::get_value(&self, &[&str]) -> pmoconfig::error::Result<serde_yaml::value::Value> > pub fn pmoconfig::Config::get_value(&self, &[&str]) -> pmoconfig::error::Result<serde_yaml_ng::value::Value> > pub fn pmoconfig::Config::resolve_config_dir(&pmoconfig::AppSpec, &str) -> pmoconfig::error::Result<alloc::string::String> < pub fn pmoconfig::Config::set_managed_dir(&self, &[&str], alloc::string::String) -> pmoconfig::error::Result<()> < pub fn pmoconfig::Config::set_value(&self, &[&str], serde_yaml::value::Value) -> pmoconfig::error::Result<()> > pub fn pmoconfig::Config::set_managed_dir(&self, &[&str], &str) -> pmoconfig::error::Result<()> > pub fn pmoconfig::Config::set_value(&self, &[&str], serde_yaml_ng::value::Value) -> pmoconfig::error::Result<()> > pub fn pmoconfig::Config::get_bool(&self, &[&str]) -> pmoconfig::error::Result<core::option::Option<bool>> > pub fn pmoconfig::Config::get_integer(&self, &[&str]) -> pmoconfig::error::Result<core::option::Option<i64>> > pub fn pmoconfig::Config::get_integer_or_set(&self, &[&str], i64) -> pmoconfig::error::Result<i64> > pub fn pmoconfig::Config::get_string_or_set(&self, &[&str], &str) -> pmoconfig::error::Result<alloc::string::String> > pub fn pmoconfig::try_get_config() -> core::option::Option<alloc::sync::Arc<pmoconfig::Config>>Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
-
version-0.1.1
StableAll checks were successfulRelease / release (push) Successful in 1m2sreleased this
2026-11-08 08:46:19 +01:00 | 37 commits to main since this release-
YAML-based Configuration System: Introduced the
pmoconfigcrate providing a robust configuration system with environment variable overrides and case-insensitive key handling. -
Machine-Specific Encryption: Implemented AES-256-GCM encryption utilities in
src/encryption.rs, deriving keys from machine UUIDs and salts for secure password storage. -
REST API Support: Exposed HTTP endpoints for getting and updating configuration values via the optional
apifeature, including OpenAPI specification management. -
Global Initialization Flow: Added a thread-safe initialization flow (
initthenget_config) usingOnceLockandMutexto prevent panics during configuration retrieval. -
Core Library Structure: Established core modules in
src/lib.rs,config.rs,error.rs,global.rs,spec.rs, andtyped.rs. -
AppSpec Definition: Implemented
AppSpecto define configuration prefixes, directory names, and salts for environment variable overrides. -
Typed Readers: Added typed readers in
src/typed.rsto handle missing values by writing defaults or returning errors on type mismatches. -
Build & CI/CD Infrastructure: Added build scripts (
crate.mk,dev-patch.mk,jj.mk) and CI/CD workflows for automated publishing to the PMO registry and Forgejo releases. -
Documentation: Added
README.md,AGENTS.md, and license files detailing usage, coding standards, and legal terms. -
API Snapshots: Initialized API snapshots (
api/0.1.0.txt,api/0.1.1.txt) to track public API changes for semantic versioning.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-