aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2025-07-19 17:08:01 -0400
committerEugene Triguba <eugenetriguba@gmail.com>2025-07-19 17:08:01 -0400
commit7ed6df7698f527dec4299e85767b893dc8ccd0ce (patch)
treed49d7cf4613dc82bf5f8a83e9316bd9c6925ad76
parentfix package install in build (diff)
downloadenvelope-0.2.0.zip
Release v0.2.0v0.2.0
-rw-r--r--CHANGELOG.md3
-rw-r--r--README.md2
2 files changed, 4 insertions, 1 deletions
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