Skip to content

Releases: satyamsoni2211/lazy_env_configurator

Alpha Release for V0.3.0

27 Apr 09:18
2cec717
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Changed BaseConfig by Default to be self contained.
  • Included Pydantic Validations with Env variables.
  • Default type fallback to Optional[str] for Env variables.
  • BaseConfig now accepts validations as dictionary with values as ValidationOptions which are accepted by FieldInfo.
  • Env has a granular validator included which takes length validators, value validators etc.
  • Optimised metaclass creation and validations.

Full Changelog: CHANGELOG

v0.2.0

17 Apr 09:17
Compare
Choose a tag to compare
  • Self Contained Classes
  • Validator for envs attribute if not iterable.
  • Validator for dot-env-path attribute if invalid.
  • Slotted Env to reduce memory footprint.
  • Added tests
  • Raises Warning when no .env file found with contained set to True.

v0.1.0

17 Apr 05:47
Compare
Choose a tag to compare
  • Dynamic Environment Configuration
  • Auto Load .env file
  • Load Env Lazily