Changelog¶
All notable changes to dotenvmodel are documented in the CHANGELOG.md file in the repository.
0.2.0¶
Features¶
- Added
describe()method for configuration documentation - Added
generate_env_example()for.env.examplefile generation - Added
describe_configs()for documenting multiple config classes - Added output formats: table, markdown, json, html, dotenv
- Added file export via
outputparameter - Added line ending control via
line_endingparameter
0.1.0¶
Features¶
DotEnvConfigbase class with metaclass-based field discovery- Type-safe field definitions with full IntelliSense support
- Automatic type coercion for common Python types
- Basic types:
str,int,float,bool,Path - Collection types:
list,set,tuple,dict - Special types:
UUID,Decimal,datetime,timedelta - URL/DSN types:
HttpUrl,PostgresDsn,RedisDsn - Security:
SecretStrfor sensitive values - Flexible:
Json[T]for typed JSON parsing - Numeric, string, choice, collection, UUID validation constraints
- Automatic
.envfile cascading - Configuration reload at runtime
- Environment prefixes
- Field aliases
- Comprehensive error messages
- Optional logging support
load_from_dict()for testing