Skip to content

Releases: TechRuler/loadstructure

v0.2.2

Choose a tag to compare

@TechRuler TechRuler released this 04 Dec 20:37

Fixed

  • Updated __version__ inside loadstructure/__init__.py to reflect the correct published version.

v0.2.1

Choose a tag to compare

@TechRuler TechRuler released this 04 Dec 20:33

Fixed

  • Removed unnecessary commented code from the module.

v0.2.0

Choose a tag to compare

@TechRuler TechRuler released this 04 Dec 20:27

Added

  • .update() method to update parts of the configuration.
  • .replace() method to safely replace the entire configuration.
  • Automatic creation of nested keys if they don’t exist.
  • Schema validation for keys and types.
  • Support for nested schema dictionaries.

Changed

  • Improved internal handling of dictionaries and lists for auto-wrapping.
  • Enhanced dotted-path .set() and .get() methods with schema enforcement.

Fixed

  • Fixed type validation for primitive values when schema is provided.
  • Fixed auto-creation errors for nested dictionaries when schema is not defined.

v0.1.0 – Initial Release

Choose a tag to compare

@TechRuler TechRuler released this 04 Dec 20:18

Added

  • Initial release of loadstructure.
  • Loading and saving configurations in JSON, YAML, XML, TOML, INI/DEF formats.
  • Attribute-style access (cfg.app.name) and dictionary-style access (cfg["app"]["name"]).
  • Merging multiple configuration files with precedence.
  • Nested key access via dotted-path (cfg.get("app.ui.theme"), cfg.set("app.ui.theme", "dark")).