aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 86f903e..cf6f86d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [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
+ - When a parent has no `env` tag, nested fields are accessed without prefixing
+- Custom error types
+ - `NotPointerToStructError`: When input is not a pointer to a struct
+ - `UnsupportedTypeError`: When a field type cannot be parsed
+ - `ParseError`: When a value cannot be parsed into the target type
+- Support for additional standard library types:
+ - `time.Duration`
+ - `net.IP` and `net.IPNet` (CIDR notation)
+ - `url.URL`
+ - `[]string` and `[]int` slices with comma-separated values
+- Extensible type parser system
+ - `RegisterTypeParser` function to register parsers for custom types
+ - 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
+
## [0.1.0] - 2024-08-31
- Initial Release