From 7ed6df7698f527dec4299e85767b893dc8ccd0ce Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 19 Jul 2025 17:08:01 -0400 Subject: Release v0.2.0 --- CHANGELOG.md | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf6f86d..d4706fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.2.0] - 2025-07-19 ### Added + - Support for nested struct handling - Structs within structs are now processed recursively, allowing for nested configuration - A parent struct field with an `env` tag acts as a prefix for all fields in its nested struct @@ -26,9 +27,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Ability to override default parsers for built-in types ### Changed + - Improved error messages with more context about failure points ### Fixed + - Boolean parsing now supports additional formats (on/off, yes/no, y/n) - Proper handling of unexported fields in structs diff --git a/README.md b/README.md index d076a4d..00b7183 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ type AppConfig struct { LogLevel string `env:"LOG_LEVEL"` } -// This will look for: +// LoadFromEnv will look for: // - URL // - USERNAME // - PASSWORD -- cgit v1.2.3